Root
- 打开开发者模式,打开“OEM解锁”和“USB调试”,
- 先执行
adb reboot bootloader
-
下载 Root 工具,解压进入文件夹
-
解锁:
老版本:sudo fastboot oem unlock
新版本:
fastboot flashing unlock
-
刷root
fastboot boot image/***.img
关于踩坑
卡在执行 fastboot boot image/***.img 或 ./root-mac.sh不动 , 并且报错:
如: could not clear output pipe; result e00002ed; / could not clear output pipe; result e00002ed
解决:
- 重启手机
- adb reboot bootloader
- fastboot boot image/***.img