From c51f1f994ada7b46224f672481c0dacf3894c70b Mon Sep 17 00:00:00 2001 From: Dees_Troy Date: Thu, 20 Sep 2012 15:32:13 -0400 Subject: Various fixes Modify AOSP mount and wipe functions to use Partition Manager. Update wipe code to reset the log file index when wiping cache. Add ADB sideload to 540x960 theme. --- partitionmanager.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'partitionmanager.cpp') diff --git a/partitionmanager.cpp b/partitionmanager.cpp index 2bcbc2713..2e0219e01 100644 --- a/partitionmanager.cpp +++ b/partitionmanager.cpp @@ -413,11 +413,10 @@ bool TWPartitionManager::Make_MD5(bool generate_md5, string Backup_Folder, strin if (!generate_md5) return true; - ui_print(" * Generating md5..."); + ui_print(" * Generating md5...\n"); if (TWFunc::Path_Exists(Full_File)) { sprintf(command, "cd '%s' && md5sum %s > %s.md5",Backup_Folder.c_str(), Backup_Filename.c_str(), Backup_Filename.c_str()); - LOGI("MD5 command is: '%s'\n", command); if (system(command) == 0) { ui_print("MD5 Created.\n"); return true; @@ -432,7 +431,6 @@ bool TWPartitionManager::Make_MD5(bool generate_md5, string Backup_Folder, strin sprintf(filename, "%s%03i", Full_File.c_str(), index); while (TWFunc::Path_Exists(filename) == true) { sprintf(command, "cd '%s' && md5sum %s%03i > %s%03i.md5",Backup_Folder.c_str(), Backup_Filename.c_str(), index, Backup_Filename.c_str(), index); - LOGI("MD5 command is: '%s'\n", command); if (system(command) != 0) { ui_print("MD5 Error.\n"); return false; -- cgit v1.2.3