fastboot刷机操作

参考:Android手机fastboot刷机命令

1、进入fastboot模式

adb reboot bootloader                            -- 进入fastboot模式
fastboot devices                                 -- 查看设备是否连上

2、相关命令

astboot命令:
加载驱动:fastboot devices   //加载fastboot驱动
擦除:fastboot erase xxxx    //假如我要擦除RECOVERY 就是:fastboot erase recovery
刷BOOT:fastboot flash boot boot.img
临时刷recovery:fastboot boot recovery.img

刷system:fastboot flash system system.img
刷系统:fastboot flash userdata userdata.Img
刷系统:fastboot flash recovery recovery.img
刷SPL:fastboot flash hboot hboot.img
刷RADIO:fastboot flash radio radio.img
重启:fastboot reboot

推送文件到系统文件夹:adb push Mms.apk /system/app

分区解释

system:系统分区.
userdata:数据分区.
cache:缓存分区
recovery:Recovery分区.
boot:存放内核和ramdisk的分区。
hboot:这个是SPL所在的分区.很重要哦.也是fastboot所在的分区.刷错就真的变砖了.
splash1:这个就是开机第一屏幕了.
radio:这个是radio所在的分区;

3、fastboot 升级

fastboot -s devices partition file

命令使用:烧录file文件到指定设备devices的分区partition上

例如:fastboot -s devices flash system system.bin

如果只有一台设备则可不需要指定设备

例如:


fastboot flash aboot aboot.bin

fastboot flash boot boot.bin

fastboot flash system system.bin

在这里插入图片描述
fastboot continue

命令使用:退出fastboot模式,继续启动系统

fastboot reboot

命令使用:重启系统

fastboot erase partition

命令使用:擦除分区,一般的ubi文件都会先擦除再烧写

在升级时还有一个方法,就是新建一个xx.bat批处理文件,然后双击即可升级后重启设备
在这里插入图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值