How to Clean the Recycle Bin on Xiaomi: From MIUI 12 to MIUI 15

The shopping cart on Xiaomi smartphones is a temporary storage for deleted files that many users forget to check, and over time it is filled with gigabytes of unnecessary data: photos, videos, documents and even a cache of applications. If you notice that the phone’s memory suddenly runs out and the gallery or file manager appears β€œghosts” of old files, the problem is precisely in the crowded basket.

In this article, we will discuss all the ways to clean the cart on Xiaomi, including hidden MIUI functions, recovery of accidentally deleted data and setting up automatic cleaning. The instructions are relevant for models from Redmi Note 10 to Xiaomi 14 Ultra and the firmware versions from MIUI 12 to MIUI 15. Particular attention will be paid to the hidden basket in the Files application, which is known to less than 20% of users.

Where is the Xiaomi cart and why is it filled

Unlike the iPhone or Samsung, where the basket is usually one, Xiaomi can have three:

  • πŸ“ Gallery basket - stores deleted photos and videos (path: Gallery) β†’ Albums. β†’ Basket).
  • πŸ“‚ File Manager Recycle Bin – Collects all deleted documents, APK, archives (path: Files) β†’ Categories β†’ Basket).
  • πŸ”„ Hidden basket MIUI β€” System Storage for Temporary Files (Available through Settings) β†’ Memory. β†’ Cleanup).

By default, files are stored in the recycle bin for 30 days, but this period can be changed. The main problem is that many users do not know that MIUI automatically transfers to the recycle bin not only explicit deletes, but also:

  • πŸ—‘οΈ Files deleted through "Memory Optimization" (Settings) β†’ Battery and productivity).
  • πŸ“± App cache after resetting settings (Settings) β†’ Annexes β†’ Clear the cache).
  • πŸ” Antivirus scan results (Security) β†’ Scanning).

⚠️ Note: If you use Google Photos or Mi Cloud, the files deleted through them do not enter the local shopping cart Xiaomi.

πŸ“Š How often do you clean your smartphone basket?
Once a week.
Once a month
Only when memory ends
Never cleaned.
I don't know where she is.

This is the most obvious, but not always effective, method, and many users limit themselves to it, unaware that 80% of the "junk" is hidden in other sections.

Instructions:

  1. Open the Gallery app (flower icon).
  2. Slip on three horizontal lines (☰) lower-right β†’ select the albums.
  3. Scroll down to the basket section (urn icon) πŸ—‘οΈ).
  4. Click Control (top right) β†’ highlight unnecessary files or tap Select All.
  5. Click Remove (below) and confirm the action.

If the Remove button is inactive:

  • πŸ”’ Check if the protection mode is enabled (in the gallery settings).
  • πŸ“Ά Make sure your phone is connected to the internet – some versions MIUI Requires verification of the Mi Account.
  • πŸ”„ Restart your phone and try again.

β˜‘οΈ Preparation for cleaning the gallery basket

Done: 0 / 4

Method 2: Cleaning the Recycle Bin in the File Manager (Hidden Files)

The MIUI file manager hides the basket deeper than the gallery.

  • πŸ“„ Deleted documents (.pdf,.docx,.xlsx).
  • πŸ“¦ Archives (.zip,.rar) and APK-file.
  • 🎡 Audio files and recordings from the recorder.

How to clean:

  1. Open the Files app (folder icon).
  2. Go to the Category tab (bottom).
  3. Scroll to the Recycle Bin section (may be called Recently Deleted).
  4. Tap Edit β†’ Select files β†’ Delete forever.

If there is no basket section:

  • πŸ” Enter the file manager search box for recycle or.trash.
  • πŸ“ Go to the Inner Memory β†’.recycle (hidden folder).
  • πŸ”§ Enable the display of hidden files: Files β†’ ☰ β†’ Settings β†’ Show hidden files.
How to recover files from the file manager basket?
To recover a file, open the Recycle Bin in the Files app, select the item you want, and tap "Restore." The file will return to the original folder, and if there is no button, the file is deleted permanently or has been in the Recycle Bin for more than 30 days.

Method 3: Clean the system basket through MIUI settings

MIUI has a hidden system basket that doesn't show up in the gallery or file manager.

  • 🧹 Temporary application files (cache, logs).
  • πŸ“± Data after resetting settings (Settings) β†’ The phone. β†’ Resetting settings).
  • πŸ”„ Files deleted through memory optimization.

How to clean:

  1. Go to Settings. β†’ Memory.
  2. Slip the cleanup (or clear the place).
  3. Wait for analysis β†’ select the category of Recycle Bin or Recently Deleted.
  4. Press Clean and confirm.

