Why you can’t remove photos from the gallery on Xiaomi Redmi: system reasons and 100% working solutions

Are you trying to make room for Xiaomi Redmi, but photos persist in returning to the gallery after deleting? Or files disappear from the folder, but the space occupied does not decrease? This problem is familiar to owners of Redmi Note 10/11/12, Redmi 9/10 and other models on MIUI 12-14. 80% of cases are not the fault of the hardware, but the software features of the firmware - from Media storage bugs to conflicts with Google Photos.

In this article, we'll look at all the possible causes, from the banal cache to the hidden.thumbnails system folders, which take up gigabytes invisibly, and you'll get step-by-step instructions with ADB commands for advanced users, simple solutions for beginners, and why deleted photos can "resurrect" in a month and how to prevent it.

1.Cash galleries and Media Storage: Why 'ghost' photos are coming back

The most common cause is a contaminated cache of the Gallery and MediaProvider apps, which index all media files on the device and can show deleted images when they crash, especially for Redmi with MIUI 13+, where the cache can weigh up to 500 MB.

How to check:

  • πŸ“± Open the Settings. β†’ Annexes β†’ Application management
  • πŸ” Find a Gallery and Media Storage (or Media Storage)
  • πŸ—‘οΈ Look at the cache size – if it’s over 100MB, it needs to be cleared.

Important: After cleaning the cache, the gallery will temporarily freeze for 10-30 seconds, which is normal, there is a re-indexing of files. If the photos come back anyway, move on to the next step.

πŸ“Š What kind of Redmi model do you have?
Redmi Note 10/11/12
Redmi 9/9A/9C
Redmi 8/8A
Redmi 7/7A
Another model

2. Sync with Google Photos: Hidden Copies in the Cloud

Google Photos automatically backs up all images, even if you turn it off in the settings, and the files can be stored in a hidden folder called.backup or DCIM/.thumbnails, which the standard gallery doesn't show, but they take up space.

How to remove cloud duplicates:

  1. Open Google Photos β†’ Photos β†’ Cart β†’ Clean the basket
  2. Go to Settings β†’ Backup and Synchronization and turn it off
  3. Install a file manager (e.g. Mi File Manager) and manually check folders: /storage/emulated/0/DCIM/.thumbnails /storage/emulated/0/Pictures/.backup

⚠️ Note: If you use Mi Cloud, removing a photo from the gallery may not free up space - files stay in the cloud and sync back. β†’ gallery β†’ Synchronization.

3..thumbnails and.trash system folders: where gigabytes of garbage hide

Xiaomi Redmi has hidden system folders that store thumbnails (.thumbnails) and temporarily deleted files (.trash) that can take up to 2-3 GB and not appear in the standard gallery.

How to find and clean them:

  • πŸ“ Use Mi File Manager or Total Commander with the option β€œShow hidden files” enabledΒ»
  • πŸ” Cross the path: /storage/emulated/0/DCIM/.thumbnails /storage/emulated/0/.trash
  • πŸ—‘οΈ Delete all the contents of these folders (they are automatically restored)
folderWhat it keeps.Can I remove it?Size (example)
.thumbnailsMiniatures for fast loading of the galleryYeah, totally.100MB - 1GB
.trashTemporarily deleted files (basket)Yeah, unless you need files.500MB - 3GB
DCIM/.backupBackup photos before MIUI updateYes, if the update is successful200 MB - 1.5 GB

πŸ’‘

If they come back after you delete the folders, that's OK. The system automatically creates them, but they're empty and they won't take up space.

4. MediaProvider bug: resetting media storage settings

Redmi with MIUI 12-14 has a well-known MediaProvider bug that is responsible for indexing media files, and if it doesn't work properly, the gallery may show deleted photos or not update the file list.

How to reset MediaProvider:

  1. Go to Settings β†’ Applications β†’ Application Management
  2. Find a media storage (or media storage)
  3. Click Warehouse β†’ Clear the data and Clear the cache
  4. Reboot the phone.

After the reboot, the gallery will rebuild the media database (it can take 5-10 minutes).

