Previous articleMissing photos from Xiaomi gallery: a complete guide to recovery

You opened a gallery on your Xiaomi, Redmi or POCO, and your favorite photos disappeared without a trace? This is a familiar situation for many users - pictures can disappear after a MIUI update, reset, sync errors or even due to bugs in the standard Gallery app. Fortunately, 90% of the time, files are not permanently deleted, but simply become unavailable for viewing.

In this article, we will discuss all possible causes of disappearance of photos and 7 working methods of their recovery - from basic (checking hidden folders) to advanced (use of the software) ADB We will focus on the nuances of working with MIUI 14/15, where the algorithms for storing media files have changed. 30 After the day of disappearance, the chances of returning pictures are close to 100%.

Before you start recovery, answer the key question: Are your photos synced to the Mi Cloud or Google Photos cloud? If so, the problem is solved in 2 minutes. If not, read on and choose the appropriate method.

1. Check hidden folders and system directories

Most often, the missing photos are simply moved to hidden system folders after updating MIUI or cleaning the gallery cache.

  • πŸ“ /storage/emulated/0/DCIM/.thumbnails β€” miniatures and temporary copies
  • πŸ“ /storage/emulated/0/Pictures/Screenshots β€” Screenshots (sometimes photos are included here)
  • πŸ“ /storage/emulated/0/MIUI/Gallery/cloud/ β€” cloud synchronization cache
  • πŸ“ /storage/emulated/0/Android/data/com.miui.gallery/ β€” annexes "Gallery"

To see the hidden folders:

  1. Connect your phone to your PC via USB (in File Transfer mode).
  2. Turn on the hidden elements: On Windows: View β†’ Hidden elements in Explorer. On Mac: Finder β†’ Command+Shift+.

.jpg

or

.png

πŸ’‘

If you are using a file manager on your phone (such as Mi File Explorer), turn on the hidden files display in the app settings: Three dots β†’ Settings β†’ Show hidden files.

Pay special attention to the DCIM/.thumbnails folder - you can store smaller copies of the original photos (size ~10-30 KB). If you found only thumbnails, go to the section about recovery through DiskDigger - the program can restore the originals by thumbs.

2.Recovery via Mi Cloud and Google Photos

If your Xiaomi has enabled cloud sync, you can return your photos in a few clicks.

Mi Cloud (Official Xiaomi Cloud)

Go along the path: Settings β†’ Accounts β†’ Mi Cloud β†’ Gallery. If the sync was active, you will see all the uploaded photos.

  1. Click Download next to the desired albums.
  2. Select Save to your device and specify a folder (e.g. DCIM/Camera).
  3. Wait for the download to be completed and restart the Gallery app.
What if Mi Cloud doesn’t show you a photo?
If Mi Cloud displays an empty album but you are sure that sync has been enabled: 1. Check if your Mi Account has been deleted (go to Settings β†’ Accounts). 2. Try logging into the cloud via your browser at i.mi.com – sometimes the web version shows more data. 3. Make sure there is enough space on your device: Mi Cloud does not sync files if your phone has less than 10% free space.

2.2 Google Photo.

If you have used Google Photos to back up:

  1. Open the Google Photos app.
  2. Go to the Library β†’ Recycle Bin (photos are stored there for 60 days).
  3. To restore, click on the photo β†’ Restore.
  4. If the photo is not in the cart, check the Archive or use the date search.

Important: Google Photos compresses photos for free storage (High Quality) To restore the originals, you must have an active subscription to Google One or backup enabled in Original Quality.

Mi Cloud|Google Photo|Both options|Don't use the clouds.|Other-->

The standard MIUI Gallery has a built-in cart where photos are stored 30 days after being deleted to check it out:

  1. Open the Gallery app.
  2. Slip on three dots in the upper right corner β†’ Basket.
  3. Select the desired photos and click Restore.

Clear the cache of the Gallery app (Settings β†’ Applications β†’ Gallery β†’ Storage β†’ Clear the cache)

