Where do photos disappear from the gallery of the Xiaomi smartphone โ€“ and how to return them

You opened a gallery on your Xiaomi to show your friends fresh photos from your vacation -- they're not there. Not in the Camera folder, not in Screenshots, not even in the shopping cart. This is a familiar situation for many MIUI smartphone owners: the photos suddenly disappear, even though you remember exactly what you took the pictures. What is it, a system malfunction, a virus, or the phone decided to clean up the memory?

In fact, there are at least seven reasons why photos in Xiaomiโ€™s gallery disappear, from the banal (hidden folders) to the critical (file system corruption), and in this article, weโ€™ll break down each of them, show you where to look for โ€œlost photos,โ€ and give you step-by-step recovery instructions โ€“ both through standard MIUI tools and third-party utilities, and explain why photos can โ€œdisappearโ€ from the gallery but remain in the phoneโ€™s memory โ€“ and how to check it in 30 seconds.

The first thing to check is whether your photos are hidden in one of the hidden folders of MIUI, because the standard gallery com.miui.gallery does not show:

  • ๐Ÿ“ Files with the.nomedia extension (even if it is a file) JPEG/PNG)
  • ๐Ÿ”’ Folders marked as โ€œhiddenโ€ through gallery settings
  • ๐Ÿ“ฑ Images from messengers (Telegram, WhatsApp) โ€“ they are stored in separate directories
  • ๐Ÿ–ผ๏ธ Miniatures and cache (folders) DCIM/.thumbnails)

To see all files, open the gallery, tap three dots in the upper right corner, and select Settings โ†’ Show hidden files. If the option is already active but still not, check the folders manually through any file manager (such as Mi File Manager or Solid Explorer).

  • ๐Ÿ“‚ /storage/emulated/0/Pictures โ€” There are often pictures from social networks.
  • ๐Ÿ“‚ /storage/emulated/0/DCIM/.thumbnails โ€” Miniatures (sometimes the originals are only preserved here!)
  • ๐Ÿ“‚ /storage/emulated/0/Android/data/ โ€” Application folders (e.g. com.whatsapp for WhatsApp)

๐Ÿ’ก

If there is no file manager folder DCIM, But you definitely took a photo - check the exterior SD-map (if installed). MIUI Sometimes saves the pictures there by default, especially on Redmi Note models. 10/11 and POCO X3/X4.

Automatic memory optimization: when the phone deletes the photo

Xiaomi smartphones on MIUI 12/13/14 have a feature called โ€œMemory Optimizationโ€, which analyzes storage usage in the background and can delete duplicates, blurred pictures or old screenshots without your knowledge.

  • ๐Ÿ”‹ Low battery charge (less than 15%)
  • ๐Ÿ“‰ When there is less than 1 GB of free memory
  • ๐Ÿ”„ After system update (MIUI cleans the cache and "garbageยป)

To disable this function:

  1. Go to Settings โ†’ Memory โ†’ Memory Cleanup.
  2. Slip on three dots in the upper right corner and select Cleaning Settings.
  3. Turn off the Auto Cleanup and Remove Duplicates options.

Yes, several times | Yes, but only screenshots | No, I didn't notice | I don't know, I didn't check-->

If photos have already been deleted, check the gallery basket (Albums โ†’ Recycle Bin). In MIUI, files are stored there for up to 30 days, after which they are permanently erased. Also check Google Photos - maybe the pictures were synced to the cloud, but were deleted from the device.

How to recover photos from the MIUI basket if they disappeared from there early?
If the shopping cart is empty but you're sure the files were there recently, try rolling back system time on your phone. 1. Turn off the internet (important!) 2. Change the date to 2-3 days ago (Settings โ†’ Additional โ†’ Date and Time). 3. Open the gallery and check the shopping cart. 4. Return the correct date. This trick works because MIUI checks the storage life of the files in the shopping cart by system time.

3. sync failure with Google Photos or Mi Cloud

If you use Google Photos or Mi Cloud to back up, missing photos from the gallery may be due to:

  • ๐Ÿ”„ Synchronization conflict (photos deleted from phone after uploading to cloud).
  • ๐Ÿ“ฑ Authorization failure (account untied, but files remain in the cloud).
  • ๐Ÿ—‘๏ธ Clean the app cache (Mini-thumbnails are gone, but the originals are in the cloud).

To check:

  1. Open Google Photos and go to the Recycle Bin - there files are stored for 60 days.
  2. In Mi Cloud (Settings โ†’ Accounts โ†’ Mi Cloud โ†’ Gallery), check the โ€œDeleted Filesโ€ section.
  3. If there are no pictures there, try forced synchronization: Settings โ†’ Accounts โ†’ Google โ†’ Account Synchronization โ†’ Gallery (enable)

๐Ÿ’ก

If you have photos in Google, but they are not in the gallery MIUI โ€” It's not a data loss, it's a display problem. Just download the images back to your phone through the Google Photos app (select the files). โ†’ ยซSave it to the deviceยป).

