From afb12eec150f0d583131140e1a8a6924511b2183 Mon Sep 17 00:00:00 2001 From: nebrassy Date: Thu, 2 Sep 2021 09:27:54 -0400 Subject: [PATCH] repacker: adjust unpack command to fix compression issues Change-Id: I027fd3bd86be858234daa82ef012254762949372 --- twrpRepacker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twrpRepacker.cpp b/twrpRepacker.cpp index 735f3022..d959836e 100755 --- a/twrpRepacker.cpp +++ b/twrpRepacker.cpp @@ -91,7 +91,7 @@ std::string twrpRepacker::Unpack_Image(const std::string& Source_Path, const std if (TWFunc::copy_file(Source_Path, destination, 0644)) return std::string(); } - std::string command = "cd " + Temp_Folder_Destination + " && /system/bin/magiskboot unpack -h "; + std::string command = "cd " + Temp_Folder_Destination + " && /system/bin/magiskboot unpack -h -n "; command = command + "'" + Source_Path +"'"; std::string magisk_unpack_output;