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:
- Connect your phone to your PC via USB (in File Transfer mode).
- 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.
- Click Download next to the desired albums.
- Select Save to your device and specify a folder (e.g. DCIM/Camera).
- Wait for the download to be completed and restart the Gallery app.
What if Mi Cloud doesnβt show you a photo?
2.2 Google Photo.
If you have used Google Photos to back up:
- Open the Google Photos app.
- Go to the Library β Recycle Bin (photos are stored there for 60 days).
- To restore, click on the photo β Restore.
- 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-->
Recovery through the Gallery application basket
The standard MIUI Gallery has a built-in cart where photos are stored 30 days after being deleted to check it out:
- Open the Gallery app.
- Slip on three dots in the upper right corner β Basket.
- 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).
4.Use ADB to Recover Gallery Metadata
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:
- Download Platform Tools (the official package from Google).
- 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/0If 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 ALLOW5. 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.
| Programme | Support for MIUI | Scan depth | Free version |
|---|---|---|---|
| DiskDigger | Yes (including Android 14) | High (restores even fragmented files) | Restriction on 2-3 files |
| Recuva (for PC) | Requires root or connection as a drive | Medium (works better with the SD-map) | Full-functioning |
| EaseUS MobiSaver | Yes (but you need root rights for a deep scan) | High (supports HEIC and RAW) | Trial version with watermarks |
| PhotoRec | Yeah (works through ADB) | Maximum (restores by signatures) | Totally free. |
Instructions for DiskDigger (the most reliable option):
- Download DiskDigger from Google Play.
- Run a full scan (requires root permissions for maximum efficiency).
- Select the file type: JPG, PNG, HEIC.
- After scanning, mark the desired photos and click Restore.
- 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.
- Connect your phone to your PC and scan your internal memory via PhotoRec or TestDisk.
- 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).
- 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..