Difference between revisions of "R-Car/Boards/Yocto-Gen3-CommonFAQ/How to change SELinux to permissive on Android BSP"

From eLinux.org
Jump to: navigation, search
(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:...")
 
 
Line 1: Line 1:
 
== How to change SELinux to permissive on Android BSP ==
 
== How to change SELinux to permissive on Android BSP ==
  
<syntaxhighlight lan=text>
+
<syntaxhighlight lang=text>
 
# Turn on the device and interrupt autoboot using minicom.  
 
# Turn on the device and interrupt autoboot using minicom.  
 
# Edit environment variable:  
 
# Edit environment variable:  
Line 15: Line 15:
 
console:/ $ getenforce
 
console:/ $ getenforce
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
[[Category: R-Car/FAQ/Gen3]]
 +
[[Category: R-Car/FAQ/Gen3/Android]]

Latest revision as of 19:04, 21 December 2020

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