You deleted photos, videos or documents on your Xiaomi, but they still take up space in memory? The fact is that the MIUI operating system (like standard Android) does not erase files immediately β they end up in a basket where they are stored for 15 to 30 days, which saves from accidental deletion, but over time the basket inflates to gigabytes of unnecessary garbage.
In this article, we will analyze all ways to clean the basket on Xiaomi, Redmi and smartphones. POCO β From standard tools to hidden functions MIUI. We also learn how to permanently disable the cart if it interferes, and what to do if files after cleaning still take up space. MIUI 14β15.
What is a shopping cart on Xiaomi and where it is stored
The Recycle Bin in Xiaomi is a temporary storage for deleted files, similar to the Recycle Bin on Windows. It works in two places:
- π Local basket MIUI β built-in shell function that stores files deleted through Files or Gallery. /storage/emulated/0/MIUI/RecycleBin.
- βοΈ Google Photos Recycle Bin β If you sync with Google, deleted photos/video are stored in the cloud for 60 days.
It's important to understand that the cart doesn't automatically clear when there's not enough memory -- it just stops accepting new files. For example, if there's 5GB of trash in the cart and you're trying to remove another 1GB, the system might give you an error, "Not enough space."
The basket is limited in size:
- π± On smartphones with 128 GB of memory β up to 10 GB.
- π± On devices with 256 GB and more β up to 15 GB.
When you exceed the limit, old files begin to be deleted automatically, starting with the oldest ones.
Method 1: Cleaning the basket through the Files app
The easiest method is to use the standard Files app (a blue folder icon) preinstalled on all Xiaomi smartphones and supports the basket.
Step-by-step:
- Open the Files app.
- In the bottom menu, tap on the basket (dumpster icon).
- Click on the three dots in the top right corner and select Clean the basket.
- Confirm the action by clicking Delete.
If the Clean Recycle Bin button is inactive, the Recycle Bin is empty.
- π Select the required files with a long tap.
- ποΈ Click on the basket icon at the bottom of the screen.
- π Confirm the final removal.
Check if there are any important files in the cart|Make a backup copy of the necessary data|Make sure your phone is at least 20 times charged%|Close all applications that work with files-->
β οΈ Note: Files deleted from the Recycle Bin through Files cannot be restored by standard means MIUI. If you accidentally erase something important, try programs like DiskDigger or Recuva (root rights required).
Method 2: Cleaning through the Gallery (for photos and videos)
If you delete photos or videos through the Gallery app, they end up in a separate shopping cart inside the app.
- Open the gallery.
- Slip on three horizontal lines (menu) in the upper left corner.
- Pick the basket.
- Press Control. β Clear it all up.
Features of the basket in the Gallery:
- π· Stores only media files (photos, videos, GIF).
- β³ Default storage period - 30 days (configurable).
- π Files from this basket can be restored back to the gallery with one tap.
| File type | Where to go after removal | Max. Shelf life. |
|---|---|---|
| Photo/video (deleted via Gallery) | Gallery basket | 30 days |
| Any files (deleted through Files) | MIUI basket | 15β30 days (depending on the model) |
| Google Files Photos | Google's Cloud Bucket | 60 days |
| Documents (PDF, DOC, XLS) | MIUI or Google Drive Recycle Bin | 15-60 days |
β οΈ Note: If you use Google Photos with autosynchronization, deleted files through the gallery can be duplicated in the cloud basket. To completely erase them, clean the cart and in Google Photos (Basket section in the menu).
Method 3: Manual deletion through file manager (for experienced)
If standard methods donβt work (e.g., the Recycle Bin doesnβt open), you can manually delete files through any file manager with access to system folders (e.g., Solid Explorer or FX File Explorer).
Instructions:
- Open the file manager and enable the display of hidden folders.
- Go to /storage/emulated/0/MIUI/RecycleBin.
- Select all files and folders inside (do not delete the RecycleBin folder itself!).
- Click Delete and confirm.
πΉ What to do if there is no RecycleBin folder?
- π Maybe the basket is empty β check through the standard Files app.
- π΅ Some firmware folders are hidden β use Root Explorer (root rights required).
- π Restart your phone β sometimes a folder is created only after the first deletion of the file.
π‘
If you often clean the basket manually, add /MIUI/RecycleBin to the bookmarks of the file manager β this will save time.
Method 4: Automatically clean the basket on schedule
MIUI has a hidden autocleaning feature that allows you to set up file deletion over a certain period of time, which is useful if you forget to manually clean the cart.
How to turn on:
- Open the Settings β Storage.
- Slip on the Cleanup.
- Select Auto Cleaner β Cart.
- Set a period (from 7 to 30 days) and turn on the switch.
Advantages of auto cleaning:
- β° Don't need to bemember about manual cleaning.
- π Prevents overflow of memory.
- π You can choose which types of files to clean (photos, videos, documents).
β οΈ Note: Autoclean does not work for files in the Google Photos Recycle Bin - it needs to be configured separately in the app. MIUI, Check your settings periodically.
How to turn off the basket forever?
Method 5: Clean up the Google Photo Recycle Bin (if synchronization is used)
If you use Google Photos, the media files deleted through it end up in a cloud bin that is not connected to the MIUI Recycle Bin, which can only be cleaned through the app itself:
- Open Google Photos.
- Slip on the profile avatar. β Basket.
- Press Control (three dots) β Clear the basket.
- Confirm removal.
Important nuances:
- βοΈ Files in the cloud bin are stored for 60 days (regardless of settings) MIUI).
- π If you deleted a file from your phone but it stayed in Google Photos, it still takes up space in the cloud (if you donβt clear the cart).
- π± To delete the file from all devices, clear the basket and MIUI, And Google Photos.
π‘
If you use Google Photos, clean the shopping cart on your phone and in the cloud, otherwise files can be duplicated and take up memory twice.
What to do if the basket is not cleaned
Sometimes users find that the cart is not cleaned in the standard ways. Here are 5 reasons and solutions:
| Problem. | Reason. | Decision |
|---|---|---|
| The βClean the Cartβ button is inactive | The basket is empty or the files are locked | Check the RecycleBin folder manually or reboot your phone |
| Files are returned after cleaning | Failure to sync with the cloud | Turn off sync in Google Photos or Mi Cloud |
| The "Inadequate Rights" Mistake | MIUI restrictions or failure of permits | Clear the application's cache Files in settings |
| The basket won't open. | Damage to system files | Update MIUI or reset the Files application settings |
If nothing helps, try resetting the Files app settings**:
- Go to Settings β Applications β Application Management.
- Find Files and select Warehouse.
- Click Clear Data and Clear Cache.
- Reboot the phone.
β οΈ Note: Resetting Files will delete all bookmarks and search history, but will not affect the files on the phone.
How to recover files from the Recycle Bin if they are not already deleted
If you accidentally delete important data, but the cart hasn't been cleaned yet, you can get it back, depending on which application the files were erased through:
1. Recovery through the "Files":
- π Open the files. β Basket.
- π Find the right file and tap it.
- π Click Restore (Icon with a down arrow).
2. Restoration through the Gallery:
- π· Open the gallery. β Basket.
- πΌοΈ Select a photo/video with a long tap.
- π Click Restore at the bottom of the screen.
3. Recovery from Google Photos:
- βοΈ Open Google Photos β Basket.
- πΈ Select files and tap Restore.
- π² Files will be returned to the main gallery and to the phone (if sync is enabled).
πΉ What to do if the basket is already cleaned?
If files have been deleted from the Recycle Bin, try recovery software:
- π οΈ DiskDigger (works without root, but with limitations).
- π§ Recuva (requires the phone to connect to a PC).
- π± Dumpster (a shopping cart application that saves deleted files separately).
Chance of recovery