When im trying to build the rom iam getting this error
Code:
scripts/Makefile.host:118: recipe for target 'scripts/basic/fixdep' failed
make[2]: *** [scripts/basic/fixdep] Error 1
/home/adithyan/aosip/kernel/xiaomi/msm8956/Makefile:428: recipe for target 'scripts_basic' failed
make[1]: *** [scripts_basic] Error 2
Makefile:131: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2
make: Leaving directory '/home/adithyan/aosip/kernel/xiaomi/msm8956'
ninja: build stopped: subcommand failed.
11:19:53 ninja failed with: exit status 1
build/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
Any solutions?
Related
Ok im building cm 10.1 for my phone which is unsupported it has the msm8660 common kernel and i fixed the ramdisk offset now i get this error and cant figure out where to add the path to fix it if that is what im supposed to do it builds great up to this point please help
target Dex: core-junit-hostdex
target Dex: apachehttp-hostdex
----- Making recovery image ------
error: no output filename specified
usage: mkbootimg
--kernel <filename>
--ramdisk <filename>
[ --second <2ndbootloader-filename> ]
[ --cmdline <kernel-commandline> ]
[ --board <boardname> ]
[ --base <address> ]
[ --pagesize <pagesize> ]
[ --ramdisk_offset <address> ]
-o|--output <filename>
make: *** [/home/ken/android/cm10_1/out/target/product/i577/recovery.img] Error 1
make: *** Waiting for unfinished jobs....
[email protected]:~/android/cm10_1$
ktempleton said:
Ok im building cm 10.1 for my phone which is unsupported it has the msm8660 common kernel and i fixed the ramdisk offset now i get this error and cant figure out where to add the path to fix it if that is what im supposed to do it builds great up to this point please help
target Dex: core-junit-hostdex
target Dex: apachehttp-hostdex
----- Making recovery image ------
error: no output filename specified
usage: mkbootimg
--kernel <filename>
--ramdisk <filename>
[ --second <2ndbootloader-filename> ]
[ --cmdline <kernel-commandline> ]
[ --board <boardname> ]
[ --base <address> ]
[ --pagesize <pagesize> ]
[ --ramdisk_offset <address> ]
-o|--output <filename>
make: *** [/home/ken/android/cm10_1/out/target/product/i577/recovery.img] Error 1
make: *** Waiting for unfinished jobs....
[email protected]:~/android/cm10_1$
Click to expand...
Click to collapse
the error show that no output file name is specified. To add the correct output you need to edit /build/core/tasks/kernel.mk
edit that kernel.mk file and look for (line 27) KERNEL_OUT := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ
you need to change that. delete $(TARGET_OUT_INTERMEDIATES) and make it say what your absolute path to that folder is.
Example: KERNEL_OUT := /mnt/android/cm10.1/out/target/product/i577/obj/KERNEL_OBJ
Hope this helps...
I got this error
In file included from drivers/media/platform/msm/camera_v2/sensor/csid/msm_csid.c:20:0:
drivers/media/platform/msm/camera_v2/sensor/csid/include/msm_csid_2_0_hwreg.h:16:22: fatal error: msm_csid.h: No such file or directory
compilation terminated.
scripts/Makefile.build:308: recipe for target 'drivers/media/platform/msm/camera_v2/sensor/csid/msm_csid.o' failed
make[7]: *** [drivers/media/platform/msm/camera_v2/sensor/csid/msm_csid.o] Error 1
scripts/Makefile.build:455: recipe for target 'drivers/media/platform/msm/camera_v2/sensor/csid' failed
make[6]: *** [drivers/media/platform/msm/camera_v2/sensor/csid] Error 2
scripts/Makefile.build:455: recipe for target 'drivers/media/platform/msm/camera_v2/sensor' failed
make[5]: *** [drivers/media/platform/msm/camera_v2/sensor] Error 2
scripts/Makefile.build:455: recipe for target 'drivers/media/platform/msm/camera_v2' failed
make[4]: *** [drivers/media/platform/msm/camera_v2] Error 2
scripts/Makefile.build:455: recipe for target 'drivers/media/platform/msm' failed
make[3]: *** [drivers/media/platform/msm] Error 2
scripts/Makefile.build:455: recipe for target 'drivers/media/platform' failed
make[2]: *** [drivers/media/platform] Error 2
scripts/Makefile.build:455: recipe for target 'drivers/media' failed
make[1]: *** [drivers/media] Error 2
Makefile:806: recipe for target 'drivers' failed
make: *** [drivers] Error 2
make: Leaving directory '/home/almas/Desktop/kernel'
Anyone knows it how to fix it
AndroidFire said:
I got this error
In file included from drivers/media/platform/msm/camera_v2/sensor/csid/msm_csid.c:20:0:
drivers/media/platform/msm/camera_v2/sensor/csid/include/msm_csid_2_0_hwreg.h:16:22: fatal error: msm_csid.h: No such file or directory
compilation terminated.
scripts/Makefile.build:308: recipe for target 'drivers/media/platform/msm/camera_v2/sensor/csid/msm_csid.o' failed
make[7]: *** [drivers/media/platform/msm/camera_v2/sensor/csid/msm_csid.o] Error 1
scripts/Makefile.build:455: recipe for target 'drivers/media/platform/msm/camera_v2/sensor/csid' failed
make[6]: *** [drivers/media/platform/msm/camera_v2/sensor/csid] Error 2
scripts/Makefile.build:455: recipe for target 'drivers/media/platform/msm/camera_v2/sensor' failed
make[5]: *** [drivers/media/platform/msm/camera_v2/sensor] Error 2
scripts/Makefile.build:455: recipe for target 'drivers/media/platform/msm/camera_v2' failed
make[4]: *** [drivers/media/platform/msm/camera_v2] Error 2
scripts/Makefile.build:455: recipe for target 'drivers/media/platform/msm' failed
make[3]: *** [drivers/media/platform/msm] Error 2
scripts/Makefile.build:455: recipe for target 'drivers/media/platform' failed
make[2]: *** [drivers/media/platform] Error 2
scripts/Makefile.build:455: recipe for target 'drivers/media' failed
make[1]: *** [drivers/media] Error 2
Makefile:806: recipe for target 'drivers' failed
make: *** [drivers] Error 2
make: Leaving directory '/home/almas/Desktop/kernel'
Anyone knows it how to fix it
Click to expand...
Click to collapse
I found the same error. See the patch attached to fix the includes.
Kr0n0 said:
I found the same error. See the patch attached to fix the includes.
Click to expand...
Click to collapse
how to apply patch?
now I know how to apply patch: open terminal in kernel folder
patch -p[num] < [path diff file]
ex: patch -p1 < /home/linux/Desktop/sm-j510fn/include_fix.diff
Hello friends, I'm having the error message: "brom error: ext_ram_exeption status (0xc005005)" when trying to install the leagoo kiicaa mix stock rom, how do I solve this problem?
Hello guys!
When i am trying to compile Crdroid or any other rom i get these error:
Code:
/home/romaniulian2013/crdroid/out/target/product/kenzo/obj/APPS/framework-res_intermediates/flat-res/device/xiaomi/msm8956-common/overlay/frameworks/base/core/res/res/values_config.arsc.flat: error: resource bool/config_multiColorNotificationLed does not override an existing resource.
/home/romaniulian2013/crdroid/out/target/product/kenzo/obj/APPS/framework-res_intermediates/flat-res/device/xiaomi/msm8956-common/overlay/frameworks/base/core/res/res/values_config.arsc.flat: note: define an <add-resource> tag or use --auto-add-overlay.
/home/romaniulian2013/crdroid/out/target/product/kenzo/obj/APPS/framework-res_intermediates/flat-res/device/xiaomi/msm8956-common/overlay/frameworks/base/core/res/res/values_config.arsc.flat: error: resource bool/config_proximityCheckOnWake does not override an existing resource.
/home/romaniulian2013/crdroid/out/target/product/kenzo/obj/APPS/framework-res_intermediates/flat-res/device/xiaomi/msm8956-common/overlay/frameworks/base/core/res/res/values_config.arsc.flat: note: define an <add-resource> tag or use --auto-add-overlay.
/home/romaniulian2013/crdroid/out/target/product/kenzo/obj/APPS/framework-res_intermediates/flat-res/device/xiaomi/msm8956-common/overlay/frameworks/base/core/res/res/values_config.arsc.flat: error: resource bool/config_proximityCheckOnWakeEnabledByDefault does not override an existing resource.
/home/romaniulian2013/crdroid/out/target/product/kenzo/obj/APPS/framework-res_intermediates/flat-res/device/xiaomi/msm8956-common/overlay/frameworks/base/core/res/res/values_config.arsc.flat: note: define an <add-resource> tag or use --auto-add-overlay.
error: failed parsing overlays.
[ 54% 53791/99436] AAPT2 compile /home/romaniulian2013/crdroid/out/target/product/kenzo/obj/APPS/LatinIME_intermediates/flat-res/packages/inputmethods/LatinIME/java/res/drawable_btn_suggestion_lxx_light.xml.flat <- packages/inputmethods/LatinIME/java/res/drawable/btn_suggestion_lxx_light.xml
[ 54% 53792/99436] AAPT2 compile /home/romaniulian2013/crdroid/out/target/product/kenzo/obj/APPS/LatinIME_intermediates/flat-res/packages/inputmethods/LatinIME/java/res/drawable_ic_emoji_activity_lxx_dark.xml.flat <- packages/inputmethods/LatinIME/java/res/drawable/ic_emoji_activity_lxx_dark.xml
[ 54% 53793/99436] AAPT2 compile /home/romaniulian2013/crdroid/out/target/product/kenzo/obj/APPS/LatinIME_intermediates/flat-res/packages/inputmethods/LatinIME/java/res/drawable_ic_emoji_activity_lxx_light.xml.flat <- packages/inputmethods/LatinIME/java/res/drawable/ic_emoji_activity_lxx_light.xml
[ 54% 53794/99436] AAPT2 compile /home/romaniulian2013/crdroid/out/target/product/kenzo/obj/APPS/LatinIME_intermediates/flat-res/packages/inputmethods/LatinIME/java/res/drawable_ic_emoji_emoticons_holo_dark.xml.flat <- packages/inputmethods/LatinIME/java/res/drawable/ic_emoji_emoticons_holo_dark.xml
[ 54% 53795/99436] AAPT2 compile /home/romaniulian2013/crdroid/out/target/product/kenzo/obj/APPS/LatinIME_intermediates/flat-res/packages/inputmethods/LatinIME/java/res/drawable_btn_suggestion_lxx_dark.xml.flat <- packages/inputmethods/LatinIME/java/res/drawable/btn_suggestion_lxx_dark.xml
[ 54% 53796/99436] AAPT2 compile /home/romaniulian2013/crdroid/out/target/product/kenzo/obj/APPS/LatinIME_intermediates/flat-res/packages/inputmethods/LatinIME/java/res/drawable_ic_emoji_activity_holo_dark.xml.flat <- packages/inputmethods/LatinIME/java/res/drawable/ic_emoji_activity_holo_dark.xml
[ 54% 53797/99436] AAPT2 compile /home/romaniulian2013/crdroid/out/target/product/kenzo/obj/APPS/LatinIME_intermediates/flat-res/packages/inputmethods/LatinIME/java/res/drawable_ic_emoji_emoticons_lxx_dark.xml.flat <- packages/inputmethods/LatinIME/java/res/drawable/ic_emoji_emoticons_lxx_dark.xml
[ 54% 53798/99436] AAPT2 compile /home/romaniulian2013/crdroid/out/target/product/kenzo/obj/APPS/LatinIME_intermediates/flat-res/packages/inputmethods/LatinIME/java/res/drawable_ic_emoji_flag_holo_dark.xml.flat <- packages/inputmethods/LatinIME/java/res/drawable/ic_emoji_flag_holo_dark.xml
[ 54% 53799/99436] AAPT2 compile /home/romaniulian2013/crdroid/out/target/product/kenzo/obj/APPS/LatinIME_intermediates/flat-res/packages/inputmethods/LatinIME/java/res/drawable_ic_emoji_emoticons_lxx_light.xml.flat <- packages/inputmethods/LatinIME/java/res/drawable/ic_emoji_emoticons_lxx_light.xml
[ 54% 53800/99436] AAPT2 compile /home/romaniulian2013/crdroid/out/target/product/kenzo/obj/APPS/LatinIME_intermediates/flat-res/packages/inputmethods/LatinIME/java/res/drawable_ic_emoji_flag_lxx_dark.xml.flat <- packages/inputmethods/LatinIME/java/res/drawable/ic_emoji_flag_lxx_dark.xml
[ 54% 53801/99436] target StaticLib: libv8 (/home/romaniulian2013/crdroid/out/target/product/kenzo/obj/STATIC_LIBRARIES/libv8_intermediates/libv8.a)
ninja: build stopped: subcommand failed.
15:03:11 ninja failed with: exit status 1
#### failed to build some targets (16:41 (mm:ss)) ####
Please, someone help me!
Just nuke the lines providing error and done!
BROM ERROR: 5_DL_GET_DRAM_SETTING_FAIL (5054)
[EMI] Obtain DRAM Failed!
[HINTI:
Please check your load matches to yuar target which is to be downloaded.