Search code examples
androidandroid-source

How to completely disable selinux policy check while building AOSP?


sometimes the selinux policy is too complicated and fix the problem is time wasting its not my concern

so how to completely disable selinux policy check while building AOSP?


Solution

  • Don't set BOARD_SEPOLICY_DIRS in your device config. So your private sepolicy will not be compiled.