fastboot使用

在 cmd 中输入 fastboot 可以返回使用文档,具体如下

   1. usage: fastboot [ <option> ] <command>
   2.

   3. commands:
   4.   update <filename>                        reflash device from update.zip
   5.   flashall                                 'flash boot' + 'flash system'
   6.   flash <partition> [ <filename> ]         write a file to a flash partition
   7.   erase <partition>                        erase a flash partition
   8.   getvar <variable>                        display a bootloader variable
   9.   boot <kernel> [ <ramdisk> ]              download and boot kernel
  10.   flash:raw boot <kernel> [ <ramdisk> ]    create bootimage and flash it
  11.   devices                                  list all connected devices
  12.   reboot                                   reboot device normally
  13.   reboot-bootloader                        reboot device into bootloader
  14.

  15. options:
  16.   -w                                       erase userdata and cache
  17.   -s <serial number>                       specify device serial number
  18.   -p <product>                             specify product name
  19.   -c <cmdline>                             override kernel commandline


用 fastboot 恢复已备份的系统
在 cmd 中输入下面的命令:

   1. fastboot erase boot
   2. fastboot erase recovery
   3. fastboot flash system system.img
   4. fastboot flash boot boot.img
   5. fastboot flash userdata data.img
   6. fastboot flash recovery recovery.img
   7. fastboot reboot
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值