如何用fastboot工具刷入zip格式的刷机包?

07-12

什么是fastboot?
fastboot is a small tool that comes with the Android SDK (software developer kit) that can be used to re-flash partitions on your device. It is an alternative to the recovery mode for doing installations and updates.
fastboot的命令格式如下(在命令提示符格式下输入fastboot即可查看):
如何用fastboot工具刷入zip格式的刷机包?

使用fastboot刷机步骤:

  • 下载附件中的fastboot工具包,并解压到任意一个磁盘;
  • 进入命令提示符;
  • 将当前的工作路径设置为fastboot所在的路径(比如把fastboot解压到了D盘的fastboot文件夹中,就输入D:,回车,然后输入cd d:\fastbootb并回车);
  • 输入fastboot devices回车,如果出现HT*******的字样,表示手机连接正常,如果显示未找到设备,请自行寻找原因,保证连接正常后继续下一步;
  • 刷入boot.img,输入fastboot flash boot boot.img并回车;
  • 刷入system.img,输入fastboot flash system system.img并回车;
  • 输入recovery.img,输入fastboot flash recovery recovery.img并回车;
  • 刷成功后,重启手机,输入fastboot reboot并回车。

注:
a.要详细了解fastboot,请访问:https://wiki.cyanogenmod.org/w/Doc:_fastboot_intro
b.刷机前,保证手机和电脑正常连接并可以被电脑识别。
c.并不是所有的手机都支持fastboot刷机,刷机前确保手机支持该刷机模式,并且有fastboot刷机包。