Loading...

Why Deleted Photos Don't Always Come Back: TRIM, Crypto, and Root

Advertising - SpotAds

You installed the app, ran the scan, and some tiny, blurry images appeared, or nothing at all. It wasn't bad luck or a bad app: that's how storage on a modern cell phone works. This text explains why — and what else you can try.

As it was before

On hard drives and unencrypted memory cards, deleting a file did not erase its contents. The system only marked that space as free, and the bytes remained there until something overwrote them. This is why recovery tools worked so well: you just had to scan the area marked as free and reassemble the files using the signatures of each format.

What has changed in cell phones?

1. Encryption by default

Current devices encrypt storage. Data only makes sense when decrypted by the system with the correct keys. An application attempting to read raw blocks would find noise, not photos. It's excellent for your privacy and terrible for data recovery.

2. TRIM and garbage collection of flash memory

Flash memory does not overwrite blocks directly: it needs to erase them before reuse. To avoid freezing during writing, the system sends the command. TRIM, This notifies the controller which blocks are no longer being used. The controller then clears them in the background, automatically, without anyone requesting it.

In other words, instead of waiting to be overwritten, the data is actively reset immediately after deletion. Once this happens, there is no possible recovery—neither by application nor by specialized service.

Advertising - SpotAds

3. Storage scope

Starting with Android 10, applications no longer have free access to the file system. Each application sees its own area and what the system exposes through controlled interfaces. Without root, A recovery application simply cannot scan the entire memory.

What does this mean in practice?

  • Rootless scan: usually finds only miniatures in cache — small versions generated by the gallery — and files that are still in accessible folders. It is not the original photo.
  • Root scanRooting achieves more, but it voids the warranty, can disable banking apps, and on most devices requires unlocking the bootloader, a process that... erase all data — including what you wanted to recover.
  • Memory cardIf the photos were on an unencrypted SD card, the chances are much higher. Remove the card immediately, insert it into a card reader on your computer, and use a desktop recovery tool.
  • iPhoneThere is no access to raw storage. Recovery relies exclusively on "Recently Deleted" items, iCloud, and backups.

The time window

If you deleted it minutes ago, there might still be something to save. In that situation:

  1. Turn on airplane mode and stop using the device. Background apps are constantly recording data.
  2. Do not install anything — including the recovery app, which takes up space and may overwrite exactly what you're looking for.
  3. Check the gallery's trash folder before anything else: in Google Photos, backed-up items are stored for 60 days, and local items for 30 days.
  4. Search through conversations and cloud backups.
  5. Only then, if nothing else has worked, consider the app.

Where the odds remain good.

  • Trash can still within its expiration date.Full recovery, in the original resolution.
  • Active cloud backupThe photo is still there, even though it's been deleted from the device.
  • File sent in conversation: continues in the history on the other side.
  • SD card without encryptionA classic recovery scenario, with good chances.
  • Computer with old importIt's worth searching through the image folders.

Where there is nothing to do

  • Old deletion in internal memory encrypted with TRIM already executed.
  • Device formatted or factory reset without backup.
  • Photo deleted from the trash after the retention period.
  • A file that never existed on the device — you can't recover what wasn't saved.

In these cases, no app will solve the problem, and anyone promising otherwise is lying. Digital forensics services exist and work at the hardware level, but they are expensive, require sending the device, and also run into encryption issues.

Memory card: where classic recovery still works

This is an important exception, and it's worth being specific because it completely changes the chance of success. A card used as portable storage It is not normally encrypted by the device and does not receive TRIM in the same way. In other words, the conditions that prevent recovery from internal memory do not apply there.

If the photos were on the card, the correct procedure is different:

  1. Remove the SIM card from your phone immediately. And don't use it anymore. Each new photo could overwrite what you want back.
  2. Read on a computer, With an adapter — not via mobile phone. Computer recovery tools are far superior to any mobile app.
  3. First, take a picture of the card., If possible: make a bit-by-bit copy. This way you can work on the copy and the original remains intact for a second attempt.
  4. Recover to another disk, never back to the card.
  5. Do not format, even if the system insists on asking.

Beware of a trap: if the card has been configured as internal storage adopted, he é encrypted and paired with that device — in that case it cannot be read by a computer, and the chance reverts to being the same as with internal memory.

Advertising - SpotAds

Where the photo might be without you remembering.

Before concluding that you're lost, it's worth searching in six places other than the gallery:

  • Messenger conversations. If you sent the photo to someone, it's in their history — and the recipient can resend it in its original quality if they saved it as a document.
  • Email draft or a message that was never sent.
  • Editing application. Many keep the last session or a separate copy of the work from the gallery.
  • Second cloud service. It's common to have two configured without remembering, one of them with an older synchronization method.
  • Full device backup Made before a phone upgrade, saved on a computer.
  • Shared album with family members, who usually have their own independent copy.

In practice, this list recovers more photos than any scanning application — because in these places the file still exists in reality, and not just as residual data.

What to do to never depend on it.

  1. Turn on automatic backup today. It's a one-touch process, and it's the only thing that truly protects it. Configure it to send via Wi-Fi if your data plan is small.
  2. Check the backup once. Open the account on your computer and see if the item count makes sense. A backup you've never verified isn't a backup.
  3. Two copies for what is unrecoverable. Weddings, births, graduations deserve a second copy elsewhere — a single cloud is a single point of failure, even if the account is suspended.
  4. Be careful with the trash can. It's your safety net, but it has an expiration date. Emptying it out of habit, to "free up space," actually eliminates that protection.
  5. Before formatting or changing devices, Please confirm item by item what has been uploaded. This is the time when most people lose their entire collection.

