Why Xiaomi doesnβt have a shopping cart β and where do deleted files actually go?
You have deleted an important file on Xiaomi Redmi or POCO, And you can't see the Recycle Bin folder in the gallery or the file manager? It's not a bug or a feature of your model, it's how the shell works. MIUI. Unlike Windows or macOS, where deleted files temporarily fall into the basket, on Android (and especially on Xiaomi smartphones), the mechanism for storing βgarbageβ is organized differently.
The thing is, the standard Android shopping cart is not on the system level, and it's being replaced by two alternatives:
- Temporary storage in applications (gallery, file manager, Google Photos).
- Hidden system folders where files are moved before final deletion.
Xiaomi is even more difficult to do because of proprietary solutions. MIUI. For example, in the gallery Mi Gallery basket is, but it is hidden from the user by default, and in the file manager Mi File Explorer it may not be at all β it all depends on the version of the firmware and regional build.
In this article, we will look at all possible places where deleted files can be stored on Xiaomi, including hidden folders, cloud backups and system log files, and learn how to recover data if the shopping cart is already cleaned.
1. basket in the gallery Mi Gallery: how to find and recover photos / videos
The most obvious place to look for deleted media files is the built-in gallery. MIUI (Mi Gallery: There's a basket here, but it's hidden in the settings and it doesn't work like it does on other Android smartphones.
To open it up:
- Launch the Gallery app (an icon with colored squares).
- Slip along three horizontal lines (menu) in the lower right corner.
- Select the item Cart (if not - see the next section).
- Hold your finger on the file to recover or click Restore Everything.
Important nuances:
- π Storage period: files are stored in the basket for 30 days, after which they are deleted irrevocably.
- π Autocleaning: if the free space on the device ends, MIUI may clear the basket early.
- π Media only: only photos and videos are stored here, APK and other files search elsewhere.
If the item is not on the menu, it means:
- π§ Your version. MIUI outdated (update the firmware through Settings) β The phone. β Updating the system).
- π You have a global firmware without a basket (try switching to European or Indian build).
- π§Ή The basket is disabled in the settings (see section below).
π‘
If you frequently delete files by mistake, enable Deletion Confirmation in the Gallery Settings: β Additionally. β Confirmation of removal.
2. Hidden basket in Mi File Explorer: where to look for deleted documents and APK
Unlike the gallery, Xiaomiβs standard file manager (Mi File Explorer) doesnβt always have a visible bin, but files that are deleted through it donβt disappear immediately β they move to a hidden folder that can be found manually.
Search instructions:
- Open the Mi File Explorer (Blue folder icon)
- Go to the Category section β Memory of the device.
- Turn on the display of hidden files: tap on the three dots in the upper right corner β Settings β Show hidden files.
- Scroll up and find the.trash or.recycle folder (may be called Recycle Bin in English firmware).
Inside, you'll see folders with names like files, images, videos -- that's your shopping cart.
- Hold your finger on the desired file.
- Choose Restore (if there is no option, use Copy and paste the file into the desired directory).
β οΈ Note: If there is no.trash folder, then:
- ποΈ Files were deleted not through Mi File Explorer, but through another application (e.g. Google Files or Total Commander).
- π On your device disabled the function of the basket in the settings of the file manager.
- π± You have custom firmware (like LineageOS or Pixel Experience) where the basket mechanism is different.
How to turn the cart on in Mi File Explorer if it is not available?
3. Alternative File Managers: Where else can the Recycle Bin
If you use third-party file managers, the shopping cart may be in a completely different place.
| Annex | The way to the basket | Storage period | Features |
|---|---|---|---|
| Google Files | Cleanup β Basket | 30 days | It only works for files deleted through this app. It doesn't see system folders. |
| Solid Explorer | Menu β Basket | Customized (from 1 to 90 days) | It supports the cloud cart (Google Drive, Dropbox). |
| FX File Explorer | Settings β Basket | 7-30 days | It can recover files even after cleaning the Recycle Bin (through Deep Scan). |
| ES Conductor | Menu β Basket | 15 days | Often conflicts with MIUI. Requires additional permits. |
If you don't remember which application you deleted files from, check all the options in the table.
- π Google Files is the most reliable option for Xiaomi, as it is integrated with Google Drive and can recover files even after resetting settings.
- βοΈ In Solid Explorer and FX File Explorer can be set up to automatically back up your cart to the cloud.
- β οΈ ES The conductor can create duplicate baskets, which leads to loss of disk space.
β οΈ Note: If you delete a file via adb, fastboot, or command line (e.g., rm), it will not get into any basket and will be deleted irrevocably, in which case only specialized recovery software will help (see section 6).
4. Cloud Carts: Google Photos, Mi Cloud and others
Many Xiaomi users are unaware that their files can be stored not only on the device, but also in the cloud - and there are also their own shopping carts.
1. Google Photo.
- πΈ All photos and videos uploaded to Google Photos are in the cloud bin when deleted.
- ποΈ To open it: Open the application β Library β Basket.
- β³ Shelf life: 60 days (twice as long as in the MIUI).
- π If the file is deleted from the device and from the cloud, it will be more difficult to recover it.
2. Mi Cloud (Xiaomi Cloud)
- βοΈ It only works if you have enabled synchronization in Settings. β Accounts. β Mi Cloud.
- π The shopping cart here is called Recently Deleted and is available via the web version of i.mi.com.
- β° Storage period: 30 days, but for some files (e.g. notes) only 7 days.
3.Other Clouds (Yandex Drive, Dropbox, OneDrive)
- π Each cloud has its own basket with different storage periods (from 7 to 90 days).
- π Related Posts: Yandex Dropbox OneDrive
β οΈ Note: If you delete a file before it syncs to the cloud, it won't get into the cloud bin. For example, if you erase a photo right after you shoot it and you don't wait to upload it to Google Photos, you can only restore it through the local cart. MIUI.
Open Google Photos β Library β Basket|
Log in Mi Cloud via browser β Recently deleted|
Check other clouds (Yandex, Dropbox)|
Make sure that synchronization has been enabled before removal-->
5. System folders and temporary files: where MIUI hidesΒ»
MIUI It creates several hidden folders where deleted or cached files are temporarily stored, and they're not visible in a standard Explorer, but if you have root rights or through a root file. ADB can be accessed.
The main system "baskets":
- /data/data/com.android.providers.media/.trash β It stores media files deleted through the gallery.
- /storage/emulated/0/Android/data/com.mi.android.globalFileexplorer/.trash β file-manager basket.
- /data/local/tmp β Temporary files that sometimes remain after incorrect deletion.
- /sdcard/.thumbnails β Deleted image thumbnails (not the files themselves, but can help in recovery).
To view these folders:
- Install Root Explorer or FX File Explorer with superuser rights.
- Activate Root mode in the conductor settings.
- Take one of the paths above.
If root rights are not available, you can try ADB:
adb shell
su
ls /data/data/com.android.providers.media/.trashβ οΈ Attention:
- π οΈ Without root rights, you canβt recover files from system folders β just view their list.
- π¨ Deleting files from these folders manually can lead to errors in the work MIUI (For example, the gallery will stop opening).
- π§ If you are not sure about your actions, use specialized utilities (see the next section).
π‘
System folders MIUI contain temporary copies of deleted files, but access to them requires root rights or ADB. Without experience, it is better not to edit them manually!
6.Data recovery software: when the cart is already cleaned
If all of the above methods didn't work, then the files were permanently deleted, but that's not a sentence. With specialized software, you can recover data even after cleaning the cart.
| Programme | Xiaomi support | File types | Features |
|---|---|---|---|
| DiskDigger | β Yes, including MIUI) | Photos, videos, documents | It works without root, but with root it finds more files. |
| Recuva (via PC) | β Yes. USB-debugging) | Any files. | It requires a computer connection. The free version is limited. |
| EaseUS MobiSaver | β Yes (special mode for Xiaomi) | Photos, messages, contacts | It is paid, but there is a trial version with a preview. |
| Dr.Fone | β Yes (supports) MIUI 12β14) | Everything, including WhatsApp | The highest price, but maximum efficiency. |
Instructions for recovery via DiskDigger (the easiest option for Xiaomi):
- Download DiskDigger from Google Play.
- Start the app and select Start basic scanning (without root) or Full scanning (with root).
- Wait until the process is completed (it can take up to 30 minutes).
- Tick the files that need to be restored and click Restore.
- Save files to a memory card or cloud (not internal memory!).
β οΈ Attention:
- π Do not save the recovered files to the same partition from which they were deleted β this can overwrite the remaining data.
- π Battery charge should be more than 50% β scanning heavily loads the processor.
- π΅ Turn off mobile internet during recovery to avoid interruptions.
If no program has found lost files, it means that:
- ποΈ The data was overwritten with new files (for example, after taking new photos or installing applications).
- π The device was completely reset (hard reset).
- π οΈ On the smartphone was re-flashed custom firmware (for example, LineageOS), which erased all data.
7. How to prevent future data loss: 5 work tips
To avoid losing important files on Xiaomi, follow these guidelines:
- Turn on automatic synchronization: πΈ For photo: Google Photo β Settings β Backup and synchronization. βοΈ For documents: Mi Cloud β Settings β Autosynchronization.
- Use cloud baskets: ποΈ Google Drive and Dropbox store files in the Recycle Bin for up to 30 to 90 days.
- Install an alternative file manager: π Solid Explorer or Solid Explorer FX File Explorer has a reliable basket with a customizable shelf life.
- Make regular backups: π Through Settings. β Additionally. β Backup and reset (MIUI). π₯οΈ Or through Titanium Backup (requires root).
Turn off automatic cleaning.
- π§Ή B Settings β Memory. β Autoclean disable the option to Delete files from the basket.
β οΈ Note: Even with synchronization enabled, some file types are not backed up:
- π APK-files (application installers).
- π΅ Music in format FLAC or WAV (Google Photos doesn't reserve them).
- π Application databases (e.g. game savers).
For such files, use manual backup on your PC or external drive.
π‘
The most reliable way to avoid losing data is a combination of cloud sync (Google Photos) + Mi Cloud) and local basket in an alternative file manager.