Unblock partitions before reflashing current TWRP

Change-Id: Idf54f302824cfbddb5d5be50b676dbc58435ef51
(cherry picked from commit 5c4a0aa453927a51e6ac740243ca0786893c7c5e)
This commit is contained in:
Darth9
2022-08-26 09:03:33 +01:00
committed by bigbiff
parent bdb5d2ada5
commit d976629141
+1
View File
@@ -270,6 +270,7 @@ if (!TWFunc::Path_Exists("/ramdisk-files.txt")) {
LOGERR("can not find ramdisk-files.txt");
return false;
}
PartitionManager.Unlock_Block_Partitions();
Repack_Options_struct Repack_Options;
Repack_Options.Disable_Verity = false;
Repack_Options.Disable_Force_Encrypt = false;