显示fastboot设备:fastboot devices
获取手机相关信息:fastboot getvar all
重启手机:fastboot reboot
重启到bootloader:fastboot reboot-bootloader
擦除分区:fastboot erase (分区名)
例:清除system分区:fastboot erase system
刷入分区:fastboot flash (分区名) (分区镜像)
例:将boot镜像 "boot.img" 刷入boot分区:fastboot flash boot boot.img
引导启动镜像:fastboot boot (分区镜像)
例:启动到recovery分区:fastboot boot recovery.img
刷入ROM:fastboot update (刷机包)
例:将 update.zip 刷入:fastboot update update.zip
解锁Bootloader:fastboot oem unlock (参数见视频,视机型而定)
多设备使用:fastboot -s (命令)
通过fastboot devices获取序列号,控制多设备中的一个
例:清除序列号为'abc'设备的system分区:fastboot -s abc erase system
FastBoot常用命令
赞赏
- 本文作者: RiftRays
- 本文链接: https://riftrays.github.io/fastboot/
- 版权声明: 本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!
0%

x
感谢您的支持,我会继续努力的!


扫码打赏,你说多少就多少
多多打赏~鼓励作者更多原创内容!
支付宝
微信支付