Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Ohsaka
Old
(Last edited by Ohsaka; 30th January 2011 at 11:07 PM.)
#1  
Ohsaka's Avatar
Senior Member - OP
Thanks Meter 69
Posts: 702
Join Date: Jun 2009
Default [WIPE][COMPLETE][FLASHABLE] SuperWipe v2 (30 Jan 2011) - So Fresh and So Clean Clean!

One thing we have run into with BiffMod ROM is that there is no single "COMPLETELY erase the phone" solution.

So this is my attempt at it.... No console/terminal, no adb shell, no USB, no anything required. Just flash the file in recovery and you are done.

But OHSAKA! There are tons of threads about this, there are even existing "wipe-update" files to erase the phone. What makes your flashable update file so special???

Well I'm glad you asked that. This update contains the 'erase_image' executable with all the needed libraries statically linked. (thanks ezterry) 'erase_image' performs a low-level format of the partition which can fix unforeseen problems. Most other wipe-updates just perform "rm -rf *" at the file system level and don't touch the boot partition.

v2
---
Kudos to RichieDaze! He stepped up and added some often requested functionality to this popular wipe script. Now SuperWipe will check the root of the /sdcard/ directory for a file named "SuperWipe.conf". This file will control which partitions get erased and also control if the script triggers an auto-reboot. If the file is not present, then the script will default to wiping all partitions.

SuperWipe.conf
Code:
## SuperWipe Custom Configuration

## So Fresh and So Clean Clean Menu

## Cannot be blank (yes or No)
#
Wipe_Cache=yes
Wipe_Userdata=yes
Wipe_System=yes
Wipe_Boot=yes
Wipe_Sd_Secure=yes
Wipe_Sd_Ext=yes
#
##

## Extras
#
Reboot_when_done=no
Reboot_Delay=5
#
##
SuperWipe v2 (MD5: a3c358c1e027c8ec039ada8e667cab1a)

SuperWipe.conf (MD5: 1e7eb3a97270142aa6bf7c4fca9c2490)

You will need to reboot back into recovery after running this. If you forget and try to boot normally, you will have to pull battery to power off.

v1
---
This update will:
1) Call erase_image on CACHE, SYSTEM, USERDATA, and BOOT partitions
2) Mount /sd-ext (if it exists) and delete all files from it
3) Delete all files in the /sdcard/.android_secure directory which is where all the froyo apps2sd files live
4) Run e2fsck (file system repair) on the your ext partition
5) Log all output to the /tmp/wipe.log file (if you care)

I think this is the most complete way to wipe a phone. It supersedes 'fastboot erase system -w', VOL_DOWN+HOME+BACK, Amon_RA wipes, or various other flashable update-wipe zips.

I have tested this file the best I can on my phone. I verified all partitions are completely empty after running it. Any suggestions or bug reports are welcome!

SuperWipe (MD5: 945218bbbeab63d2c41e20c3243176ce)

You will need to power off and reboot back into recovery after running this. If you forget and try to boot normally, you will have to pull battery to power off.
Phone Brown Rooted G1
ROM BiffMod Team Member
Recovery RA-dream-v1.7
SPL 1.33.0013d
Radio 2.22.27.08
SD 8GB Class 6

