How to recover deleted photos on Xiaomi phone: from cart to deep scan

Remove important photos from Xiaomi by mistake or after resetting? Don't panic -- 80 percent of the time, files can be returned even if they're gone from the gallery. Redmi, POCO and Mi smartphones store deleted photos in a hidden bin folder for up to 30 days, and sync with Mi Cloud for even longer. But what if the photo is permanently erased or the phone doesn't turn on?

This guide provides proven recovery methods from simple (through standard MIUI tools) to complex (using PC and professional software).

  • πŸ—‘οΈ How to find deleted photos in Xiaomi shopping cart (including hidden folders)
  • ☁️ Step-by-step recovery with Mi Cloud and Google Photos
  • πŸ’» Methods of returning files using a computer (without root rights and with them)
  • ⚠️ What to do if the phone is not turned on or photos are overwritten

The more important thing is that the faster you start, the better the chances of success. When you delete files, they are not erased immediately, they are marked as "free space" and can be overwritten with new data. So do not install new applications or take photos/videos until you recover.

πŸ“Š What kind of Xiaomi model do you have?
Redmi Note 10/11/12
POCO X3/X4/X5
Mi 11/12/13
Another Xiaomi model
Not Xiaomi.

1. Recovery through Xiaomi Cart (the fastest way)

In MIUI 12 and later, all deleted photos are automatically placed in a 30 day shopping cart, and even if you have cleaned the gallery or used the Delete Forever feature, check the hidden folders.

How to find the basket:

  1. Open the Gallery app (an icon with colored squares).
  2. Slip on three dots in the upper right corner β†’ select the basket.
  3. Hold your finger on the desired photo β†’ click Restore.

If the basket folder is missing:

  • πŸ” Check out hidden albums: in the gallery click Albums β†’ All the albums and scroll down.
  • πŸ“ Use the File Manager: Go to the /storage/emulated/0/MIUI/Gallery/cloud/recyclebin (The folder can be called a trash or.trash).
  • πŸ”„ Restart your phone – sometimes the basket appears after a restart.

⚠️ Attention: B MIUI 11 and older, the cart is disabled by default. To activate it, go to Gallery Settings. β†’ Basket β†’ Enable (but it won’t return deleted files).

Make sure that the photo is not deleted until 30 days ago

View hidden folders through the file manager

Do not use the "Clean the Cart" function in the gallery

Check both the standard basket and the Mi Cloud-->

2.Recovery via Mi Cloud and Google Photos

If your Xiaomi is enabled to sync with the cloud, the chances of returning a photo increase by up to 90%, even after resetting or breaking the phone, the files remain in the account.

Method 1: Mi Cloud (for Xiaomi account holders)

  1. Go to i.mi.com and log in.
  2. Select the Gallery β†’ Cart section (photos are stored there for 60 days).
  3. Tag the desired files β†’ click Restore.

Method 2: Google Photos (if Autoboot is enabled)

  • 🌐 Open photos.google.com on PC or in the app.
  • πŸ—‘οΈ Go to the Recycle Bin (Storage – 60 days) or check the Archives.
  • πŸ”„ If the photo is not in the cart, try searching by date or location.
ServiceStorage period in the basketMax. Free Storage VolumeFeatures
Mi Cloud60 days5GBIt only works with a Xiaomi account.
Google Photo60 days15 GB (with Gmail and Disk)Autoupload must be enabled before the photo is deleted
Yandex Disc.30 days10GBSuitable if you used autoboot through the Yandex app

If the photos were deleted from the cloud or sync was not configured, go to recovery methods via PC.

πŸ’‘

Before resetting your phone to factory settings, always check if sync with Mi Cloud is enabled. Go to Settings β†’ Accounts β†’ Mi Cloud β†’ Gallery Sync.

3. Recover deleted photos via computer (without root)

If the photos are not found in the cart or cloud, connect Xiaomi to your PC and use software to scan internal memory, which works even if the phone is locked or not turned on (provided the PC recognizes it).

