進入fastboot模式:
1、重啟手機,進入fastboot模式(啟動手機,看見lenovo的時候馬上按下魔鏡鍵,左下角會看見switch to fastboot mode).
2、連接到電腦,查看設備管理器,看看驅動是否裝好。沒裝好的話手動裝下。
3、在手機上打開命令行工具。(運行 ->cmd)
4、進入附件解壓出來的目錄。
5、輸入 fastboot devices看看是否已經(jīng)連接上lephone
1.重啟lephone:
fastboot reboot
2.刷所有分區(qū):以下命令會在當前目錄尋找各種所有的image文件,并且在刷完所有分區(qū)后重啟手機
fastboot flashall
3.刷指定分區(qū):
fastboot flash {partition} {file.img}
如:(刷的時候文件要放在根目錄)
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash data userdata.img
4.擦除分區(qū):
fastboot erase {partition}
如:fastboot erase system
以下是完整的fastboot命令的使用說明:
usage: fastboot [ <option> ] <command>
commands:
update <filename> reflash device from update.zip
flashall "flash boot" + "flash system"
flash <partition> [ <filename> ] write a file to a flash partition
erase <partition> erase a flash partition
getvar <variable> display a bootloader variable
boot <kernel> [ <ramdisk> ] download and boot kernel
flash:raw boot <kernel> [ <ramdisk> ] create bootimage and flash it
devices list all connected devices
reboot reboot device normally
reboot-bootloader reboot device into bootloader
options:
-w erase userdata and cache
-s <serial number> specify device serial number
-p <product> specify product name
-c <cmdline> override kernel commandline
-i <vendor id> specify a custom USB vendor id