SuperWipe_v2 (G1) (the best way to wipe your phone)
Fix Angry Birds on G1
Color Changer v3.1 (retired, don't PM me about it please)

got beer?
The Following 22 Users Say Thank You to Ohsaka For This Useful Post: [ Click to Expand ]
 
Ohsaka
Old
#2  
Ohsaka's Avatar
Senior Member - OP
Thanks Meter 69
Posts: 702
Join Date: Jun 2009
This space reserved for Firerat's comments
Phone Brown Rooted G1
ROM BiffMod Team Member
Recovery RA-dream-v1.7
SPL 1.33.0013d
Radio 2.22.27.08
SD 8GB Class 6

SuperWipe_v2 (G1) (the best way to wipe your phone)
Fix Angry Birds on G1
Color Changer v3.1 (retired, don't PM me about it please)

got beer?
 
microb0i
Old
#3  
Member
Thanks Meter 1
Posts: 64
Join Date: Oct 2010
Will definitely check this out! sounds like a "duh" kind of thing.
 
Ohsaka
Old
#4  
Ohsaka's Avatar
Senior Member - OP
Thanks Meter 69
Posts: 702
Join Date: Jun 2009
Quote:
Originally Posted by microb0i View Post
Will definitely check this out! sounds like a "duh" kind of thing.
Yeah, when I told ezterry I was done and it works, he said "Doing what someone ought to have done ages ago"...
Phone Brown Rooted G1
ROM BiffMod Team Member
Recovery RA-dream-v1.7
SPL 1.33.0013d
Radio 2.22.27.08
SD 8GB Class 6

SuperWipe_v2 (G1) (the best way to wipe your phone)
Fix Angry Birds on G1
Color Changer v3.1 (retired, don't PM me about it please)

got beer?
 
yo9gnc
Old
(Last edited by yo9gnc; 10th November 2010 at 11:11 AM.) Reason: afterwards
#5  
Senior Member
Thanks Meter 10
Posts: 224
Join Date: May 2010
Location: Bucharest
a "low format" kind of wipe should isolate the bad blocks on the memory (i have such things ) ? and because i can`t use anything that require usb on my phone, i`ll try use your file to wipe and then reinstall biffmode2.1 (which i have trough bart restore from another phone).
another question. if your file is like a low format, is it ok to use it every time ? or often ?
Later edit: tried it. the rom still doesn`t install. so i don`t know what the problem is. i guess that your wipe script is ok. the rom stuff is not your problem but since cm6 stable, i can`t install any rom.
for your script, just release a lot of time spent with the "wipe" operations in flashing new roms. and from what you say, it does it better. so, nice job!
T-Mobile G1: Black, Rooted (32b),qwerty(drea11000)
HBOOT: 1.33.013d
Radio: 2.22.27.08
ROM: [ROM] NameLessFroyo (CyanogenMod variant) 20111013
RECOVERY: RA Dream 1.7.0
PARTITION: FAT32+512mb+64Swap (on a 8GB c6 sdcard)
 
crypysmoker
Old
#6  
crypysmoker's Avatar
Senior Member
Thanks Meter 9
Posts: 970
Join Date: Sep 2009
Location: Somewhere over the rainbow, 2 rights and a left
Quote:
Originally Posted by yo9gnc View Post
a "low format" kind of wipe should isolate the bad blocks on the memory (i have such things ) ? and because i can`t use anything that require usb on my phone, i`ll try use your file to wipe and then reinstall biffmode2.1 (which i have trough bart restore from another phone).
another question. if your file is like a low format, is it ok to use it every time ? or often ?
Later edit: tried it. the rom still doesn`t install. so i don`t know what the problem is. i guess that your wipe script is ok. the rom stuff is not your problem but since cm6 stable, i can`t install any rom.
for your script, just release a lot of time spent with the "wipe" operations in flashing new roms. and from what you say, it does it better. so, nice job!
If you havent been able to install any rom since CM6... then its either your hardware, or your not giving it enough time to boot.

Getting ready to try this out because Im sure I have some bad blacks on my Mytouch 1.2 that have been causing location issues in sense roms for only about 4 months, before that all worked fine.
If at first you dont succeed, Break it worse and blame the next guy.



Plum Mytouch 4G-SOLD
Mytouch Fender LE (1st ever rooted)SOLD
RETIRED
Desire HD- Sold
Lg G2x -Bricked, recovered then no touch screen

Current- HTC ATT One X-Viper Xl

Universal Androot working for Mytouch 1.2/fender.
 
lackonne
Old
#7  
lackonne's Avatar
Senior Member
Thanks Meter 13
Posts: 216
Join Date: Feb 2010
Location: Surabaya
whether I could use for my N1?
 
ezterry
Old
#8  
ezterry's Avatar
Recognized Developer
Thanks Meter 962
Posts: 1,825
Join Date: Jan 2010
Location: Asheville, NC

 
DONATE TO ME
Quote:
Originally Posted by Ohsaka View Post
Yeah, when I told ezterry I was done and it works, he said "Doing what someone ought to have done ages ago"...
I still find fastboot erase a bit cleaner than erase_image but for 99.9% of your problems erase_image works well.. and can be done without a computer on hand.

Quote:
Originally Posted by lackonne View Post
whether I could use for my N1?
You need someone who knows how the n1 is set up to be sure, but I think it will work perfectly.. ask for some dev with an n1 to check.
Dream Sapphire:
> Radio 2708+ (+15MB kernels)
> MT3G ota froyo rom dream sapphire port
> ezGingerbread (rom/source): Dream/Sapphire
> DS JTAG: Soft load of SPL (to unbrick/re-root) / JTAG WIKI


Acer A500:
> ezT20 kernel A500 and A100
> A500 Public Recovery (Clockwork Mod based recovery + source for the A500)
> Acer A500 ICS Rooted w/ Busybox
> Acer_A500 OTA 7.014.14 --HC 3.2.1-- Rooted w/ Busybox


Donations for beer/rent are always appreciated.
Twitter: xdaterry -~- Google+: profile -~- GitHub: ezterry
 
Royalknight6190
Old
#9  
Royalknight6190's Avatar
Retired Forum Mod / Recognized Developer
Thanks Meter 1092
Posts: 1,755
Join Date: Aug 2009
Location: Chandler
Great work Ohsaka, this is something that the community has been needing for a long time. You rock.

Sent from my HTC Hero using XDA App
 
ratchet789
Old
#10  
ratchet789's Avatar
Senior Member
Thanks Meter 10
Posts: 298
Join Date: Aug 2010
Location: Albuquerque
ill have to download this for future use
Phone: Samsung epic touch 4g 4.0.4
Color: White
Shell: carbon white
Rom: Blazer rom
Mods: Centered clock, Roam Fix, Updated settings

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...