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

Why photos are disappearing from Xiaomi and can they be returned?

Photo deletion on Xiaomi smartphones often happens unexpectedly: accidental clicking, resetting, a virus attack, or even a bug in the MIUI firmware. Unlike computers where files are first sent to the trash, on phones the deletion mechanism works differently. However, this does not mean that the photos are lost forever. In most cases, they can be restored - if you act quickly and correctly.

The key point is that once deleted, photos are physically stored on the drive until new data takes their place. So the first rule is don't write anything to your phone (don't take new photos, don't install apps, don't update the system). The less activity, the better the chances of success.

In this article, we will analyze all the current methods of recovery - from standard tools. MIUI We will also discuss how to avoid data loss in the future, and we will pay special attention to the nuances for different Xiaomi models (for example, Redmi Note 12 or the other two models). POCO X5), where algorithms may differ.

Modern versions of MIUI (starting with MIUI 12) have a built-in basket where photos are sent before final deletion. 30 days (default), but it can be changed in settings. If you have recently deleted pictures, check this folder first.

How to open the basket:

  • πŸ“± Open the Gallery app (icon with colored squares).
  • πŸ—‘οΈ Slip on three dots in the upper right corner β†’ pick the basket.
  • πŸ” View the list of deleted files. To return a photo, click on it. β†’ Restore.
  • πŸ“€ For mass recovery: highlight a few files β†’ Press Restore Everything.

If the cart is empty or not on the menu, it means:

  • ❌ The files were deleted a long time ago (more than 30 days ago).
  • ❌ The basket is disabled in the gallery settings.
  • ❌ You have used the function Delete Forever (Basket bypass).

⚠️ Note: Some models (e.g. Redmi) 9A s MIUI (11) the basket may not be available. In this case, proceed to the following methods.

πŸ“Š What version? MIUI use?
MIUI 12/13
MIUI 14
HyperOS
I don't know.
other

Method 2: Recovery through backups

If your Xiaomi has automatic backup enabled, the chances of returning photos are much higher.

  • πŸ–₯️ Mi Cloud (Xiaomi Cloud) – up to 5 GB free.
  • πŸ“ Google Photos – if the synchronization has been configured.
  • πŸ’Ύ Local backups (through Settings) β†’ Memory. β†’ Backup).

Instructions for Mi Cloud:

  1. Open your Settings β†’ Xiaomi Account β†’ Mi Cloud.
  2. Sign in (if not authorized).
  3. Choose the Gallery β†’ Find the right photos.
  4. Click Download or Save to the device.

For Google Photos:

  • πŸ“² Install the Google Photos app (if removed).
  • πŸ”„ Log in to the same account used for synchronization.
  • πŸ” Go to the Recycle Bin (stores files for 60 days) or Archives.
ServiceStorage periodMax. Volume (free)Features
Mi CloudUnlimited*5GBXiaomi account is required. *Photos are stored until manually deleted.
Google Photo60 days (basket)15GB (with Gmail)It compresses the photo with free storage.
Local copy.Before deleting the copy fileDepends on memory.Configured in Settings β†’ Memory.

⚠️ Note: If you reset your phone to factory settings without detaching your Mi Account, access to cloud copies may be blocked.

Disconnect mobile internet (to prevent new data from being downloaded)

Check the free space on the phone (at least 10% of the copy volume)

Charge your phone to 50% or more

Use a stable Wi-Fi connection-->

Method 3: Deep scanning programs (without root)

If the photos are not in the cart and there are no backups, specialized software will help. Xiaomi will be suitable for programs that work without superuser rights (root), but with restrictions.

  • πŸ› οΈ DiskDigger – scans internal memory and microSD cards, supports recovery in formats JPG, PNG, HEIC.
  • πŸ” Recuva (Android) - portable version of the popular utility for PC.
  • πŸ“± Dumpster is an alternative basket that intercepts deleted files (you need to install before data is lost).

Step-by-step instructions for DiskDigger:

  1. Download the app from Google Play.
  2. Start and select Start a simple scan (without root).
  3. Specify the file types: mark Images (JPEG, PNG).
  4. Wait until the scan is completed (it can take up to 30 minutes).
  5. Select the photos found β†’ click Restore β†’ save to a memory card or to the cloud.

Limitations of methods without root:

  • ❌ Does not restore files overwritten with new data.
  • ❌ Does not work with encrypted partitions (for example, on Xiaomi 13 Pro with a MIUI 14).
  • ❌ You may not find photos deleted more than 2-3 weeks ago.

πŸ’‘

If the phone doesn't see the memory card after recovery, restart it or check the card on your PC through the card reader. Sometimes the files are saved in a hidden folder.DiskDigger

Method 4: Recovery with PC (ADB and specialized software)

