Do not unmount on wipe unless needed. Add reboot binary. Restart recovery process for Galaxy S.
diff --git a/roots.c b/roots.c
index df49cc3..474ea1d 100644
--- a/roots.c
+++ b/roots.c
@@ -345,7 +345,7 @@
         LOGW("format_root_device: can't resolve \"%s\"\n", root);
         return -1;
     }
-    if (info->mount_point != NULL) {
+    if (info->mount_point != NULL && info->device == g_mtd_device) {
         /* Don't try to format a mounted device.
          */
         int ret = ensure_root_path_unmounted(root);