Compiling espresso3g ua for android 7.1.2 with BUILD_TYPE=user
When I try to compile the espresso3g ua for android 7.1.2 with BUILD_TYPE=user to have a build with no su and a build type equal to "user" I get this complie error
/unlegacy/aosp-7.1/out/host/linux-x86/bin/checkpolicy: policy configuration loaded
/unlegacy/aosp-7.1/out/host/linux-x86/bin/checkpolicy: writing binary representation (version 30) to /unlegacy/aosp-7.1/out/target/product/espresso3g/obj/ETC/sepolicy_intermediates//sepolicy.dontaudit
ERROR: permissive domains not allowed in user builds
List of invalid domains:
In fille -> /device/samsung/espresso3g/sepolicy/cpboot-daemon.te
-> permissive cpboot-daemon;
If I remove the line permissive cpboot-daemon the build works fine.
Any reason to have this line in branch 7.1.2 in this file ?
What is the status of branch 7.1.2 (My first test show that some applications crash randomly and the battery life is very poor :-(
#1 Updated by Jean Yves BAUDY almost 3 years ago
As the build with user build type is not supported yet this bug can be change to a feature enhancement.
There is one more thing that make security application(s) consider the rom as rooted. In the result build.prop some properties are set to test-key.
- ro.build.display.id=N2G47T test-keys