[Xiaomi Mi A1 Guides, News, & Discussion] saski4711:
Anyone able to compile that? I keep running into this error:

FAILED: /mnt/extended2/android/lineage-15.1/out/target/product/tissot/obj/APPS/XiaomiDoze_intermediates/package-res.apk
/bin/bash -c "(rm -f /mnt/extended2/android/lineage-15.1/out/target/product/tissot/obj/APPS/XiaomiDoze_intermediates/aapt2-flat-list ) && (touch /mnt/extended
2/android/lineage-15.1/out/target/product/tissot/obj/APPS/XiaomiDoze_intermediates/aapt2-flat-list ) && (rm -f /mnt/extended2/android/lineage-15.1/out/target/
product/tissot/obj/APPS/XiaomiDoze_intermediates/aapt2-flat-overlay-list ) && (touch /mnt/extended2/android/lineage-15.1/out/target/product/tissot/obj/APPS/Xi
aomiDoze_intermediates/aapt2-flat-overlay-list ) && (echo -n '/mnt/extended2/android/lineage-15.1/out/target/common/obj/JAVA_LIBRARIES/android-support-v14-pre
ference_intermediates/package-res.apk /mnt/extended2/android/lineage-15.1/out/target/common/obj/JAVA_LIBRARIES/android-support-v7-appcompat_intermediates/pack
age-res.apk /mnt/extended2/android/lineage-15.1/out/target/common/obj/JAVA_LIBRARIES/android-support-v7-preference_intermediates/package-res.apk /mnt/extended
2/android/lineage-15.1/out/target/common/obj/JAVA_LIBRARIES/android-support-v7-recyclerview_intermediates/package-res.apk /mnt/extended2/android/lineage-15.1/
out/target/common/obj/JAVA_LIBRARIES/android-support-v13_intermediates/package-res.apk /mnt/extended2/android/lineage-15.1/out/target/common/obj/JAVA_LIBRARIE
S/android-support-v4_intermediates/package-res.apk /mnt/extended2/android/lineage-15.1/out/target/product/tissot/obj/APPS/XiaomiDoze_intermediates/flat-res/de
vice/xiaomi/tissot/doze/res/drawable_switchbar_background.xml.flat /mnt/extended2/android/lineage-15.1/out/target/product/tissot/obj/APPS/XiaomiDoze_intermedi
ates/flat-res/device/xiaomi/tissot/doze/res/layout_doze.xml.flat /mnt/extended2/android/lineage-15.1/out/target/product/tissot/obj/APPS/XiaomiDoze_intermediat
es/flat-res/device/xiaomi/tissot/doze/res/layout_switch_bar.xml.flat /mnt/extended2/android/lineage-15.1/out/target/product/tissot/obj/APPS/XiaomiDoze_interme
diates/flat-res/device/xiaomi/tissot/doze/res/values_styles.arsc.flat /mnt/extended2/android/lineage-15.1/out/target/product/tissot/obj/APPS/XiaomiDoze_interm
ediates/flat-res/device/xiaomi/tissot/doze/res/xml_doze_settings.xml.flat ' >> /mnt/extended2/android/lineage-15.1/out/target/product/tissot/obj/APPS/XiaomiDo
ze_intermediates/aapt2-flat-overlay-list ) && (/mnt/extended2/android/lineage-15.1/out/host/linux-x86/bin/aapt2 link -o /mnt/extended2/android/lineage-15.1/ou
t/target/product/tissot/obj/APPS/XiaomiDoze_intermediates/package-res.apk -z --no-static-lib-packages --auto-add-overlay --manifest device/xiaomi/tissot/doze/
AndroidManifest.xml -I /mnt/extended2/android/lineage-15.1/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk -I /mnt/extended2/android
/lineage-15.1/out/target/common/obj/APPS/org.lineageos.platform-res_intermediates/package-export.apk --java /mnt/extended2/android/lineage-15.1/out/target/c
ommon/obj/APPS/XiaomiDoze_intermediates/src --proguard /mnt/extended2/android/lineage-15.1/out/target/common/obj/APPS/XiaomiDoze_intermediates/proguard_option
s --min-sdk-version 27 --target-sdk-version 27 --product default -c en_US,en_US,cs_CZ,da_DK,de_AT,de_CH,de_DE,de_LI,el_GR,en_AU,en_CA,en_GB,en_NZ,en_SG,eo_EU,
es_ES,fr_CA,fr_CH,fr_BE,fr_FR,it_CH,it_IT,ja_JP,ko_KR,nb_NO,nl_BE,nl_NL,pl_PL,pt_PT,ru_RU,sv_SE,tr_TR,zh_CN,zh_HK,zh_TW,am_ET,hi_IN,en_US,af_ZA,am_ET,ar_EG,ar
_XB,az_AZ,be_BY,bg_BG,bn_BD,bs_BA,ca_ES,cs_CZ,da_DK,de_DE,el_GR,en_AU,en_CA,en_GB,en_IN,en_XA,en_XC,es_ES,es_US,et_EE,eu_ES,fa_IR,fi_FI,fr_CA,fr_FR,gl_ES,gu_I
N,hi_IN,hr_HR,hu_HU,hy_AM,in_ID,is_IS,it_IT,iw_IL,ja_JP,ka_GE,kk_KZ,km_KH,kn_IN,ko_KR,ky_KG,lo_LA,lt_LT,lv_LV,mk_MK,ml_IN,mn_MN,mr_IN,ms_MY,my_MM,nb_NO,ne_NP,
nl_NL,pa_IN,pl_PL,pt_BR,pt_PT,ro_RO,ru_RU,si_LK,sk_SK,sl_SI,sq_AL,sr_Latn_RS,sr_RS,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,normal --preferred-density xxhdpi --version-code 27 --version-name 8.1.0 -R \\@/mnt/extended2/android/lineage-15.1/out/target/product/tissot/
obj/APPS/XiaomiDoze_intermediates/aapt2-flat-overlay-list \\@/mnt/extended2/android/lineage-15.1/out/target/product/tissot/obj/APPS/XiaomiDoze_intermediates/a
apt2-flat-list )"
device/xiaomi/tissot/doze/res/values/styles.xml:34: error: resource layout/preference_category_material_settings (aka org.lineageos.settings.doze:layout/prefe
rence_category_material_settings) not found.
device/xiaomi/tissot/doze/res/values/styles.xml:45: error: resource layout/preference_material_settings (aka org.lineageos.settings.doze:layout/preference_mat
erial_settings) not found.
error: failed linking references.
[ 70% 70852/100042] target R.java/Manifest.java: TeleService (/mnt/extended2/...ineage-15.1/out/target/common/obj/APPS/TeleService_intermediates/src/R.stamp)
ninja: build stopped: subcommand failed.
20:55:53 ninja failed with: exit status 1

Any help is much apprechiated.