[OnePlus 2 General] SGCMarkus:
havent found it anywhere with grep in my device folder (except bullhead which is the 5X i think), but just commented it, and searching all folders takes a bit too long (after like 5min waiting i gave up lol)

hope it works now :)

thanks ^^

Edit: After several of those cases, my SEPolicies are now complete f***** up lol

[ 0% 58/33936] build out/target/produ...bj/ETC/sepolicy_intermediates/sepolicy
FAILED: /bin/bash -c "(out/host/linux-x86/bin/checkpolicy -M -c 30 -o out/target/product/oneplus2/obj/ETC/sepolicy_intermediates/sepolicy.tmp out/target/product/oneplus2/obj/ETC/sepolicy_intermediates/policy.conf ) && (out/host/linux-x86/bin/checkpolicy -M -c 30 -o out/target/product/oneplus2/obj/ETC/sepolicy_intermediates//sepolicy.dontaudit out/target/product/oneplus2/obj/ETC/sepolicy_intermediates/policy.conf.dontaudit ) && (out/host/linux-x86/bin/sepolicy-analyze out/target/product/oneplus2/obj/ETC/sepolicy_intermediates/sepolicy.tmp permissive > out/target/product/oneplus2/obj/ETC/sepolicy_intermediates/sepolicy.permissivedomains ) && (if [ \"userdebug\" = \"user\" -a -s out/target/product/oneplus2/obj/ETC/sepolicy_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 out/target/product/oneplus2/obj/ETC/sepolicy_intermediates/sepolicy.permissivedomains 1>&2;	exit 1;	fi ) && (mv out/target/product/oneplus2/obj/ETC/sepolicy_intermediates/sepolicy.tmp out/target/product/oneplus2/obj/ETC/sepolicy_intermediates/sepolicy )"
libsepol.report_failure: neverallow on line 100 of system/sepolicy/netd.te (or line 14036 of policy.conf) violated by allow netd qtitetherservice_app:binder { call };
libsepol.report_failure: neverallow on line 100 of system/sepolicy/netd.te (or line 14036 of policy.conf) violated by allow netd qti-testscripts:binder { call };
libsepol.report_failure: neverallow on line 566 of system/sepolicy/domain.te (or line 9241 of policy.conf) violated by allow qlogd debugfs:file { ioctl read lock open };
libsepol.report_failure: neverallow on line 566 of system/sepolicy/domain.te (or line 9241 of policy.conf) violated by allow bluetooth debugfs:file { ioctl read lock open };
libsepol.report_failure: neverallow on line 566 of system/sepolicy/domain.te (or line 9241 of policy.conf) violated by allow system_app debugfs:file { ioctl read lock open };
libsepol.report_failure: neverallow on line 566 of system/sepolicy/domain.te (or line 9241 of policy.conf) violated by allow RIDL debugfs:file { read };
libsepol.report_failure: neverallow on line 566 of system/sepolicy/domain.te (or line 9241 of policy.conf) violated by allow mediaserver debugfs:file { ioctl read write lock append open };
libsepol.report_failure: neverallow on line 566 of system/sepolicy/domain.te (or line 9241 of policy.conf) violated by allow mm-qcamerad debugfs:file { read };
libsepol.report_failure: neverallow on line 538 of system/sepolicy/domain.te (or line 9213 of policy.conf) violated by allow tee shell_data_file:file { open };
libsepol.report_failure: neverallow on line 527 of system/sepolicy/domain.te (or line 9202 of policy.conf) violated by allow tee shell_data_file:dir { search };
libsepol.report_failure: neverallow on line 444 of system/sepolicy/domain.te (or line 9119 of policy.conf) violated by allow mm-qcamerad system_file:file { execmod };
libsepol.report_failure: neverallow on line 435 of system/sepolicy/domain.te (or line 9110 of policy.conf) violated by allow mm-qcamerad system_file:file { execmod };
libsepol.report_failure: neverallow on line 303 of system/sepolicy/domain.te (or line 8978 of policy.conf) violated by allow nfc nfc_data_file:file { execute execute_no_trans };
libsepol.check_assertions: 13 neverallow failures occurred
Error while expanding policy
out/host/linux-x86/bin/checkpolicy: loading policy configuration from out/target/product/oneplus2/obj/ETC/sepolicy_intermediates/policy.conf
[ 0% 58/33936] target StaticExecutabl...TABLES/init_intermediates/LINKED/init)
ninja: build stopped: subcommand failed.
make: *** [ninja_wrapper] Error 1