Where do photos from the phone Xiaomi: a full analysis of the causes and solutions

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:

  1. Open a file manager (e.g. Files by Google or standard MI File Manager).
  2. Slip on three dots in the upper right corner β†’ Settings β†’ turn on Show hidden files.
  3. Go to the Inner Memory β†’ DCIM or SD-card (if you use it).
πŸ“Š Where do you usually look for missing photos?
In the gallery basket
In the cloud storage.
In hidden folders.
Rebooting my phone.
I don't know where to look.

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:

  1. Go to Settings β†’ Memory β†’ Memory Cleanup.
  2. Turn off Auto Cleanup and Photo Optimization.
  3. In Settings β†’ Accounts β†’ Mi Cloud, check if the option is enabled Automatic upload photos.
What to do if your photos are already optimized?
If files are in the.optimized folder, they can be returned in their original quality through Gallery Settings β†’ Restore Optimized. If they were uploaded to the cloud and deleted locally, try downloading them back manually through the Mi Cloud app.

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:

  1. Restart your phone – sometimes the media scanner doesn’t have time to index files after the update.
  2. Open Settings β†’ Applications β†’ Application Management β†’ Gallery and click Clear Cache.
  3. 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:

  1. Extract. SD-card and paste it into another phone or computer (through card reader).
  2. 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
  3. 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 causeDecision
Photos are on the map but not displayed in the galleryResetting the media indexClear the cache com.android.providers.media
DCIM folder is empty, but the map is fullHidden or system filesView through PCs with hidden files enabled
Mistake Β«SD-map damagedΒ»Problems with the file systemRestore 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:

  1. Select Image Recovery.
  2. Specify your Xiaomi drive (usually a portable device).
  3. 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:

  1. Go to Settings β†’ Storage β†’ Additional β†’ Default Storage.
  2. Choose internal memory for your photo (even if you use it) SD-map).
  3. 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).

7. Frequent questions about missing photos on Xiaomi

❓ Why did the photos disappear after the factory reset, even though I was backing up in Mi Cloud?
The reset deletes local data, but it doesn't affect the cloud. Check: Log in to Mi Cloud after reset. Go to Settings β†’ Accounts β†’ Mi Cloud β†’ Recover. If the photos don't recover, go to i.mi.com and check the Device folder β†’ [Model of your Xiaomi]. If you haven't created a backup, you can't recover the photo after reset.
❓ Can I return the photos if they disappeared after running through Fastboot?
When you run through Fastboot (especially the fastboot erase userdata command), all data is permanently deleted. Only odds: If you synced with Google Photos or Mi Cloud before the firmware was enabled. If you backed up via adb backup or TWRP. In the future before the firmware: Copy the DCIM folder on your PC. Create a backup via Settings β†’ System β†’ Backup.
❓ Where do the photos from the lock screen on Xiaomi go?
Photos for the lock screen are stored in: /data/system/users/0/wallpaper or /storage/emulated/0/Pictures/Wallpapers To find them: Use Root Explorer (root rights required) or connect your phone to your PC and type in the address bar of the explorer: \\[IP-Your phone address \Internal storage\Pictures\Wallpapers (IP You can find out in Settings β†’ The phone. β†’ Status β†’ IP-address).
❓ Why not all photos of the gallery are displayed SD-map?
Causes and Solutions: The Problem Solution SD-The card is formatted as portable Move the photo to DCIM on a map or format it as internal memory (data will be deleted!) Files have a non-standard extension (for example,.heic) HEIF Image Extensions from Google Play Gallery doesn't update media library Clear gallery cache or reboot phone
❓ How to recover a photo if the phone is not turned on (brick)?
If Xiaomi is not booting (hanging on the logo, bootloop), but the internal memory is not damaged: Connect the phone to your PC in Fastboot mode (clip Power). + Loudness down. Use it. ADB For file extraction: fastboot boot twrp.img adb pull /sdcard/DCIM/ C:\Xiaomi_Backup\ (You need an unlocked boot loader and TWRP). If TWRP No, try it. SP Flash Tool (MediaTek models only) for phones with damaged memory (E:Unable to mount error) /data) Recovery is possible only in the service center.