手机是eng的
添加这个权限
/mnt/asec/
adb shell setenforce 0 关闭selinux
adb shell getenforce
Permissive是关闭,Enforcing是打开
adb shell mount -o remount rootfs /
./mk bootimage
./mk sign-image
添加这个权限
/mnt/asec/
adb shell setenforce 0 关闭selinux
adb shell getenforce
Permissive是关闭,Enforcing是打开
adb shell mount -o remount rootfs /
device/mediatek/common/sepolicy/radio.te
./mk bootimage
./mk sign-image
本文介绍如何通过ADB命令关闭Android设备上的SELinux,并添加特定的文件权限。此外,还涉及了如何重新挂载文件系统及修改策略文件的具体步骤。

被折叠的 条评论
为什么被折叠?



