[Q][WIP] Firefox OS For Samsung Ancora - Samsung Galaxy W I8150

hello mates
i am working on a firefox os port based on Android 4.3.1 for samsung galaxy w, that's mean we should use cm10.2 as base for device repos.
after download everything i got this.
Code:
including device/generic/armv7-a-neon/vendorsetup.sh
including device/qcom/common/vendorsetup.sh
including device/samsung/ancora/vendorsetup.sh
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3
TARGET_PRODUCT=full_ancora
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.13.0-30-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=JSS15J
OUT_DIR=out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3
TARGET_PRODUCT=full_ancora
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.13.0-30-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=JSS15J
OUT_DIR=out
============================================
CMake present but NDK not found at /root/fos/B2G/prebuilt/ndk/android-ndk-r7, will not compile apitrace
gaia/Android.mk:53: warning: overriding commands for target `out/target/product/ancora/data/local/gaia'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/data/local/gaia'
gonk-misc/Android.mk:30: warning: overriding commands for target `out/target/product/ancora/obj/ETC/init.rc_intermediates/init.rc'
build/core/prebuilt.mk:162: warning: ignoring old commands for target `out/target/product/ancora/obj/ETC/init.rc_intermediates/init.rc'
gonk-misc/Android.mk:137: warning: overriding commands for target `out/target/product/ancora/obj/DATA/sources.xml_intermediates/sources.xml'
build/core/prebuilt.mk:162: warning: ignoring old commands for target `out/target/product/ancora/obj/DATA/sources.xml_intermediates/sources.xml'
gonk-misc/Android.mk:199: warning: overriding commands for target `out/target/product/ancora/system/gecko'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/gecko'
gonk-misc/Android.mk:267: warning: overriding commands for target `out/target/product/ancora/obj/DATA/gecko_intermediates/gecko'
build/core/prebuilt.mk:162: warning: ignoring old commands for target `out/target/product/ancora/obj/DATA/gecko_intermediates/gecko'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidNaskh-Regular.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidNaskh-Regular.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSansHebrew-Regular.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSansHebrew-Regular.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSansHebrew-Bold.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSansHebrew-Bold.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSansArmenian.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSansArmenian.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSansEthiopic-Regular.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSansEthiopic-Regular.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSansFallback.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSansFallback.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSansGeorgian.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSansGeorgian.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSansMono.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSansMono.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSerif-Regular.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSerif-Regular.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSerif-Bold.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSerif-Bold.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSerif-Italic.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSerif-Italic.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSerif-BoldItalic.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSerif-BoldItalic.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/MTLmr3m.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/MTLmr3m.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/Roboto-Bold.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/Roboto-Bold.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/Roboto-BoldItalic.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/Roboto-BoldItalic.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/Roboto-Italic.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/Roboto-Italic.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/Roboto-Regular.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/Roboto-Regular.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSansThai.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSansThai.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/root/init.qcom.rc'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/root/init.qcom.rc'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/root/init.qcom.usb.rc'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/root/init.qcom.usb.rc'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/root/ueventd.qcom.rc'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/root/ueventd.qcom.rc'
build/core/Makefile:32: *** Prebuilt apk found in PRODUCT_COPY_FILES: device/samsung/ancora/prebuilt/Torch.apk:system/app/Torch.apk, use BUILD_PREBUILT instead!. Stop.
real 0m20.073s
user 0m7.341s
sys 0m2.910s
> Build failed! <
Build with |./build.sh -j1| for better messages
If all else fails, use |rm -rf objdir-gecko| to clobber gecko and |rm -rf out| to clobber everything else.
Any one can share idea to fix it, we can make collaboration to port it, thanks.

haky
Hello! Your port a ready?

Maximko_O <3 wonder said:
haky
Hello! Your port a ready?
Click to expand...
Click to collapse
not yet, because the compilation wont start..so think to work on another base..

haky 86 said:
not yet, because the compilation wont start..so think to work on another base..
Click to expand...
Click to collapse
haky, when we can see your port and you seriously going to do FIrefox OS for Samsung Galaxy W??

Maximko_O <3 wonder said:
haky, when we can see you port?
Click to expand...
Click to collapse
well, i don't know exactly, once i fix compilation errors, maybe we can get the first flashable rom, but i don't think is bootable

