ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #07759
Re: [Development] Trouble porting to new device HTC Ace
I started by following: https://wiki.ubuntu.com/Touch/Porting
In the section about enabling a new device, i set up my roomservice.xml as
attached, pointing to cm10.1 repos for the ace. I may have also tweaked
the manifests.xml, so it is attached. At one point i did get a built
kernel and boot.img, however the boot partition on the ace isnt big enough,
so i modified BoardConfig.mk to make it bigger, i know this wont work
ultimately, but i just wanted a complete build, i was hoping to shrink it
down later, or repartition the ace.
I also manually downloaded a 4.8 toolchain from lenovo and put it in the
right place, the kernel build was asking for it.
What i need to know is, where does NativeBufferAlloc come from? I can find
almost no references to it on the internet! :)
On Tue, Apr 22, 2014 at 10:32 AM, John Lenton <john.lenton@xxxxxxxxxxxxx>wrote:
> On Mon, Apr 21, 2014 at 10:35 PM, Adam Pigg <adam@xxxxxxxxxxx> wrote:
> > Ive set up the build environment i think
>
> Could you share exactly what you've done so far?
> (I've got a Desire HD myself, and wouldn't mind trying this myself).
>
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- remove CM repos
<remove-project name="CyanogenMod/android_device_samsung_maguro" />
<remove-project name="CyanogenMod/android_device_samsung_tuna" />
<remove-project name="CyanogenMod/android_kernel_samsung_tuna" />
<remove-project name="CyanogenMod/android_device_samsung_manta" />
<remove-project name="CyanogenMod/android_kernel_samsung_manta" />
<remove-project name="CyanogenMod/android_device_lge_mako" />
<remove-project name="CyanogenMod/lge-kernel-mako" />
<remove-project name="CyanogenMod/android_device_asus_grouper" />
<remove-project name="CyanogenMod/android_kernel_asus_grouper" />
-->
<remove-project name="ubuntu/kernels/ubuntu_prebuilt_kernel_mako.git" />
<remove-project name="ubuntu/kernels/ubuntu_prebuilt_kernel_manta.git" />
<remove-project name="ubuntu/kernels/ubuntu_prebuilt_kernel_maguro.git" />
<remove-project name="ubuntu/kernels/ubuntu_prebuilt_kernel_grouper.git" />
<remove-project name="ubuntu/kernels/ubuntu_prebuilt_kernel_goldfish.git" />
<remove-project name="CyanogenMod/android_frameworks_av" />
<remove-project name="CyanogenMod/android_frameworks_native" />
<remove-project name="CyanogenMod/android_hardware_qcom_audio" />
<remove-project name="CyanogenMod/android_hardware_qcom_display" />
<remove-project name="CyanogenMod/android_hardware_qcom_media" />
<remove-project name="CyanogenMod/android_hardware_qcom_gps" />
<remove-project name="platform/prebuilts/misc" />
<!-- Andromadus -->
<project path="hardware/qcom/audio" name="Andromadus/android_hardware_qcom_audio" remote="github" revision="Andro4.2" />
<project path="hardware/qcom/display" name="Andromadus/android_hardware_qcom_display" remote="github" revision="jb4.2" />
<project path="hardware/qcom/media" name="Andromadus/android_hardware_qcom_media" remote="github" revision="jb4.2" />
<!-- CyanogenMod -->
<project path="hardware/qcom/gps" name="CyanogenMod/android_hardware_qcom_gps" remote="github" revision="jellybean" />
<!-- Mustaavalkosta -->
<project path="device/htc/ace" name="Mustaavalkosta/android_device_htc_ace" remote="github" revision="ubuntu" />
<project path="device/htc/msm7x30-common" name="Mustaavalkosta/android_device_htc_msm7x30-common" remote="github" revision="ubuntu" />
<project path="frameworks/av" name="Mustaavalkosta/android_frameworks_av" remote="github" revision="ubuntu" />
<project path="frameworks/native" name="Mustaavalkosta/android_frameworks_native" remote="github" revision="ubuntu" />
<project path="kernel/htc/htc7x30-3.0" name="Mustaavalkosta/htc7x30-3.0" remote="github" revision="ubuntu" />
<project path="local_manifest" name="Mustaavalkosta/android" remote="github" revision="ubuntu" />
<!-- <project path="prebuilt/linux-x86/toolchain/arm-eabi-4.7" name="Mustaavalkosta/android_prebuilts_gcc_linux_x86_arm_arm-eabi-4.7" remote="github" revision="master" />
<project path="prebuilts/misc" name="Mustaavalkosta/android_prebuilts_misc" remote="github" revision="jb-mv" /> -->
<project path="vendor/htc/ace" name="Mustaavalkosta/android_vendor_htc_ace" remote="github" revision="cm-10.1" />
<project path="vendor/qcom/proprietary" name="Mustaavalkosta/android_vendor_qcom_proprietary" remote="github" revision="cm-10.1" />
<!-- <project name="Mustaavalkosta/android_vendor_cm" path="vendor/cm" remote="github" revision="cm-10.1" /> -->
</manifest>
Attachment:
roomservice.old
Description: application/trash
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="phablet"
fetch=".." />
<remote name="github"
fetch="git://github.com" />
<default revision="refs/heads/phablet-trusty"
remote="phablet"
sync-c="true"
sync-j="1" />
<project path="build" name="CyanogenMod/android_build">
<copyfile src="core/root.mk" dest="Makefile" />
</project>
<project path="android" name="CyanogenMod/android" />
<project path="abi/cpp" name="CyanogenMod/android_abi_cpp" />
<project path="bionic" name="CyanogenMod/android_bionic" />
<project path="bootable/diskinstaller" name="CyanogenMod/android_bootable_diskinstaller" />
<project path="bootable/recovery" name="CyanogenMod/android_bootable_recovery" />
<project path="development" name="CyanogenMod/android_development" />
<project path="device/common" name="CyanogenMod/android_device_common" />
<project path="device/generic/armv7-a-neon" name="CyanogenMod/android_device_generic_armv7-a-neon" />
<project path="device/generic/armv7-a" name="CyanogenMod/android_device_generic_armv7-a" />
<project path="device/generic/common" name="CyanogenMod/android_device_generic_common" />
<project path="device/generic/goldfish" name="CyanogenMod/android_device_generic_goldfish" />
<project path="device/generic/mips" name="CyanogenMod/android_device_generic_mips" />
<project path="device/generic/x86" name="CyanogenMod/android_device_generic_x86" />
<project path="device/sample" name="CyanogenMod/android_device_sample" groups="device" />
<project path="device/ti/panda" name="CyanogenMod/android_device_ti_panda" groups="device" />
<project path="external/aac" name="CyanogenMod/android_external_aac" />
<project path="external/busybox" name="CyanogenMod/android_external_busybox" />
<project path="external/bzip2" name="CyanogenMod/android_external_bzip2" />
<project path="external/e2fsprogs" name="CyanogenMod/android_external_e2fsprogs" />
<project path="external/expat" name="CyanogenMod/android_external_expat" />
<project path="external/flac" name="CyanogenMod/android_external_flac" />
<project path="external/freetype" name="CyanogenMod/android_external_freetype" />
<project path="external/gcc-demangle" name="CyanogenMod/android_external_gcc-demangle" />
<project path="external/genext2fs" name="CyanogenMod/android_external_genext2fs" />
<project path="external/giflib" name="CyanogenMod/android_external_giflib" />
<project path="external/gpg" name="CyanogenMod/android_external_gpg" />
<project path="external/gtest" name="CyanogenMod/android_external_gtest" />
<project path="external/harfbuzz" name="CyanogenMod/android_external_harfbuzz" />
<project path="external/icu4c" name="CyanogenMod/android_external_icu4c" />
<project path="external/jhead" name="CyanogenMod/android_external_jhead" />
<project path="external/jpeg" name="CyanogenMod/android_external_jpeg" />
<project path="external/kernel-headers" name="CyanogenMod/android_external_kernel-headers" />
<project path="external/liblzf" name="CyanogenMod/android_external_liblzf" />
<project path="external/libnl-headers" name="CyanogenMod/android_external_libnl-headers" />
<project path="external/libogg" name="CyanogenMod/android_external_libogg" />
<project path="external/libpng" name="CyanogenMod/android_external_libpng" />
<project path="external/libvpx" name="CyanogenMod/android_external_libvpx" />
<project path="external/mksh" name="CyanogenMod/android_external_mksh" />
<project path="external/openssl" name="CyanogenMod/android_external_openssl" />
<project path="external/protobuf" name="CyanogenMod/android_external_protobuf" />
<project path="external/safe-iop" name="CyanogenMod/android_external_safe-iop" />
<project path="external/skia" name="CyanogenMod/android_external_skia" />
<project path="external/sonivox" name="CyanogenMod/android_external_sonivox" />
<project path="external/speex" name="CyanogenMod/android_external_speex" />
<project path="external/sqlite" name="CyanogenMod/android_external_sqlite" />
<project path="external/stlport" name="CyanogenMod/android_external_stlport" />
<project path="external/strace" name="CyanogenMod/android_external_strace" />
<project path="external/tinyalsa" name="CyanogenMod/android_external_tinyalsa" />
<project path="external/tremolo" name="CyanogenMod/android_external_tremolo" />
<project path="external/webp" name="CyanogenMod/android_external_webp" />
<project path="external/webrtc" name="CyanogenMod/android_external_webrtc" />
<project path="external/wpa_supplicant_6" name="CyanogenMod/android_external_wpa_supplicant_6" />
<project path="external/wpa_supplicant_8" name="CyanogenMod/android_external_wpa_supplicant_8" />
<project path="external/wpa_supplicant_8_ti" name="CyanogenMod/android_external_wpa_supplicant_8_ti" />
<project path="external/yaffs2" name="CyanogenMod/android_external_yaffs2" />
<project path="external/zlib" name="CyanogenMod/android_external_zlib" />
<project path="frameworks/av" name="CyanogenMod/android_frameworks_av" />
<project path="frameworks/base" name="CyanogenMod/android_frameworks_base" remote="github" revision="cm-10.1" />
<project path="frameworks/native" name="CyanogenMod/android_frameworks_native" />
<project path="frameworks/opt/emoji" name="CyanogenMod/android_frameworks_opt_emoji" />
<project path="hardware/broadcom/wlan" name="CyanogenMod/android_hardware_broadcom_wlan" />
<project path="hardware/cm" name="CyanogenMod/android_hardware_cm" />
<project path="hardware/invensense" name="CyanogenMod/android_hardware_invensense" />
<project path="hardware/libhardware" name="CyanogenMod/android_hardware_libhardware" />
<project path="hardware/libhardware_legacy" name="CyanogenMod/android_hardware_libhardware_legacy" />
<project path="hardware/msm7k" name="CyanogenMod/android_hardware_msm7k" />
<project path="hardware/qcom/audio" name="CyanogenMod/android_hardware_qcom_audio" />
<project path="hardware/qcom/audio-caf" name="CyanogenMod/android_hardware_qcom_audio-caf" />
<project path="hardware/qcom/bt" name="CyanogenMod/android_hardware_qcom_bt" />
<project path="hardware/qcom/camera" name="CyanogenMod/android_hardware_qcom_camera" />
<project path="hardware/qcom/display" name="CyanogenMod/android_hardware_qcom_display" />
<project path="hardware/qcom/display-caf" name="CyanogenMod/android_hardware_qcom_display-caf" />
<project path="hardware/qcom/gps" name="CyanogenMod/android_hardware_qcom_gps" />
<project path="hardware/qcom/keymaster" name="CyanogenMod/android_hardware_qcom_keymaster" />
<project path="hardware/qcom/media" name="CyanogenMod/android_hardware_qcom_media" />
<project path="hardware/qcom/msm8960" name="CyanogenMod/android_hardware_qcom_msm8960" />
<project path="hardware/qcom/power" name="CyanogenMod/android_hardware_qcom_power" />
<project path="hardware/qcom/sensors" name="CyanogenMod/android_hardware_qcom_sensors" />
<project path="hardware/qcom/wlan" name="CyanogenMod/android_hardware_qcom_wlan" />
<project path="hardware/ril" name="CyanogenMod/android_hardware_ril" />
<project path="hardware/samsung_slsi/exynos5" name="CyanogenMod/android_hardware_samsung_slsi_exynos5" />
<project path="hardware/ti/omap3" name="CyanogenMod/android_hardware_ti_omap3" />
<project path="hardware/ti/omap4xxx" name="CyanogenMod/android_hardware_ti_omap4xxx" />
<project path="hardware/ti/wlan" name="CyanogenMod/android_hardware_ti_wlan" />
<project path="hardware/ti/wpan" name="CyanogenMod/android_hardware_ti_wpan" />
<project path="libnativehelper" name="CyanogenMod/android_libnativehelper" />
<project path="packages/wallpapers/LivePicker" name="CyanogenMod/android_packages_wallpapers_LivePicker" />
<project path="prebuilts/clang/linux-x86/3.1" name="platform/prebuilts/clang/linux-x86/3.1" groups="linux" revision="refs/tags/android-4.2.2_r1" />
<project path="prebuilts/gcc/linux-x86/arm/arm-eabi-4.6" name="platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6" groups="linux,arm" revision="refs/tags/android-4.2.2_r1" />
<project path="prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3" name="platform/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3" groups="linux" revision="refs/tags/android-4.2.2_r1" />
<project path="prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6" name="platform/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6" groups="linux" revision="refs/tags/android-4.2.2_r1" />
<project path="prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6" name="platform/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6" groups="linux" revision="refs/heads/master" />
<project path="prebuilts/misc" name="platform/prebuilts/misc" revision="refs/tags/android-4.2.2_r1" />
<project path="prebuilts/ndk" name="platform/prebuilts/ndk" revision="refs/tags/android-4.2.2_r1" />
<project path="prebuilts/qemu-kernel" name="CyanogenMod/ubuntu_prebuilts_qemu_kernel" />
<project path="prebuilts/sdk" name="platform/prebuilts/sdk" revision="refs/tags/android-4.2.2_r1" />
<project path="prebuilts/tools" name="platform/prebuilts/tools" revision="refs/tags/android-4.2.2_r1" />
<project path="prebuilts/gcc/linux-x86/arm/linaro-4.7.2" name="platform/prebuilts/linaro-4.7.2" revision="refs/heads/master" />
<project path="system/bluetooth" name="CyanogenMod/android_system_bluetooth" />
<project path="system/core" name="CyanogenMod/android_system_core" />
<project path="system/extras" name="CyanogenMod/android_system_extras" />
<project path="system/media" name="CyanogenMod/android_system_media" />
<project path="system/security" name="CyanogenMod/android_system_security" />
<project path="system/su" name="CyanogenMod/android_system_su" />
<project path="system/vold" name="CyanogenMod/android_system_vold" />
<project path="tools/build" name="platform/tools/build" revision="refs/tags/android-4.2.2_r1" />
<project path="vendor/cm" name="CyanogenMod/android_vendor_cm" revision="cm-10.1"/>
<project path="ubuntu/assets" name="ubuntu/assets" revision="refs/heads/master" />
<project path="ubuntu/libhybris" name="ubuntu/libhybris" revision="refs/heads/master" />
<project path="ubuntu/platform-api" name="ubuntu/platform-api" revision="refs/heads/master" />
<project path="ubuntu/upstart-property-watcher" name="ubuntu/upstart-property-watcher" revision="refs/heads/master" />
<project path="device/lge/mako-kernel" name="ubuntu/kernels/ubuntu_prebuilt_kernel_mako.git" revision="master" groups="device,mako" />
<project path="device/samsung/manta-kernel" name="ubuntu/kernels/ubuntu_prebuilt_kernel_manta.git" revision="master" groups="device,manta" />
<project path="device/samsung/maguro-kernel" name="ubuntu/kernels/ubuntu_prebuilt_kernel_maguro.git" revision="master" groups="device,maguro" />
<project path="device/asus/grouper-kernel" name="ubuntu/kernels/ubuntu_prebuilt_kernel_grouper.git" revision="master" groups="device,grouper" />
<project path="device/generic/goldfish-kernel" name="ubuntu/kernels/ubuntu_prebuilt_kernel_goldfish.git" revision="master" groups="device,goldfish" />
</manifest>
References