Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

How to erase your phone securely

OP dbsoundz

11th July 2014, 09:22 PM   |  #1  
OP Senior Member
Thanks Meter: 2
329 posts
Join Date:Joined: Jun 2006

I know, there are dozens of threads, articles and recommendations over XDA and internet. But I am still not sure what best practice is. Erasing Hard Disks is quite easy. In this case one deletes the whole storage from an external device. One can also delete unused storage and so on...

However, I have not really any idea how to delete the storage of my phone, especially internal storage of my Nexus 5. If i plug in the phone to my PC it is recognized as an MTP device. A tool like Eraser http://eraser.heidi.ie/ is not able to choose this destination to erase. I am also not sure how the partitions are handled in Android. Is it enough to erase securely the complete internal storage after resetting, wiping, reflashing the phone or are there still areas of interesting data around other partitions?!

Would be glad to get some advice
12th July 2014, 05:02 PM   |  #2  
OP Senior Member
Thanks Meter: 2
329 posts
Join Date:Joined: Jun 2006
This is my suggestion:

1. wipe your phone and storage, data...
2. flash new ROM
3. adb shell: dd if=/dev/urandom of=/sdcard/junkfile (http://zackeryfretty.com/posts/secur...aranoid-seller)
4. adb shell: dd if=/dev/urandom of=/data/junkfile (http://zackeryfretty.com/posts/secur...aranoid-seller)

Any other suggestions?
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes