Android adb临时关闭Selinux

在eng/userdebug版本中

使用getenforce 命令查询当前权限状态,如:
adb shell getenforce


使用setenforce 命令进行设置:
adb shell setenforce 0 //设置成permissive 模式
adb shell setenforce 1 //设置成enforce 模式


注意此方法重启后失效
在eng/userdebug/user 版本中


猜你喜欢

转载自www.cnblogs.com/onelikeone/p/11102109.html