How to make sure your data is really deleted before selling your Android phone

Surprise, surprise, a simple "factory reset" doesn't really erase all of your Android device's data.
 By 
Raymond Wong
 on 
Original image replaced with Mashable logo
Original image has been replaced. Credit: Mashable

You would think when you do a "factory reset" and agree to erase everything on your Android device that all of your data would be wiped out for good. But you'd be wrong.

As many researchers have discovered, data can be recovered with the right tools even after a factory reset has been performed. That's because when you delete something, the file itself isn't actually overwritten -- the system just throws away all the info on the file, essentially tossing it in with whatever free space you have. Recoverable data can be a real privacy problem if you ever plan on selling or donate your Android phone. 

There are, however, a few ways to ensure your data is really erased forever.


You May Also Like

Encrypt your phone

Encrypting your Android device is the strongest way to prevent its data from being recovered. By encrypting your device, you are essentially scrambling all the data and locking it away with a special key. Once encrypted, the data can't be decrypted without entering a passcode.

Most devices running Android 6.0 Marshmallow are required (except maybe some low-end devices) by Google to have mandatory encryption for maximum security. 

If your device is running Android 5.0 Lollipop or lower (and supports encryption), it's highly recommended you turn on encryption (Settings > Security > Encrypt phone) to scramble its data before doing a factory reset. (The setting location may vary on different devices.)

Essentially, by doing this, you'll be erasing scrambled data which is virtually unrecoverable.

Overwrite it with throwaway data

So now that you've encrypted your data, factory reset it and erased everything, let's go even further and make sure the new destroyed encrypted data is even more jarbled and worthless by overwriting with new junk data.

Go ahead and set up your device again, but this time don't sign into any Google accounts or anything. Once your device is set up as new, go ahead and start recording a video for as long as you can, at the highest resolution. Repeat as much as you need to fill up all the space.

Then do another factory reset.

Repeat 

If you're paranoid, you can follow the above tips and perform them several times until you feel confident the data is scrambled enough and overwritten with new throwaway data that even if someone was able to recover the data, they wouldn't get anything useful. But if you want to keep it simple, a single encrypt-and-reset will do the trick for most. 

Have something to add to this story? Share it in the comments.


Topics Android

Mashable Image
Raymond Wong

Raymond Wong is Mashable's Senior Tech Correspondent. He reviews gadgets and tech toys and analyzes the tech industry. Raymond's also a bit of a camera geek, gamer, and fine chocolate lover. Before arriving at Mashable, he was the Deputy Editor of NBC Universal's tech publication DVICE. His writing has appeared on G4TV, BGR, Yahoo and Ubergizmo, to name a few. You can follow Raymond on Twitter @raywongy or Instagram @sourlemons.

Mashable Potato

Recommended For You


Review: The $499 Pixel 10a does something Samsung and Apple can't
google pixel 10a smartphone with row of phones in background

Just got a new Android tablet? Here's how to set it up.
A Samsung Galaxy S11 Ultra tablet on top of its box

The NAACP is fighting back against AI data centers
Construction on the xAI data center in Memphis.

More in Tech
How to watch Chelsea vs. Port Vale online for free
Alejandro Garnacho of Chelsea reacts

How to watch 'Wuthering Heights' at home: Margot Robbie and Jacob Elordi's controversial romance now streaming
Margot Robbie and Jacob Elordi embracing in still from "Wuthering Heights"

How to watch New York Islanders vs. Philadelphia Flyers online for free
Matthew Schaefer of the New York Islanders warms up

How to watch Mexico vs. Belgium online for free
Israel Reyes of Mexico reacts

How to watch Brazil vs. Croatia online for free
Vinicius Junior #10 of Brazil leaves

Trending on Mashable
NYT Connections hints today: Clues, answers for April 4, 2026
Connections game on a smartphone

Wordle today: Answer, hints for April 4, 2026
Wordle game on a smartphone

NYT Connections hints today: Clues, answers for April 3, 2026
Connections game on a smartphone

Wordle today: Answer, hints for April 3, 2026
Wordle game on a smartphone

You can track Artemis II in real time as Orion flies to the moon
Victor Glover and Reid Wiseman piloting the Orion spacecraft
The biggest stories of the day delivered to your inbox.
These newsletters may contain advertising, deals, or affiliate links. By clicking Subscribe, you confirm you are 16+ and agree to our Terms of Use and Privacy Policy.
Thanks for signing up. See you at your inbox!