Custom Rom Build failed (a5y17lte)

I

Ishgalad

Neues Mitglied
0
Hallo an alle,

ich wollte ein Custom Rom für mein Smartphone bauen,mithilfe des Lineageos Wiki. Aber für Lineageos 16.Ich verwende Ubuntu als Betriebssystem. Ich habe von Github auch die entsprechende Repo von TheMuppets heruntergeladen ,um so für mein Gerät die passende Vendor Dateien zu bekommen. Ich habe den passenden Eintrag im Texteditor gespeichert und unter andriod / lineage / .repo / local_manifests / abgespeichert und zwar als local.manifests.xml Datei.Aber später kommt beim brunch a5y17lte Befehl folgender Fehler und zwar immer bei 30%.

2 warnings generated.
[ 30% 28298/92918] build /home/artjom/...ows_intermediates/reqd_policy_mask.cil
/home/artjom/android/lineage/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/artjom/android/lineage/out/target/product/a5y17lte/obj/ETC/sepolicy_neverallows_intermediates/reqd_policy_mask.conf
/home/artjom/android/lineage/out/host/linux-x86/bin/checkpolicy: policy configuration loaded
/home/artjom/android/lineage/out/host/linux-x86/bin/checkpolicy: writing CIL to /home/artjom/android/lineage/out/target/product/a5y17lte/obj/ETC/sepolicy_neverallows_intermediates/reqd_policy_mask.cil
[ 30% 28305/92918] build /home/artjom/...lows_intermediates/plat_pub_policy.cil
/home/artjom/android/lineage/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/artjom/android/lineage/out/target/product/a5y17lte/obj/ETC/sepolicy_neverallows_intermediates/plat_pub_policy.conf
/home/artjom/android/lineage/out/host/linux-x86/bin/checkpolicy: policy configuration loaded
/home/artjom/android/lineage/out/host/linux-x86/bin/checkpolicy: writing CIL to /home/artjom/android/lineage/out/target/product/a5y17lte/obj/ETC/sepolicy_neverallows_intermediates/plat_pub_policy.cil.tmp
[ 30% 28325/92918] build /home/artjom/...ows_intermediates/sepolicy_neverallows
FAILED: /home/artjom/android/lineage/out/target/product/a5y17lte/obj/ETC/sepolicy_neverallows_intermediates/sepolicy_neverallows
/bin/bash -c "(rm -f /home/artjom/android/lineage/out/target/product/a5y17lte/obj/ETC/sepolicy_neverallows_intermediates/sepolicy_neverallows ) && (ASAN_OPTIONS=detect_leaks=0 /home/artjom/android/lineage/out/host/linux-x86/bin/checkpolicy -M -c 30 -o /home/artjom/android/lineage/out/target/product/a5y17lte/obj/ETC/sepolicy_neverallows_intermediates/sepolicy_neverallows /home/artjom/android/lineage/out/target/product/a5y17lte/obj/ETC/sepolicy_neverallows_intermediates/policy.conf )"
libsepol.report_failure: neverallow on line 1404 of system/sepolicy/public/domain.te (or line 11101 of policy.conf) violated by allow system_server sysfs_mdnie_writable:dir { write add_name remove_name };
libsepol.report_failure: neverallow on line 1404 of system/sepolicy/public/domain.te (or line 11101 of policy.conf) violated by allow init sysfs:dir { write add_name remove_name };
libsepol.report_failure: neverallow on line 1385 of system/sepolicy/public/domain.te (or line 11044 of policy.conf) violated by allow macloader macloader:capability { dac_override };
libsepol.report_failure: neverallow on line 1385 of system/sepolicy/public/domain.te (or line 11044 of policy.conf) violated by allow wifiloader wifiloader:capability { dac_override };
libsepol.report_failure: neverallow on line 1385 of system/sepolicy/public/domain.te (or line 11044 of policy.conf) violated by allow cpboot-daemon cpboot-daemon:capability { dac_override };
libsepol.check_assertions: 5 neverallow failures occurred
Error while expanding policy
/home/artjom/android/lineage/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/artjom/android/lineage/out/target/product/a5y17lte/obj/ETC/sepolicy_neverallows_intermediates/policy.conf
[ 30% 28326/92918] build /home/artjom/...policy.recovery_intermediates/sepolicy
FAILED: /home/artjom/android/lineage/out/target/product/a5y17lte/obj/ETC/sepolicy.recovery_intermediates/sepolicy
/bin/bash -c "(ASAN_OPTIONS=detect_leaks=0 /home/artjom/android/lineage/out/host/linux-x86/bin/checkpolicy -M -c 30 -o /home/artjom/android/lineage/out/target/product/a5y17lte/obj/ETC/sepolicy.recovery_intermediates/sepolicy.tmp /home/artjom/android/lineage/out/target/product/a5y17lte/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery.conf ) && (/home/artjom/android/lineage/out/host/linux-x86/bin/sepolicy-analyze /home/artjom/android/lineage/out/target/product/a5y17lte/obj/ETC/sepolicy.recovery_intermediates/sepolicy.tmp permissive > /home/artjom/android/lineage/out/target/product/a5y17lte/obj/ETC/sepolicy.recovery_intermediates/sepolicy.permissivedomains ) && (if [ "userdebug" = "user" -a -s /home/artjom/android/lineage/out/target/product/a5y17lte/obj/ETC/sepolicy.recovery_intermediates/sepolicy.permissivedomains ]; then echo "==========" 1>&2; echo "ERROR: permissive domains not allowed in user builds" 1>&2; echo "List of invalid domains:" 1>&2; cat /home/artjom/android/lineage/out/target/product/a5y17lte/obj/ETC/sepolicy.recovery_intermediates/sepolicy.permissivedomains 1>&2; exit 1; fi ) && (mv /home/artjom/android/lineage/out/target/product/a5y17lte/obj/ETC/sepolicy.recovery_intermediates/sepolicy.tmp /home/artjom/android/lineage/out/target/product/a5y17lte/obj/ETC/sepolicy.recovery_intermediates/sepolicy )"
libsepol.report_failure: neverallow on line 1404 of system/sepolicy/public/domain.te (or line 11160 of policy.conf) violated by allow system_server sysfs_mdnie_writable:dir { write add_name remove_name };
libsepol.report_failure: neverallow on line 1404 of system/sepolicy/public/domain.te (or line 11160 of policy.conf) violated by allow init sysfs:dir { write add_name remove_name };
libsepol.report_failure: neverallow on line 1385 of system/sepolicy/public/domain.te (or line 11103 of policy.conf) violated by allow wifiloader wifiloader:capability { dac_override };
libsepol.report_failure: neverallow on line 1385 of system/sepolicy/public/domain.te (or line 11103 of policy.conf) violated by allow cpboot-daemon cpboot-daemon:capability { dac_override };
libsepol.report_failure: neverallow on line 1385 of system/sepolicy/public/domain.te (or line 11103 of policy.conf) violated by allow macloader macloader:capability { dac_override };
libsepol.check_assertions: 5 neverallow failures occurred
Error while expanding policy
/home/artjom/android/lineage/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/artjom/android/lineage/out/target/product/a5y17lte/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery.conf
[ 30% 28338/92918] //external/selinux/...g cil/src/cil_tree.c [linux_glibc x86]
ninja: build stopped: subcommand failed.
19:11:05 ninja failed with: exit status 1

#### failed to build some targets (28:41 (mm:ss)) ####
 
Ich habe mein Problem selbst gefixt.Ich habe jetzt mein unoffizieles Custom Rom auf mein Smartphone geflasht und es funktioniert.Läuft sehr stabil und ich habe Andriod Pie :)
 

Ähnliche Themen

J
Antworten
2
Aufrufe
978
justinh13
J
J
Antworten
1
Aufrufe
1.122
mblaster4711
mblaster4711
V
  • vouager
Antworten
3
Aufrufe
1.673
Johan
J
Zurück
Oben Unten