summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2012-10-12 18:15:42 +0200
committerDees_Troy <dees_troy@teamw.in>2012-10-12 18:15:42 +0200
commitd0384ef73e2c241d92c3b5a7ea97f6f66ca7c611 (patch)
treee5f584398315526e900d41ff7221f1343f196d61 /recovery.cpp
parentFix updater binary compile (diff)
downloadandroid_bootable_recovery-d0384ef73e2c241d92c3b5a7ea97f6f66ca7c611.tar
android_bootable_recovery-d0384ef73e2c241d92c3b5a7ea97f6f66ca7c611.tar.gz
android_bootable_recovery-d0384ef73e2c241d92c3b5a7ea97f6f66ca7c611.tar.bz2
android_bootable_recovery-d0384ef73e2c241d92c3b5a7ea97f6f66ca7c611.tar.lz
android_bootable_recovery-d0384ef73e2c241d92c3b5a7ea97f6f66ca7c611.tar.xz
android_bootable_recovery-d0384ef73e2c241d92c3b5a7ea97f6f66ca7c611.tar.zst
android_bootable_recovery-d0384ef73e2c241d92c3b5a7ea97f6f66ca7c611.zip
Diffstat (limited to 'recovery.cpp')
-rw-r--r--recovery.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/recovery.cpp b/recovery.cpp
index a58692824..b8fc45f70 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -950,6 +950,7 @@ main(int argc, char **argv) {
system("mv /system/recovery-from-boot.p /system/recovery-from-boot.bak");
ui_print("Renamed stock recovery file in /system to prevent\nthe stock ROM from replacing TWRP.\n");
}
+ PartitionManager.UnMount_By_Path("/system", false);
if (DataManager_GetIntValue(TW_IS_ENCRYPTED) == 0 && OpenRecoveryScript::check_for_script_file()) {
gui_console_only();
if (OpenRecoveryScript::run_script_file() != 0) {