Why not remove photos from the phone Xiaomi: a full analysis of the problem

You're trying to make room on a Xiaomi smartphone, but the photos are persistently not deleted? This is familiar to many owners of Redmi, POCO or Mi devices. Sometimes files are returned after a reboot, in other cases the system gives an error "failed to delete", and sometimes the pictures just disappear from the gallery, but continue to occupy memory. In this article, we will analyze all possible causes, from the banal to the technically complex - and give specific solutions for each of them.

It's not always a software problem. Often it's the sync settings, the access rights, or even the F2FS file system that Xiaomi uses on some models. We won't be suggesting "flash the phone" in the first paragraph, we'll start with simple steps that work 80 percent of the time, and if they don't work, we'll go to deep diagnostics.

Sync with the cloud: why photos โ€œresurrectionโ€ after deletion

The most common reason is automatic sync with Mi Cloud or Google Photos. Many users do not suspect that deleting a file from a gallery does not mean it disappears from the cloud. Moreover, some Xiaomi settings automatically restore โ€œdeletedโ€ images the next time you connect to the Internet.

How it works:

  • ๐Ÿ“ Photos are deleted only from local storage, but remain in the cloud.
  • ๐Ÿ”„ When synchronized (for example, after restarting), the system again uploads files to the device.
  • ๐Ÿ“ฑ In Redmi Note 10 and later there is a function "Memory Optimization", which can temporarily hide files, creating the illusion of deleting them.

To permanently remove the photos, you need to:

  1. Open the gallery โ†’ Albums. โ†’ Mi Cloud (or Google Photos).
  2. Find the right pictures and remove them from there.
  3. Disable autosynchronization in Settings โ†’ Accounts โ†’ Mi Cloud โ†’ Synchronization of the gallery.

๐Ÿ’ก

If you use Google Photos, check the Recycle Bin folder โ€“ the files are stored there for 60 days before final deletion.

2. Hidden system folders: where your photos are actually stored

Xiaomi creates several hidden directories where photos can be duplicated, and even if you deleted the image from the main DCIM/Camera folder, a copy of it could remain in:

  • ๐Ÿ“‚.thumbnails โ€“ miniatures for quick downloading of the gallery.
  • ๐Ÿ“‚ MIUI/Extra โ€” backup copies created by the system.
  • ๐Ÿ“‚ Android/data/com.miui.gallery โ€” gallery-cash.
  • ๐Ÿ“‚ Pictures/Screenshots โ€” If the photo was taken as a screenshot.

To see these folders:

  1. Connect your phone to your PC or use a file manager (such as Mi File Explorer).
  2. Enable the display of hidden files: in Mi File Explorer, click โ‹ฎ โ†’ Settings โ†’ Show hidden files.
  3. Remove unnecessary duplicates manually.
How to remove system miniatures without root rights?
Use the SD Maid app (available on Google Play) to find and clear the thumbnail cache without having to get root access. After cleaning, restart the device.

Important: A.thumbnails folder can take up to 1-2 GB, even if there are only a few photos in the gallery.

File system errors: When the phone "does not see" the command

If the photos are not deleted either through the gallery or through the file manager, the problem may be a file system corruption, most often after:

  • โšก Unexpected power outage during file recording.
  • ๐Ÿ”Œ Wrong extraction SD-cards (if the photo is stored therein).
  • ๐Ÿ“ฑ Updates MIUI faulty.

Signs of file system damage:

  • ๐Ÿšซ Message "File failed to delete" or "File occupied".
  • ๐Ÿ”„ Photos disappear from the gallery, but space on the disk is not vacated.
  • ๐Ÿ“‰ The speed of the phone drops significantly when opening folders with photos.

Decisions:

  1. PC Disk Check: Connect your phone to your computer in File Transfer (MTP) mode. Open This computer, find your device. Right-click โ†’ Properties โ†’ Service โ†’ Check (in Windows).
  2. Formatting SD-maps (if the photo is on it): Settings โ†’ Warehouse โ†’ SD-map โ†’ Format โš ๏ธ Attention: formatting will remove all data from the card. Pre-copy important files on the PC.
๐Ÿ“Š Where do you keep most of your photos?
Inner memory.
Nana SD-map
In the Cloud (Mi Cloud/Google Photo)
On PC/external disk

4. Access rights and restrictions of MIUI

MIUI is known for its aggressive application rights management, and sometimes a gallery or file manager simply doesn't have permission to delete files.

  • ๐Ÿ”’ System updates (some permissions are reset).
  • ๐Ÿ›ก๏ธ Activation of the โ€œPrivacyโ€ or โ€œGuest modeโ€ mode".
  • ๐Ÿ“ฑ Third-party launcher installations (e.g. Nova Launcher).

How to check and correct:

  1. Open Settings โ†’ Applications โ†’ Application Management.
  2. Find the Gallery (or Files) and select Permissions.
  3. Make sure it's on: ๐Ÿ“‚ Warehouse (reading and writing). ๐Ÿ—‘๏ธ Deletion of files.

Reset permits

For POCO F3, Redmi K40 and later:

  • ๐Ÿ”ง Go to Settings. โ†’ Special facilities โ†’ Managing permissions for applications.
  • ๐Ÿ” Find the Gallery and turn on all the switches.

โ˜‘๏ธ Access rights verification

Done: 0 / 5