Reboot the phone

Check the cart in the alternative gallery (Simple Gallery, QuickPic)

Make sure that the photo is not hidden manually (in the gallery: highlight β†’ Hide / Show)

-->

Why can the Recycle Bin not work? MIUI 14+ has a bug that doesn't update the Recycle Bin after manually deleting files through the file manager, in which case you can only recover photos through ADB or third-party utilities (section 5).

If the photos are physically left on the phone but not displayed in the gallery, the problem may be the damaged metadata of the MediaProvider database. ADB (Android Debug Bridge).

Be prepared first:

  1. Download Platform Tools (the official package from Google).
  2. Turn on USB Debugging: Go to Settings β†’ About Phone β†’ MIUI Version (tap 7 times to become a developer). Go back to Settings β†’ Additional β†’ Developer β†’ Debugging on USB.

Connect the phone to the PC and confirm the debugging permission.

Now run commands to rebuild the database of media files:

adb shell


su




cmd media scan --volume=/storage/emulated/0

If the photos do not appear after this, try resetting MediaProvider cache:

adb shell pm clear com.android.providers.media

πŸ’‘

The cmd media scan command forces the system to re-scan all files on the device, which helps if the gallery "can't see" the photo because of an indexing failure.

⚠️ Attention: If you are using MIUI 15 based on Android 14, some ADB-In this case, the commands may require additional permissions:

adb shell appops set com.android.providers.media android:legacy_storage ALLOW

5. Deep memory scanning programs

If previous methods didn't work, it's time for specialized utilities that scan the phone's internal memory at the file system level and recover deleted data.

ProgrammeSupport for MIUIScan depthFree version
DiskDiggerYes (including Android 14)High (restores even fragmented files)Restriction on 2-3 files
Recuva (for PC)Requires root or connection as a driveMedium (works better with the SD-map)Full-functioning
EaseUS MobiSaverYes (but you need root rights for a deep scan)High (supports HEIC and RAW)Trial version with watermarks
PhotoRecYeah (works through ADB)Maximum (restores by signatures)Totally free.

Instructions for DiskDigger (the most reliable option):

  1. Download DiskDigger from Google Play.
  2. Run a full scan (requires root permissions for maximum efficiency).
  3. Select the file type: JPG, PNG, HEIC.
  4. After scanning, mark the desired photos and click Restore.
  5. Save files to SD-Map or cloud (do not restore to internal memory!).

Here's what we can do:

6.1 If the discharge was through Recovery