haky 86 said:
well, i don't know exactly, once i fix compilation errors, maybe we can get the first flashable rom, but i don't think is bootable
Click to expand...
Click to collapse
haky, i believe in you!!

i just would like to know if Firefox OS source are pure Android that's mean i can create a cm10.1 source with b2g repos and build it like cyanogen mod, well i will try in that way and report if worked or not

Related

[Q] issues with compiling CM10 kernel

Hey guys,
I'm trying to compile CM10 for my d2tmo and I'm running into a snag with the kernel. I compiled CM7 for my old Glacier with no issues, but I can't find out why this is causing a problem. The output log is
Spoiler
Code:
[email protected]:~/cm$ brunch cm_d2tmo-userdebug
including vendor/cm/vendorsetup.sh
Looking for dependencies
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.2
TARGET_PRODUCT=cm_d2tmo
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.2.0-29-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JZO54K
OUT_DIR=/home/matada/cm/out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.2
TARGET_PRODUCT=cm_d2tmo
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.2.0-29-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JZO54K
OUT_DIR=/home/matada/cm/out
============================================
find: `src': No such file or directory
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/bin/rild'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/bin/rild'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libril.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libril.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libreference-ril.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libreference-ril.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libinvensense_hal.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libinvensense_hal.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libmllite.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libmllite.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libmlplatform.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libmlplatform.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/etc/wifi/wpa_supplicant.conf'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/etc/snd_soc_msm/snd_soc_msm_2x'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/etc/snd_soc_msm/snd_soc_msm_2x'
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Generic.kl:system/usr/keylayout/Generic.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/qwerty.kl:system/usr/keylayout/qwerty.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_045e_Product_028e.kl:system/usr/keylayout/Vendor_045e_Product_028e.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c216.kl:system/usr/keylayout/Vendor_046d_Product_c216.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c294.kl:system/usr/keylayout/Vendor_046d_Product_c294.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c299.kl:system/usr/keylayout/Vendor_046d_Product_c299.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c532.kl:system/usr/keylayout/Vendor_046d_Product_c532.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_054c_Product_0268.kl:system/usr/keylayout/Vendor_054c_Product_0268.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_05ac_Product_0239.kl:system/usr/keylayout/Vendor_05ac_Product_0239.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_22b8_Product_093d.kl:system/usr/keylayout/Vendor_22b8_Product_093d.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/Generic.kcm:system/usr/keychars/Generic.kcm ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/qwerty.kcm:system/usr/keychars/qwerty.kcm ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/qwerty2.kcm:system/usr/keychars/qwerty2.kcm ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/Virtual.kcm:system/usr/keychars/Virtual.kcm ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/idc/qwerty.idc:system/usr/idc/qwerty.idc ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/idc/qwerty2.idc:system/usr/idc/qwerty2.idc ignored.
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/egl/egl.cfg'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/egl/egl.cfg'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/etc/mkshrc'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/etc/mkshrc'
No private recovery resources for TARGET_DEVICE d2tmo
make -C kernel/samsung/d2 O=/home/matada/cm/out/target/product/d2tmo/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/matada/cm/prebuilts/misc/linux-x86/ccache/ccache /home/matada/cm/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" kernel/samsung/d2
make[1]: Entering directory `/home/matada/cm/kernel/samsung/d2'
GEN /home/matada/cm/out/target/product/d2tmo/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
drivers/battery/Kconfig:126:warning: type of 'CHARGER_SMB347' redefined from 'boolean' to 'tristate'
drivers/misc/inv_mpu/Kconfig:58:warning: choice value used outside its choice group
drivers/misc/inv_mpu/Kconfig:62:warning: choice value used outside its choice group
drivers/media/video/msm_zsl/Kconfig:117:warning: choice value used outside its choice group
drivers/media/video/msm_zsl/Kconfig:122:warning: choice value used outside its choice group
***
*** Configuration file ".config" not found!
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
make[4]: *** [silentoldconfig] Error 1
make[3]: *** [silentoldconfig] Error 2
make[2]: *** No rule to make target `kernel/samsung/d2'. Stop.
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/matada/cm/kernel/samsung/d2'
make: *** [/home/matada/cm/out/target/product/d2tmo/obj/KERNEL_OBJ/.config] Error 2
[email protected]:~/cm$
I've set a config file (cyanogen_d2_defconfig) in xconfig and it's still erroring out. Any help?
hope this helps
matada said:
Hey guys,
I'm trying to compile CM10 for my d2tmo and I'm running into a snag with the kernel. I compiled CM7 for my old Glacier with no issues, but I can't find out why this is causing a problem. The output log is
Spoiler
Code:
[email protected]:~/cm$ brunch cm_d2tmo-userdebug
including vendor/cm/vendorsetup.sh
Looking for dependencies
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.2
TARGET_PRODUCT=cm_d2tmo
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.2.0-29-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JZO54K
OUT_DIR=/home/matada/cm/out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.2
TARGET_PRODUCT=cm_d2tmo
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.2.0-29-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JZO54K
OUT_DIR=/home/matada/cm/out
============================================
find: `src': No such file or directory
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/bin/rild'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/bin/rild'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libril.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libril.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libreference-ril.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libreference-ril.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libinvensense_hal.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libinvensense_hal.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libmllite.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libmllite.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libmlplatform.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libmlplatform.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/etc/wifi/wpa_supplicant.conf'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/etc/snd_soc_msm/snd_soc_msm_2x'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/etc/snd_soc_msm/snd_soc_msm_2x'
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Generic.kl:system/usr/keylayout/Generic.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/qwerty.kl:system/usr/keylayout/qwerty.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_045e_Product_028e.kl:system/usr/keylayout/Vendor_045e_Product_028e.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c216.kl:system/usr/keylayout/Vendor_046d_Product_c216.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c294.kl:system/usr/keylayout/Vendor_046d_Product_c294.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c299.kl:system/usr/keylayout/Vendor_046d_Product_c299.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c532.kl:system/usr/keylayout/Vendor_046d_Product_c532.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_054c_Product_0268.kl:system/usr/keylayout/Vendor_054c_Product_0268.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_05ac_Product_0239.kl:system/usr/keylayout/Vendor_05ac_Product_0239.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_22b8_Product_093d.kl:system/usr/keylayout/Vendor_22b8_Product_093d.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/Generic.kcm:system/usr/keychars/Generic.kcm ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/qwerty.kcm:system/usr/keychars/qwerty.kcm ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/qwerty2.kcm:system/usr/keychars/qwerty2.kcm ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/Virtual.kcm:system/usr/keychars/Virtual.kcm ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/idc/qwerty.idc:system/usr/idc/qwerty.idc ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/idc/qwerty2.idc:system/usr/idc/qwerty2.idc ignored.
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/egl/egl.cfg'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/egl/egl.cfg'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/etc/mkshrc'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/etc/mkshrc'
No private recovery resources for TARGET_DEVICE d2tmo
make -C kernel/samsung/d2 O=/home/matada/cm/out/target/product/d2tmo/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/matada/cm/prebuilts/misc/linux-x86/ccache/ccache /home/matada/cm/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" kernel/samsung/d2
make[1]: Entering directory `/home/matada/cm/kernel/samsung/d2'
GEN /home/matada/cm/out/target/product/d2tmo/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
drivers/battery/Kconfig:126:warning: type of 'CHARGER_SMB347' redefined from 'boolean' to 'tristate'
drivers/misc/inv_mpu/Kconfig:58:warning: choice value used outside its choice group
drivers/misc/inv_mpu/Kconfig:62:warning: choice value used outside its choice group
drivers/media/video/msm_zsl/Kconfig:117:warning: choice value used outside its choice group
drivers/media/video/msm_zsl/Kconfig:122:warning: choice value used outside its choice group
***
*** Configuration file ".config" not found!
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
make[4]: *** [silentoldconfig] Error 1
make[3]: *** [silentoldconfig] Error 2
make[2]: *** No rule to make target `kernel/samsung/d2'. Stop.
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/matada/cm/kernel/samsung/d2'
make: *** [/home/matada/cm/out/target/product/d2tmo/obj/KERNEL_OBJ/.config] Error 2
[email protected]:~/cm$
I've set a config file (cyanogen_d2_defconfig) in xconfig and it's still erroring out. Any help?
Click to expand...
Click to collapse
CM10 uses /arch/arm/configs/cm10_defconfig for kernel configuration.
so you would use the .config file or whatever name you had given to it. rename it cm10_defconfig and copy to kernel/arch/arm/configs/
you can also use a pre-built kernel
just copy the zImage to your device directory. and rename it kernel
or you can build without a kernel and just build the rom itself
I hope this helped you out.

