[HTC Sensation] Yank555:
A little OT, but I think it's worthwhile...

Guys, this is what ARHD SuperWipde does (what is important is highlighted in red) :

#
# Updater-script for Android Revolution HD by mike1986
# Thanks to amazinglarry311 for the idea

ui_print("");
ui_print("");
ui_print("");
ui_print("==============================================");
ui_print("| Wiping Script |");
ui_print("| This operation will remove all your data |");
ui_print("| You have 10 seconds to remove the battery |");
ui_print("| to cancel this procedure |");
ui_print("==============================================");
ui_print("");
ui_print("");
ui_print("");
run_program("/sbin/sleep", "10");
ui_print("1. Erasing & formatting EXT4 *[COLOR="Red"]CACHE[/COLOR]* partition");
assert(unmount("/cache") || ui_print("(cache is unmounted already)"));
run_program("/sbin/erase_image", "cache");
[COLOR="Red"]format("ext4", "EMMC", "/dev/block/mmcblk0p24");[/COLOR]
ui_print("");
ui_print("");
run_program("/sbin/sleep", "5");
ui_print("2. Erasing & formatting EXT4 *[COLOR="Red"]SYSTEM[/COLOR]* partition");
assert(unmount("/system") || ui_print("(system is unmounted already)"));
run_program("/sbin/erase_image", "system");
[COLOR="Red"]format("ext4", "EMMC", "/dev/block/mmcblk0p22");[/COLOR]
ui_print("");
ui_print("");
run_program("/sbin/sleep", "5");
ui_print("3. Erasing & formatting EXT4 *[COLOR="Red"]DATA[/COLOR]* partition");
assert(unmount("/data") || ui_print("(data is unmounted already)"));
run_program("/sbin/erase_image", "userdata");
[COLOR="Red"]format("ext4", "EMMC", "/dev/block/mmcblk0p23");[/COLOR]
ui_print("");
ui_print("");
run_program("/sbin/sleep", "5");
ui_print("4. Removing [COLOR="Red"]system files from SD Card[/COLOR]");
[COLOR="Red"]delete_recursive("/sdcard/.android_secure");
delete_recursive("/sdcard/.bookmark_thumb1");
delete_recursive("/sdcard/.data/footprints");
delete_recursive("/sdcard/.data/mail");
delete_recursive("/sdcard/Android/data/com.android.providers.media");
delete_recursive("/sdcard/Android/data/com.google.android.apps.genie.geniewidget.news-content-cache");
delete_recursive("/sdcard/Android/data/com.google.android.apps.maps");
delete_recursive("/sdcard/.data/navigator/Data/Temporary");
delete_recursive("/sdcard/LazyList");
delete_recursive("/sdcard/LOST.DIR");[/COLOR]
ui_print("");
ui_print("");
ui_print("");
ui_print(">>> All partition wiped successfully! <<<");
ui_print("");
ui_print("");
ui_print("");
run_program("/sbin/sleep", "5");
ui_print("5. Now checking filesystems for errors");
run_program("/sbin/e2fsck", "-p", "/dev/block/mmcblk0p22");
run_program("/sbin/e2fsck", "-p", "/dev/block/mmcblk0p23");
run_program("/sbin/e2fsck", "-p", "/dev/block/mmcblk0p24");
ui_print("");
ui_print("");
run_program("/sbin/sleep", "5");
ui_print("6. Creating log file on SD card");
run_program("/sbin/busybox", "cp", "/tmp/recovery.log", "/sdcard/superwipe.log");
ui_print("");
ui_print("");
run_program("/sbin/sleep", "5");
ui_print("==============================================");
ui_print("| Now you can flash Android Revolution HD |");
ui_print("| Device will reboot in recovery mode |");
ui_print("==============================================");
run_program("/sbin/sleep", "5");
run_program("/sbin/reboot", "recovery");

In essence it does more or less extactly the same as a CWM/4ext "factory reset" plus it reformats /system as well.

That won't break anything, except your running system that was there before flashing SuperWipe won't be there afterwards, and that's kind of the idea ;)

JP.

PS: Oh and btw, no need to wipe dalvik cache after any of both, dalvik is located inside of /data, so once you format /data, there's really no need anymore. That's a bit like dynamiting at 10 storey building and wanting to tear down the penthouse

afterwards

;)