V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
IsaacEinstein
V2EX  ›  Android

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

  •  
  •   IsaacEinstein · 2015-11-24 22:11:34 +08:00 via Android · 4435 次点击
    这是一个创建于 3068 天前的主题,其中的信息可能已经有所发展或是发生改变。
    具体表现为应用可以申请到 root 权限,但是无法执行任何访问系统保护的文件的操作。
    6 条回复    2015-11-27 12:44:08 +08:00
    wbsdty331
        1
    wbsdty331  
       2015-11-24 23:02:31 +08:00 via Android
    SELinux Policy 的限制
    ryd994
        2
    ryd994  
       2015-11-25 00:48:51 +08:00 via Android
    @wbsdty331 Android 上改叫 seAndroid 啦
    23333
    freezex
        3
    freezex  
       2015-11-25 09:54:07 +08:00
    是不是没有刷定制的内核?
    IsaacEinstein
        4
    IsaacEinstein  
    OP
       2015-11-25 09:58:51 +08:00 via Android   ❤️ 1
    谢谢各位,是 SELinux 的原因,刷个 kernel 把 SElinux 从 enfocing 改成 permissive 就可以了。
    IsaacEinstein
        5
    IsaacEinstein  
    OP
       2015-11-25 10:02:13 +08:00 via Android
    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
        6
    wbsdty331  
       2015-11-27 12:44:08 +08:00
    @IsaacEinstein 其实有个 APK 可以直接修改 SELinux 的
    http://www.coolapk.com/apk/com.mrbimc.selinux
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5671 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 02:45 · PVG 10:45 · LAX 19:45 · JFK 22:45
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.