Are you trying to make room on Xiaomi's smartphone by removing unnecessary photos, but they persist in the gallery? Or do the images disappear and appear again after a while? This problem is familiar to many owners of devices on MIUI β from budget Redmi to flagship Xiaomi 13. 80% of the time it is not the hardware failures, but the features of the firmware and standard applications.
In this article, weβll look at all the possible reasons why photos arenβt deleted from Xiaomiβs phone, from the clichΓ© cache to hidden cloud copies, how to check if files are actually erased, where to look for βinvisibleβ duplicates, and what to do if the gallery persists in recovering deleted images, and a unique way to find and delete βzombie filesβ that take up space but donβt appear in the explorer.
Important: some of the solutions require superuser rights (root), but we have highlighted the methods that work without them, and if you are not ready to experiment with firmware, skip the relevant sections and focus on the safe ways.
1.Cash galleries and thumbnails: why photos are "returning"
The most common reason for undeleted photos on Xiaomi is the Gallery app cache, which stores thumbnails (previews) of the images in a separate folder, and even after deleting the originals, they can be displayed in the interface, and they do not occupy disk space, but create the illusion that the files are left.
How it works:
- π Miniatures are stored in a folder /storage/emulated/0/Android/data/com.miui.gallery/cache or /DCIM/.thumbnails
- π When you open the gallery, the system scans these folders and shows βghostβ images.
- ποΈ Cache cleaning doesnβt delete the originals, but removes the preview from the interface
To get rid of the βreturningβ photos:
- Open Settings β Applications β Application Management
- Find the Gallery (or Google Photos if you use it)
- Click Warehouse β Clear the cache
- Reboot the phone.
π‘
If the photos still show up after cleaning the cache, check the DCIM/.thumbnails folder through any file manager (such as Mi File Manager or Solid Explorer).
2 Hidden folders MIUI: where are the duplicate photos hiding
MIUI creates a few hidden folders that automatically copy photos -- and they're not always visible in the standard gallery.
| folder | Way | What is responsible for? |
|---|---|---|
| .MIUI | /storage/emulated/0/MIUI | Screenshots recorded from the lock screen |
| .thumbnails | /DCIM/.thumbnails | Miniatures for fast loading of the gallery |
| MiCloudBackup | /MIUI/Backup/AllBackup | Backup copies of media files before updating |
| Pictures/Screenshots | /Pictures/Screenshots | Screenshots taken by a combination of buttons |
To see the hidden folders:
- Open the Mi File Manager (or any other manager)
- Click on three dots in the upper right corner β Settings
- Activate the option to show hidden files
- Manually check the folders from the table above
Install root-enabled file manager (e.g. FX File Explorer)|Enable hidden file display |Check.MIUI,.thumbnails, MiCloudBackup|Elete unnecessary duplicates |Elean gallery cart
-->
Attention! Don't delete the entire MIUI folder, which can disrupt system functions. Only delete specific files that you recognize your photos in.
3. Cloud Services: How Mi Cloud and Google Photos Recover Deleted Images
If you're using cloud sync, deleting your phone doesn't mean it's gone completely. Mi Cloud (from Xiaomi) and Google Photos can automatically restore files the next time you connect to the Internet. Here's how it works:
- π₯οΈ Mi Cloud: syncs photos to folder /MIUI/Backup/AllBackup/MiCloud. Even after the originals are deleted, the copies remain in the cloud. 30 days.
- π· Google Photos: By default, it creates copies in either high quality (compressed) or original resolution. Deleted photos are stored in the Recycle Bin for 60 days.
- π Auto-Recovery: When connected to Wi-Fi, services can download βdeletedβ files back to the device.
To finally erase the photos:
- For Mi Cloud: Open Settings β Xiaomi Account β Mi Cloud β Gallery Turn off sync Delete files manually via i.mi.com web version
- For Google Photos: Open the app β Photos β Cart Click Clean the cart Turn off autoboot in Settings β Backup and sync
Mi Cloud|Google Photo|Both options|Don't use the cloud.|Other service-->
Important! If you deleted photos from the cloud, but they still show up on your phone, check the autoload settings in your mobile data. Sometimes Google Photos downloads copies over 3G/4G, even if the Wi-Fi is off.
4 Gallery Recycle Bin: Why Files "Disappear" Temporarily
The standard MIUI Gallery has a built-in shopping cart where photos are taken after being deleted - and stay there for 30 days (by default), and many users forget about this and think that the files are erased forever, even though they are simply hidden.
How to clean the cart completely:
- Open the Gallery app
- Click on three dots in the upper right corner β
- Choose Clear Everything or Delete Files selectively
- Confirm the action.
How to change the storage period of files in the basket
If the cart is empty, but the photos are still displayed, check:
- π folder DCIM/.recent β Temporary copies may be kept here
- π Outside. SD-Card (if any) β sometimes the gallery shows files from it, even if they are deleted from internal memory
- π€ folder /Android/data/com.miui.gallery/files β There may be backup copies of miniatures.
5. Access rights and file system failures
Sometimes photos are not deleted due to file system failures or insufficient permissions in the Gallery app, which is more common after:
- π Updates MIUI (Especially a dirty update without resetting)
- π± Connecting the phone to the computer in mode MTP (Media Transfer Protocol)
- π οΈ Wrong shutdown SD-map
- π¦ Viral attacks (rarely but possible)
How to diagnose and correct:
- Access rights check: Go to Settings β Applications β Application management β Gallery β Permissions Make sure that the Warehouse, Camera and Microphone rights are enabled (the latter is required for video)
File system check:
adb shell df -hIf there are errors in the output of the command (for example, read-only filesystem), do:
adb shell fsck /dev/block/mmcblk0pX(where X is the partition number, usually p25 for /data)
Removal of rights:
If the photos are on the SD-map, remove it, paste it back and format it via phone (settings) β storage β SD-map β format).
π‘
If ADB commands donβt help and photos are still not deleted, the problem may be a hardware memory failure, in which case only flashing the phone or replacing the memory module (for models with a removable drive) will help.
β οΈ Attention, formatting SD-The card will delete all the data from it. Pre-copy important files to the computer or the cloud.
6 Viruses and malware: when photos are βprotectedβ from deletion
In rare cases, photos are not deleted due to viruses or spyware that block access to files.
- π² You have installed applications from unverified sources (outside of Google Play)
- π Received suspicious references to SMS messenger
- π‘οΈ Antivirus alerts about suspicious activity
Signs of infection:
- π« Files are not deleted through the gallery or through the conductor.
- π After the reboot, the βerasedβ photos return
- π₯ Unknown folders with photos appear (for example, DCIM/100ANDRO)
How to check and clean your phone:
- Install antivirus (such as Malwarebytes or Dr.Web Light)
- Scan the device for threats
- Check the list of installed applications in Settings β Applications. Delete suspicious (especially with device administrator rights)
- If the virus blocks removal, go to Safe Mode (press the power button β Safe Mode) and try again.
β οΈ Attention! Some viruses are disguised as system applications (e.g. com.android.system). Check the name in Google before deleting - real system applications cannot be removed!
7 Hardware problems: when the drive is to blame
If none of the software methods worked, the problem could be physical memory damage.
- π± Removable phones SD-map (Redmi Note, Poco series)
- π§ Devices after falls or moisture
- β‘ Frequently recharged devices (memory chip degradation)
Signs of hardware failure:
- π’ Slow work of a gallery or guide
- π¨ Reports of read/write errors (E/ACCESS logged)
- π The photos disappear, but after a while they return in damaged form (artifacts, stripes)
- π Free disk space does not increase after deleting files
What to do:
- For SD-Cards: Remove the card and check it on the computer using H2testw If you find a bad sector, replace the card - it is not subject to restoration
- For internal memory: Back up data Perform a factory reset (Settings β About phone β Reset) If the problem remains β contact the service center (replacement of the memory module is possible)
β οΈ Attention, on Xiaomi models with UFS 2.1/2.2/3.0 (for example, Xiaomi 11/12/13, Redmi K40/K50) It might not help if you reset your settings -- you need a chip-level diagnosis!