You open a gallery on Xiaomi to show your friends fresh photos, but -- they're not there. Not in the main folder, not in the archive, not in the cloud. This is a familiar situation for many smartphone owners of this brand -- photos and videos suddenly disappear, even though you remember exactly what you took pictures. In 80% of cases, the files are not permanently deleted: they are either hidden by system settings, or moved to non-obvious folders, or fell victim to MIUI optimization.
In this article, we will not just list the possible causes, but will analyze the specific mechanisms by which photos are βlostβ on Redmi, POCO or Mi. You will learn how Mi Cloud works with autosynchronization, why the Gallery sometimes does not show fresh files, and what to do if the pictures are lost after the system update, and also how to prevent similar incidents in the future by setting the phone correctly.
Spoiler: 9 out of 10 photos are recovered in 5 to 10 minutes without any special software, starting with the obvious, but often overlooked.
1. Photos not deleted: where to look for them first
Before panicking, check the standard places where MIUI can automatically move or hide files.Most users miss these folders because they don't show up in the main gallery.
- π folder DCIM/.thumbnails β It's a collection of miniatures of photos that are sometimes mistaken for originals (10β50 CB), but may be misleading.
- π Hidden folders (start with a dot):.nomedia,.miui,.data. You can't see them without a file manager with the option "Show hidden files" enabledΒ».
- π Mi Cloud β even if you didnβt turn on sync, some models (Redmi Note 10 Pro, POCO X3) activate it by default at the first start.
- ποΈ Recycle Bin in Gallery: files are stored there for 30 days (setting changes to Gallery Settings) β Basket).
How to check hidden folders:
- Open a file manager (e.g. Files by Google or standard MI File Manager).
- Slip on three dots in the upper right corner β Settings β turn on Show hidden files.
- Go to the Inner Memory β DCIM or SD-card (if you use it).
Important: If youβve connected your phone to your computer, check the This PC β [Your Xiaomi name] β Internal storage β DCIM folder. Sometimes Windows creates copies of files when you import, and the originals stay on the phone in a different directory.
Automatic MIUI optimization: why the system βeatsβ photos
MIUI is known for aggressive memory optimization, especially on budget models (Redmi 9A, POCO M3).
- ποΈ Archive rarely viewed photos in compressed form (folder) DCIM/.optimized).
- βοΈ Upload to the cloud and delete local copies (if you have the option to Free up space in the Mi Cloud enabled).
- π Move on SD-card without notice (if the card is connected as internal memory).
How to turn off automatic optimization:
- Go to Settings β Memory β Memory Cleanup.
- Turn off Auto Cleanup and Photo Optimization.
- In Settings β Accounts β Mi Cloud, check if the option is enabled Automatic upload photos.
What to do if your photos are already optimized?
A critical feature of MIUI 12-14 is that it can delete photos older than 6 months if the phone has less than 10% of the available space β even without warning. This applies to models with 32-64 GB of memory (Redmi 8A, Mi A3).
3. failures after the update: why photos disappeared after the MIUI update
MIUI updates (especially global ones, 12-to-13, or Android 10-to-11) often result in file loss.
- π§ Resetting permissions to folders (the gallery stops seeingΒ» DCIM).
- π± Changes in storage structure (e.g. transferring data from internal memory to virtual partition).
- π Bugs in the new version (known problem in the MIUI 13.0.4 for Redmi Note 9, where the gallery did not update the media library).
How to restore access:
- Restart your phone β sometimes the media scanner doesnβt have time to index files after the update.
- Open Settings β Applications β Application Management β Gallery and click Clear Cache.
- If the photos are taken by camera but not displayed, check the access rights: adb shell pm grant com.miui.gallery android.permission.READ_EXTERNAL_STORAGE adb shell pm grant com.miui.gallery android.permission.WRITE_EXTERNAL_STORAGE (connection is required ADB).
π‘
After a major MIUI update, always check the DCIM/Backup folder β sometimes the system backs it up before the update.
If the photos are missing after upgrading to MIUI 14 on Xiaomi 12/13, try rolling back to the previous version via Settings β About Phone β MIUI Version β Badge with three points β Select an update package (you need a firmware file).
Conflicts with SD-Why the photo βdisappearsβ when transferred
If you use SD-Card as internal memory (option to format as internal storage), MIUI maybe:
- π Move the photo to the card without notification (folder) /storage/XXXX-XXXX/DCIM, where XXXX-XXXX β ID map).
- β οΈ Β«Lose files when retrieving the card (the system does not update the media library).
- π« Block access to the photo if the card is damaged (error) SD-The card is damaged).
How to check:
- Extract. SD-card and paste it into another phone or computer (through card reader).
- If there are photos but are not displayed on Xiaomi, clear the cache of the gallery and media storage: adb shell pm clear com.android.providers.media
- If the card is damaged, try to recover data via PhotoRec or DiskDigger (instruction below).
β οΈ Warning: Never format SD-If you have a card on your phone, connect it to your PC and use chkdsk (Windows) or fsck (Linux) to restore the file system.
| Symptoms. | Probable cause | Decision |
|---|---|---|
| Photos are on the map but not displayed in the gallery | Resetting the media index | Clear the cache com.android.providers.media |
| DCIM folder is empty, but the map is full | Hidden or system files | View through PCs with hidden files enabled |
| Mistake Β«SD-map damagedΒ» | Problems with the file system | Restore via TestDisk or PhotoRec |
5. Recovery of deleted photos: programs and manual methods
If the photos were deleted (manually or by system), they can be returned within 30-90 days, until the data is overwritten.
- ποΈ Basket MIUI: open up the gallery β Albums. β Basket β Choose a photo β Restore.
- βοΈ Mi Cloud: Go to the app β Recycle bin (files are stored for 60 days).
- π» PC: DiskDigger (Android) - scans internal memory without root. Recuva (Windows) - recovers from the SD-Maps. PhotoRec (Linux/macOS) β Works with damaged sections.
Step-by-step instructions for DiskDigger:
Install the app from Google Play|Select Full Scan (requires root for internal memory)|Mark file types: JPG, PNG, HEIC|Save restored photos on PC or other SD-map|Donβt save files back to your phone β it will overwrite data!
-->
If the phone is not rooted, connect it to your PC in File Transfer (MTP) mode and use Recuva:
- Select Image Recovery.
- Specify your Xiaomi drive (usually a portable device).
- Start a deep scan (may take several hours).
β οΈ Warning: The more you use your phone after you delete your photos, the less likely you are to recover them. Every new photo, video, or app you install overwrites the deleted data.
6 How to Prevent Photo Loss in the Future: 5 Ways to Work
To avoid losing photos, set up Xiaomi according to these rules:
- π Turn off auto-optimization: Settings β Memory. β Cleaning up memory β Autocleaning (off) Settings β Accounts. β Mi Oblako β Autoupload photo (disable)
- βοΈ Configure backup: In Google Photos: turn on Backup and Sync. In Mi Cloud: limit automatic download only over Wi-Fi (Settings) β Mi Oblako β Synchronization settings).
- π Use a separate folder for important photos: Create an Important folder in DCIM. Add an empty.nomedia file to it so that the gallery does not scan it (so the files will not get optimized).
For Android 11+ models (Xiaomi 11/12/13, Redmi Note 11), set up separate storage:
- Go to Settings β Storage β Additional β Default Storage.
- Choose internal memory for your photo (even if you use it) SD-map).
- Turn off Data Transfer to SD-map.
π‘
The most reliable way is to duplicate photos in two places: on the phone. + Cloud (Google Photos or Mi Cloud) or on your phone + SD-card (if not used as internal memory).