How to completely clean the basket on the Xiaomi smartphone: instructions for all versions of MIUI

The Xiaomi smartphone basket is a temporary storage for deleted files that many users forget to check, and over time, it gets stuffed with unnecessary photos, videos and documents, taking up precious space in the device’s memory. If you notice that your Redmi, POCO or Mi are running out of space, the first thing you should look at is here.

In this article, we will break down all the ways to clean the cart – from standard methods through the Gallery and File Manager to hidden functions. MIUI, You will also learn how to recover accidentally deleted files from the recycle bin (it is possible within 30 days!) and why some files are not deleted even after cleaning. MIUI 14 and HyperOS.

Where is the basket on Xiaomi and how to open it

Unlike computers where the basket is visible on the desktop, on Xiaomi smartphones, its location depends on the type of files.

  • πŸ“· Gallery - Removed photos and videos are stored here (up to 30 days). β†’ tap three points in the upper right corner β†’ pick the basket.
  • πŸ“ File Manager – Universal storage for all types of files (documents, APK, The path: Files β†’ Categories β†’ Recycled cart (or recently deleted).
  • 🎡 Music – If you delete audio files through the standard Mi Music app, they will end up in a separate bin inside it.

Important: the Recycle Bin in MIUI is not a single storage, for example, files deleted through Google Photos will be in the Recycle Bin of this application, not in the system one, and some third-party file managers (such as ES Explorer) will create their own Recycle Bin.

πŸ“Š How often do you clean your smartphone basket?
Once a week.
Once a month
Only when memory ends
Never cleaned.

If you don't find the cart in the places you're looking at, check the display settings. In some versions of MIUI (like the POCO F5 or Redmi Note 12), the cart is hidden by default.

  1. Open Settings β†’ Additional β†’ File Manager.
  2. Activate the switch Show the basket.
  3. Reboot your smartphone if the changes don’t apply.

The easiest method is to remove unnecessary media from the Gallery app, which is suitable for all Xiaomi models, including the Redmi 10, POCO X5 Pro and Mi 11.

β˜‘οΈ Step-by-step cleaning of the basket in the Gallery

Done: 0 / 4

If the Clean Recycle Bin button is inactive, it means that there are no files in it or they have already been deleted automatically (the system cleans the Recycle Bin every 30 days).

  1. Press your finger on any file in the Recycle Bin β†’ select Delete Forever.
  2. For mass removal, tap on the basket icon in the upper right corner β†’ Clean everything.

⚠️ Note: files deleted from the Gallery Recycle Bin will not be recoverable. If you accidentally erase an important photo, try using programs like DiskDigger or Recuva (root rights required).

Method 2: Cleaning through File Manager (all file types)

The File Manager system allows you to delete not only media, but also documents, APKs, archives and other data. The interface may vary depending on the version of MIUI, but the general logic is the same:

  1. Open the Files app (the folder icon on the desktop).
  2. Go to the Category β†’ Cart (or Recently Deleted) tab.
  3. Slip on three points at the top β†’ Control β†’ Clean the basket.

If the cart is empty but the phone’s memory is still busy, check the hidden folders:

/storage/emulated/0/.trash


/storage/emulated/0/Android/data/com.miui.gallery/cache/trash

These directories contain temporary bin files to clear them:

  1. Connect your smartphone to your PC via USB (in File Transfer mode).
  2. Enable the display of hidden folders in Windows Explorer (View β†’ Hidden Elements).
  3. Remove the contents of the.trash folders manually.

πŸ’‘

If the.trash folder doesn’t open, try using a root-access file manager like Root Explorer or FX File Manager.

Method 3: Automatically clean the basket on schedule

MIUI allows you to set up automatic deletion of files from the recycle bin after a certain period of time, which is convenient if you don't want to manually monitor the release of memory.

  1. Open the Settings β†’ Storage.
  2. Put it on the cleanup. β†’ Cleaning settings.
  3. Turn on the Auto Clean Cart switch.
  4. Choose a period of 7 days, 15 days or 30 days.

On some models (e.g. Redmi Note 11 or POCO M5), this option is hidden in the menu Additional β†’ File Manager β†’ Autoclean. If you don’t find it, upgrade to the latest version of MIUI.

Autocleaning periodAdvantagesDeficiencies
7 daysFrees up memory as much as possibleHigh risk of losing the right files
15 daysBalance between free space and securitySome files may be superfluous.
30 daysMinimum risk of accidental removalIt takes up more memory.

⚠️ Note: If you use Mi Cloud cloud storage, the files in the Recycle Bin can sync with Xiaomi servers, which means that even after cleaning the Recycle Bin on your phone, they will remain in the cloud for another 30 days. β†’ Basket β†’ Clear it all up.

Method 4: Cleaning the Recycle Bin via ADB (for power users)

If standard methods don’t work (e.g., the cart won’t open or files aren’t deleted), you can use ADB (Android Debug Bridge), which requires connecting your smartphone to your computer and basic command line knowledge.

Before we start:

  • πŸ”§ Install. ADB and Fastboot Tools on PC.
  • πŸ“± Turn on Debugging. USB on a smartphone: Settings β†’ The phone. β†’ Version. MIUI (Tap 7 times to activate the developer mode) β†’ Go back to Settings β†’ Additionally. β†’ For developers β†’ Debugging by USB.
  • πŸ”Œ Connect your phone to your PC through USB-cable (select File Transfer Mode).

Now run the following commands in the terminal (or Command Prompt):

adb devices


adb shell




su




rm -rf /storage/emulated/0/.trash/*




rm -rf /storage/emulated/0/Android/data/com.miui.gallery/cache/trash/*

If the su command is not working, then your device has no root rights, in which case use an alternative method:

adb shell


pm clear com.miui.gallery

This command will reset the Gallery settings, including the Recycle Bin, but will not affect the files themselves.

What if the ADB can’t see the device?
1. Check if the drivers are installed for your Xiaomi model (download them from the official website). 2. Try another one. USB-cable (preferably original). 3. Enable the debugging option in the developer settings USB (security settings) and confirm the PC permission. 4. Restart your phone and PC.

Method 5: Recover files from the Recycle Bin (if deleted accidentally)

If you have deleted important files from the recycle bin, you can try to restore them within 30 days (if they have not been permanently deleted by the system).

  1. Open the Gallery β†’ Recycle Bin (or Files β†’ Recycle Bin).
  2. Select the desired files with a long tap.
  3. Click Restore (Icon with arrow down).

If files have already been removed from the shopping cart, try specialized programs:

  • πŸ“± DiskDigger (for Android, works without root, but with limitations).
  • πŸ’» Recuva or EaseUS Data Recovery (requires a phone connection to a PC in Mass Storage mode).
  • πŸ” Dr.Fone (a paid solution with a high recovery rate).

⚠️ Attention: the more you use your smartphone after deleting files, the lower your chances of recovering them, because new data overwrites old memory sectors. If files are critical, disconnect your phone from the Internet right away and don't save anything new.

πŸ’‘

The files in Xiaomi's shopping cart are stored encrypted, and even if you connect your phone to your PC, you can't read them without special tools, so it's better to recover data through your smartphone or with professional software.

Why the cart is not cleaned and how to fix it

Sometimes users are faced with the fact that the shopping cart on Xiaomi is not cleaned or files remain in it even after clicking Delete.

Problem.Reason.Decision
The button Clean the basket is inactiveThe basket is empty or the files are protectedCheck folder access rights or restart your phone
Files are returned after deletionSync with Mi Cloud or Google PhotosTurn off autosynchronization in cloud settings
Error failed to be deletedThe file is used by the system or corruptedUse an ADB or file manager with root rights
The basket won't open.Misfunction of MIUI or GalleryClear the cache of the Gallery app in the settings

If none of the methods worked, reset the Gallery settings:

  1. Go to Settings β†’ Applications β†’ Application Management.
  2. Find the gallery β†’ Warehouse β†’ Clear the data.
  3. Confirm action. Attention: this will delete all the settings of the application, but it will not affect the files themselves.

On HyperOS models (such as Xiaomi 14 or Redmi K70), the cart may work differently. If you upgrade to a new firmware and run into problems, try rolling back on MIUI 14 or wait for a patch from Xiaomi.

FAQ: Frequent questions about the cart on Xiaomi

How many days are files stored in the Xiaomi Recycle Bin?
The standard storage period is 30 days, but you can change this setting in the auto-cleaning settings (the options are 7, 15 or 30 days), and files deleted through Google Photos are stored for 60 days.
Can we increase the volume of the basket?
No, the size of the basket is tightly tied to the space available on the device, the maximum capacity is up to 10% of the total memory of the smartphone, for example, if you have 128 GB, the basket can take up to ~12 GB.
Why is the memory not released after cleaning the basket?
It could be related to: πŸ—‘οΈ Residual files in.trash folders (must be manually deleted). πŸ”„ App cache (clear in Settings) β†’ Warehouse β†’ Cleanup). ☁️ Sync with the cloud (check Mi Cloud or Google Photos).
How to turn off the cart on Xiaomi?
You can't turn off the cart completely, but you can reduce the storage time of files to 1 day: Open Settings β†’ Storage β†’ Cleanup β†’ Cleanup settings. Select a minimum auto-clean period. Some firmware (e.g. MIUI 13) has the option to Delete files immediately - activate it.
Where is the basket in the Mi Cloud?
To clear your cloud storage bin: Open the Mi Cloud app. Go to the Recycle Bin tab. Select files and click Delete Forever. Note that files in Mi Cloud are stored separately from the local shopping cart on your phone.