Skip to content

小米VAB系列线刷中断导致无限FastBoot无法开机的解决办法

原帖:乌堆小透明-小米VAB系列线刷中断导致无限FastBoot无法开机的解决办法

有效解决870、888、8G1等VAB系列机型在线刷ROM包、清除数据、设置活动槽位时设备连接中断,导致的无限FastBoot。


操作注意

如果设备没有遇到无限FastBoot请不要使用以下操作,可能导致更严重的错误。


准备工作

操作流程

根据需求,修改官方线刷脚本

57dcf5b7-ccfa-4a64-97e3-4a1a36f998d3.png

使用flash_all.bat全部清除脚本为例,编辑flash_all.bat(不推荐使用记事本进行编辑)

2dc22868-f0b9-4cf3-866a-149115a20ef9.png

注意 : 由于部分机型底层原因,partition:4不建议直接添加到脚本中,可能会导致FastBoot无法进入,直接升级为9008砖。建议先添加 partition:{0,1,2,3,5} 这五条,如果仍然无限FastBoot再尝试添加。

代码:

powershell
fastboot %* flash partition:0 %~dp0images/gpt_both0.bin || @echo "Flash gpt_both0 error" && exit 1
fastboot %* flash partition:1 %~dp0images/gpt_both1.bin || @echo "Flash gpt_both1 error" && exit 1
fastboot %* flash partition:2 %~dp0images/gpt_both2.bin || @echo "Flash gpt_both2 error" && exit 1
fastboot %* flash partition:3 %~dp0images/gpt_both3.bin || @echo "Flash gpt_both3 error" && exit 1
fastboot %* flash partition:4 %~dp0images/gpt_both4.bin || @echo "Flash gpt_both4 error" && exit 1
fastboot %* flash partition:5 %~dp0images/gpt_both5.bin || @echo "Flash gpt_both5 error" && exit 1

partition:{0,1,2,3,5} 代码:

powershell
fastboot %* flash partition:0 %~dp0images/gpt_both0.bin || @echo "Flash gpt_both0 error" && exit 1
fastboot %* flash partition:1 %~dp0images/gpt_both1.bin || @echo "Flash gpt_both1 error" && exit 1
fastboot %* flash partition:2 %~dp0images/gpt_both2.bin || @echo "Flash gpt_both2 error" && exit 1
fastboot %* flash partition:3 %~dp0images/gpt_both3.bin || @echo "Flash gpt_both3 error" && exit 1
fastboot %* flash partition:5 %~dp0images/gpt_both5.bin || @echo "Flash gpt_both5 error" && exit 1

启动MiFlash选择修改好的脚本文件,进行刷入。

45d69149-20c3-450a-b8f4-29c62520b5b0.png

耐心等待刷机完成,大功告成。

最近更新:10/11/2024, 5:08:46 AM

原文链接:小米VAB系列线刷中断导致无限FastBoot无法开机的解决办法

|下一篇:typescript编译为javascript