V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
IsaacEinstein
V2EX  ›  Android

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

  •  
  •   IsaacEinstein · Nov 24, 2015 via Android · 12890 views
    This topic created in 3809 days ago, the information mentioned may be changed or developed.
    具体表现为应用可以申请到 root 权限,但是无法执行任何访问系统保护的文件的操作。
    6 replies    2015-11-27 12:44:08 +08:00
    wbsdty331
        1
    wbsdty331  
       Nov 24, 2015 via Android
    SELinux Policy 的限制
    ryd994
        2
    ryd994  
       Nov 25, 2015 via Android
    @wbsdty331 Android 上改叫 seAndroid 啦
    23333
    freezex
        3
    freezex  
       Nov 25, 2015
    是不是没有刷定制的内核?
    IsaacEinstein
        4
    IsaacEinstein  
    OP
       Nov 25, 2015 via Android   ❤️ 1
    谢谢各位,是 SELinux 的原因,刷个 kernel 把 SElinux 从 enfocing 改成 permissive 就可以了。
    IsaacEinstein
        5
    IsaacEinstein  
    OP
       Nov 25, 2015 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  
       Nov 27, 2015
    @IsaacEinstein 其实有个 APK 可以直接修改 SELinux 的
    http://www.coolapk.com/apk/com.mrbimc.selinux
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5603 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 02:43 · PVG 10:43 · LAX 19:43 · JFK 22:43
    ♥ Do have faith in what you're doing.