在Windows系统下,一般刷机命令是在cmd路径下执行如下命令:

1、adb reboot bootloader2、fastboot flash boot +boot路径3、fastboot flash recovery +recovery路径4、fastboot flash system +sytem路径5、fastboot flash userdata +userdata路径6 、fastboot reboot

但是每次刷机都要执行这六条命令,显然浪费时间,需要些个小的脚本(.bat)才是王道,方法如下:

首先创建updateImage.bat文件,参考上面的命令,只需要在.bat文件中编入如下命令即可,

adb reboot bootloader

fastboot flash boot boot.img

fastboot flash recovery recovery.img

fastboot flash system system.img

fastboot flash userdata userdata.img

fastboot reboot

今后每次刷机时,只需要把updateImage.bat文件拷贝到刷机包下,双击即可

Copyright © 2088 世界杯欧洲区_世界杯中国 - rd508.com All Rights Reserved.
友情链接