android promotion and upgrade

80 篇文章 0 订阅
63 篇文章 0 订阅
adb reboot bootloader
fastboot devices
fastboot flash modem NON-HLOS.bin
fastboot flash recovery recovery.img
fastboot flash sbl1 sbl1.mbn
fastboot flash sbl2 sbl2.mbn
fastboot flash sbl3 sbl3.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot flash rpm rpm.mbn
fastboot flash tz tz.mbn
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot flash udisk fat.img
fastboot flash apps apps.img
fastboot flash cache cache.img
fastboot reboot

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

adb reboot bootloader
fastboot devices
fastboot flash partition gpt_both0.bin
fastboot flash persist persist.img
fastboot flash modem NON-HLOS.bin
fastboot flash recovery recovery.img
fastboot flash sbl1 sbl1.mbn
fastboot flash sbl2 sbl2.mbn
fastboot flash sbl3 sbl3.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot flash rpm rpm.mbn
fastboot flash tz tz.mbn
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot flash udisk fat.img
fastboot flash apps apps.img
fastboot flash cache cache.img
fastboot reboot

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

@echo off
set lock=yes
set var=no

adb reboot bootloader
ping 127.0.0.1 -n 5 > null
fastboot oem device-info
set /p lock=请查看【Device unlocked】的状态,判断是否需要解锁,默认为yes(yes/no):
if %lock%==yes (
fastboot bbk unlock_vivo
ping 127.0.0.1 -n 5 > null
fastboot reboot-bootloader
)
fastboot devices
ping 127.0.0.1 -n 3 > null
set /p var=是否烧写分区,默认为no(yes/no):
if %var%==yes (
fastboot flash partition gpt_both0.bin
fastboot flash persist persist.img
)
fastboot flash modem NON-HLOS.bin
fastboot flash dbi sdi.mbn
fastboot flash recovery recovery.img
fastboot flash sbl1 sbl1.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot flash rpm rpm.mbn
fastboot flash tz tz.mbn
fastboot flash boot boot.img
fastboot -S 200M flash system system.img
fastboot -S 200M flash userdata userdata.img
fastboot -S 200M flash udisk fat.img
fastboot -S 200M flash apps apps.img
fastboot flash cache cache.img
fastboot bbk lock_vivo
fastboot reboot
echo ********** 恭喜,升级完成!**********

pause

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

adb reboot bootloader
fastboot bbk unlock_vivo
fastboot devices
fastboot flash boot boot.img
fastboot bbk lock_vivo
fastboot reboot

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值