升级 < 文件名> → update 作用: 刷入 ROM & V; C) C, a; C4 b1 e* a0 |
列句: fastboot update update.zip * b: B l% \8 J: f) D/ r% \4 s
刷入所有镜像 → flashall 作用: 刷入boot.img、system.img、recovery.img ' Q4 r7 Q+ L6 z/ W6 w. W1 n. V1 z2 `
列句: fastboot flashall update.zip
刷入镜像 → flash [ ] 作用: 刷入boot.img、system.img、recovery.img
列句: fastboot flash system system.img
列句: fastboot flash boot boot.img % x0 f2 ?, L+ o3 N
擦除镜像 → erase 作用: 擦除boot.img、system.img、recovery.img + e: x- ~/ }2 M5 d2 `0 C
列句: fastboot erase boot"
列句: fastboot erase system
显示参数 → getvar 作用: 显示BL下的部分参数
列句: fastboot getvar 字符: ]
刷入内核 → boot [ ] 作用: 刷入kernel.img & {( B& `1 v% N) X+ _$ |# h# e+ W6 }
列句: fastboot boot kernel.img ramdisk.gz
创建内核 → flash:raw boot [ ]作用: 询问中
列句: fastboot flash:raw boot kernel.img ramdisk.gz
输出设备 → devices 作用: 输出所有连接的设备: }" r' y+ h2 b! t3 b$ m% F9 h2 {
列句: fastboot devices- n8 n9 A$ m- X- z6 a. k/ m; T
重启设备 → reboot 作用: 重新启动,正常开机
列句: fastboot reboot
重启进入HBoot → reboot-bootloader 作用: 重新启动,进入HBoot8 X( E9 U& K# K8 I
列句: fastboot reboot-bootloader& z8 w: c1 y6 E( ?! x& U& s
选项:2 x! n4 R5 j% v3 ^
擦除数据 → -w 作用: Recovery下的wipe# ?& V8 ] f* ?8 q6 Y5 r
列句: fastboot -w/ {! |- z$ z' n: D2 V- P
指定设备 → -s 作用: 指定某设备2 q3 U) ]/ `7 }
列句: fastboot -s 序列号
指定设备 → -p 作用: 指定某设备
列句: fastboot -p 设备名
指定设备 → -c 作用: 替代系统启动命令
列句: fastboot -c 代码
供应商代码 → -i 作用: 指定一个自定义USB供应商ID
列句: fastboot -i 代码
供应商代码 → -i 作用: 指定一个定制内核基址# a( V0 R# G( Q1 B" d
列句: fastboot -i 代码
本文介绍了如何使用fastboot命令来管理Android设备,包括输出设备列表、重启设备、进入HBoot模式、擦除数据以及指定设备进行操作等。通过这些命令,可以有效地对设备进行维护和更新。
3886

被折叠的 条评论
为什么被折叠?



