adb devices——查看手机是否连接上
从cmd中,输入adb shell进入命令行交互程序,然后可以执行以下命令:
adb reboot recovery
adb reboot bootloader——将手机重启到Fastboot模式
adb reboot fastboot
fastboot devices
fastboot boot recovery.img
fastboot reboot
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash radio radio.img
fastboot flashing unlock
fastboot erase system
fastboot erase boot
fastboot erase radio
fastboot oem unlock xxxxxxxxxxxx