[Android] albertoduqe:
Hi everybody!

In my unsuccessful attempt of making camera work for Lithium with XenonHD I am trying to build a few other roms for the device so that I can see if camera works and compare logs and stuff. So far no success either. Compiling go over 80% and then run into some errors I cannot pin down. Maybe you guys can help me...

First one is with AimROM. Error seems to point to some folder in device/xiaomi/msm8996-common that does not exist, but that device common tree repo is the same I used for xenon and for lineage and they do not give me any error so no idea...

[ 88% 42612/48241] Build hyb /home/alb...phenation-patterns/bn//hyph-bn.pat.txt
6 unique nodes, 73 total
[ 88% 42618/48241] Build hyb /home/alb...tion-patterns/de//hyph-de-1901.pat.txt
8858 unique nodes, 29816 total
[ 88% 42620/48241] Build hyb /home/alb...tion-patterns/de//hyph-de-1996.pat.txt
8578 unique nodes, 29167 total
[ 88% 42627/48241] Build hyb /home/alb...ion-patterns/en-GB//hyph-en-gb.pat.txt
4348 unique nodes, 13922 total
[ 88% 42634/48241] Build hyb /home/alb...phenation-patterns/as//hyph-as.pat.txt
6 unique nodes, 73 total
[ 88% 42643/48241] Build hyb /home/alb...phenation-patterns/cy//hyph-cy.pat.txt
3290 unique nodes, 10601 total
[ 88% 42650/48241] Build hyb /home/alb...n-patterns/de//hyph-de-ch-1901.pat.txt
8660 unique nodes, 29361 total
[ 88% 42654/48241] Build hyb /home/alb...ion-patterns/en-US//hyph-en-us.pat.txt
3507 unique nodes, 8500 total
[ 88% 42656/48241] Build hyb /home/alb...phenation-patterns/es//hyph-es.pat.txt
1622 unique nodes, 5831 total
[ 88% 42661/48241] Build hyb /home/alb...phenation-patterns/eu//hyph-eu.pat.txt
13 unique nodes, 232 total
[ 88% 42666/48241] Build hyb /home/alb...phenation-patterns/et//hyph-et.pat.txt
2043 unique nodes, 6198 total
[ 88% 42669/48241] Build hyb /home/alb...phenation-patterns/fr//hyph-fr.pat.txt
994 unique nodes, 3181 total
[ 88% 42675/48241] Build hyb /home/alb...phenation-patterns/da//hyph-da.pat.txt
602 unique nodes, 1676 total
[ 88% 42676/48241] target R.java/Manif.../XiaomiDoze_intermediates/src/R.stamp)
FAILED: /bin/bash -c "(rm -rf /home/albertoduqe/aimrom/out/target/common/obj/APPS/XiaomiDoze_intermediates/src/R.stamp && mkdir -p /home/albertoduqe/aimrom/out/target/common/obj/APPS/XiaomiDoze_intermediates/src/ ) && (mkdir -p /home/albertoduqe/aimrom/out/target/common/obj/APPS/XiaomiDoze_intermediates/src ) && (mkdir -p /home/albertoduqe/aimrom/out/target/common/obj/APPS/XiaomiDoze_intermediates/ ) && (/home/albertoduqe/aimrom/out/host/linux-x86/bin/aapt package --auto-add-overlay --auto-add-overlay -z --extra-packages android.support.v14.preference:android.support.v17.preference:android.support.v7.appcompat:android.support.v7.preference:android.support.v7.recyclerview:com.android.settingslib --pseudo-localize -m -J /home/albertoduqe/aimrom/out/target/common/obj/APPS/XiaomiDoze_intermediates/src -M device/xiaomi/msm8996-common/doze/AndroidManifest.xml -P /home/albertoduqe/aimrom/out/target/common/obj/APPS/XiaomiDoze_intermediates/public_resources.xml -S device/xiaomi/msm8996-common/overlay/frameworks/base/packages/SettingsLib/res -S device/xiaomi/msm8996-common/doze/res -S device/xiaomi/msm8996-common/doze/../../../../packages/resources/devicesettings/res -S frameworks/support/v7/preference/res -S frameworks/support/v14/preference/res -S frameworks/support/v7/appcompat/res -S frameworks/support/v7/recyclerview/res -S frameworks/base/packages/SettingsLib/res -I /home/albertoduqe/aimrom/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk -I /home/albertoduqe/aimrom/out/target/common/obj/APPS/org.cyanogenmod.platform-res_intermediates/package-export.apk -G /home/albertoduqe/aimrom/out/target/common/obj/APPS/XiaomiDoze_intermediates/proguard_options --min-sdk-version 25 --target-sdk-version 25 --version-code 25 --version-name 7.1.2 --skip-symbols-without-default-localization ) && (for GENERATED_MANIFEST_FILE in \`find /home/albertoduqe/aimrom/out/target/common/obj/APPS/XiaomiDoze_intermediates/src -name Manifest.java 2> /dev/null\`; do dir=\`awk '/package/{gsub(/\\./,\"/\",\$2);gsub(/;/,\"\",\$2);print \$2;exit}' \$GENERATED_MANIFEST_FILE\`; mkdir -p /home/albertoduqe/aimrom/out/target/common/R/\$dir; /home/albertoduqe/aimrom/out/host/linux-x86/bin/acp -fp \$GENERATED_MANIFEST_FILE /home/albertoduqe/aimrom/out/target/common/R/\$dir; done ) && (for GENERATED_R_FILE in \`find /home/albertoduqe/aimrom/out/target/common/obj/APPS/XiaomiDoze_intermediates/src -name R.java 2> /dev/null\`; do dir=\`awk '/package/{gsub(/\\./,\"/\",\$2);gsub(/;/,\"\",\$2);print \$2;exit}' \$GENERATED_R_FILE\`; mkdir -p /home/albertoduqe/aimrom/out/target/common/R/\$dir; /home/albertoduqe/aimrom/out/host/linux-x86/bin/acp -fp \$GENERATED_R_FILE /home/albertoduqe/aimrom/out/target/common/R/\$dir || exit 31; /home/albertoduqe/aimrom/out/host/linux-x86/bin/acp -fp \$GENERATED_R_FILE /home/albertoduqe/aimrom/out/target/common/obj/APPS/XiaomiDoze_intermediates/src/R.stamp || exit 32; done ) && (touch /home/albertoduqe/aimrom/out/target/common/obj/APPS/XiaomiDoze_intermediates/src/R.stamp )"
ERROR: resource directory 'device/xiaomi/msm8996-common/doze/../../../../packages/resources/devicesettings/res' does not exist
[ 88% 42676/48241] Build hyb /home/alb...phenation-patterns/ga//hyph-ga.pat.txt
3718 unique nodes, 10507 total
[ 88% 42676/48241] target Package: Set...PS/Settings_intermediates/package.apk)
warning: string 'additional_system_update_settings_list_item_title' has no default translation.
warning: string 'additional_system_update_settings_list_item_title' is missing 42 required localizations: ast_ES az_AZ be_BY bn_BD bs_BA en_AU en_CA en_GB en_IN en_NZ en_SG en_US eo_EU et_EE eu_ES gl_ES gu_IN hy_AM is_IS ka_GE kk_KZ km_KH kn_IN ky_KG lo_LA mk_MK ml_IN mn_MN mr_IN ms_MY my_MM ne_NP pa_IN si_LK sq_AL ta_IN te_IN ur_PK uz_UZ zh_CN zh_HK zh_TW
warning: string 'burnin_protection_summary' has no default translation.
warning: string 'burnin_protection_summary' is missing 92 required localizations: af_ZA am_ET ar_EG ast_ES az_AZ be_BY bg_BG bn_BD bs_BA ca_ES cs_CZ da_DK de_AT de_CH de_DE de_LI el_GR en_AU en_CA en_GB en_IN en_NZ en_SG en_US eo_EU es_ES es_US et_EE eu_ES fa_IR fi_FI fr_BE fr_CA fr_CH fr_FR gl_ES gu_IN hi_IN hr_HR hu_HU hy_AM in_ID is_IS it_CH it_IT iw_IL ja_JP ka_GE kk_KZ km_KH kn_IN ko_KR ku_IQ ky_KG lb_LU lo_LA lt_LT lv_LV mk_MK ml_IN mn_MN mr_IN ms_MY my_MM nb_NO ne_NP nl_BE nl_NL pa_IN pl_PL pt_BR pt_PT ro_RO ru_RU si_LK sk_SK sq_AL sv_SE sw_TZ ta_IN te_IN th_TH tl_PH tr_TR uk_UA ur_PK uz_UZ vi_VN zh_CN zh_HK zh_TW zu_ZA
warning: string 'burnin_protection_title' has no default translation.
warning: string 'burnin_protection_title' is missing 92 required localizations: af_ZA am_ET ar_EG ast_ES az_AZ be_BY bg_BG bn_BD bs_BA ca_ES cs_CZ da_DK de_AT de_CH de_DE de_LI el_GR en_AU en_CA en_GB en_IN en_NZ en_SG en_US eo_EU es_ES es_US et_EE eu_ES fa_IR fi_FI fr_BE fr_CA fr_CH fr_FR gl_ES gu_IN hi_IN hr_HR hu_HU hy_AM in_ID is_IS it_CH it_IT iw_IL ja_JP ka_GE kk_KZ km_KH kn_IN ko_KR ku_IQ ky_KG lb_LU lo_LA lt_LT lv_LV mk_MK ml_IN mn_MN mr_IN ms_MY my_MM nb_NO ne_NP nl_BE nl_NL pa_IN pl_PL pt_BR pt_PT ro_RO ru_RU si_LK sk_SK sq_AL sv_SE sw_TZ ta_IN te_IN th_TH tl_PH tr_TR uk_UA ur_PK uz_UZ vi_VN zh_CN zh_HK zh_TW zu_ZA
warning: string 'ota_disable_automatic_update' has no default translation.
warning: string 'ota_disable_automatic_update' is missing 44 required localizations: ast_ES az_AZ be_BY bn_BD bs_BA en_AU en_CA en_GB en_IN en_NZ en_SG en_US eo_EU et_EE eu_ES gl_ES gu_IN hy_AM is_IS ka_GE kk_KZ km_KH kn_IN ku_IQ ky_KG lb_LU lo_LA mk_MK ml_IN mn_MN mr_IN ms_MY my_MM ne_NP pa_IN si_LK sq_AL ta_IN te_IN ur_PK uz_UZ zh_CN zh_HK zh_TW
warning: string 'screen_zoom_summary_extremely_large' has no default translation.
warning: string 'screen_zoom_summary_extremely_large' is missing 44 required localizations: ast_ES az_AZ be_BY bn_BD bs_BA en_AU en_CA en_GB en_IN en_NZ en_SG en_US eo_EU et_EE eu_ES gl_ES gu_IN hy_AM is_IS ka_GE kk_KZ km_KH kn_IN ku_IQ ky_KG lb_LU lo_LA mk_MK ml_IN mn_MN mr_IN ms_MY my_MM ne_NP pa_IN si_LK sq_AL ta_IN te_IN ur_PK uz_UZ zh_CN zh_HK zh_TW
warning: string 'screen_zoom_summary_very_large' has no default translation.
warning: string 'screen_zoom_summary_very_large' is missing 44 required localizations: ast_ES az_AZ be_BY bn_BD bs_BA en_AU en_CA en_GB en_IN en_NZ en_SG en_US eo_EU et_EE eu_ES gl_ES gu_IN hy_AM is_IS ka_GE kk_KZ km_KH kn_IN ku_IQ ky_KG lb_LU lo_LA mk_MK ml_IN mn_MN mr_IN ms_MY my_MM ne_NP pa_IN si_LK sq_AL ta_IN te_IN ur_PK uz_UZ zh_CN zh_HK zh_TW
warning: string 'system_update_settings_list_item_summary' has no default translation.
warning: string 'system_update_settings_list_item_summary' is missing 44 required localizations: ast_ES az_AZ be_BY bn_BD bs_BA en_AU en_CA en_GB en_IN en_NZ en_SG en_US eo_EU et_EE eu_ES gl_ES gu_IN hy_AM is_IS ka_GE kk_KZ km_KH kn_IN ku_IQ ky_KG lb_LU lo_LA mk_MK ml_IN mn_MN mr_IN ms_MY my_MM ne_NP pa_IN si_LK sq_AL ta_IN te_IN ur_PK uz_UZ zh_CN zh_HK zh_TW
nothing matches overlay file suw_navbar_ic_back.xml, for flavor anydpi-v21
nothing matches overlay file suw_navbar_ic_more.xml, for flavor anydpi-v21
nothing matches overlay file suw_navbar_ic_next.xml, for flavor anydpi-v21
nothing matches overlay file preference_list_divider_material.xml, for flavor amify-v8
nothing matches overlay file suw_progress_bar.xml, for flavor v21
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/albertoduqe/aimrom'