On Xiaomi 12/13/14 models with MIUI 14 there is a bug: after updating the system, the Google Photos application can โ€œforgetโ€ the path to the DCIM folder.

  1. Open Google Photos โ†’ Profile โ†’ Photo settings โ†’ Backup and Sync.
  2. Turn off and back up again.
  3. Reboot the phone.

4. damage to the file system or SD-map

If photos are missing in droves (several tens or hundreds of files), and the gallery appears an error "Can not download", the problem may be:

  • ๐Ÿ’พ Damage to the file system (for example, after a sudden power outage).
  • ๐Ÿ“ฑ Memory chip failure (especially on Redmi budget models) 9/10).
  • ๐Ÿ”ง Malfunctions SD-cards (if the photo is saved on it).

Check the health of the storage facility through ADB (for advanced users) or using the DiskInfo app. SD-map:

  1. Remove the card and connect it to the PC through the card reader.
  2. Run the chkdsk X: /f command (where X is the disk letter) in the CMD on behalf of the administrator.
  3. If the map is not readable, try to recover data via Recuva or PhotoRec.

Try the card on another device|Clear the contacts of the card with alcohol|Format the map (after data recovery)|Check the map for broken sectors through H2testw-->

On the internal memory of the smartphone damage most often occurs due to:

  • ๐Ÿ”Œ Disconnecting abruptly during file writing (for example, when connecting to a PC).
  • ๐Ÿ“‰ Critical battery discharge (below 3%).
  • ๐Ÿ› ๏ธ Failed update MIUI (particularly POCO F3/F4).
How to check the health of internal memory without ROOT
Install the app A1 SD Bench and run a read/write test. If you're running below 50MB/s, you have memory problems. โ†’ The phone. โ†’ Version. MIUI โ†’ Tap 5 times on the "Kerole" to turn on the developer mode, then check Settings โ†’ Additionally. โ†’ For developers โ†’ Logs of error).

5. Viruses and malicious applications

An unlikely but possible scenario is a virus that:

  • ๐Ÿ•ต๏ธโ€โ™‚๏ธ Stealing photos and sending them to a remote server.
  • ๐Ÿ—‘๏ธ Delete files to free up space for your needs.
  • ๐Ÿ”„ Encrypts images (extortionists).

Signs of infection:

  • ๐Ÿ“ฑ The phone is warming and discharged quickly.
  • ๐Ÿ“ก Unknown applications in the list of installed (Settings) โ†’ Annexes โ†’ Application management).
  • ๐Ÿ“Ž Unknown folders with names like com.system.update appear.

What to do:

  1. Install Malwarebytes or Dr.Web Light and scan the device.
  2. Check Application Rights in Settings โ†’ Privacy โ†’ Permissions โ€“ Are there any suspicious programs with storage access?
  3. If a virus is found, delete it and restore the photo from the backup (if any).

๐Ÿ’ก

On Xiaomi with the bootloader unlocked, viruses can hide in system folders. If the antivirus does not find anything, but suspicions remain, do a factory reset (Settings โ†’ About Phone โ†’ Reset).

6. errors when transferring files (PC, cloud, messengers)