Tools required:

  • πŸ–₯️ Computer with Windows/macOS/Linux.
  • πŸ“± Cable USB (preferably original).
  • πŸ› οΈ Programs: DiskDigger, Recuva, EaseUS MobiSaver (free versions are limited).

Step-by-step instructions for DiskDigger:

  1. Download and install DiskDigger (select the Windows version).
  2. Connect Xiaomi to your PC in File Transfer (MTP) mode.
  3. Start the program β†’ select your phone’s drive β†’ click Next.
  4. Specify search formats (e.g. JPG, PNG, HEIC) β†’ Next.
  5. After scanning, mark the desired photos β†’ press Recover and save them to the PC.

For Mac users: use PhotoRec (a free utility with support for ext4/f2fs - Xiaomi file system).

brew install testdisk


photorec /d [path to folder for recovery] /cmd [disk phone] fileopt,search,jpg,png,heic

⚠️ Note: If the phone is defined as an "Unidentified Device", try it: πŸ”Œ Use the other USB-cable. πŸ”„ Turn on Debugging. USB In Settings β†’ The phone. β†’ Version. MIUI (press 7 times) β†’ Additionally. β†’ For developers. πŸ“± Reboot your phone to Fastboot (hold power) + Volume down) and connect to PC.

What if the program doesn’t see the phone?
If DiskDigger or Recuva does not detect the device, the reasons may be as follows: 1. No drivers – download Mi PC Suite for automatic installation. 2. Damaged file system – try to connect the phone in PTP mode (for cameras) instead of MTP. 3. Locked access – on some models (for example, POCO F4) you need to unlock OEM in the developer settings (Settings β†’ Additional β†’ For developers β†’ Unlock OEM).

4. Deep scanning (with root rights)

If standard methods don't work, and photos are critical, you'll have to get root access, so that software can scan system partitions where fragments of deleted files may remain. Note: root is not warranty and can disrupt MIUI!

How to get root on Xiaomi:

  1. Unlock the bootloader through the Mi Unlock Tool (requires an account to be linked to the device and wait 7-15 days).
  2. Install custom TWRP recaps for your model (see instructions on XDA Developers).
  3. Sweep Magisk through the Recovery to get root.

Recovery programs with root:

  • πŸ› οΈ Dr.Fone – Supports deep partition scanning /data.
  • πŸ” Undeleter – Searches for files by signatures (supports) HEIC and RAW).
  • πŸ“± GT Recovery – a mobile application for root devices.

After receiving root:

  1. Run the selected program and grant superuser rights.
  2. Select /data/media/0/DCIM to scan.
  3. Save the recovered files to SD-card.

⚠️ Note: On models with dynamic partitioning (e.g. Redmi Note) 11 Android 12+) root can cause data loss due to encryption. Before the procedure, backup through adb backup: adb backup -apk -obb -shared -all -f backup.ab

5. Recovery from damaged or non-emerging phone

If Xiaomi doesn’t respond to charging, hovers on the logo or goes to bootloop, try the following methods:

Method 1: Extract via Fastboot

  • πŸ”Œ Connect your phone to your PC in Fastboot mode (hold power). + Loudness down).
  • πŸ–₯️ Use it. ADB to create an image of user data:
fastboot devices


fastboot pull /dev/block/by-name/userdata userdata.img

Then scan userdata.img via PhotoRec or R-Studio.

Method 2: Through Custom Recavery (TWRP)

  • πŸ“± Install. TWRP Fastboot Flash Recovery twrp.img.
  • πŸ”„ Load into the Recovery (Food) + Volume up) and connect the phone to the PC.
  • πŸ“ Copy the folder. /data/media/0/DCIM computer MTP or ADB:
adb pull /data/media/0/DCIM

Method 3: Contacting a Service Center

If the phone is physically damaged (e.g., drowned or broken board), self-repair is not possible.

  • πŸ› οΈ Contact the authorized Xiaomi service to remove the memory chip (eMMC/UFS).
  • πŸ’Ύ Specialists will connect the chip to the programmer and remove the data image (cost – from 3 000). β‚½).
  • πŸ” The resulting image can be scanned on a PC using R-Studio or UFS Explorer.

πŸ’‘

If you physically damage your phone, DO NOT try to turn it on or charge it, it can lead to overwriting the data.

6. How to prevent future photo loss

To avoid looking for recovery methods, set up automatic backup and follow the simple rules:

Cloud backups:

  • ☁️ Enable autoload in Google Photos: Settings β†’ Backup and synchronization.
  • πŸ“± Set up Mi Cloud: Settings β†’ Accounts. β†’ Mi Cloud β†’ Synchronization of the gallery.
  • πŸ”„ Use Yandex Drive or Dropbox for an extra backup.

Local copies:

  • πŸ’Ύ Regularly copy the photo to a PC or external drive.
  • πŸ“ Use applications like FolderSync to automatically sync with NAS or FTP.
  • πŸ”„ Set up export in Telegram Saved Messages (without compression).

Phone settings:

  • πŸ—‘οΈ Increase the storage period of the basket to the maximum (in) MIUI 14: Gallery settings β†’ Basket β†’ Storage period).
  • πŸ”’ Disable Storage Optimization: Settings β†’ Memory. β†’ Cleanup β†’ Auto Clean (install manually).
  • πŸ“΅ Avoid Cleaners – they often delete files without recovery.
Reservation methodPlusesCons
Mi CloudAutomatic synchronization, 5GB freeLimited space, dependence on the Internet
Google Photo15GB free, smart searchCompression of photo at unpaid tariff
Local backup on PCFull control, no limit on volumeRequires discipline (you need to connect your phone regularly)
SD-mapQuick access, does not take up internal memoryRisk of card loss or damage

FAQ: Frequent questions about photo recovery on Xiaomi

❓ Can I recover the photo after resetting to factory settings?
Yes, but the odds depend on whether you've synced with Mi Cloud or Google Photos. If you haven't, try programs like DiskDigger or Recuva, but you can't guarantee success: resets overwrite some of the data. On models with encryption (Android 10+), recovery without a backup is almost impossible.
❓ Why is the Xiaomi Gallery Recycle Bin Empty, Even though I Haven't Deleted Anything?
Probable causes: πŸ”„ Autocleaning: in Gallery settings β†’ Recycle Bin can be enabled to automatically delete old files. πŸ“± Cache reset: Clearing the Gallery app's data dumps the basket. πŸ” Hidden files: Some system cleaners (like Security) delete files from the bin without notice. /MIUI/Gallery/cloud/recyclebin via file manager (enable the display of hidden files).
❓ What programs are best for recovery from PC?
Rating for efficiency (for Xiaomi): DiskDigger is the best balance of scanning speed and depth. Recuva is a simple interface that supports HEIC. EaseUS MobiSaver is good at recovering photos from damaged sections. PhotoRec is free, but requires command line knowledge. For root phones, add Dr.Fone and Undeleter to the list.
❓ Can I recover a photo if I have new data on my phone?
Technically, yes, but the odds are very low: new files overwrite old ones, and if deleted photos have been replaced by other data, fragments of them can be irretrievably lost. In this case, only professional hardware (programmers for memory chips) will help, but the cost of the service often exceeds the price of the phone. SD-the card and the photos were in the internal memory (or vice versa), the chances of saving some files are.
❓ How to recover photos from formatted SD-maps in Xiaomi?
Use recovery programs from external drives: Connect SD-Scan it with Recuva or TestDisk (select Undelete option). Save the recovered files to another drive (not the same one) SD-If the card is physically damaged (for example, not identified), try it: πŸ”§ Check on another device. πŸ› οΈ Use the chkdsk utility /f [disk letter: in Windows. πŸ’Ύ Contact the lab (if the data is critical).