For advanced users, there is a method using ADB (Android Debug Bridge) or programs like EaseUS MobiSaver.

  • πŸ–₯️ You have access to a computer with Windows/macOS.
  • πŸ”Œ Debugging is on. USB on the phone (Settings) β†’ The phone. β†’ Version. MIUI β†’ 7 times tap to unlock Developer Mode).
  • πŸ“‚ Photos were stored in internal memory (not on a microSD card).

Instructions for EaseUS MobiSaver:

  1. Download and install the program from the official website.
  2. Connect Xiaomi to your PC via USB-cable (use the original cable!).
  3. Enable USB debugging: go to Settings β†’ Additional β†’ For developers β†’ Debugging over USB.
  4. Run the scan in the program (select the Gallery section).
  5. After analysis, mark the desired photos and press Recover.

For power users, the ADB team to create a photo section image (requires root):

adb shell


su




dd if=/dev/block/mmcblk0pXX of=/sdcard/backup.img

Where mmcblk0pXX is the data section (you can find out through the adb shell mount).

⚠️ Attention: Use ADB without experience, it can lead to loss of all data or a firmware failure.

What to do if the PC can’t see the phone?
1. Check the cable – use the original from Xiaomi (not all cables support data transfer). 2. Install Mi drivers PC Suite. 3. In the phone settings, select the file transfer mode: when connecting, tap on the notification "Charge through" USB" β†’ "File Transfer. 4. Disable the Antivirus on your PC – it can block ADB-linkage.

Method 5: Contact Xiaomi Service Center

If all of the above methods have failed and photos are critical (such as documents or unique photos), it is worth considering professional assistance.

  • πŸ”§ Chip-off method – direct reading of data from the memory chip (expensive, but effective even after formatting).
  • πŸ› οΈ JTAG β€” Connect to test contacts of the board (requires disassembly of the phone).
  • πŸ“Š Specialized software with access to service sections MIUI.

The cost of services varies from 3 000 to 15 000 rubles depending on the complexity.

  • πŸ“‹ Make a list of deleted files (dates, folder names).
  • πŸ”‹ Don’t discharge your phone below 20% – it can make it harder to work.
  • πŸ“„ Take a check or a warranty card (if the phone is guaranteed).

The official service centers can be found on the Xiaomi website, and only contact authorized workshops, which ensures the safety of data and avoid fraud.

πŸ’‘

Xiaomi service centers do not guarantee 100% recovery, but the chances are higher than with independent actions, especially if the photos were deleted long ago or after resetting settings.

How to Prevent Loss of Photos in the Future

The best protection against data loss is proactive measures, and here’s what we recommend you set up on your Xiaomi right now:

  • ☁️ Automatic sync with Mi Cloud: Go to Settings β†’ Xiaomi account β†’ Mi Cloud. Enable Gallery Sync and Autoboot. Set a limit on mobile data (e.g. Wi-Fi only).
  • πŸ”„ Google Photos as a backup: Install the Google Photos app. In the settings, select Backup and Sync β†’ Enable. Configure the download quality (High quality - free, Original - paid).

Local copies to the memory card:

  1. Insert microSD (recommended Class 10 or UHS-I).
  2. In the gallery, select a photo β†’ Export β†’ On the memory card.
  3. Copy the DCIM folder on your PC periodically.

πŸ’‘

Even if your photos are stored in the cloud, check for them periodically – sometimes sync can be interrupted due to network failures or account errors.

FAQ: Frequent questions about photo recovery on Xiaomi

Can I recover the photo after resetting the phone to factory settings?
Yes, but the odds depend on whether the sync with Mi Cloud or Google Photos was enabled. If not, try deep scanning software (like DiskDigger), but success is not guaranteed. Once reset, new data quickly overwrites the old ones.
Why does DiskDigger not find deleted photos?
Possible reasons: Files were overwritten with new data; scans were done without root permissions; photos were stored on a microSD card rather than internal memory; the utility does not support the HEIC format (used on the new Xiaomi); Try repeating the scan with the Deep Analysis mode enabled (longer but more thorough).
How to recover photos from a damaged memory card?
If the microSD card is not readable by your phone: Connect it to your PC via a card reader. Use programs like Recuva or PhotoRec (working with damaged media). If the card is physically damaged (for example, after falling into water), contact the data recovery laboratory. ⚠️ Don’t format the map – it will delete the files permanently!
Can I return photos deleted from Google Photos?
Yes, Google Photos has a shopping cart where files are stored for 60 days. To recover: Open the Google Photos app. Slip on the avatar β†’ Recycle Bin. Select photos β†’ Restore. If it's been more than 60 days, try to reach out to Google for support β€” in rare cases, they can recover data from servers.
Why do photos open with artifacts after restoration?
This is a typical problem when recovering corrupted files. Reasons: Photo fragments were overwritten. The program recovered only part of the data. The file format changed (e.g. HEIC was saved as JPG). Solutions: Try opening the photo on another device or via a PC. Use programs like Stellar Repair for Photo to fix the damage.