adb shell setenforce 0
setenforce 0
:設置SELinux 成為permissive模式 臨時關閉selinux的
在eng/userdebug版本中
使用setenforce 命令進行設置:
adb shell setenforce 0 //設置成permissive 模式
adb shell setenforce 1 //設置成enforce 模式
注意此方法重啟后失效
在eng/userdebug/user 版本中
使用getenforce 命令查詢當前權限狀態,如:
adb shell getenforce