[Android] DKnightX91:
All good. If I learn why it's failing I will let you know as well. It's probably some files missing.

---------- Post added at 7:41 PM ---------- Previous post was at 9:20 PM ---------

Well I found this saying you need to do changes to the following areas but this is were I start getting lost now. I am fairly new at this. About only a week trying to learn this. If you or anyone could give me a better idea on what to do that will be great.

frameworks/base
frameworks/native
packages/apps/Contacts
packages/apps/ContactsCommon
packages/apps/Dialer
packages/apps/ExactCalculator
packages/apps/PhoneCommon
packages/apps/Settings
system/sepolicy

https://github.com/substratum/documentation/blob/master/AddingSupport.md

---------- Post added at 9:20 PM ---------- Previous post was at 9:33 PM ---------

Hmm this looking interesting and match some of the errors in that build log.

https://github.com/SubstratumResour...mmit/32083c513aa743352cefab6dae4b543b5c1f29b6

---------- Post added at 9:33 PM ---------- Previous post was at 12:57 AM ---------

Still no closer yet I think. New error after doing them edits.

FAILED: /bin/bash -c "(/home/dknightx91/android/LineageOS/out/host/linux-x86/bin/checkpolicy -M -c 30 -o /home/dknightx91/android/LineageOS/out/target/product/oneplus2/obj/ETC/sepolicy_intermediates/sepolicy.tmp /home/dknightx91/android/LineageOS/out/target/product/oneplus2/obj/ETC/sepolicy_intermediates/policy.conf ) && (/home/dknightx91/android/LineageOS/out/host/linux-x86/bin/checkpolicy -M -c 30 -o /home/dknightx91/android/LineageOS/out/target/product/oneplus2/obj/ETC/sepolicy_intermediates//sepolicy.dontaudit /home/dknightx91/android/LineageOS/out/target/product/oneplus2/obj/ETC/sepolicy_intermediates/policy.conf.dontaudit ) && (/home/dknightx91/android/LineageOS/out/host/linux-x86/bin/sepolicy-analyze /home/dknightx91/android/LineageOS/out/target/product/oneplus2/obj/ETC/sepolicy_intermediates/sepolicy.tmp permissive > /home/dknightx91/android/LineageOS/out/target/product/oneplus2/obj/ETC/sepolicy_intermediates/sepolicy.permissivedomains ) && (if [ "user" = "user" -a -s /home/dknightx91/android/LineageOS/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 /home/dknightx91/android/LineageOS/out/target/product/oneplus2/obj/ETC/sepolicy_intermediates/sepolicy.permissivedomains 1>&2;	exit 1;	fi ) && (mv /home/dknightx91/android/LineageOS/out/target/product/oneplus2/obj/ETC/sepolicy_intermediates/sepolicy.tmp /home/dknightx91/android/LineageOS/out/target/product/oneplus2/obj/ETC/sepolicy_intermediates/sepolicy )"

system/sepolicy/interfacer.te:47:ERROR 'unknown type theme_data_file' at token ';' on line 12010:

allow interfacer theme_data_file:dir { create reparent rename rmdir setattr { { open getattr read search ioctl lock } { open search write add_name remove_name lock } } };

# Allow handling of theme assets

checkpolicy: error(s) encountered while parsing configuration

/home/dknightx91/android/LineageOS/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/dknightx91/android/LineageOS/out/target/product/oneplus2/obj/ETC/sepolicy_intermediates/policy.conf

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/dknightx91/android/LineageOS'

#### make failed to build some targets (03:04 (mm:ss)) ####