A common situation: you copied a photo on a PC or messenger, and the originals disappeared from your phone.

  • ๐Ÿ–ฅ๏ธ When connected to MTP (as a media device, files could be moved, not copied.
  • โ˜๏ธ Cloud services (Yandex Drive, Mail.ru Cloud) sometimes delete local copies after downloading.
  • ๐Ÿ“ค V Telegram/WhatsApp When sending a photo through โ€œSend without compressionโ€, the original can be deleted (setting in some versions) MIUI).

How to avoid losses:

  • ๐Ÿ“Ž Always use copying (not cutting) when transferring files.
  • ๐Ÿ”„ Before disconnecting from the PC, click โ€œSafe Retrievalยป.
  • โ˜๏ธ In the cloud application settings, disable the option โ€œDelete after downloadingยป.

If the photos are missing when transferring over Bluetooth or Xiaomi Share (Mi Share), check:

  • ๐Ÿ“ฑ folder /storage/emulated/0/Bluetooth โ€” Sometimes files are saved there.
  • ๐Ÿ“ค Transfer Logs to Settings โ†’ Connections and sharing โ†’ Mi Share โ†’ History.

7 Hardware malfunctions: when you can not do without a service center

If none of the above methods worked, the problem may be in the iron:

Symptoms.Probable causeDecision
Photos disappear after phone fallsMemory chip dump (eMMC/UF)Diagnostics in the service center, soldering of the chip
Gallery shows empty miniaturesDamage to the memory controllerReplacement of board or chip (expensive, not always possible)
Photos disappear after heating the phoneDefect of soldered memory contactsWarm up in the service (temporary solution)
The phone doesn't see internal memory.The exit eMMC/UFReplacement of a chip or phone

On Xiaomi models with removable batteries (for example, the Redmi 4X/5A), a simple reboot with a battery retrieval for 10 minutes sometimes helps. On modern smartphones (for example, Xiaomi 13T), this is impossible โ€“ you will have to carry it into the service.

๐Ÿ’ก

If your phone falls or gets wet and then the photos start to disappear, don't try to recover the data yourself. Every attempt to write to damaged memory reduces the chances of recovery.

FAQ: Frequent questions about missing photos in Xiaomi

Can photos disappear after the MIUI update?
Yes, but very rarely. Usually, it happens if: The update was interrupted (e.g., battery was dead). MIUI (They often contain bugs. There was less on the phone. 1 GB of free memory. You can recover photos after such a failure through Mi PC suite ADB (Adb pull /sdcard/DCIM).
Why don't you have photos in the gallery, but they take up a place in your memory?
This means that the files are there, but the gallery can't see them. Reasons: Photos are in the folder with the.nomedia file. File extension changed (for example,.jpg became.tmp).Damaged gallery database (com.miui.gallery).Solution: use the file manager to search by extensions (.jpg,.png) or reinstall the gallery through ADB: adb shell pm clear com.miui.gallery.
How to return the photo if they disappeared after resetting to factory settings?
If you haven't backed up, chances are minimal. Try: Check Google Photos or Mi Cloud -- maybe sync worked. Use DiskDigger or EaseUS MobiSaver to scan memory (required) ROOT). Contact the service โ€“ sometimes the data is restored through a chip-off (direct reading of the chip). โš ๏ธ Warning: After reset, do not write new files to your phone โ€“ they can overwrite deleted photos.
Can photos be lost due to ROOT or custom firmware?
Yes, if: You deleted system folders (e.g. /data/media/0/DCIM); installed bug firmware (especially AOSP-based Custom ROM); Used Magisk memory-changer modules; you can recover data via TWRP (if installed) or ADB.
Why do photos disappear only from the outside? SD-map?
The culprits may be: ๐Ÿ”Œ Bad contact card with phone (clean the slots with alcohol). ๐Ÿ“‰ Map format (MIUI It works poorly with exFAT, it is better to use it. FAT32). ๐Ÿ› ๏ธ Application settings (some programs donโ€™t see) SD-Solution: format the map into a storage device. FAT32 via PC, then return the photo back.