0
0

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

2024-06-26
2024-10-11
文章摘要
|

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

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


操作注意

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


准备工作

操作流程

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

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

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

代码:

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} 代码:

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选择修改好的脚本文件,进行刷入。

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

支持与分享

如果这篇文章对你有帮助,欢迎分享给更多人或者给予支持!