Fix mount USB storage bug. Fix bug where boot image was not being restored by Nandroid.
diff --git a/nandroid.c b/nandroid.c
index 570cb5f..2db9349 100644
--- a/nandroid.c
+++ b/nandroid.c
@@ -178,6 +178,13 @@
return print_and_error("MD5 mismatch!\n");
int ret;
+ sprintf(tmp, "flash_image boot %s/boot.img", backup_path);
+ ui_print("Restoring boot image...\n");
+ if (0 != (ret = __system(tmp))) {
+ ui_print("Error while flashing boot image!");
+ return ret;
+ }
+
if (0 != (ret = nandroid_restore_partition(backup_path, "SYSTEM:", "system")))
return ret;