[TOOL]smw6180 Superwipe

smw6180

Senior Member
Oct 31, 2007
6,078
4,841
0
Bear, DE
Superwipe script for the Sprint HTC One.

Disclaimer: I've tested the hell out of this but I am not perfect. This should not cause any data loss aside from what's involved in a normal wipe. However you use this at your own risk.

What this script does:
This will wipe /data, /devlog, /cache, /system, /boot to prepare your phone for installation of a new ROM. It will also optimally format all of the above (except /data) for speed.

After MUCH testing and nuking of my internal storage (SD Card), I have now fixed this script so that no harm will come to any data on your internal storage. It will wipe everything else. As always I recommend backing things up (including external storage) before running any kind of wipe, whether it be within TWRP/Clockwork, this script, or any other script.

Please report any issues or errors to me and I'll fix them asap.

Edit:
Thanks to @tdhite for his new update-binary, I've finally gotten around to updating this. I can't test it anymore as I no longer have the Sprint version of the device, however the only change I made was the update-binary so it should be fine. As it says above, use at your own risk.
 

Attachments

Last edited:

Nieylana

Senior Member
May 2, 2010
72
13
0
I'm removing the download for now. Viper has identified an issue...it won't hurt anything, but it's definitely not wiping data like it should be. I know why and I'll fix it, but I need to test it first so I don't accidentally wipe peoples' SD Cards. :)

Correct me if I'm wrong please, but I believe the HTC One doesn't have or support an SDCARD.
 
  • Like
Reactions: evilhugbear

youkosnake

Senior Member
Jan 7, 2011
549
184
0
Id say its quite the issue if its wiping SD cards then. Mainly because it would have to be wiping something to think its wiping an sd.

Sent from my SPH-L710 using xda app-developers app
 

-viperboy-

Inactive Recognized Developer
Jun 24, 2007
7,836
12,990
0
PA
Correct me if I'm wrong please, but I believe the HTC One doesn't have or support an SDCARD.
Correct, to an extent. It doesn't have an external sd, but the phone still references your storage as sdcard. It resides in /data/media but is symlinked to /sdcard.

The issue with superwipe is that it normally could just wipe data on a fresh flash, but if you do that, good bye all your files. But Steve has a fix for it, I verified it. He'll get it going later today I'm sure :)

Sent from my HTCONE using Tapatalk 2
 
T

TheWzrd

Guest
While flashing it hung on checking system. I let it sit for 50% of the battery life before I got worried and press and held the power button until the device booted back up

Sent from my HTCONE using xda app-developers app
 

smw6180

Senior Member
Oct 31, 2007
6,078
4,841
0
Bear, DE
While flashing it hung on checking system. I let it sit for 50% of the battery life before I got worried and press and held the power button until the device booted back up

Sent from my HTCONE using xda app-developers app
I've seen that happen (on the Evo 4G LTE) on rare occasions. I've never had it happen to me. From what other users have said in the past, reboot recovery and reflash works.
 
  • Like
Reactions: vayman and volk9029

94tbird

Senior Member
Jun 19, 2007
979
173
63
While flashing it hung on checking system. I let it sit for 50% of the battery life before I got worried and press and held the power button until the device booted back up

Sent from my HTCONE using xda app-developers app
I've seen that happen (on the Evo 4G LTE) on rare occasions. I've never had it happen to me. From what other users have said in the past, reboot recovery and reflash works.
This just happened to me as well, hanging on checking system.. I have used the script previously with no issue. gonna try a reboot


Edit: reboot worked, script ran, not sure what happened
 
Last edited: