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

From eLinux.org
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