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.
Mario Tomás Serrafero · Jul 29, 2015 at 12:10 pm · 1 comment

OnePlus 2 vs Moto X Style: Which is The Better Flagship?

Two big industry names have announced their newest flagship phones within the past few days. Both have also promised great performance for a cheap price, and now that we know the specifications and details about both the Moto X Style and the OnePlus 2, we can begin planning our next purchase and debating which one is better. So, judging from everything we know, which phone is more impressive?

DISCUSS
Mathew Brack · Jul 29, 2015 at 10:35 am · 2 comments

Making Your Own Xposed Modules Is Easier Than You Think

Close to the heart of XDA is the Xposed Framework by Rovo89. Most of us will have used it but you may feel that the module repository is missing something. We have the solution with several guides aimed at getting you started to build your own modules, something that may be daunting but can open an entire new field of development with a little time and effort.     Where better to start than at the beginning? Rovo89 has created a straight forward tutorial for getting started with development for Xposed....

XDA NEWS
Jimmy McGee · Jul 29, 2015 at 06:00 am · 2 comments

ZenFone 2 Lolliflash and ZenPower Giveaway!

We recently did an in-depth review of the Asus Zenfone 2 but one of the things people may not be aware of is that ASUS has actually created a line of accessories to compliment the ZenFone, or any other Android device. The Lolliflash is a Lollipop-shaped external flash and the ZenPower is a thin 10,000mAh external battery. In today's video, Jordan shows off the Lolliflash and the ZenPower Accessories. Additionally, ASUS and XDA have teamed up to give away 5...

XDA NEWS