From 7b8bae7aa4662dafa8d69a4ad9d8f4f0a9a8c5c4 Mon Sep 17 00:00:00 2001 From: Andrew Dodd Date: Wed, 25 Jul 2012 20:34:28 -0400 Subject: [PATCH] releasetools: Fix for new backup script Backup script no longer mounts/unmounts /system This now needs to be done by the update-script Forward-port this change from ICS --- releasetools/galaxys2_ota_from_target_files | 2 ++ 1 file changed, 2 insertions(+) diff --git a/releasetools/galaxys2_ota_from_target_files b/releasetools/galaxys2_ota_from_target_files index 7a41ec6..61cb7cc 100755 --- a/releasetools/galaxys2_ota_from_target_files +++ b/releasetools/galaxys2_ota_from_target_files @@ -61,7 +61,9 @@ def WriteFullOTAPackage(input_zip, output_zip): AppendAssertions(script, input_zip) device_specific.FullOTA_Assertions() if OPTIONS.backuptool: + script.Mount("/system") script.RunBackup("backup") + script.Unmount("/system") script.ShowProgress(0.5, 0)