From cdd97c7fabf939daeda52bd4286787e887339849 Mon Sep 17 00:00:00 2001 From: bigbiff bigbiff Date: Fri, 29 Mar 2019 19:12:33 -0400 Subject: ADB Backup: Ignore creating backup folder for phones not decrypted. This allows you to continue without error. Also we should not set restore path for images in adb backup. Change-Id: Ia75a70377b8e1364fefc82ad41ccf74fa3b7a3c3 --- twrpAdbBuFifo.cpp | 1 - 1 file changed, 1 deletion(-) mode change 100644 => 100755 twrpAdbBuFifo.cpp (limited to 'twrpAdbBuFifo.cpp') diff --git a/twrpAdbBuFifo.cpp b/twrpAdbBuFifo.cpp old mode 100644 new mode 100755 index 22bfa4054..4f9bd2cbd --- a/twrpAdbBuFifo.cpp +++ b/twrpAdbBuFifo.cpp @@ -274,7 +274,6 @@ bool twrpAdbBuFifo::Restore_ADB_Backup(void) { Backup_FileName = Restore_Name.substr(pos + 1, Restore_Name.size()); part_settings.Part = PartitionManager.Find_Partition_By_Path(path); part_settings.Backup_Folder = path; - PartitionManager.Set_Restore_Files(path); part_settings.partition_count = partition_count; part_settings.adbbackup = true; part_settings.adb_compression = twimghdr.compressed; -- cgit v1.2.3