diff --git a/recovery.cpp b/recovery.cpp index e7a33a9e..fbfe6468 100644 --- a/recovery.cpp +++ b/recovery.cpp @@ -176,6 +176,11 @@ static bool ask_to_wipe_data(Device* device) { } static InstallResult prompt_and_wipe_data(Device* device) { + // Reset to normal system boot so recovery won't cycle indefinitely. + std::string err; + if (!clear_bootloader_message(&err)) { + LOG(ERROR) << "Failed to clear BCB message: " << err; + } // Use a single string and let ScreenRecoveryUI handles the wrapping. std::vector wipe_data_menu_headers{ "Can't load Android system. Your data may be corrupt. "