一、基礎環境
- 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模式刷入