user-debug不能remount

来源:互联网 发布:c语言学习班 编辑:程序博客网 时间:2024/06/01 09:45

android系统在lunch的时候可以选择eng、user-debug、user。

都知道eng是本身root的,user是不可以root的;

那么user-debug是否可以root呢?


【配图摄于深圳西涌惠州三门岛】

root归root,user-debug在root后如果不能remount也是不可以push,只是只读。


那么user-debug如何才可以root呢,

就需要在编译make的时候加上这个参数:MTK_BUILD_ROOT=yes

eg.

make MTK_BUILD_ROOT=yes -j8 2>&1 | tee build.log

才可以通过:adb disable-verity

然后reboot

进行remount

eg.

adb rootadb disable-verityadb rebootadb rootadb remount


0 0
原创粉丝点击