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 root
adb disable-verity
adb reboot
adb root
adb remount