How to Wipe Deleted Files So They Can’t Be Recovered From a Sold Phone

Deleting a file on a phone does not destroy it. In most cases, deletion simply removes the pointer that tells the system where the file lives, leaving the actual data sitting in storage until something else overwrites it. Recovery software can often read that orphaned data, which is fine when you deleted something by mistake, but alarming when the phone is about to belong to a stranger. Before selling or giving away a phone, you need to go beyond deletion and make sure old files are genuinely unrecoverable. This guide explains how, using tools already on your phone and X-plore for the file-level work.

The good news is that modern Android phones make this far easier than it used to be, thanks to encryption. The bad news is that encryption only protects you if it was active before the files were written, and if you follow the full reset procedure rather than a shortcut. Understanding both halves is what turns a sold phone from a privacy risk into a clean slate.

Why Deletion Alone Is Not Enough

Think of phone storage as a library where deleting a book removes its catalogue card but leaves the book on the shelf. Anyone who walks the shelves — in this case, recovery software scanning raw storage — can still find it. This is especially true for photos, messages, and documents, which tend to be stored in large, easily recognised chunks. A buyer with free recovery tools and an hour of curiosity can often reconstruct a surprising amount of a previous owner's life from a "cleaned" phone.

The risk is not hypothetical. Second-hand phones have repeatedly been found to contain recoverable photos, contacts, and documents, even after their previous owners believed they had deleted everything. The files most at risk are exactly the ones people care about most: personal photos, identity documents, financial records, and private messages. A proper wipe treats every deleted file as still present until it is actively destroyed or cryptographically locked away.

Encryption: The Protection That Makes Wiping Work

Most modern Android phones encrypt their storage by default. Encryption scrambles the data with a key tied to your lock screen credential, so that without the key, the stored data is meaningless noise. When you factory-reset an encrypted phone, the key is discarded, and the remaining data becomes unreadable even though the raw bytes may still sit on the chip. This is why a factory reset on an encrypted phone is so much stronger than a reset on an unencrypted one.

Before you do anything else, confirm encryption is on. In your phone's security settings, look for an encryption entry; on recent Android versions, it is typically enabled automatically and described as file-based encryption. If your phone offers an encryption option that is off, turn it on and let it complete before proceeding. Encryption applied now protects files written from now on, but files written before encryption was enabled may have left unencrypted traces, which is why the overwriting step later in this guide still matters for older devices.

Step One: Back Up What You Want to Keep

Wiping is destructive by design, so back up first. Copy your photos, documents, and other important files to a computer, an external drive, or a cloud account you will keep, using X-plore to verify the copies landed where you intended. Check that the backup actually opens: a backup you never tested is a hope, not a copy. Also export anything stored only inside apps, such as chat histories or notes, if those apps offer an export or backup feature, since a factory reset removes app data entirely.

Make a short list of accounts signed into the phone — cloud storage, email, social apps — because you will sign out of them as part of the wipe. Signing out first ensures that cloud sessions tied to the device are closed cleanly, rather than lingering as active sessions after the phone changes hands. This pairs with the device audit habit: a sold phone should leave no live sessions behind.

Step Two: Remove Accounts and Sign Out Everywhere

Go through the phone's account settings and remove each account: Google, cloud storage, email, and any others. Removing the Google account is particularly important, because Android's factory reset protection can otherwise lock the next owner out — or, worse, leave the phone tied to your identity in a way that complicates their setup. Sign out of apps individually where an app holds its own session outside the system account list, and revoke the device's cloud sessions from your account security page on another device as a final check.

Also remove the memory card if the phone has one, or wipe it separately. A memory card is easily forgotten during a reset, and it often holds photos and files that the internal reset never touches. Decide whether to keep the card or sell it with the phone; if it goes with the phone, it needs its own wipe, covered below.

Step Three: Overwrite Free Space Before the Reset

On an encrypted phone, this step is belt-and-braces; on an older or unencrypted phone, it is essential. The idea is to fill the phone's free space with meaningless data, overwriting the remnants of deleted files, and then delete that filler. You can do this by copying large, unimportant files — such as long videos you do not care about — onto the phone until storage is nearly full, then deleting them. Repeat the cycle once or twice for thoroughness. Each pass reduces the chance that any fragment of an old file survives in a recoverable form.

X-plore can help here: use it to check storage usage before and after filling, and to delete the filler files afterwards. Do not use personal files as filler, since the point is to overwrite old personal data with data that does not matter. Public-domain videos, or simply large files generated for the purpose, are ideal. This step takes time on a large phone, but it runs unattended, and it is the most direct attack on recoverable deleted data.

Step Four: Factory Reset, Then Verify

With accounts removed and free space overwritten, perform a factory reset from the phone's settings. This erases user data and returns the phone to its out-of-box state. When the reset completes, do not sign in again to "check" the phone with your own account, since signing in recreates associations you just removed. Instead, verify from the setup screen that the phone asks for fresh setup, and browse its storage from the setup or recovery view if your phone allows it, confirming it appears empty.

For a memory card being sold with the phone, format it in the phone or a computer, then fill and delete filler files on it as well, or use a secure-erase option if the card and reader support one. A card that held personal photos deserves the same care as the phone itself. If in doubt, keep the card and sell the phone without it; memory cards are cheap, and your photos are not.

After the Sale: Final Checks

After handing the phone over, take two final steps. First, check your cloud account's device list from another device and confirm the sold phone no longer appears as an active session. Second, if the phone used a SIM or eSIM tied to your number, confirm the number has been transferred or deactivated as appropriate, and remove any eSIM profile from the device before the sale. These loose ends are easy to forget and can give a new owner routes back into your accounts that have nothing to do with stored files.

Selling a phone should feel like a clean break. With encryption confirmed, accounts removed, free space overwritten, and a proper factory reset completed, it is. The buyer gets a working phone, and your deleted files stay deleted — this time for real.

A Worked Example: Preparing a Three-Year-Old Phone for Sale

A seller with a three-year-old phone follows the full procedure: photos and documents are backed up to a computer and verified, accounts are removed one by one, and the device list in the cloud account confirms no lingering sessions. Because the phone predates default encryption, the seller fills the storage twice with large public-domain videos, deleting them each time, before running the factory reset. The phone is then sold without its memory card, which the seller keeps. The buyer receives a clean device, and the seller can be confident that recovery tools will find only filler video, not personal history — a result that deletion alone could never have guaranteed.

Frequently Asked Questions

Does a factory reset alone make deleted files unrecoverable?

On a modern encrypted phone, a factory reset discards the encryption key, which makes remaining data unreadable. On older or unencrypted phones, recovery may still be possible, so overwrite free space before resetting.

Should I remove the memory card before selling my phone?

Yes, unless you have wiped it separately. A factory reset does not touch a memory card, and cards often hold photos and files. Keeping the card is the safest option.

How do I know if my phone's storage is encrypted?

Check your phone's security settings for an encryption entry. Most recent Android phones use file-based encryption by default, but confirm it rather than assuming.

Can I overwrite free space with X-plore?

X-plore helps you check storage and manage files, but the filling itself is done by copying large unimportant files onto the phone until it is nearly full, then deleting them. Repeat for thoroughness.

What if I already sold a phone without wiping it properly?

Immediately revoke the device's sessions in your cloud account security settings, change your account passwords, and enable two-factor authentication. You cannot remotely wipe data already on the device, but you can close off account access.

Leave a Comment