Building CM 11 Errors

This is my first time I have ever built a ROM, but I am making a build as described here --> http://wiki.cyanogenmod.org/w/Build_for_d2att <--
Shortly after I run "brunch d2att" the console displays "find: `src': No such file or directory" and then runs off on a list of "Warning: Ignoring old commands for target" and "Warning: Overriding commands for target"
After running "brunch d2att":
Code:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4
CM_VERSION=11-20131130-UNOFFICIAL-d2att
TARGET_PRODUCT=cm_d2att
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.0-14-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KRT16S
OUT_DIR=/home/matthew/android/system/out
============================================
Then it goes into the find: src and warnings.
Code:
[email protected]:~/android/system$ brunch d2att
including vendor/cm/vendorsetup.sh
Looking for dependencies
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4
CM_VERSION=11-20131130-UNOFFICIAL-d2att
TARGET_PRODUCT=cm_d2att
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.0-14-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KRT16S
OUT_DIR=/home/matthew/android/system/out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4
CM_VERSION=11-20131130-UNOFFICIAL-d2att
TARGET_PRODUCT=cm_d2att
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.0-14-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KRT16S
OUT_DIR=/home/matthew/android/system/out
============================================
find: `src': No such file or directory
frameworks/uiautomator/Android.mk:82: warning: overriding commands for target `/home/matthew/android/system/out/target/common/obj/PACKAGING/uiautomator-checkapi-last-timestamp'
frameworks/testing/uiautomator/library/Android.mk:82: warning: ignoring old commands for target `/home/matthew/android/system/out/target/common/obj/PACKAGING/uiautomator-checkapi-last-timestamp'
frameworks/uiautomator/Android.mk:99: warning: overriding commands for target `/home/matthew/android/system/out/target/common/obj/PACKAGING/uiautomator-checkapi-current-timestamp'
frameworks/testing/uiautomator/library/Android.mk:99: warning: ignoring old commands for target `/home/matthew/android/system/out/target/common/obj/PACKAGING/uiautomator-checkapi-current-timestamp'
frameworks/uiautomator/Android.mk:111: warning: overriding commands for target `update-uiautomator-api'
frameworks/testing/uiautomator/library/Android.mk:111: warning: ignoring old commands for target `update-uiautomator-api'
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/obj/include/qcom/display/copybit_priv.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/obj/include/qcom/display/copybit_priv.h'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libril.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libril.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/bin/rild'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/bin/rild'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libsecril-client.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libsecril-client.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libreference-ril.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libreference-ril.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libinvensense_hal.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libinvensense_hal.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libmllite.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libmllite.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libmlplatform.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libmlplatform.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/etc/wifi/wpa_supplicant.conf'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/etc/permissions/android.software.live_wallpaper.xml'
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Generic.kl:system/usr/keylayout/Generic.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_045e_Product_028e.kl:system/usr/keylayout/Vendor_045e_Product_028e.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c216.kl:system/usr/keylayout/Vendor_046d_Product_c216.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c294.kl:system/usr/keylayout/Vendor_046d_Product_c294.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c299.kl:system/usr/keylayout/Vendor_046d_Product_c299.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c532.kl:system/usr/keylayout/Vendor_046d_Product_c532.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_054c_Product_0268.kl:system/usr/keylayout/Vendor_054c_Product_0268.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_05ac_Product_0239.kl:system/usr/keylayout/Vendor_05ac_Product_0239.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_22b8_Product_093d.kl:system/usr/keylayout/Vendor_22b8_Product_093d.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/Generic.kcm:system/usr/keychars/Generic.kcm ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/Virtual.kcm:system/usr/keychars/Virtual.kcm ignored.
No private recovery resources for TARGET_DEVICE d2att
host C: mkbootimg <= system/core/mkbootimg/mkbootimg.c
host C: libmincrypt <= system/core/libmincrypt/rsa.c
/bin/bash: prebuilts/misc/linux-x86/ccache/ccache: No such file or directory
make: *** [/home/matthew/android/system/out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/mkbootimg.o] Error 127
make: *** Waiting for unfinished jobs....
/bin/bash: prebuilts/misc/linux-x86/ccache/ccache: No such file or directory
make: *** [/home/matthew/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libmincrypt_intermediates/rsa.o] Error 127
make: *** wait: No child processes. Stop.
[email protected]:~/android/system$
Any help is greatly appreciated!
Thanks in advance!

[Q] Stock CM 11 (4.4.1) Compiling Errors

So earlier I posted a problem I had building CM 11 (4.4.0), and due to lack of help, I never got a working build. However, this morning, I OTA Updated through CyanogenMod's servers to their first CM 11 Build for d2att (4.4.1). I did the obligatory repo sync, and also a source build/envsetup.sh, a breakfast d2att and then brunch d2att. Once it started compiling, I did not run into my usual slew of errors for a little while, and then hit them, but with the build continuing for 2 minutes after the errors, instead of the normal stop. Sadly, it did stop, but not on the same note as it did before today... Here's the code after brunch d2att:
Code:
[email protected]:~/android/system$ brunch d2att
including vendor/cm/vendorsetup.sh
Looking for dependencies
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.1
CM_VERSION=11-20131208-UNOFFICIAL-d2att
TARGET_PRODUCT=cm_d2att
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.0-15-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KOT49E
OUT_DIR=/home/matthew/android/system/out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.1
CM_VERSION=11-20131208-UNOFFICIAL-d2att
TARGET_PRODUCT=cm_d2att
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.0-15-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KOT49E
OUT_DIR=/home/matthew/android/system/out
============================================
Clean step: rm -rf /home/matthew/android/system/out/target/product/d2att/system/build.prop
/home/matthew/android/system/out/target/product/d2att/obj/APPS/SignatureTest_intermediates
find: `src': No such file or directory
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/obj/include/qcom/display/copybit_priv.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/obj/include/qcom/display/copybit_priv.h'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libril.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libril.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/bin/rild'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/bin/rild'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libsecril-client.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libsecril-client.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libreference-ril.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libreference-ril.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libinvensense_hal.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libinvensense_hal.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libmllite.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libmllite.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libmlplatform.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libmlplatform.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/etc/wifi/wpa_supplicant.conf'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/etc/permissions/android.software.live_wallpaper.xml'
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Generic.kl:system/usr/keylayout/Generic.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_045e_Product_028e.kl:system/usr/keylayout/Vendor_045e_Product_028e.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c216.kl:system/usr/keylayout/Vendor_046d_Product_c216.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c294.kl:system/usr/keylayout/Vendor_046d_Product_c294.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c299.kl:system/usr/keylayout/Vendor_046d_Product_c299.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c532.kl:system/usr/keylayout/Vendor_046d_Product_c532.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_054c_Product_0268.kl:system/usr/keylayout/Vendor_054c_Product_0268.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_05ac_Product_0239.kl:system/usr/keylayout/Vendor_05ac_Product_0239.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_22b8_Product_093d.kl:system/usr/keylayout/Vendor_22b8_Product_093d.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/Generic.kcm:system/usr/keychars/Generic.kcm ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/Virtual.kcm:system/usr/keychars/Virtual.kcm ignored.
No private recovery resources for TARGET_DEVICE d2att
Header: /home/matthew/android/system/out/target/product/d2att/obj/include/qcom/display/gralloc_priv.h
Import includes file: /home/matthew/android/system/out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/import_includes
make -C kernel/samsung/d2 O=/home/matthew/android/system/out/target/product/d2att/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/matthew/android/system/prebuilts/misc/linux-x86/ccache/ccache /home/matthew/android/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" VARIANT_DEFCONFIG=cyanogen_d2_defconfig SELINUX_DEFCONFIG=m2selinux_defconfig cyanogen_d2att_defconfig
make[1]: Entering directory `/home/matthew/android/system/kernel/samsung/d2'
/bin/bash: prebuilts/misc/linux-x86/ccache/ccache: No such file or directory
make: *** [/home/matthew/android/system/out/target/product/d2att/obj/lib/crtbrand.o] Error 127
make: *** Waiting for unfinished jobs....
HOSTCC scripts/basic/fixdep
GEN /home/matthew/android/system/out/target/product/d2att/obj/KERNEL_OBJ/Makefile
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
drivers/media/video/msm_apexq/Kconfig:126:warning: choice value used outside its choice group
drivers/media/video/msm_apexq/Kconfig:131:warning: choice value used outside its choice group
KCONFIG_SELINUX(arch/arm/configs/m2selinux_defconfig)
KCONFIG_LOG_SELINUX((null))
KCONFIG_VARIANT(arch/arm/configs/cyanogen_d2_defconfig)
arch/arm/configs/cyanogen_d2_defconfig:837:warning: override: reassigning to symbol NETWORK_SECMARK
arch/arm/configs/cyanogen_d2_defconfig:841:warning: override: reassigning to symbol NETFILTER_ADVANCED
KCONFIG_DEBUG((null))
#
# configuration written to .config
#
make[1]: Leaving directory `/home/matthew/android/system/kernel/samsung/d2'
[email protected]:~/android/system$
[/HIDE]
If anyone can tell me what went wrong or where I can get some help, my ears are open! Thanks!

