R-Car/Boards/Yocto-Gen3-CommonFAQ/How to change SELinux to permissive on Android BSP

From eLinux.org
< R-Car‎ | Boards/Yocto-Gen3-CommonFAQ
Revision as of 21:24, 17 December 2020 by Y.H. (talk | contribs) (Created page with "== How to change SELinux to permissive on Android BSP == <syntaxhighlight lan=text> # Turn on the device and interrupt autoboot using minicom. # Edit environment variable:...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

How to change SELinux to permissive on Android BSP

# Turn on the device and interrupt autoboot using minicom. 
# Edit environment variable: 
=> editenv bootargs 
# Set selinux to permissive: 
androidboot.selinux=permissive 
# Save changes: 
=> saveenv

How to confirm current SELinux state:

console:/ $ getenforce