We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cb3d9c commit 7f0d4f5Copy full SHA for 7f0d4f5
shell/device-tools/flash/FlashTempRecovery.sh
@@ -122,8 +122,8 @@ flashTempRecoveryForDevice() {
122
echo "${outputPrint}"
123
if echo "${outputPrint}" | grep -qi 'bad buffer size'; then
124
echo "⏳ 匹配到 Bad Buffer Size 错误,准备切槽位再重试"
125
- switchToAnotherSlot
126
clearMiscPartition
+ switchToAnotherSlot
127
outputPrint=$(fastboot boot "${recoveryFilePath}" < /dev/null 2>&1)
128
exitCode=$?
129
if (( exitCode == 0 )); then
@@ -132,6 +132,8 @@ flashTempRecoveryForDevice() {
132
else
133
echo "❌ 切换槽位后仍加载失败,最终失败原因:"
134
135
+ clearMiscPartition
136
137
fi
138
139
echo "📝 未匹配到 Bad Buffer Size 错误,错误内容不触发切槽位逻辑"
0 commit comments