[Q] How to completely erase data?

Search This thread

abrahammmmmmm_

Senior Member
Oct 19, 2013
167
46
Salem
I've searched but found no answer. My problem is that I can't completely erase data. Yes I've wiped in cwm installed different ROMs cleared everything restored from RUU but using the app Diskdigger I can always find files & everything that I've already deleted. I have tried force running the TRIM action which was successful but I'm always able to recover deleted files. Either I'm doing something wrong or that's a freakishly advanced app
 

demkantor

Inactive Recognized Contributor
Nov 10, 2011
6,861
3,764
mpls
Could be something wrong with your recovery
Being you mentioned an RUU I assume you have an HTC phone, this means your bootloader supports fastboot and so long as you are s-off you can run this command in fastboot to completely erase data partition
fastboot erase userdata
If your device emulates an SD card (as opposed to a removable SD) this is stored on data partition so be advised it will wipe that too

Sent from my Nexus 7 using XDA Premium 4 mobile app