Connect the phone to a PC with USB debugging enabled

Open the command line and enter adb shell pm clear com.android.providers.media

Reset the device

Check the gallery-->

5. Conflict with cleaning applications (Clean Master, Security)

Applications like Clean Master, Security (built into MIUI) or CCleaner often β€œoptimize” the system, but they also damage the database of media files, which leads to the gallery showing non-existent photos or not updating the list.

What to do:

  • 🚫 Remove all β€œcleaners” through Settings β†’ Annexes
  • πŸ”„ Reset your Media Storage settings (see previous section)
  • πŸ› οΈ If the problem persists, reset the gallery settings: adb shell pm clear com.miui.gallery

⚠️ Note: After using adb shell pm clear, all gallery settings (albums, favorites) will reset.

6.A damaged file system: when to format

If none of the methods worked, the problem could be the file system damage (especially after improper extraction). SD-In this case, the photos are not physically deleted, but only marked as deleted.

Signs of damage:

  • πŸ“‰ Phone memory disappears for no apparent reason
  • πŸ”„ Files are returned after rebooting
  • 🚨 Errors like this are happening Β«SD-map damagedΒ»

Decisions:

  1. For internal memory: Back up and reset to factory settings (Settings β†’ About Phone β†’ Settings Reset)
  2. For SD-Maps: Connect it to your PC, check for errors (chkdsk X: /f In the Windows command line and format in FAT32 exFAT
What if the reset didn't help?
If the problem persists after the reset, this may indicate hardware wear (especially relevant for budget Redmi 9A/8A with eMMC memory), in which case only replacing the memory module in the service center will help.

7.Alternative galleries: Why they show other files

The standard MIUI gallery doesn't always display all files. If you use Google Photos, Simple Gallery or QuickPic, they can show images from system folders that the main gallery ignores.

How to check:

  • πŸ” Install Files by Google or FX File Explorer
  • πŸ“‚ Enable the display of hidden files and check folders: /storage/emulated/0/Android/data/... Here you can store cached images from messengers (WhatsApp, Telegram) or games.

If you find any files you don't need, delete them manually, but be careful, some folders (Android/data) contain important application data.

πŸ’‘

Use only one gallery to manage your photos. Conflict between MIUI Gallery and Google Photos is a common cause of "resurrection" images.

FAQ: Frequent questions about unremovable photos on Xiaomi Redmi

❓ Why is the space on the disk not freed after the photo is deleted?
This is due to lazy deletion in the F2FS/ext4 file system that Xiaomi uses. Files are marked as deleted but are only physically erased when space is scarce. To force the cleanup: Copy all important files on your PC File your phone to the end (e.g. by downloading a large file) Delete unnecessary data - the system will have to clear the garbage.
❓ How to delete photos that are not visible in the gallery, but they take up space?
Use ADB to search for large files: adb shell su cd /storage/emulated/0/ du -ah | grep '[0-9]G\|\.[0-9]G' | sort -rh This command will show all files larger than 1GB, including hidden ones.
❓ Why are deleted photos coming back in a month?
The culprit is an automatic recovery from: πŸ”„ Mi Cloud (if synchronization was enabled) πŸ“.trash folders (a basket that is cleaned every 30 days) πŸ–ΌοΈ Backups of Google Photos (check Photos) β†’ Basket β†’ Settings β†’ Autocleaning) Disable autorecovery in cloud services settings.
❓ Can I remove the photo directly via PC?
Yeah, but there's nuance: πŸ–₯️ Connect Redmi in File Transfer Mode (MTP) πŸ—‘οΈ Delete files via Windows Explorer or Mac Finder ⚠️ After deleting, perform Download cache in Media Storage settings (see Section 1) If photos are not deleted and through PC – check the permissions to access folders (chmod via ADB).
❓ How to prevent the reappearance of deleted photos?
Follow this checklist: Turn off autosynchronization in Mi Cloud and Google Photos Clear cache galleries once a week Don't use Clean Master type "cleaners" Periodically check folders.thumbnails and.trash Update MIUI Up to the latest version (new firmware fixes MediaProvider bugs)-->