Unblock partitions before reflashing current TWRP

Change-Id: Idf54f302824cfbddb5d5be50b676dbc58435ef51
(cherry picked from commit 5c4a0aa453927a51e6ac740243ca0786893c7c5e)
diff --git a/twrpRepacker.cpp b/twrpRepacker.cpp
index 6ac2ce9..1da19e2 100755
--- a/twrpRepacker.cpp
+++ b/twrpRepacker.cpp
@@ -270,6 +270,7 @@
 			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;