When reset via Recovery (a menu using Volume Up + Power), the user data (/data) is not completely erased.

  1. Connect your phone to your PC and scan your internal memory via PhotoRec or TestDisk.
  2. Use the ADB command to extract the raw image of the userdata partition: adb pull /dev/block/mmcblk0pXX userdata.img (replace XX with the current partition number - you can find it through adb shell ls /dev/block/platform/*/by-name).
  3. Open the image in DMDE or R-Studio for recovery.

6.2 If the discharge was via Fastboot

When you reset through Fastboot, the data is permanently deleted. The only chance is if:

  • πŸ”„ You can act within the first 24 hours after the reset (data not yet overwritten).
  • πŸ’Ύ The phone was enabled sync with Mi Cloud or Google Photos.
  • πŸ”§ You are ready to use the chip-off method (direct connection to the memory chip) – it is expensive and requires a specialist.

Critical information: On devices with a UFS 3.1 chip (e.g., Xiaomi 13 Pro, Redmi K60 Ultra) the chances of recovering from a Fastboot reset are close to zero due to hardware encryption at the processor level.

7.Prevention: How to avoid loss of photos in the future

To avoid missing photos, set up a reliable backup and monitor the health of your phone's memory.

Enable autosynchronization in Mi Cloud (Settings β†’ Mi Cloud β†’ Gallery β†’ Autoboot)

Activate backup in Google Photos (Original quality if there is space)

Install an alternative gallery (A+ Gallery) to duplicate metadata

Regularly copy photos to PC or external SSD (once a month)

Disable Memory Optimization in MIUI (Settings β†’ Battery β†’ Memory Optimization β†’ Exclusive)

Check the health of the drive using ##6484## (eMMC/UFS test)

-->

Additional tips for Xiaomi owners:

  • πŸ“Έ Use the format. HEIF/HEIC instead JPEG β€” It takes up less space at the same quality, which reduces the risk of loss due to memory loss.
  • πŸ”„ Turn off automatic cleaning of the gallery cache: Settings β†’ Annexes β†’ gallery β†’ Clearing the cache β†’ Autocleaning β†’ Never.
  • πŸ’Ύ If you take pictures often, buy a class microSD card. A2 (For example, SanDisk Extreme and set up the default photo saver.

⚠️ Attention: B MIUI 15 has a Smart Cleanup feature that can delete duplicate photos without you knowing. To turn it off, go to Settings. β†’ Warehouse β†’ Smart cleaning β†’ Settings β†’ Cleaning duplicates β†’ Otknocked..

FAQ: Frequent questions about missing photos on Xiaomi

Can the photo be lost due to the MIUI update?
This is a common problem when switching to a new version. MIUI. Causes: Reset gallery cache during upgrades. Change folder structure (e.g., folder structure, DCIM/Camera may be renamed DCIM/100MEDIA). Metadata conflict between old and new version of MediaProvider Solution: Try the methods in the section 1 (check hidden folders) and partition 4 (ADB-team).
How to recover photos if the phone is not turned on?
If the device does not respond to charging or is stuck on the logo MI, Try: Connect your phone to your PC and check if it's defined as a drive (sometimes works even without the screen on). EDL (Emergency firmware) for data extraction: Download the Mi Flash Tool and the firmware for your model. Connect your phone in mode EDL (usually clamped Volume Up + Volume Down + USB). Instead of firmware, select the Extract Of Data option (available in some versions of Mi Flash). Contact the service center to request a memory dump via the device. JTAG or ISP. ⚠️ Without experience, do not try to flash the phone in mode. EDL β€” This can lead to complete data loss!
Will root help you recover your photo?
Root rights greatly increase the chances of recovery, as they give access to: System folders (/data/media/0/). Gallery database files (/data/data/com.android.providers.media/databases/external.db). Low-level memory scanning via ADB or Termux. However, there are risks: On new devices (Xiaomi 12/13/14), unlocking the bootloader eras all data. Some banking applications stop working on rooted phones. If you decide to root, use Magisk's forum and follow your XDA's instructions.
Can I recover a photo after formatting my internal memory?
Formatting internal memory (/data) Almost always leads to irretrievable data loss, as: Modern Xiaomi uses encryption FBE (File-Based Encryption, which makes recovery impossible without a key. Formatting overwrites the file placement table (FAT/ext4), The only chance is if: The formatting was fast (not complete) and you immediately connected the phone to your PC and started a deep scan (e.g., via R-Studio) and there was a custom recaveri on the phone (TWRP), And you backup the data before formatting.
Why the gallery doesn't show a photo of the SD-map?
The problem with displaying a photo with a microSD on Xiaomi is usually related to the: πŸ”Œ Incorrect formatting of the card (must be exFAT or FAT32). πŸ“΅ No gallery permits (check in Settings) β†’ Annexes β†’ gallery β†’ Permits β†’ Warehouse). πŸ”„ Failure of mounting the card (try to remove and insert it again). πŸ“‚ File system damage (scan the map on PC via chkdsk) /f). Solution: Move your photo from the card to the internal memory and back. Use an alternative gallery (Simple Gallery works better with the memory of the card). SD). Format the card via phone: Settings β†’ Warehouse β†’ SD-map β†’ Formatted as internal memory (data will be deleted!).