You deleted photos from the gallery, emptied the trash - and suddenly realized that they had erased something important. Or vice versa: you want to be sure that personal photos are gone forever. Where do photos actually go after being deleted from the trash on Android? The answer is not as simple as it seems. Depending on the version of the operating system, the smartphone manufacturer (Samsung, Xiaomi, Google Pixel) and even the applications used (Google Photos, standard Gallery), the removal mechanisms work differently.
In this article we will look at:
- ๐ Where the โdeletedโ files are physically stored on the internal memory and SD card
- โณ Terms of final erasure data after emptying the recycle bin
- ๐ ๏ธ Recovery methods photo (including hidden system folders)
- ๐ How to erase guaranteed files that cannot be recovered
Spoiler: even after emptying the recycle bin photo may remain in the deviceโs memory from several days to months - but their recovery depends on your further actions with the phone.
How the recycle bin works on Android: what happens the first time you delete it
When you delete a photo from the gallery, it does not disappear immediately. Instead, the file is moved to system basket โtemporary storage, similar to the Recycle Bin on a computer. Here are the key points of this process:
- ๐ Standard storage period in the basket -
30 days(y Samsung i Google Photos), but for some manufacturers (for example, Xiaomi) this period can be reduced to15 days. - ๐ฑ Storage Location: the files remain on the internal memory in a hidden folder (the path depends on the firmware). For example, Google Photos this
/storage/emulated/0/Android/data/com.google.android.apps.photos/trash. - ๐ Emptying the Trash does not physically erase files - it simply marks them as available for overwriting.
It is important to understand: the recycle bin is software leveland not physical storage. Even after cleaning it, the files remain on the drive until new data takes their place. That is why it is possible to restore โdeletedโ photos using special utilities.
Where deleted photos are stored after emptying the trash
After emptying the trash, photos do not disappear instantly. They remain on the device in one of three states:
- In hidden system folders (if secure deletion was not used).
- In the application cache (thumbnails can be saved in
/data/data/com.android.gallery3d/cache). - At the physical level โfiles are marked as deleted, but their data remains on flash memory until overwritten.
Here are the key paths where traces of photos can remain (available only through Root or ADB):
| Storage type | Folder path | Storage period |
|---|---|---|
| Google Photos Recycle Bin | /storage/emulated/0/Android/data/com.google.android.apps.photos/trash |
60 days (if not cleared manually) |
| Samsung Gallery Cache | /data/data/com.sec.android.gallery3d/cache |
Before clearing the cache or reinstalling the application |
| Miniatures (thumbnails) | /storage/emulated/0/DCIM/.thumbnails |
Before manually clearing or resetting the settings |
| Temporary editing files | /storage/emulated/0/Pictures/.edit_temp |
1-7 days |
To see these folders without root access, you can use ADB (Android Debug Bridge) with the command:
adb shell ls /storage/emulated/0/Android/data/com.google.android.apps.photos/trash
If you use Google Photoscheck the web version at photos.google.com in the "Trash" section - sometimes the files remain there even after emptying phone.
Is it possible to recover a photo after emptying the trash
Yes, recovery is possible, but success depends on three factors:
- โฑ๏ธ Time: the sooner you start recovery, the higher the chances (optimally - in the first 24 hours).
- ๐ฑ Device activity: new photos, videos or application installations overwrite "deleted" data.
- ๐ก๏ธ Deletion type: if used secure erase (for example, via Secure Erase v Samsung Knox), recovery is impossible.
The most effective recovery methods:
- PC apps:
- ๐ฅ๏ธ DiskDigger (works without root, but with limitations)
- ๐ฅ๏ธ Recuva (requires connecting the phone in storage mode)
- ๐ฅ๏ธ EaseUS MobiSaver (paid version restores thumbnails)
- ๐ฑ Dumpster (works as an extended basket)
- ๐ฑ Undeleter (requires root for deep scanning)
- Manual search via
File Manager+(with showing hidden files enabled).
Why shouldn't you restore photos to the same phone?
When restoring files are saved back to the internal memory, which can overwrite other "deleted" data. Always restore to a PC or external drive.
โ ๏ธ Attention: If the phone uses File system encryption (enabled by default on Android 10+), restoring without root access is almost impossible. Check the encryption status in Settings โ Security โ Encryption.
How to permanently delete photos without recovery
If you need to be sure to erase personal photos, standard deletion through the trash is not enough. Here are reliable methods:
Use the "Empty Trash" function in Google Photos|Enable device encryption (Settings โ Security)|Delete via Safe Erase in Samsung Knox|Overwrite memory with large files after deletion|Do a factory reset (last option)
-->
For devices with root access you can use the command shred via Termux:
shred -vzu -n 3 /path/to/file.jpg
Where -n 3 means overwriting the file three times with random data.
On smartphones Samsung c Knox option is available Secure Folder:
- Move photos to
Secure Folder. - Delete them from there with a choice options
"Delete permanently". - The files will be erased using military-grade algorithms.
โ ๏ธ Attention: Even after a โsafeโ deletion, traces of metadata (dates, geotags) may remain in the EXIFdata of other files. For complete cleaning, use specialized tools like EXIF Eraser.
What to do if a photo disappears from the recycle bin by itself
Sometimes users are faced with a situation where photos disappear from the recycle bin ahead of schedule. The reasons may be the following:
- ๐ Auto-cleaning: on some devices (for example, Xiaomi s MIUI) the recycle bin is emptied automatically when there is insufficient memory.
- โ๏ธ Synchronization with the cloud: if When Google Photos enabled
"Free up space", originals can be deleted from the device. - ๐ ๏ธ System optimization: Android 12+ can delete "unused" files from the cache.
- ๐ Application crashes: errors in the gallery or Google Photos.
- Disable auto-cleaning in the gallery settings.
- Check the section
"Free up space"in Google Photos. - Regularly create backup copies to an external drive.
- ๐ One-time overwriting (for example, recording a new video) leaves up to 30% of the original data.
- ๐ Three-time overwriting (DoD 5220.22-M standard) reduces chances of recovery are up to 1-2%.
- ๐ SSD/flash memory (used in smartphones) due to the characteristics of the controller, can leave data even after repeated overwriting.
- Use full device encryption (AES-256).
- Delete files via Secure Erase (available on Samsung Knox or via ADB).
- Run multiple rewrite memory (minimum 7 cycles) using utilities like BLANCO.
- Physically destroy memory chips (as a last resort).
- ๐ Soft Reset (via the settings menu): photos remain in memory, but access to them is lost. They can be restored via DiskDigger.
- ๐ Hard Reset (via
Recovery Mode): files are marked as deleted, but physically remain until overwritten. - ๐ Reset with encryption (Android 9+): data is erased without the possibility of recovery (if enabled encryption).
- The files were not overwritten.
- The device was not encrypted.
- No more than 3-6 months have passed since the deletion.
To prevent loss data:
If a photo has disappeared from the recycle bin without your participation, first check the folder DCIM/.thumbnails - sometimes the originals are deleted, but the thumbnails remain.
Myths and truths about photo recovery on Android
There are many myths around deleting and restoring photos on Android. Let's look at the most common ones:
| Myth | Reality |
|---|---|
| "After emptying the recycle bin, photos are deleted forever" | โ No: files remain on the physical media until overwritten. |
| "Can only be restored with root access" | โ ๏ธ Partial: only thumbnails and unencrypted files are restored without root. |
| "Formatting SD cards erase everything irrevocably." | โ No: quick formatting only clears the file table. |
| "Cloud copies in Google Photos are stored forever" | โ ๏ธ No: in a free account, high-quality photos are stored without restrictions, but the originals take up space in cloud. |
One of the most persistent myths is that "memory overwriting is guaranteed to erase data". In fact:
FAQ: Frequent questions about deleting photos on Android
Is it possible to recover photos deleted a year ago?
Theoretically, yes, but the chances are extremely low. Over the course of a year, memory space is overwritten thousands of times. If the phone has not been actively used, you can try professional tools like R-Studio with the deep scanning option. In practice, recovery is only possible for files deleted no more than 1-2 months ago with minimal use of the device.
Why do photos open with artifacts after recovery?
This happens because of partial rewriting files. When new data is written over old data, only fragments of the original file are restored. Artifacts appear especially often in the JPEGformat, since it uses lossy compression. To minimize problems, restore files in the format PNG or RAW (if they were in this format initially).
How to delete photos so that they cannot be restored even by the special services?
For this you need:
Even in this case, metadata may remain in journal file system. For complete cleaning, low-level formatting is required with access to the NAND-chip.
Are photos restored after resetting the phone to factory settings?
Depends on the type of reset:
After the reset, first thing do not write down new data to the phone - this will increase the chances of recovery.
Can law enforcement recover deleted photos organs?
Yes, but this requires specialized equipment and access to the physical memory chip, even after rewriting, data can be recovered using chip-off analysis (removing the chip and reading through the programmer). Under normal conditions (without removing the phone), recovery is only possible if:
For guaranteed erasure, use Government-grade tools like Blancco Mobile.