failed to compile jfltexx, ninja error, missing files

Any idea why?
Starting build with ninja
ninja: Entering directory `.'
ninja: error: 'vendor/samsung/jf-gsm-common/proprietary/bin/rild', needed by '/home/huan/android/lineage/out/target/product/jfltexx/system/bin/rild', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/huan/android/lineage'
-------------------------
/home/huan/android/lineage/out/build-lineage_jfltexx.ninja is missing, regenerating...
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20170507-UNOFFICIAL-jfltexx
TARGET_PRODUCT=lineage_jfltexx
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-38-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=N2G47O
OUT_DIR=/home/huan/android/lineage/out
============================================
build/core/binary.mk:1253: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1253: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
frameworks/av/camera/cameraserver/Android.mk:18: Target has integrated cameraserver into mediaserver. This is weakening security measures introduced in 7.0
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
find: ‘/home/huan/android/lineage/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
No private recovery resources for TARGET_DEVICE jfltexx
build/core/java.mk:334: warning: overriding commands for target `/home/huan/android/lineage/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'
build/core/java.mk:334: warning: ignoring old commands for target `/home/huan/android/lineage/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'
build/core/java.mk:334: warning: overriding commands for target `/home/huan/android/lineage/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'
build/core/java.mk:334: warning: ignoring old commands for target `/home/huan/android/lineage/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'
build/core/base_rules.mk:320: warning: overriding commands for target `/home/huan/android/lineage/out/target/product/jfltexx/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/huan/android/lineage/out/target/product/jfltexx/root/res/images/charger/battery_fail.png'
build/core/Makefile:34: warning: overriding commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/bin/rild'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/bin/rild'
build/core/Makefile:34: warning: overriding commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/lib/libreference-ril.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/lib/libreference-ril.so'
build/core/Makefile:34: warning: overriding commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/lib/libril.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/lib/libril.so'
build/core/Makefile:34: warning: overriding commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/lib/libsecril-client.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/lib/libsecril-client.so'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: 'vendor/samsung/jf-gsm-common/proprietary/bin/rild', needed by '/home/huan/android/lineage/out/target/product/jfltexx/system/bin/rild', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/huan/android/lineage'
#### make failed to build some targets (01:16 (mm:ss)) ####
i am facing the same issue
This mean you are missing the proprietary vendor files.
Check this site out, https://github.com/TheMuppets/proprietary_vendor_samsung
Make note of this error:
ninja: error: 'vendor/samsung/jf-gsm-common/proprietary/bin/rild', needed by '/home/huan/android/lineage/out/target/product/jfltexx/system/bin/rild', missing and no known rule to make it
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
jf-gsm-common/proprietary/bin/rild
above is the path to the files you want, follow that on the repo page I provided.

