Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
HABUILD_SDK [xt897] sailor@mer-sdk:~/android/droid$ mka hybris-boot
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.2
CM_VERSION=10.1-20140721-UNOFFICIAL-xt897
TARGET_PRODUCT=cm_xt897
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.13.0-32-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=JDQ39E
OUT_DIR=/home/sailor/android/droid/out
============================================
awk: cannot open sdk/files/tools_source.properties (No such file or directory)
hybris/hybris-boot/Android.mk:54: ********************* /boot appears to live on /dev/block/platform/msm_sdcc.1/by-name/boot
hybris/hybris-boot/Android.mk:55: ********************* /data appears to live on /dev/block/platform/msm_sdcc.1/by-name/userdata
build/core/Makefile:44: warning: overriding commands for target `/home/sailor/android/droid/out/target/product/xt897/system/lib/egl/egl.cfg'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/sailor/android/droid/out/target/product/xt897/system/lib/egl/egl.cfg'
No private recovery resources for TARGET_DEVICE xt897
make -C kernel/motorola/msm8960-common O=/home/sailor/android/droid/out/target/product/xt897/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/sailor/android/droid/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= msm8960_mmi_defconfig
make[1]: Entering directory `/home/sailor/android/droid/kernel/motorola/msm8960-common'
GEN /home/sailor/android/droid/out/target/product/xt897/obj/KERNEL_OBJ/Makefile
arch/arm/configs/msm8960_mmi_defconfig:3439:warning: override: reassigning to symbol DEVTMPFS
arch/arm/configs/msm8960_mmi_defconfig:3441:warning: override: reassigning to symbol AUTOFS4_FS
arch/arm/configs/msm8960_mmi_defconfig:3442:warning: override: reassigning to symbol TMPFS_POSIX_ACL
arch/arm/configs/msm8960_mmi_defconfig:3443:warning: override: reassigning to symbol FANOTIFY
arch/arm/configs/msm8960_mmi_defconfig:3444:warning: override: reassigning to symbol ANDROID_PARANOID_NETWORK
arch/arm/configs/msm8960_mmi_defconfig:3445:warning: override: reassigning to symbol RTC_DRV_CMOS
arch/arm/configs/msm8960_mmi_defconfig:3446:warning: override: reassigning to symbol ANDROID_LOW_MEMORY_KILLER
KCONFIG_VARIANT((null))
KCONFIG_SELINUX((null))
#
# configuration written to .config
#
make[1]: Leaving directory `/home/sailor/android/droid/kernel/motorola/msm8960-common'
make -C kernel/motorola/msm8960-common O=/home/sailor/android/droid/out/target/product/xt897/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/sailor/android/droid/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" headers_install
make[1]: Entering directory `/home/sailor/android/droid/kernel/motorola/msm8960-common'
CHK include/linux/version.h
make[1]: Leaving directory `/home/sailor/android/droid/kernel/motorola/msm8960-common'
make -C kernel/motorola/msm8960-common O=/home/sailor/android/droid/out/target/product/xt897/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/sailor/android/droid/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" zImage
make[1]: Entering directory `/home/sailor/android/droid/kernel/motorola/msm8960-common'
GEN /home/sailor/android/droid/out/target/product/xt897/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
GEN /home/sailor/android/droid/out/target/product/xt897/obj/KERNEL_OBJ/Makefile
CHK include/linux/version.h
Using /home/sailor/android/droid/kernel/motorola/msm8960-common as source for kernel
CHK include/generated/utsrelease.h
make[3]: `include/generated/mach-types.h' is up to date.
CALL /home/sailor/android/droid/kernel/motorola/msm8960-common/scripts/checksyscalls.sh
CHK include/generated/compile.h
GZIP kernel/config_data.gz
CHK kernel/config_data.h
Kernel: arch/arm/boot/Image is ready
LD arch/arm/boot/compressed/vmlinux
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
make[1]: Leaving directory `/home/sailor/android/droid/kernel/motorola/msm8960-common'
make -C kernel/motorola/msm8960-common O=/home/sailor/android/droid/out/target/product/xt897/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/sailor/android/droid/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" modules
make[1]: Entering directory `/home/sailor/android/droid/kernel/motorola/msm8960-common'
GEN /home/sailor/android/droid/out/target/product/xt897/obj/KERNEL_OBJ/Makefile
CHK include/linux/version.h
Using /home/sailor/android/droid/kernel/motorola/msm8960-common as source for kernel
CHK include/generated/utsrelease.h
make[3]: `include/generated/mach-types.h' is up to date.
CALL /home/sailor/android/droid/kernel/motorola/msm8960-common/scripts/checksyscalls.sh
Building modules, stage 2.
MODPOST 21 modules
make[1]: Leaving directory `/home/sailor/android/droid/kernel/motorola/msm8960-common'
make -C kernel/motorola/msm8960-common O=/home/sailor/android/droid/out/target/product/xt897/obj/KERNEL_OBJ INSTALL_MOD_PATH=../../system ARCH=arm CROSS_COMPILE=" /home/sailor/android/droid/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" modules_install
make[1]: Entering directory `/home/sailor/android/droid/kernel/motorola/msm8960-common'
INSTALL arch/arm/mach-msm/dma_test.ko
INSTALL arch/arm/mach-msm/msm-buspm-dev.ko
INSTALL arch/arm/mach-msm/reset_modem.ko
INSTALL crypto/ansi_cprng.ko
INSTALL drivers/bluetooth/bluetooth-power.ko
INSTALL drivers/crypto/msm/qce40.ko
INSTALL drivers/crypto/msm/qcedev.ko
INSTALL drivers/crypto/msm/qcrypto.ko
INSTALL drivers/input/evbug.ko
INSTALL drivers/input/evfwd.ko
INSTALL drivers/media/radio/radio-iris-transport.ko
INSTALL drivers/misc/config/config.ko
INSTALL drivers/misc/eeprom/eeprom_93cx6.ko
INSTALL drivers/media/video/gspca/gspca_main.ko
INSTALL drivers/net/ks8851.ko
INSTALL drivers/scsi/scsi_wait_scan.ko
INSTALL drivers/spi/spidev.ko
INSTALL drivers/staging/prima/wlan.ko
INSTALL drivers/video/backlight/lcd.ko
INSTALL net/wireless/cfg80211.ko
INSTALL net/ipv4/tcp_westwood.ko
DEPMOD 3.0.93-g8073df7-dirty
Warning: you may need to install module-init-tools
See http://www.codemonkey.org.uk/docs/post-halloween-2.6.txt
make[1]: Leaving directory `/home/sailor/android/droid/kernel/motorola/msm8960-common'
mdpath=`find /home/sailor/android/droid/out/target/product/xt897/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; ko=`find $mpath/kernel -type f -name *.ko`; for i in $ko; do /home/sailor/android/droid/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-strip --strip-unneeded $i; mv $i /home/sailor/android/droid/out/target/product/xt897/system/lib/modules/; done; fi
mdpath=`find /home/sailor/android/droid/out/target/product/xt897/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; rm -rf $mpath; fi
mdpath=`find /home/sailor/android/droid/out/target/product/xt897/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; ko=`find $mpath/kernel -type f -name *.ko`; for i in $ko; do /home/sailor/android/droid/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-strip --strip-unneeded $i; mv $i /home/sailor/android/droid/out/target/product/xt897/system/lib/modules/; done; fi
mdpath=`find /home/sailor/android/droid/out/target/product/xt897/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; rm -rf $mpath; fi
target Prebuilt: hybris-boot (/home/sailor/android/droid/out/target/product/xt897/kernel)
hybris/hybris-boot/fixup-mountpoints "xt897" "/home/sailor/android/droid/out/target/product/xt897/obj/ROOT/hybris-boot_intermediates/init"
Fixing mount-points for device xt897
Making initramfs : /home/sailor/android/droid/out/target/product/xt897/obj/ROOT/hybris-boot_intermediates/boot-initramfs.gz
1383 blocks
Making hybris-boot.img in /home/sailor/android/droid/out/target/product/xt897/obj/ROOT/hybris-boot_intermediates/ using /home/sailor/android/droid/out/target/product/xt897/kernel /home/sailor/android/droid/out/target/product/xt897/obj/ROOT/hybris-boot_intermediates/boot-initramfs.gz
mkbootimg --ramdisk /home/sailor/android/droid/out/target/product/xt897/obj/ROOT/hybris-boot_intermediates/boot-initramfs.gz --kernel /home/sailor/android/droid/out/target/product/xt897/kernel --base 0x80200000 --pagesize 2048 --cmdline "console=/dev/null androidboot.hardware=qcom user_debug=31 loglevel=1 zcache" --ramdisk_offset 0x01600000 --output /home/sailor/android/droid/out/target/product/xt897/obj/ROOT/hybris-boot_intermediates/hybris-boot.img
Install: /home/sailor/android/droid/out/target/product/xt897/hybris-boot.img
HABUILD_SDK [xt897] sailor@mer-sdk:~/android/droid$ mka hybris-recovery
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.2
CM_VERSION=10.1-20140721-UNOFFICIAL-xt897
TARGET_PRODUCT=cm_xt897
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.13.0-32-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=JDQ39E
OUT_DIR=/home/sailor/android/droid/out
============================================
awk: cannot open sdk/files/tools_source.properties (No such file or directory)
hybris/hybris-boot/Android.mk:54: ********************* /boot appears to live on /dev/block/platform/msm_sdcc.1/by-name/boot
hybris/hybris-boot/Android.mk:55: ********************* /data appears to live on /dev/block/platform/msm_sdcc.1/by-name/userdata
build/core/Makefile:44: warning: overriding commands for target `/home/sailor/android/droid/out/target/product/xt897/system/lib/egl/egl.cfg'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/sailor/android/droid/out/target/product/xt897/system/lib/egl/egl.cfg'
No private recovery resources for TARGET_DEVICE xt897
make -C kernel/motorola/msm8960-common O=/home/sailor/android/droid/out/target/product/xt897/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/sailor/android/droid/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= msm8960_mmi_defconfig
make[1]: Entering directory `/home/sailor/android/droid/kernel/motorola/msm8960-common'
GEN /home/sailor/android/droid/out/target/product/xt897/obj/KERNEL_OBJ/Makefile
arch/arm/configs/msm8960_mmi_defconfig:3439:warning: override: reassigning to symbol DEVTMPFS
arch/arm/configs/msm8960_mmi_defconfig:3441:warning: override: reassigning to symbol AUTOFS4_FS
arch/arm/configs/msm8960_mmi_defconfig:3442:warning: override: reassigning to symbol TMPFS_POSIX_ACL
arch/arm/configs/msm8960_mmi_defconfig:3443:warning: override: reassigning to symbol FANOTIFY
arch/arm/configs/msm8960_mmi_defconfig:3444:warning: override: reassigning to symbol ANDROID_PARANOID_NETWORK
arch/arm/configs/msm8960_mmi_defconfig:3445:warning: override: reassigning to symbol RTC_DRV_CMOS
arch/arm/configs/msm8960_mmi_defconfig:3446:warning: override: reassigning to symbol ANDROID_LOW_MEMORY_KILLER
KCONFIG_VARIANT((null))
KCONFIG_SELINUX((null))
#
# configuration written to .config
#
make[1]: Leaving directory `/home/sailor/android/droid/kernel/motorola/msm8960-common'
make -C kernel/motorola/msm8960-common O=/home/sailor/android/droid/out/target/product/xt897/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/sailor/android/droid/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" headers_install
make[1]: Entering directory `/home/sailor/android/droid/kernel/motorola/msm8960-common'
CHK include/linux/version.h
make[1]: Leaving directory `/home/sailor/android/droid/kernel/motorola/msm8960-common'
make -C kernel/motorola/msm8960-common O=/home/sailor/android/droid/out/target/product/xt897/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/sailor/android/droid/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" zImage
make[1]: Entering directory `/home/sailor/android/droid/kernel/motorola/msm8960-common'
GEN /home/sailor/android/droid/out/target/product/xt897/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
GEN /home/sailor/android/droid/out/target/product/xt897/obj/KERNEL_OBJ/Makefile
CHK include/linux/version.h
Using /home/sailor/android/droid/kernel/motorola/msm8960-common as source for kernel
CHK include/generated/utsrelease.h
make[3]: `include/generated/mach-types.h' is up to date.
CALL /home/sailor/android/droid/kernel/motorola/msm8960-common/scripts/checksyscalls.sh
CHK include/generated/compile.h
GZIP kernel/config_data.gz
CHK kernel/config_data.h
Kernel: arch/arm/boot/Image is ready
LD arch/arm/boot/compressed/vmlinux
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
make[1]: Leaving directory `/home/sailor/android/droid/kernel/motorola/msm8960-common'
make -C kernel/motorola/msm8960-common O=/home/sailor/android/droid/out/target/product/xt897/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/sailor/android/droid/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" modules
make[1]: Entering directory `/home/sailor/android/droid/kernel/motorola/msm8960-common'
GEN /home/sailor/android/droid/out/target/product/xt897/obj/KERNEL_OBJ/Makefile
CHK include/linux/version.h
Using /home/sailor/android/droid/kernel/motorola/msm8960-common as source for kernel
CHK include/generated/utsrelease.h
make[3]: `include/generated/mach-types.h' is up to date.
CALL /home/sailor/android/droid/kernel/motorola/msm8960-common/scripts/checksyscalls.sh
Building modules, stage 2.
MODPOST 21 modules
make[1]: Leaving directory `/home/sailor/android/droid/kernel/motorola/msm8960-common'
make -C kernel/motorola/msm8960-common O=/home/sailor/android/droid/out/target/product/xt897/obj/KERNEL_OBJ INSTALL_MOD_PATH=../../system ARCH=arm CROSS_COMPILE=" /home/sailor/android/droid/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" modules_install
make[1]: Entering directory `/home/sailor/android/droid/kernel/motorola/msm8960-common'
INSTALL arch/arm/mach-msm/dma_test.ko
INSTALL arch/arm/mach-msm/reset_modem.ko
INSTALL crypto/ansi_cprng.ko
INSTALL arch/arm/mach-msm/msm-buspm-dev.ko
INSTALL drivers/bluetooth/bluetooth-power.ko
INSTALL drivers/crypto/msm/qce40.ko
INSTALL drivers/crypto/msm/qcedev.ko
INSTALL drivers/crypto/msm/qcrypto.ko
INSTALL drivers/input/evbug.ko
INSTALL drivers/input/evfwd.ko
INSTALL drivers/media/radio/radio-iris-transport.ko
INSTALL drivers/media/video/gspca/gspca_main.ko
INSTALL drivers/misc/config/config.ko
INSTALL drivers/misc/eeprom/eeprom_93cx6.ko
INSTALL drivers/net/ks8851.ko
INSTALL drivers/scsi/scsi_wait_scan.ko
INSTALL drivers/spi/spidev.ko
INSTALL drivers/staging/prima/wlan.ko
INSTALL drivers/video/backlight/lcd.ko
INSTALL net/ipv4/tcp_westwood.ko
INSTALL net/wireless/cfg80211.ko
DEPMOD 3.0.93-g8073df7-dirty
Warning: you may need to install module-init-tools
See http://www.codemonkey.org.uk/docs/post-halloween-2.6.txt
make[1]: Leaving directory `/home/sailor/android/droid/kernel/motorola/msm8960-common'
mdpath=`find /home/sailor/android/droid/out/target/product/xt897/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; ko=`find $mpath/kernel -type f -name *.ko`; for i in $ko; do /home/sailor/android/droid/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-strip --strip-unneeded $i; mv $i /home/sailor/android/droid/out/target/product/xt897/system/lib/modules/; done; fi
mdpath=`find /home/sailor/android/droid/out/target/product/xt897/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; rm -rf $mpath; fi
mdpath=`find /home/sailor/android/droid/out/target/product/xt897/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; ko=`find $mpath/kernel -type f -name *.ko`; for i in $ko; do /home/sailor/android/droid/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-strip --strip-unneeded $i; mv $i /home/sailor/android/droid/out/target/product/xt897/system/lib/modules/; done; fi
mdpath=`find /home/sailor/android/droid/out/target/product/xt897/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; rm -rf $mpath; fi
target Prebuilt: hybris-recovery (/home/sailor/android/droid/out/target/product/xt897/kernel)
hybris/hybris-boot/fixup-mountpoints "xt897" "/home/sailor/android/droid/out/target/product/xt897/obj/ROOT/hybris-recovery_intermediates/init"
Fixing mount-points for device xt897
Making initramfs : /home/sailor/android/droid/out/target/product/xt897/obj/ROOT/hybris-recovery_intermediates/recovery-initramfs.gz
1383 blocks
Making hybris-recovery.img in /home/sailor/android/droid/out/target/product/xt897/obj/ROOT/hybris-recovery_intermediates/ using /home/sailor/android/droid/out/target/product/xt897/kernel /home/sailor/android/droid/out/target/product/xt897/obj/ROOT/hybris-recovery_intermediates/recovery-initramfs.gz
mkbootimg --ramdisk /home/sailor/android/droid/out/target/product/xt897/obj/ROOT/hybris-recovery_intermediates/recovery-initramfs.gz --kernel /home/sailor/android/droid/out/target/product/xt897/kernel --base 0x80200000 --pagesize 2048 --cmdline "console=/dev/null androidboot.hardware=qcom user_debug=31 loglevel=1 zcache bootmode=debug" --output /home/sailor/android/droid/out/target/product/xt897/obj/ROOT/hybris-recovery_intermediates/hybris-recovery.img
Install: /home/sailor/android/droid/out/target/product/xt897/hybris-recovery.img
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.