为什么用 nexus toolkit root 过的 android6.0 的机子可以获取 root 权限,但却无法访问系统文件?

2015-11-24 22:11:34 +08:00
 IsaacEinstein
具体表现为应用可以申请到 root 权限,但是无法执行任何访问系统保护的文件的操作。
4706 次点击
所在节点    Android
6 条回复
wbsdty331
2015-11-24 23:02:31 +08:00
SELinux Policy 的限制
ryd994
2015-11-25 00:48:51 +08:00
@wbsdty331 Android 上改叫 seAndroid 啦
23333
freezex
2015-11-25 09:54:07 +08:00
是不是没有刷定制的内核?
IsaacEinstein
2015-11-25 09:58:51 +08:00
谢谢各位,是 SELinux 的原因,刷个 kernel 把 SElinux 从 enfocing 改成 permissive 就可以了。
IsaacEinstein
2015-11-25 10:02:13 +08:00
https://m.reddit.com/r/nexus6/comments/3rkniy/busybox_wont_install_on_60/
I had the same issue initially. It means that busybox wasn't able to write to the system partition. As other posts have mentioned, you'll need to install a custom kernel for full root access. SuperSU installed manually or by WUGS will give you root privileges, but the stock kernel in 6.0 uses SELinux (an additional security later) to prevent even root from writing to the system partition.
wbsdty331
2015-11-27 12:44:08 +08:00
@IsaacEinstein 其实有个 APK 可以直接修改 SELinux 的
http://www.coolapk.com/apk/com.mrbimc.selinux

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/238654

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX