Xiaomi Mi 9 is one of the brandβs most popular flagships, but even it has memory problems over time. Many users find that deleted photos, videos or documents donβt disappear immediately, but end up in the basket, occupying precious space. In this article, we will discuss exactly where the basket on the Mi 9 is stored, how to clean it in different ways, and what to do if the files are not deleted.
It's important to understand that Xiaomi's shopping cart works differently than it does on a computer, and there's no single garbage can -- every application (gallery, file manager, cloud) has its own temporary folder for deleted data, and we'll show you how to find and clean each one, and we'll also talk about hidden nuances that aren't written about in the standard instructions.
Where is the basket on Xiaomi Mi 9?
On the Mi 9, the shopping cart is not a separate application, but virtual folders within system and third-party services.
- π· Gallery (Google Photos or Standard) MIUI Gallery β Stores photos and videos for 30-60 days.
- π File Manager (Files by Google) MIUI File Manager β temporarily saves deleted documents.
- βοΈ Mi Cloud β a cloud-based shopping cart where files are stored for up to 30 days.
- π€.trash system folder β a hidden directory where some applications put garbage.
The largest basket is usually in the Gallery, to open it:
- Launch the Gallery app.
- Slip on three horizontal lines (menu) in the upper left corner.
- Select the Recycle Bin (or Recently Deleted in English).
π‘
If the menu does not have a βBaskbasketβ option, update the Gallery app via Google Play β in older versions this feature may not be available.
In Mi Cloud, the Recycle Bin is hidden deeper: go to the cloud settings, select Storage Management β Recycle Bin. This is where files are stored for up to 30 days, but you can manually delete them earlier.
Method 1: Cleaning the basket through the Gallery
This is the easiest method that is suitable for removing photos and videos.
- Open the Gallery app (an icon with colored squares).
- In the upper left corner, click on the menu (three lines) and select the Cart.
- In the upper right corner, tap on the Control (or Select).
- Check all the files or select the right ones.
- Click Delete Permanently (or Delete Permanently)
If the Remove button is permanently inactive, it means:
- π Files are not expired (usually 30 days).
- π Files protected by Mi Account (must be confirmed with a password).
- π΅ No Internet connection (for cloud files).
Sync with Mi Cloud disabled|Files are not password protected|There is enough space available on the device.|Device connected to Wi-Fi (for cloud files)-->
Once deleted, the files will disappear from the recycle bin, but may remain in the cache. To free up space completely, go to Settings β Apps β Gallery β Storage and click Clear Cache.
Method 2: Delete via File Manager
If you delete the documents, APK-files or other data through MIUI File Manager, you can find them in a separate cart:
- Open the File Manager (Icon with folder).
- In the bottom menu, select Categories β Cart.
- Press Control in the upper right corner.
- Mark the files and tap Delete.
Unlike the Gallery, it only lasts 15 days, and if the cart is empty, but the memory is still busy, check:
- ποΈ.trash folder in the root directory (hidden, you need to enable the display of hidden files in the manager settings).
- π folder Download/.trash β Here are the remote downloads.
How to enable the display of hidden files?
If the files in the cart are not deleted, try:
- Reboot the phone.
- Clear the File Manager cache in the settings.
- Delete files via Google Files (if installed).
Method 3: Cleaning the Mi Cloud Cart
Mi Cloud automatically syncs photos, contacts and notes, and deleted files are fed into the cloud bin to clear it:
- Open the Settings. β Mi Account.
- Choose Mi Cloud. β Storage management.
- Slip on the basket.
- Tag files and click Delete Forever.
Please note:
- βοΈ Files in the cloud bin take up space in your Mi Cloud, not your phone.
- π Confirmation may be required for removal SMS email.
- β³ Recover files after cleaning the basket is impossible.
Yes, sync everything | Only contacts and notes |No, no use |Tryed, but turned off |I don't know what it-->
If the cloud cart is not cleared, check:
- π Internet connection stability (better to use Wi-Fi).
- π Updates to the Mi Cloud app on Google Play.
- π± Is there enough space in the cloud storage (when overflowing files are not deleted).
Method 4: Manual removal via ADB (for experienced)
If standard methods donβt work, you can clear the cart via ADB (Android Debug Bridge), a method that is suitable for removing system temporary files, but requires debugging over USB.
Instructions:
- Turn on Developer Mode on Mi 9: Go to Settings β About Phone. tap on MIUI Version 7 times. Go back to Settings β Additional β Developer. Activate USB Debugging.
ADB-tools
adb shell
rm -rf /storage/emulated/0/.trash/*
rm -rf /storage/emulated/0/Download/.trash/*Reboot the phone.
π‘
ADB-commands delete files irrevocably, including those that may not have been displayed in the standard Recycle Bin. Use this method only if you are confident in your actions.
If the memory is not free after the execution of the commands, check other system folders:
adb shell du -sh /storage/emulated/0/* | sort -rhThis team will show you which folders take up the most space.
Method 5: Resetting cache via Recovery
If the cart is not cleaned by any means, the problem may be the damaged cache of the system, in which case the reset via Recovery will help:
- Turn off the Xiaomi Mi 9.
- Press the Power button + Volume up until the Mi logo appears.
- From the Recovery menu, select Wipe & Reset β Wipe Cache.
- Confirm the action and restart the phone.