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:
- Open the gallery โ Albums. โ Mi Cloud (or Google Photos).
- Find the right pictures and remove them from there.
- 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:
- Connect your phone to your PC or use a file manager (such as Mi File Explorer).
- Enable the display of hidden files: in Mi File Explorer, click โฎ โ Settings โ Show hidden files.
- Remove unnecessary duplicates manually.
How to remove system miniatures without root rights?
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:
- 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).
- 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.
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:
- Open Settings โ Applications โ Application Management.
- Find the Gallery (or Files) and select Permissions.
- 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
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:
- Install an antivirus (Malwarebytes or Dr.Web Light)
- Scan the device in Safe Mode: Press the power button โ hold off "Stop" โ select "Safe Mode." In this mode, launch the antivirus.
- 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 cause | Decision |
|---|---|---|
| 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 delete | The memory controller is out of order. | Diagnostics in the service |
| Photos are displayed as "empty" files (0 KB) | Reading/write errors | Checking through ADB or replacing memory |
| DCIM folder becomes "unavailable" | Damage to the file table | Formatting (Data Loss!) |
What you can do on your own:
- Create a backup of all data on the PC.
- Try formatting internal memory through Settings โ Additional โ Resetting โ Cleaning all data.
- 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:
- Open the settings โ About the phone โ version of MIUI.
- 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.