Help with compiling nitrogen os

EDIT: SEPTEMBER I managed to compile nitrogen p the 5t with gzosp.
I can't test it atm. Is anyone able to see if it boots.
https://drive.google.com/file/d/1iqX4HLfVPAIDDrIoSLcQefkXY_FRxGjQ/view?usp=sharing
Add these 2 lines in boardconfig.mk
SRC_DISPLAY_HAL_DIR := hardware/qcom/display-caf/msm8998
SRC_MEDIA_HAL_DIR := hardware/qcom/media-caf/msm8998
quake73 said:
Add these 2 lines in boardconfig.mk
SRC_DISPLAY_HAL_DIR := hardware/qcom/display-caf/msm8998
SRC_MEDIA_HAL_DIR := hardware/qcom/media-caf/msm8998
Click to expand...
Click to collapse
speaking of the awesome guy ^^^^^^^^^^^^
i hate to keep just posting errors and annoying you/s but it seems it just compiles for 1 second then errors with a new error. like it keep going and going and i dont want to keep posting errors that i dont know how to fix
Code:
[email protected]:~/AOSP$ make clobber
19:35:42 Entire build directory removed.
#### build completed successfully ####
[email protected]:~/AOSP$ make otapackage -j4
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=nitrogen_dumpling
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a73
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-116-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM5.171019.017
OUT_DIR=/home/jamie/AOSP/out
============================================
[44/44] bootstrap /home/jamie/AOSP/out/soong/.minibootstrap/build.ninja.in
[4/4] /home/jamie/AOSP/out/soong/.boot.../AOSP/out/soong/.bootstrap/build.ninja
[859/860] glob vendor/*/*/*/*/*/*/Android.bp
[54/54] /home/jamie/AOSP/out/soong/.bo.../home/jamie/AOSP/out/soong/build.ninja
/home/jamie/AOSP/out/build-nitrogen_dumpling.ninja is missing, regenerating...
[471/986] including ./hardware/qcom/camera/Android.mk ...
build/core/binary.mk:40: warning: hal3-test-app uses kernel headers, but does not depend on them!
[659/986] including ./system/sepolicy/Android.mk ...
./system/sepolicy/Android.mk:111: warning: BOARD_SEPOLICY_VERS not specified, assuming current platform version
[986/986] including ./vendor/qcom/opensource/rcs-service/Android.mk ...
PRODUCT_COPY_FILES device/oneplus/msm8998-common/configs/perfboostsconfig.xml:system/vendor/etc/perf/perfboostsconfig.xml ignored.
build/core/Makefile:53: warning: Duplicate header copy: /home/jamie/AOSP/out/target/product/dumpling/obj/include/qcom/display/qd_utils.h
build/core/Makefile:53: warning: Defined in: hardware/qcom/display-caf/msm8998/libqdutils/../common.mk hardware/qcom/display-caf/msm8998/libqdutils/../common.mk
No private recovery resources for TARGET_DEVICE dumpling
build/core/Makefile:34: warning: overriding commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/framework/dpm.jar'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/framework/dpm.jar'
build/core/Makefile:34: warning: overriding commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/lib/libmm-qcamera.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/lib/libmm-qcamera.so'
build/core/Makefile:34: warning: overriding commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/lib/[email protected]'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/lib/[email protected]'
build/core/Makefile:34: warning: overriding commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/lib64/libjni_pacprocessor.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/lib64/libjni_pacprocessor.so'
build/core/Makefile:34: warning: overriding commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/lib64/libldacBT_abr.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/lib64/libldacBT_abr.so'
build/core/Makefile:34: warning: overriding commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/lib64/libldacBT_enc.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/lib64/libldacBT_enc.so'
build/core/Makefile:34: warning: overriding commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/lib64/[email protected]'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/lib64/[email protected]'
build/core/Makefile:34: warning: overriding commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/vendor/lib/hw/camera.msm8998.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/vendor/lib/hw/camera.msm8998.so'
build/core/Makefile:34: warning: overriding commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/vendor/lib/libmmcamera_interface.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/vendor/lib/libmmcamera_interface.so'
build/core/Makefile:34: warning: overriding commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/vendor/lib/libmmjpeg_interface.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/vendor/lib/libmmjpeg_interface.so'
build/core/Makefile:34: warning: overriding commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/vendor/lib/libqomx_core.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/vendor/lib/libqomx_core.so'
[ 90% 10/11] glob vendor/*/*/*/*/*/*/Android.bp
ninja: error: '/home/jamie/AOSP/out/target/product/dumpling/obj/STATIC_LIBRARIES/libinit_oneplus_msm8998_intermediates/export_includes', needed by '/home/jamie/AOSP/out/target/product/dumpling/obj/EXECUTABLES/init_intermediates/import_includes', missing and no known rule to make it
19:46:17 ninja failed with: exit status 1
#### failed to build some targets (01:05 (mm:ss)) ####
I might just give up. Too hard for me. I need help for everything. I might just stick to lineage based ROMs with breakfast etc
Jamie_oppo said:
speaking of the awesome guy ^^^^^^^^^^^^
i hate to keep just posting errors and annoying you/s but it seems it just compiles for 1 second then errors with a new error. like it keep going and going and i dont want to keep posting errors that i dont know how to fix
Code:
[ 90% 10/11] glob vendor/*/*/*/*/*/*/Android.bp
ninja: error: '/home/jamie/AOSP/out/target/product/dumpling/obj/STATIC_LIBRARIES/libinit_oneplus_msm8998_intermediates/export_includes', needed by '/home/jamie/AOSP/out/target/product/dumpling/obj/EXECUTABLES/init_intermediates/import_includes', missing and no known rule to make it
19:46:17 ninja failed with: exit status 1
#### failed to build some targets (01:05 (mm:ss)) ####
Click to expand...
Click to collapse
That module (libinit_oneplus_msm8998_intermediates) gets built by device/oneplus/msm8998-common/init. Are you sure you synced everything? Do you have the folder device/oneplus/msm8998-common?
quake73 said:
speaking of the awesome guy ^^^^^^^^^^^^
i hate to keep just posting errors and annoying you/s but it seems it just compiles for 1 second then errors with a new error. like it keep going and going and i dont want to keep posting errors that i dont know how to fix
That module (libinit_oneplus_msm8998_intermediates) gets built by device/oneplus/msm8998-common/init. Are you sure you synced everything? Do you have the folder device/oneplus/msm8998-common?
Click to expand...
Click to collapse
I think I messed with it and it wasn't working properly. Redownloaded it, now I got a different error. I look tomorrow. Looks like a vendor error.
Thanks again for the help
quake73 said:
That module (libinit_oneplus_msm8998_intermediates) gets built by device/oneplus/msm8998-common/init. Are you sure you synced everything? Do you have the folder device/oneplus/msm8998-common?
Click to expand...
Click to collapse
yeah i resynced msmcommon 8998 . and i even tried swapping all these with lineage ones and still got sorta same errors
i think ive messed with too much stuff now
Code:
] glob vendor/*/*/*/*/*/*/Android.bp
ninja: error: '/home/jamie/AOSP/out/target/product/dumpling/obj/SHARED_LIBRARIES/[email protected]_intermediates/export_includes', needed by '/home/jamie/AOSP/out/target/product/dumpling/obj/EXECUTABLES/[email protected]_intermediates/import_includes', missing and no known rule to make it
17:21:38 ninja failed with: exit status 1
i might just give up. i really do think these fingerprint changes will fix it. Thats why i wanted to compile for myself but its was harder than i expected
Edit: I've given up sadly. I have no experience in code (learning at school now ) so I can't fix any errors
Thanks for the help @quake73
Hi, I'm also trying to get nitrogen working. I've made it further I think but I keep getting an error about libaudiopolicy and I can't fix it no matter what I do. I hope someone can help.
Thanks.
Code:
ninja: error: '/home/chickenzzz/builds/nitrogen_op5t/out/target/product/dumpling/obj_arm/SHARED_LIBRARIES/libaudiopolicymanager_intermediates/export_includes', needed by '/home/chickenzzz/builds/nitrogen_op5t/out/target/product/dumpling/obj_arm/SHARED_LIBRARIES/libaudiopolicyservice_intermediates/import_includes', missing and no known rule to make it
22:34:18 ninja failed with: exit status 1
Chickenzzz29 said:
Hi, I'm also trying to get nitrogen working. I've made it further I think but I keep getting an error about libaudiopolicy and I can't fix it no matter what I do. I hope someone can help.
Thanks.
Code:
ninja: error: '/home/chickenzzz/builds/nitrogen_op5t/out/target/product/dumpling/obj_arm/SHARED_LIBRARIES/libaudiopolicymanager_intermediates/export_includes', needed by '/home/chickenzzz/builds/nitrogen_op5t/out/target/product/dumpling/obj_arm/SHARED_LIBRARIES/libaudiopolicyservice_intermediates/import_includes', missing and no known rule to make it
22:34:18 ninja failed with: exit status 1
Click to expand...
Click to collapse
Modify this: USE_CUSTOM_AUDIO_POLICY := 0
in BoardConfigCommon.mk in device/oneplus/msm8998-common
Edit:
https://drive.google.com/file/d/1iqX4HLfVPAIDDrIoSLcQefkXY_FRxGjQ/view?usp=sharing
Edit:2 didn't boot

Categories

Resources