From 490e51c1d76141aaf41463975b2195efb7f4bd77 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Tue, 11 Jan 2022 00:17:20 -0800 Subject: [PATCH] Don't set RECOVERYMODE if recovery_dtbo exists Apparently some boot images with ramdisk still have recovery_dtbo, so this assumption is no longer safe to do. Expect the user to set this option properly themselves in the app. Fix #4976, close #5070, close #5184 --- scripts/boot_patch.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/boot_patch.sh b/scripts/boot_patch.sh index ad8885641..37a22477d 100644 --- a/scripts/boot_patch.sh +++ b/scripts/boot_patch.sh @@ -101,8 +101,6 @@ case $? in ;; esac -[ -f recovery_dtbo ] && RECOVERYMODE=true - ################### # Ramdisk Restores ###################