Do not unmount on wipe unless needed. Add reboot binary. Restart recovery process for Galaxy S.
diff --git a/nandroid.c b/nandroid.c
index e3a2bb4..35ad641 100644
--- a/nandroid.c
+++ b/nandroid.c
@@ -228,10 +228,12 @@
     }
 
     ui_print("Restoring %s...\n", name);
+    /*
     if (0 != (ret = ensure_root_path_unmounted(root))) {
         ui_print("Can't unmount %s!\n", mount_point);
         return ret;
     }
+    */
     if (0 != (ret = format_root_device(root))) {
         ui_print("Error while formatting %s!\n", root);
         return ret;