- April 29, 2016 at 4:42 PM #3192
If you are looking to Wipe data or partitions using TWRP recovery on your Android phone or tablet then yes you are at the right place. Here I will present you a step-by-step guide with screenshots. You just need to learn the process once and the next time you will do that I can bet that you will have already mastered on it or probably you will teach me the next time.
I am sure that if you have reached here that means you really want to learn how to wipe data or cache or any partitions on your Android phone using TWRP recovery. For a couple of minutes just be with me to understand what exactly happening around. I can also bet you that if you will go through the guide carefully then you will probably never endup with a bricked device or buggy custom ROMs because as part of this guide you will also learn how to backup before cleaning data.
Why do you need to Clean/Wipe Partitions on your Android phone:
You will be interested in this question if you are a beginner else I am sure you won’t waste your time knowing why do someone want to clean data and you are free to move on to further sections. If you are still interested then carry on reading what comes!
Answering the question… Well, there could be many situations where you really need to wipe data out because you just want to reset your phone to the factory mode, that’s it. You can do this with the stock recovery that had come with your Android phone or tablet, you don’t need to have a TWRP recovery for that, isn’t it!
If you see closely, the title says that how to wipe data using a TWRP recovery. So, if you have come to this post then I assume that you have already installed a TWRP recovery on your phone or tablet and you just want to wipe data/partitions because you want to install a Custom ROM on your beautiful Android device. That’s what exactly most people use the wipe functionality of a custom recovery.
How many partitions are there to Clean/Wipe:
Basically Android has a partition layout of the whole system. Won’t explain much in detail but there are boot partition, System Partition, Data Partition, Cache partition and prior to Android Lollipop there was Dalvik Cache. I really don’t why the latest TWRPs still have an option to wipe Dalvik Cache !!!DISCLAIMER:
Before proceeding further you may consider backup your all data. You are the only person doing changes to your phone and I cannot be held responsible for the mistakes done by you. Neither the developer nor we will be held responsible for any disaster that happens to your device.
How to wipe data/partitions using a TWRP recovery:
Make sure that you already have a backup of your useful data. If you have not yet done this then move on to the next link and come back:
How to Take NANDROID Backup on TWRP RecoverySTEP 1:
Go ahead and reboot your device to recovery mode. So, now you must be on the TWRP home screen.
Now, on the TWRP home screen click on the Wipe touch button.
Below is a screenshot of the TWRP home screen marked on the Wipe button which you have to select.STEP 2:
Now on the Wipe screen, if you just want to do a Factory Reset then Swipe the button at the bottom of the screen to do a Factory Reset. The Factory Reset will clean Data partition, Cache partition and the Dalvik cache partition.
Here you need to be careful and should have a backup of your precious data because it will clean all your phone data.CAUTION:
Sometimes just the Factore Reset will also clean all the internal phone storage where as in TWRP it has mentioned that it does not clean the internal phone storage. At least it is happening on my Moto G where I don’t have a separate SD card option and all the data partition and the internal partition data goes to one storage area. So, here you must be cautious and should have a backup before cleaning anything.
In phones where there is a provision to have a separate micro SD card it may not clean the micro SD when you do a factory reset.
Below is a screenshot of the TWRP Wipe screen:
If you are mentally prepared that the Factory Reset option will not help for you or you want to clean everything on your phone then go to Advanced Wipe option and then select the partitions you want to wipe.
Select the Dalvik Cache, Data, Internal Storage, Cache, System partition to clean. For me there is no need to clean Internal Storage and hence I had left that option but if you want to clean your microSD then you should consider selecting this field. After that wipe the touch button at the bottom of the screen from left to right to wipe the selected partitions.
Below is an image depicts how the Advanced Wipe screen looks like and what exactly you have to do:
For some devices it is required to convert the filesystem before you wipe. So, I have highlighted the change filesystem button in blue. It is not always needed but in case you need this, here you have to execute.
That’s all folks. After executing all of the steps explained above, you will have a clean Android device on your hand. If you have any concerns while wiping on TWRP then feel free to reply to this thread.May 4, 2017 at 2:01 PM #18545
To erase Android data by this way,some data recovery in martke can recover them easily.You need to use a Android data eraser to erase messages on Android permanently,once the file wiped,no data recovery can get them back.May 8, 2017 at 8:09 AM #18703
I did a lot of research about the Android data erase program on Google, as i know, not all the data delete program can completely remove everything and without recovery , most people like to choose the reset phone memory , this is wrong,
http://www.erasephone.com/tutorials/wipe-android-data-completely.htmlMay 9, 2017 at 10:34 AM #18741
Normal erasing via TWRP should be enough. But if you want to erase all of your data on the phone then you need to execute the TRIM command on your flash storage.
You can do this on TWRP by following the steps:
– Mount the /system partition
– Go to Advanced and then Terminal Command
– Execute the command to TRIM /system partition:
fstrim -v /system
– Execute the command to TRIM /data partition:
fstrim -v /data
– Execute the command to TRIM /cache partition:
fstrim -v /cache
When you delete data from your storage, the actual data is not cleaned but the link to the internal blocks (where the actual data is stored) is made as invalid or the block is made as dirty.
TRIM command is designed specifically for flash storage. When you execute TRIM command on flash storage, it cleans all the data of all the blocks.
But you need to be careful, as the TRIM actually erases block by block and flash storage has limited erase and write cycles.May 27, 2017 at 10:28 PM #19709
Okay, So anyone know how long this takes? its been 10+ mins since i got the “formatting system using make_ext4fs…” . Dont know if somethings wrong or something but the loading bar is runningMay 29, 2017 at 3:18 PM #19854
Okay, So anyone know how long this takes? its been 10+ mins since i got the “formatting system using make_ext4fs…” . Dont know if somethings wrong or something but the loading bar is running
The formatting should not be much longer but it may vary based on the storage size the device has. If not reboot to recovery and erase it once more.
You must be logged in to reply to this topic.