fastboot常用命令

fastboot常用命令

上官云琛
2025-02-23 / 0 评论 / 17 阅读 / 正在检测是否收录...
  1. 显示fastboot设备

    fastboot devices
  2. 获取手机相关信息

    fastboot getvar all
  3. 重启手机

    fastboot reboot
  4. 重启到bootloader

    fastboot reboot bootloader
  5. 擦除分区

    fastboot erase (分区名)

    例:清除system分区:fastboot erase system

  6. 刷入分区

    fastboot flash (分区名) (分区镜像)

    例:将boot镜像 "boot.img" 刷入boot分区:fastboot flash boot boot.img

  7. 引导启动镜像

    fastboot boot (分区镜像)

    例:启动到recovery分区:fastboot boot recovery.img

  8. 刷入ROM

    fastboot update (刷机包)

    例:将 update.zip 刷入:fastboot update update.zip

  9. 解锁Bootloader

    fastboot oem unlock (参数视机型而定)
  10. 多设备使用

fastboot -s (命令)
通过fastboot devices获取序列号,控制多设备中的一个
例:清除序列号为'abc'设备的system分区:fastboot -s abc erase system

0

打赏

评论 (0)

取消