They accidentally deleted valuable photos from Xiaomi's phone and then they cleaned the cart? Don't panic -- there's still a chance of getting them back! Unlike computers, where files are not erased immediately after being deleted from the cart, MIUI smartphones often leave traces of data that can be recovered.
In this article, weβll look at all the possible ways to recover photos on Xiaomi, Redmi and POCO devices, from built-in system features to professional software. Youβll learn how the file storage mechanisms in MIUI work, what tools will help you return photos even after formatting, and how to avoid data loss in the future. Importantly, the less you use your phone after deleting, the better the chances of success are β new files can overwrite old ones.
If you are looking for a solution for a particular model (e.g. Xiaomi 13 Pro or Redmi Note 12), all the methods in this article are versatile and work on any device with MIUI 12-14. The only exception is older devices on MIUI 10 and below, where there may be no built-in cart in the gallery.
How the Recycle Bin in Xiaomi Gallery Works and Why Photos Can Be Recovered
In MIUI, the gallery cart is not just a temporary storage folder, it's part of the file management system, and when you delete a photo, it doesn't disappear from the drive immediately, but moves to a special section marked "deleted." By default, the files are stored there for 30 days, but this period can be changed in the settings.
Once the cart is cleaned (or expired), photos are not physically erased β just the system marks their disk space as βfree.β Until the new data overwrites those sectors, files can be recovered using special utilities, which is why the first rule after deletion is to minimize phone use: do not install apps, do not shoot new photos / videos, and do not update the system.
Interesting fact: on Xiaomi devices with UFS 3.1 flash memory (for example, Xiaomi 12T Pro or Redmi K60) the chances of recovery are higher than on budget models with eMMC. This is due to the features of the memory controller: UFS uses wear-leveling technology, which less often overwrites the same cells.
- π Temporary Storage: Files in the Recycle Bin take up space on the disk but donβt appear in the main gallery.
- β³ Lifetime: Default is 30 days, but you can increase to 60 in the Gallery settings β Basket β Settings.
- π Data overwriting: New files (photos, videos, updates) can destroy deleted images irrevocably.
- π οΈ Recovery: Possibly before the physical rewriting of memory sectors.
β οΈ Note: If you used the Clean the Cart function in the gallery MIUI, Then they reset the settings (Settings). β The phone. β Reset settings, chances of recovery are near zero.Reset formats the user data section completely.
Method 1: Recovery through the built-in MIUI basket (if not cleaned)
If you delete photos but havenβt cleaned the cart yet, you can return them in 2 clicks, which works on all Xiaomi devices with MIUI 11 and later, including POCO and Redmi.
Instructions:
- Open the Gallery app (a flower or landscape icon).
- Slip three dots in the top right corner (or swipe right to left on some models).
- Select the Recycle Bin (on some firmware - Recently deleted).
- Find the right photos, click on them (you can highlight several) and tap Restore.
If the basket is empty, check:
- π Filter by date: photos may have been deleted long ago and have been automatically cleaned.
- π folder DCIM/.thumbnails β Sometimes the miniatures remain even after the originals have been removed.
- βοΈ Cloud backups (if sync with Mi Cloud or Google Photos was enabled).
Make sure the cart is not manually cleaned
Check filters by date in the basket
View the.thumbnails folder in the file manager
- Remember if sync with the cloud was enabled-->
β οΈ Note: Some models (e.g. Redmi) 9A s MIUI 12.0.3) The cart may not be displayed due to a firmware error, in which case try updating the gallery via Google Play or use the method. β3 (Recovery via PC).
Method 2: Restore through Google Photos (if synced)
If your Xiaomi had autosynchronization enabled with Google Photos, deleted photos could be saved to the cloud. Even if you cleaned the shopping cart on your phone, they can stay in Google Photos for up to 60 days (depending on your settings).
How to check:
- Open the Google Photos app (if not installed, download from the Play Market).
- Slip on the profile avatar in the upper right corner β Cart.
- Find the right photos, highlight them and click Restore.
If the Google Photos cart is empty, try:
- π Use keyword searches (e.g., βbeachβ, βNew Yearβs Eveβ) β sometimes photos donβt make it to the cart, but stay in the album.
- π Check Archive: Google Photos has Archive feature that can get screenshots and automatic backups.
- πΎ Go to the web version of photos.google.com from a computer β there are more tools for searching.
| Conditions | Chances of recovery | Storage period |
|---|---|---|
| Sync enabled, photos deleted less than 30 days ago | 95% | 30-60 days |
| Sync enabled, photos deleted more than 60 days ago | 10% | Permanent removal |
| Synchronization disabled, but was enabled earlier | 50% | Depends on the last synchronization |
| Google account not used | 0% | β |
π‘
If Google Photos doesnβt have the right pictures, check the Pictures/Screenshots folder on your phone β sometimes screenshots are duplicated there and donβt get into the basket.
Method 3: Recovery via PC with DiskDigger or Recuva
If the cart is cleaned and there are no cloud copies, the most reliable method is to connect the phone to the computer and scan the memory with specialized programs. We recommend DiskDigger (for deep scanning) or Recuva (for quick search).
Step-by-step instructions for DiskDigger:
- Download and install DiskDigger (Windows version).
- Connect Xiaomi to your PC via USB-cable (enable File Transfer mode in notification curtain).
- Launch DiskDigger, select your phone from the Disk List and press Dig Deep (deep scan).
- After the scan is completed, mark the desired photos (you can filter by format:.jpg,.png) and click Recover Selected Files.
- Save the recovered files to your computer (not your phone!).
The algorithm is similar for Recuva, but the interface is simpler:
- π₯οΈ Select the type of Image files before scanning.
- π Specify the path to Xiaomiβs internal memory (usually a Xiaomi drive]).
- π After scanning, sort the results by date of removal or size.
What to do if the phone is not detected on the PC?
β οΈ Warning: Do not save recovered files back to your phone, as this can overwrite the remaining traces of deleted photos. Use a cloud, flash drive or other computer.
Method 4: Restore via Mi Cloud (if backed up)
Mi Cloud is a cloud storage service from Xiaomi that automatically backs up photos, contacts and notes. If you've logged in to Mi-account and enabled sync, chances are high for your photos to be returned.
How to check backup copies:
- Go to i.mi.com and log in.
- Select the Gallery section or backup copies.
- Check the Camera, Screenshots and Download folders β sometimes photos are duplicated there.
- If the necessary pictures are found, download them to your PC or send yourself through the messenger.
Features of Mi Cloud:
- βοΈ Free 5 GB of storage (about 1500 photos in high quality).
- π Synchronization works only when connected to Wi-Fi (configured in Settings) β Xiaomi account β Mi Cloud β gallery).
- π Backups are created once a day (if Auto Sync is enabled).
π‘
If you donβt have the right photos in the Mi Cloud, check the Devices section β itβs possible that the backup was created on another phone (for example, if you changed Xiaomi and signed in to the same account).
Method 5: Restoration through root access (for advanced users)
If all previous methods have failed, the last resort is to get root rights and scan the phoneβs memory using ADB or specialized utilities like PhotoRec. This method is only suitable for advanced users, as:
- π Root access voids the warranty on the phone and may result in some features being blocked (e.g. Google Pay or banking apps).
- π οΈ Requires unlocking the bootloader, which erases all data on the phone.
- β οΈ Mistakes in working with ADB They can turn a phone into a brickΒ».
If you are willing to take a risk, follow the instructions:
- Unblock bootloader through the official Xiaomi website (you will need to link your account and wait 7-15 days).
- Install custom recovery (TWRP) for your model.
- Please use Magisk to obtain root rights.
- Connect your phone to your PC and use the command: adb shell su -c "find /data -name '.jpg' -o -name '.png' > /sdcard/recovery.log" This will create a log with paths to all images on the phone, including deleted ones.
- Download the log to your PC and analyze it using PhotoRec or TestDisk.
β οΈ Attention: On devices with MIUI 13/14 and a Snapdragon chip 8 Gen 1/2 (for example, Xiaomi 13 Ultra) unlocking bootloader may result in hardware locking module 5G. Check the XDA-Developers forums for compatibility before the procedure.
How to Prevent Loss of Photos in the Future: 5 Rules
To avoid the problem of deleted photos, follow these recommendations:
- π± Automatic Sync: Enable backup in Google Photos (Settings) β Backup and sync) or Mi Cloud. Select High (non-original) quality to avoid wasting space.
- πΎ Local copies: Once a month, copy important photos to your PC or external drive. DCIM/Backup hand-back.
- π Cloud services: In addition to Google Photos, consider Yandex Drive (gives 10 GB free) or Mega (20 GB when registering).
- π File organization: Sort photos by folder (for example, 2026_Vacation, Documents β itβs easier to track whatβs already copied.
- π§ Recycle Bin Settings: Increase the retention period of deleted files to 60 days in the Gallery β Basket β Settings.
For Xiaomi devices with MIUI 14, there is a useful feature of the Smart Album (in the gallery): it automatically groupes photos by person, place and event, which makes it easier to search and back up.
π‘
If you take pictures often, install FolderSync from the Play Market, which allows you to automatically sync your DCIM folder to the cloud (Dropbox, OneDrive) on a schedule (for example, once a week over Wi-Fi).