一、基础环境
- Make sure your computer has working
adb
andfastboot
. Setup instructions can be found here. - Enable USB debugging on your device.
二、解锁bootloader
adb reboot bootloader
fastboot oem unlock
三、刷入Recovery
- 下载recoveryimg文件
sudo apt-get install adb fastboot
adb reboot bootloader
fastboot flash recovery *.img
四、获取root权限
-
下载root包
-
进recovery模式刷入