From 9a684087253b35d4f0562e8c2e146be1cd870a9f Mon Sep 17 00:00:00 2001 From: nebrassy Date: Thu, 18 Nov 2021 18:40:57 +0100 Subject: [PATCH] repacker: update partition details after switching slot Change-Id: I9f6f396530ad40f70c02c917b01e9b8158add773 --- twrpRepacker.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/twrpRepacker.cpp b/twrpRepacker.cpp index b9f85975..8ca1409a 100755 --- a/twrpRepacker.cpp +++ b/twrpRepacker.cpp @@ -216,6 +216,7 @@ bool twrpRepacker::Repack_Image_And_Flash(const std::string& Target_Image, const else PartitionManager.Override_Active_Slot("A"); DataManager::SetProgress(.25); + PartitionManager.Update_System_Details(); if (!Backup_Image_For_Repack(part, REPACK_ORIG_DIR, Repack_Options.Backup_First, gui_lookup("repack", "Repack"))) return false; if (TWFunc::copy_file(REPACK_NEW_DIR "ramdisk.cpio", REPACK_ORIG_DIR "ramdisk.cpio", 0644)) {