Haroon Q. Raja · Feb 8, 2012 at 02:00 pm

DARKSIDE.SUPER.WIPE: Easily Wipe Partitions when Flashing ROMs

If you flash custom ROMs to your Android device often, you might be getting tired of having to manually wipe data, cache, dalvik cache and in certain cases, system partitions each time. Worse still, at times wiping them once doesn’t quite do the job for some weird reason and you have to do it multiple times to make sure it goes all smooth. What if you could instead just flash a tiny zip file before flashing the ROM itself, that would wipe all these partitions securely and automatically for you? XDA recognized developer thederekjay has released a tool called DARKSIDE.SUPER.WIPE that does the above automatically, safely and securely for you.

Please note that it is originally written for and tested with the T-Mobile Samsung Galaxy S II SGH-T989. It may however work with several other devices, provided they have the same partition structure. The script contained in the flashable zip file can be easily modified for those devices that use a different partition structure. The tool’s forum thread has more information on how to find if the partition structure of your device is the same.

Using the tool is simple – just flash it from recovery just like you would flash any other zip file, and then flash the ROM of your choice. It will format /system, /data and /cache with EXT4 file system, erasing everything on these partitions.

Please note that if you want to keep your existing data while upgrading to a newer version of the same ROM, do NOT use this tool. Use it only when you are OK with a complete data wipe, to start from scratch, or if you have already backed up your data for manual restoration later.


_________
Want something on the XDA Portal? Send us a tip!
TAGS:

Haroon Q. Raja

HQRaja is an editor on XDA-Developers, the largest community for Android users. Entrepreneur | Explorer | Mathematics Teacher | Web Developer | Technology Enthusiast Blogging: Founding Editor HQTech.co | Editor at AddictiveTips | Writer at XDA-Developers Portal Visit my Website | Subscribe on Facebook | Follow on Twitter | Add me on Google+ View HQRaja's posts and articles here.
Mathew Brack · Jul 3, 2015 at 12:00 pm · 2 comments

The Atlas of XDA

A few weeks ago, we asked you "How Does Your Location Affect Your Life As A Power User?". In the days that followed, members from all over the world shared their stories and experiences of life across the globe. Allow me to introduce the true story of what it means to be a power user on this pale blue dot.   Index Africa & Oceania: Australia, Indonesia, Libya, Madagascar, New Zealand, Nigeria, South Africa, Americas: Brazil, Chile, Columbia, Costa Rica, Guatemala, Martinique, United...

XDA NEWS
Mario Tomás Serrafero · Jul 3, 2015 at 11:10 am · 3 comments

New Snapdragons: Some Context & Contrast

It hasn’t been a good year for Qualcomm so far. Every device featuring the Snapdragon 810 has had a less-than-stellar fate, be it because of overheating complaints or actual decreased sales. HTC is in a particularly worrisome situation, and Sony’s Z4 is slipping down Japanese charts just over a week after its release. The G Flex 2, Mi Note Pro and Z3+ all saw complaints as well. Even MediaTek is seemingly getting an advantage over this.   But a particularly...

XDA NEWS
Aamir Siddiqui · Jul 3, 2015 at 10:12 am · 1 comment

Google To Launch Next Gen Android One On July 14

The first gen of Android One devices to be launched in India in September 2014 were decent starter smartphones, featuring budget specs and a promise of fast updates. However, the phones did not pick up as big a response as Google hoped. Now, as per a report by The Economic Times, it appears that Google is rethinking their strategy towards Android One in India. The first gen Android One devices focused on first time smartphone users, but were flawed in...

XDA NEWS
Share This