Why does the block move on its own?

Inside the memory chip there is a layer that is almost never included in the explanation: a controller that translates the address requested by the system into the physical address where the data is actually located. It rotates the cells because each one can only handle a limited number of writes.

The consequence is straightforward for anyone trying to salvage something: You don't control where the device writes.. The trick of filling the memory with large files to "overwrite" what has been deleted doesn't work as promised — and the reverse also fails, because leaving space doesn't prevent the controller from clearing the very block where your photo was located. There's also a part of the chip reserved by the factory, which the system doesn't even see: no application can reach this area, with or without root access.

Delete the key instead of deleting the data.

Notice a detail that often goes unnoticed: resetting a cell phone to factory settings takes seconds, while truly erasing dozens of gigabytes would take much longer. The device doesn't erase the content—it destroys the key that decrypts that content. Without the key, what remains on the chip is a meaningless sequence.

This explains two things. No tool recovers photos "after formatting" on an encrypted device, no matter what the advertisement says. And the folklore of deleting files with multiple overwrite passes, inherited from the hard drive era, is irrelevant here. The key is locked into the hardware and its screen password: removing the component and reading it on another device returns noise, not images.

Advertising - SpotAds

What do you actually get when the app "finds" the photo?

Before celebrating, check what you've received. An image retrieved from the cache arrives small, recompressed, and without the data that the camera records along with the file — date, time, location, device model:

  • Open in full screen and zoom in. If the image breaks into blocks at the slightest zoom, it's a thumbnail.
  • Check the dimensions in the properties and compare them to a recent photo from the same camera.
  • Look for the date. Without the source data, the file appears with today's date, and the collection loses its chronological order.

When the problem isn't the exclusion: the device that won't turn on.

There's a scenario that always presents the same question: the photos weren't deleted, the device just stopped working. Here the rules change, and for the better—the files remain intact, what's missing is access. With a broken screen and a working system, an adapter that connects a mouse or keyboard usually restores enough control to unlock and send everything to the cloud. If it got wet, don't try to turn it on or charge it: current with moisture inside is what kills the board. If it restarts in a loop, the repair service often replaces the part with the storage intact. The limit is the same as always: without the screen password, the encryption is unavoidable.

Myths that only get in the way.

  • “"Clearing the cache via recovery mode will restore the photos."” It doesn't bring anything. At best, it changes nothing; at worst, it removes the thumbnail cache, which was the last clue.
  • “"There are apps that root your roots automatically, without a computer."” What exists are apps that promise this and deliver only advertising, or worse.
  • “"It's possible to recover it using the phone number."” Recovering via your account means accessing your own backup, and you do this through your browser. Services that ask for your phone number to "search for files" are actually looking for that number.
  • “"The professional version bypasses the encryption."” There is no paid version that undoes the math. Paying expands formats and removes ads; it doesn't change what's stored on the chip.

Remaining technical questions

If I stop using my cell phone, will the automatic cleaning also stop?

It slows down, but doesn't stop. The controller continues organizing blocks with the device idle, especially while it's charging. That's why the advice is to turn off the phone immediately after the loss, and not just "use it less".

Would leaving it charging while I try to recover cause problems?

Yes, it can. With battery power and network connectivity, the system takes advantage of this to synchronize, update applications, and run maintenance—and all of this writes to storage. If you try it, do it in airplane mode and with automatic updates turned off.

Does removing the memory chip and reading it in another device work?

No, not in internal storage: it's soldered and encrypted with a key attached to that hardware. The idea only works for cards used as portable storage—and not even then, if the card has been adopted as internal memory.

I emptied the cloud service's trash. Is there any way to undo it?

Through the service itself, usually not after the retention period. The remaining chance is another copy: an old device with synchronization turned off, a computer where you imported once, a conversation where the photo was sent.

Frequently Asked Questions

Why did the app only find thumbnails?

Because, without root access, it only sees what the system displays — and the gallery stores reduced versions of the images in cache to assemble the viewing grid. These thumbnails survive the deletion of the original file, but have a much lower resolution. They serve to remember the moment, not to print or edit.

Is it worth paying for the full version of the app?

The paid version usually removes ads and allows more file types, but it doesn't bypass encryption or TRIM. If the free scan found nothing but thumbnails, paying is unlikely to change the result.

And what about professional rehabilitation services?

They exist and operate at the hardware level, but they are expensive, require sending the device in, and also run into the problem of storage encryption. They make more sense in high-value cases, such as forensic analysis, than in cases of personal photos accidentally deleted.

Conclusion

Recovering photos has become more difficult precisely because cell phones have become more secure. Encryption, TRIM, and storage scope protect your data from whoever steals the device—and, for the same reason, protect you from trying to recover what you deleted.

Therefore, the real defense is prevention: automatic backup enabled, trash checked before emptying, and a second copy made outside of the phone. Once TRIM is applied, no app can bring the photo back.

Read too

Advertising - SpotAds

Rodrigo Oliveira

Rodrigo Oliveira

Author of the Crismob website.