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

相关文章:

  • 2021-09-27
  • 2021-08-15
  • 2022-12-23
  • 2021-07-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-17
  • 2022-03-07
  • 2021-09-11
  • 2021-07-17
  • 2022-02-22
  • 2022-12-23
相关资源
相似解决方案