If the item is not on the list:

  • πŸ”„ Update. MIUI Up to the latest version (in old firmware, the function is hidden).
  • πŸ“± Use Developer Mode: Go to Settings β†’ The phone. β†’ Version. MIUI (Tap 7 times, then in Settings β†’ Additionally. β†’ For developers β†’ Turn on basket cleaning.

⚠️ Attention: Cleaning the system basket through settings deletes files irrevocably, unlike a gallery where there is a possibility of recovery.

Method 4: Automatically clean the basket (MIUI setting)

To avoid manually cleaning the cart, set up automatic removal:

ParameterWhere to set upRecommended value
Storage period in the basketSettings β†’ Memory β†’ Cart β†’ Storage period7-15 days (default 30)
Autocleaning with a lack of memorySettings β†’ Battery and Performance β†’ Memory OptimizationTurn on
Exceptions for the basketgallery β†’ ☰ β†’ Settings β†’ Basket β†’ ExceptionsAdd important folders (e.g. Screenshots)
Notifications for completionSettings β†’ Notifications β†’ System notifications β†’ MemoryInsert (threshold: 80% of the filling)

To set up automatic cleaning:

  1. Open the Settings β†’ Memory β†’ Recycle Bin.
  2. Activate the Automatic Cleaning Switch.
  3. Set a fill threshold (e.g., 5GB).
  4. Choose the frequency (weekly/monthly).

πŸ’‘

If you take pictures often, set the gallery settings (☰ β†’ Settings β†’ Recycle Bin) exception for the Camera folder, so photos won't automatically be deleted from the Recycle Bin.

Method 5: Cleaning the Recycle Bin via PC (for power users)

If the shopping cart on your phone doesn’t clear or gives you errors, connect Xiaomi to your computer and use it. ADB-commands or file manager.

Instructions for Windows:

  1. Connect your phone to your PC via USB (enable USB debugging in Settings β†’ About Phone β†’ MIUI β†’ 7 taps β†’ For developers).
  2. Open the Command Prompt (Win + R β†’ cmd).
  3. Enter the commands: adb shell su rm -rf /storage/emulated/0/.recycle/* rm -rf /storage/emulated/0/Android/data/com.miui.gallery/cache/trash/*
  4. Reboot the phone.

Alternative method (without ADB):

  • πŸ–₯️ Use Total Commander or ES Explorer on PC to access hidden folders.
  • πŸ“ Go on the path of internal memory β†’.recycle or.trash.
  • πŸ—‘οΈ Delete all files manually.

⚠️ Attention: Use ADB Requires root rights for some Xiaomi models (e.g., for example, POCO F5 or Redmi K60). Without root, the commands may not work. It will also reset some system settings.

What to do if the basket is not cleaned

If after all the manipulations the basket remains filled, check:

Problem.Reason.Decision
Remove button is inactiveFiles protected by MIUI or third-party softwareTurn off privacy protection in security settings
The basket is empty, but memory is busy.Hidden system files or cacheUse Settings β†’ Memory β†’ Deep Cleaning
The "Impossible to delete" errorDamaged files or file system errorRestart your phone in Safe Mode (click the power button β†’ β€œReboot in Safe Mode”)
The basket is not on the menuObsolete version of MIUI or regional firmwareUpdate the software through Settings β†’ System Update

If nothing helps:

  • πŸ”„ Reset Gallery settings: Settings β†’ Annexes β†’ gallery β†’ Warehouse β†’ Clear the data.
  • πŸ“± Install an alternative file manager (like Solid Explorer) and clear the Recycle Bin through it.
  • πŸ”§ Perform reset to factory settings (pre-save data!).

πŸ’‘

If the recycle bin is not cleaned through standard methods, the cause is often a corrupted file system, in which case only resetting settings or flashing through the Mi Flash Tool will help.

FAQ: Frequent questions about cleaning the cart on Xiaomi

Can I recover files after cleaning the cart?
Yes, but only if: πŸ—‘οΈ Files were deleted less than 30 days ago (duration depends on settings). πŸ“± The phone's memory was not overwritten (no new apps were installed, no photos were taken) Use programs like DiskDigger or Recuva (root required). Google Photos will work for photos (if sync was enabled).
Why is the memory not released after cleaning the basket?
It's because of this: πŸ“ Hidden duplicates (MIUI Creates copies of files in /MIUI/Extra). πŸ”„ Application cache (cleared through Settings) β†’ Memory. β†’ Cash). πŸ—ƒοΈ System logs (remove via Settings) β†’ The phone. β†’ Error logs. For complete cleaning, use the combination: Cart cleaning β†’ Clearing the cache β†’ Reboot.
How to increase the storage time of files in the basket?
By default. MIUI Stores files for 30 days, but this can be changed: Open the Gallery β†’ ☰ β†’ Settings β†’ Recycle Bin. Select Storage Term. Set a value from 1 day to Never. For file manager path: Files β†’ ☰ β†’ Settings β†’ Basket β†’ Storage period.
Can I turn off the cart on Xiaomi?
Yes, but this is not recommended, as there is an increased risk of permanent data loss. To disable: Go to Settings β†’ Memory β†’ Recycle Bin. Turn off the switch Use Recycle Bin. Confirm action (files will be deleted immediately). Alternatively: set a minimum storage period (1 day) instead of completely shutting down.
Why are some Xiaomi models not equipped with a cart?
The cart may be missing for three reasons: πŸ“± Outdated firmware (up to) MIUI Update the phone. 🌍 Regional version (e.g. Xiaomi for India) Install global firmware. πŸ”§ Disabled function in the developer settings. Enable it through Settings β†’ Additionally. β†’ For developers β†’ Turn on the basket.