Have you deleted important photos on Xiaomi and you don't know how to get them back? Don't panic -- you have a chance to recover them even if they're missing from the gallery. In this article, we'll look at all the ways you can go from the standard MIUI cart to hidden backup features and professional utilities. It's important to act quickly -- the less time has passed since you deleted them, the more likely you are to succeed.
Xiaomi smartphones based on MIUI They have built-in mechanisms to protect against accidental deletion of files, but not all users know how to use them. We will look not only at the obvious solutions (for example, checking the folder Recently Deleted), but also at lesser-known tricks β recovery through Mi Cloud, analysis of the application cache and even working with the software. ADB-If you're using Redmi Note 12 models, POCO X5 Xiaomi 14 flagships, instructions are suitable for all versions MIUI 12β14.
Before you start restoring, remember that any memory operations (installation of applications, taking new photos, updating the system) can overwrite deleted data, making it impossible to restore it, so first of all turn off mobile Internet and Wi-Fi to prevent automatic synchronization.
1. Checking the basket in the standard MIUI gallery
The easiest way to return deleted photos is to use the built-in Recycle Bin in the Gallery app. By default, files are stored there for 30 days, but the deadline can be changed in settings. The instructions are relevant for all Xiaomi, Redmi and POCO devices with a MIUI shell.
How to open the basket:
- π± Open the Gallery app (icon with multi-colored squares).
- π Click on the three horizontal lines (menu) in the lower right corner.
- ποΈ Select Recycle Bin (Recently Deleted or Trash in English version).
- πΌοΈ Find the right photos, click on them and select Restore.
If the cart is empty or you canβt find deleted photos, check:
- β³ Recycle bin file retention (30 days by default, but can be reduced to 7 days in gallery settings).
- π The photos may have been removed from the cart manually or automatically after the expiration date.
- π.thumbnails folder in the root memory directory β sometimes thumbnails are saved even after the originals are deleted.
β οΈ Note: If you cleared the cart through the Settings menu β Warehouse β Cleaning, the chances of recovery through standard means are minimal.
2. Recovery via Mi Cloud (cloud storage)
If your Xiaomi has Mi Cloud sync enabled, the deleted photos could be saved to the cloud, which works even if you reset your phone to factory settings, as long as your Mi Account is linked to the device.
How to check backups in Mi Cloud:
- π Go to i.mi.com and log in to your account.
- π Select the Gallery section in the left menu.
- π Use the date filter to find deleted photos.
- πΎ Click on the photo and select Download or Restore on the device.
If the photo is not in the cloud, check:
- π Synchronization settings: go to Settings β Mi Account β Mi Cloud β Gallery and make sure the function is enabled.
- π Last sync date β photos may have been deleted before backup.
- π± Another tied device (tablet, second phone), where the cloud photo could be saved.
| Conditions | Probability of recovery | Action |
|---|---|---|
| Sync with Mi Cloud enabled, photos deleted less than a month ago | βββββ (90%) | Restore via the web version or Mi Cloud app |
| Synced or photos deleted long ago | β (10%) | Try other ways (Google Photos, local recovery) |
| Removal made through Settings β Reset | ββ (30%) | Check out Mi Cloud and Third-Party Clouds (Google, Yandex) |
β οΈ Note: If you changed your Mi Account password after deleting the photo, the cloud data may have been lost, in which case you can not restore it through Mi Cloud.
3. Using Google Photos to Restore
Many Xiaomi users are installing Google Photos as an alternative gallery, and if the app was set to automatically download, deleted images could be saved in the Google Photos Recycle Bin, where they are stored for 60 days.
Instructions for remediation:
- π± Open the Google Photos app or go to photos.google.com.
- ποΈ In the menu, select the basket (Trash).
- π Find the right photos, highlight them and click Restore.
- πΎ After recovery, the photos will appear in the Google Photos folder in the gallery. MIUI.
If the basket is empty:
- π Check the Archive folder β sometimes photos are moved there instead of deleted.
- π Make sure the date of deletion does not exceed 60 days.
- π Use search by keyword or date in Google Photos.
Turn off mobile internet on Xiaomi
Make sure your Google account is the same as when you delete it.
Check the free space in the phone memory
Do not install new applications until the recovery is complete.-->
4. Local recovery with third-party utilities
If standard methods donβt work, youβll have to use specialized programs to scan internal memory, such as DiskDigger, EaseUS MobiSaver, or Recuva (for PCs), which require root permissions for deep scanning, but can find photos without them (with less efficiency).
Step-by-step instructions for DiskDigger (without root):
- π₯ Install DiskDigger from Google Play.
- π Select Start basic photo scanning.
- π Wait for the analysis to be completed (may take 10 to 30 minutes).
- πΌοΈ View the photos found, highlight the necessary and click Restore.
- πΎ Save files to a memory card or cloud (not internal memory!).
For maximum efficiency:
- π Charge your phone to 100% β scanning consumes a lot of energy.
- π Do not interrupt the process, even if it takes a long time.
- π If no photo is found, try a deep scan (requires root).
β οΈ Note: When recovering via PC (for example, using Recuva), connect Xiaomi in File Transfer mode (MTP). Avoid Charging β it blocks access to memory.
What to do if the program does not find the photo?
5. Recovery through ADB (for power users)
If youβre familiar with ADB (Android Debug Bridge), you can try extracting deleted photos directly from the deviceβs memory, a method that requires command line skills and is suitable for Xiaomi with an unlocked bootloader or root rights.
Main steps:
- π₯οΈ Install. ADB Tools on PC.
- π Connect Xiaomi to your computer and enable Debugging USB In Settings β The phone. β Version. MIUI (Click 7 times on the line with the version, then return to Additional Settings β For developers).
- π» Open the command line and execute: adb shell su cd /data/media/0/DCIM/Camera ls -la This will show a list of files in the folder with photos, including hidden ones.
- π To search for deleted files, use the scandisk or photorec utility via ADB.
Advantages of the method:
- π Deep scanning without the limitations of standard applications.
- π The ability to recover files of any type, not just photos).
- π οΈ Works even after resetting (unless the data is overwritten).
Risks:
- β οΈ Wrong teams ADB could damage the system.
- π Requires unlocking the bootloader, which resets all data.
- β³ The process can take several hours.
π‘
Before working with ADB, create a full backup of your data via adb backup or TWRP. This will protect you from losing other files if you make errors.
6. Checking the cache of applications and temporary files
Sometimes deleted photos are saved in the cache of applications such as Gallery, Google Photos or messengers (WhatsApp, Telegram), these files are not displayed in the standard interface, but they can be extracted manually.
Where to look:
- ποΈ folder /data/data/com.miui.gallery/cache β gallery-cash MIUI.
- π± folder /Android/data/com.google.android.apps.photos/cache β Google cache.
- π¬ Messenger folders: /Android/media/com.whatsapp/WhatsApp/Media or /Telegram/Telegram Images.
How to extract files:
- π Use a file manager with root access (such as Root Explorer or Root Explorer). FX File Explorer).
- π Go to the specified folders and find files with extensions.jpg,.png or without extension.
- πΌοΈ Copy them to a safe place (for example, to a memory card).
- π Rename files by adding the correct extension (e.g. photo.jpg).
β οΈ Cached files often have distorted names (for example, cached files, f8374hf.jpg) Before copying, check their previews.
7.Prevention: How to avoid loss of photos in the future
To avoid the problem of deleted photos again, set up automatic backup and follow the simple rules:
Methods of protection:
- βοΈ Enable autosynchronization with Mi Cloud or Google Photos: For Mi Cloud: Settings β Mi Account β Mi Cloud β Gallery. For Google Photos: Open the app β Settings β Backup and synchronization.
- πΎ Regularly copy the photo to a memory card or external drive.
- π Use the folder. DCIM/Backup hand-copy.
- π Set up export to the cloud (Yandex Drive, Dropbox) through the Files by Google app).
What can't be done:
- π« Cleaning a gallery basket without checking its contents.
- π« Use functions such as Storage Optimization in MIUI β They can delete old photos without warning.
- π« Format a memory card or reset your phone to factory settings without a backup.
π‘
The most reliable way to protect is to combine Mi Cloud + Google Photos + local copy on the memory card, so you are insured against failures in any of the services.