5. Viruses and malware: when photos are "blocked"

Rarely, but accurately, some viruses block access to files so that the user cannot delete them, especially on phones with:

  • ๐Ÿ“ฑ Established APK unverified.
  • ๐Ÿ”“ Google Play Protect is disabled.
  • ๐Ÿ“ฒ Suspicious applications for "optimization" or "cleaning".

Signs of infection:

  • ๐Ÿšจ Unknown folders with photos appear (for example, DCIM/100ANDRO).
  • ๐Ÿ“ต Files are now โ€œread-onlyโ€ (read-only).
  • ๐Ÿ”„ After removal, the photos are returned with a different name (for example, IMG_2023.jpg โ†’ IMG_2023_copy.jpg).

Action:

  1. Install an antivirus (Malwarebytes or Dr.Web Light)
  2. Scan the device in Safe Mode: Press the power button โ†’ hold off "Stop" โ†’ select "Safe Mode." In this mode, launch the antivirus.
  3. If a virus is found, delete the infected files via your PC (by connecting your phone as a drive).

โš ๏ธ Note: some viruses disguise themselves as system processes (e.g. com.android.system) Do not delete files if you are not sure of their purpose - this can lead to loss of service of the phone.

6. Hardware problems: when the drive itself is to blame

If all software methods have been tried, but the photos are still not deleted, the problem may be hardware.

  • ๐Ÿ“ฑ Phones older than 3-4 years (wear and tear flash memory).
  • ๐Ÿ’พ Devices with SD-low-quality cards.
  • ๐Ÿ”ฅ Phones that have been overheated or dropped.

Symptoms of hardware malfunctions:

Sign.Probable causeDecision
The photos are deleted, but after a while they appear again.Bad memory cells (bad blocks)Replacement of the drive (in the service center)
Phone "hangs" when you try to deleteThe memory controller is out of order.Diagnostics in the service
Photos are displayed as "empty" files (0 KB)Reading/write errorsChecking through ADB or replacing memory
DCIM folder becomes "unavailable"Damage to the file tableFormatting (Data Loss!)

What you can do on your own:

  1. Create a backup of all data on the PC.
  2. Try formatting internal memory through Settings โ†’ Additional โ†’ Resetting โ†’ Cleaning all data.
  3. If the problem is SD-Replace it with a new card (SanDisk Ultra or Samsung) EVO).

๐Ÿ’ก

If the phone is warranty, do not try to disassemble it yourself - the hardware problems should be diagnosed by the service center.

7. Features of firmware and regional restrictions

Some versions of MIUI (especially global and Chinese) have file restrictions, such as:

  • ๐Ÿ‡จ๐Ÿ‡ณ In Chinese firmware (China) ROM) You can also disable the ability to delete files from certain folders (for example, MIUI/Camera).
  • ๐ŸŒ In Global Firmware (Global) ROM) Sometimes system directories are blocked due to Google policy.
  • ๐Ÿ“ฑ On locked bootloader phones, some file operations require additional permissions.

How to check the firmware version:

  1. Open the settings โ†’ About the phone โ†’ version of MIUI.
  2. If you have CN at the end of the name, you have Chinese firmware, Global is global.

Decisions:

  • ๐Ÿ”„ Update your firmware to the latest version through Settings โ†’ Updating the system.
  • ๐Ÿ“ฒ Install an alternative file manager (e.g. Solid Explorer or Solid Explorer) FX File Explorer).
  • ๐Ÿ”“ If the problem is China ROM โ€” Consider the possibility of re-flashing on Global ROM (requires unlocking the loader).

๐Ÿ’ก

Flashing your phone takes it off the warranty and can lead to data loss.

FAQ: Frequent questions about the inability to delete photos on Xiaomi

โ“ Why is the space on the disk not freed after the photo is deleted?
This is due to cache or file system damage. Try: Clear gallery cache in Settings โ†’ Apps โ†’ Gallery โ†’ Storage โ†’ Clear cache. Reboot phone. If it doesn't help, check the disk for errors through the PC (see section 3).
โ“ Can I recover photos I accidentally deleted?
Yes, but only if: ๐Ÿ—‘๏ธ Files still in the Recycle Bin (in Mi Cloud or Google Photos). ๐Ÿ’พ You haven't written new data to a disk (photos are restored before memory cells are overwritten) and use programs like DiskDigger or Recuva (by connecting your phone to your PC).
โ“ Why not remove the photos from the SD-map?
Probable causes: ๐Ÿ”’ The card is protected from writing (check the Lock switch on the adapter). ๐Ÿ“› The exFAT file system or NTFS Not supported (needed) FAT32). ๐Ÿ› ๏ธ The card is damaged (try formatting it on PC).
โ“ How to delete photos if your phone canโ€™t see them, but they take up space?
Solution: Connect your phone to your PC. Enable hidden file display. Delete.thumbnails, MIUI/Extra and other system directories (see section 2). Use ADB to force removal: adb shell rm -rf /sdcard/DCIM/.thumbnails
โ“ Why Redmi Note 9 photos are deleted but returned after reboot?
This is a well-known MIUI 12-14 problem on some models, blamed on the Mi Cloud sync service, which recovers files from the cloud. Solution: Turn off gallery sync in Settings โ†’ Mi Cloud. Delete photos from the cloud (see section 1). Update the firmware to the latest version.