Many Xiaomi, Redmi and Poco smartphone users running MIUI shells or the new HyperOS face a situation where deleted photos do not disappear completely. Instead, they move to a hidden partition that continues to occupy precious space in the device’s internal memory. This system solution is designed to protect against accidental data loss, but often becomes a source of irritation, especially when you need to make room.
Disabling the deleted file saving function completely requires an understanding of the gallery architecture, since there is no single “Switch off the Recycle Bin” button in the system. You will either have to change the settings of a particular application or use alternative deletion methods. In this article, we will discuss in detail all the available ways to manage deleted files so that you can control your digital archive.
It is important to note that the process may vary depending on the version of the Android operating system and the specific interface modification installed by the manufacturer. We will consider the standard tools of the system, the configuration of cloud services and the use of third-party software to achieve the desired result without losing important images.
The principle of the basket in MIUI and HyperOS
The feature, which users used to call a “basket,” in the Xiaomi ecosystem is implemented through a bundle of local storage and the Xiaomi Cloud service (or Google Photos, depending on your settings). When you delete an image, it does not erase from the physical media instantly. The file is marked by the system as “deleted” and moved to a special directory available for viewing within 30 days.
This approach ensures data security by allowing for the recovery of accidentally erased frames. However, it means that the amount of memory occupied is not released until the storage period expires or manually cleansed. In recent versions of HyperOS, memory algorithms have become more aggressive, but the principle of “buffer zone” has remained the same.
The system limitation is that you can't completely ban files from this buffer in a standard deletion, you can only shorten their shelf life or ignore their presence until they are permanently deleted, and understanding this mechanism is critical to effective memory management.
⚠️ Warning: Forced deletion of files past the bin using third-party file managers can make it impossible to recover them even by specialists.
Setting up the retention period of deleted files
Since you can't completely disable the buffering mechanism for deleted files with regular tools, the most effective solution is to minimize the storage time, which allows files to disappear automatically after a short period of time without cluttering the system, and this requires accessing the gallery settings.
You have to open the Gallery app, go to Albums and scroll to the bottom, and you'll find the recently deleted option, and you'll click on it and you'll see settings where you can change the retention period, and select the minimum possible retention period or the "Delete immediately" option if your version of the software allows.
Note that on some global firmware versions, this option can be hidden or replaced by synchronizing with Google Photos, in which case the storage period management is transferred to the cloud account settings, this is done to unify the experience of using Android devices across different brands.
☑️ Setting up storage time
Disabling sync in Google Photos
Users often confuse the MIUI shell basket with the Google Photos shopping cart, which is installed by default on all certified smartphones. If you have sync enabled, deleted photos can be stored in the Google cloud for years, occupying an account quota, even if they have already disappeared on the phone.
To check this out, open the Google Photos app, click on the profile avatar in the top right corner and select Photo Settings. Next, go to the Recycle Bin. Here you can find the Remove from the Recycle Bin option, where there are multiple options available: 1 day, 30 days or 60 days. Selecting a 1 day period actually simulates turning off the Recycle Bin.
Also available in this menu is the "Full Delete" feature, which if you click on three dots in the corner of the basket screen and select "Elecate Recycle Bin", all files will be destroyed irrevocably. This action cannot be reversed, so use it with extreme caution.
| Parameter | Xiaomi Gallery | Google Photo | File manager |
|---|---|---|---|
| Storage period | 30 days (standard) | 60 days (standard) | Instantly. |
| Recovery | Maybe. | Maybe. | Impossible. |
| Takes up space. | Yeah, until cleanup. | Yeah, in the cloud. | No. |
| Difficulty | Low. | Medium | Tall. |
💡
Use Incognito mode in Google Photos for images that you don't want to save even temporarily. They won't get into the cloud and the cart.
Using File Managers to Delete
If your goal is to make room right now bypassing standard procedures, you can use third-party file managers, and applications like MI File Manager or Total Commander allow you to work with the file system directly, bypassing the gallery interface.
Find the directory where your images are stored, usually /DCIM/Camera or /Pictures. Once you select the files you want, select the option "Delete." The system may ask for confirmation, but the files will disappear immediately without getting to the "Recently Deleted" album. This is because the gallery only tracks deletions that are initiated through its own interface.
But this is a very careful method, and if you work with files directly, you won't see the previews of the images as they are, and you're at a higher risk of deleting system files or important documents. Always double-check the path to the file before you destroy it.
⚠️ Note: Deleting files through Explorer ignores the system's security mechanisms. If you accidentally delete the wrong photo, it will be impossible to restore it with standard means.
Clearing cache and gallery data
Sometimes users want to turn off the cart because the gallery app is not working properly or displays files that have already been deleted, and in such cases, cleaning the cache and application data helps, and this will not turn off the cart function globally, but reset its state.
Go to Settings → Applications → All Apps. Find Gallery. Click Clear and select Clear All Data. Be prepared for the thumbnails to be recreated after this operation, which can temporarily increase the load on the processor.
It is important to understand the difference between cleaning the cache and cleaning the data. The cache contains temporary files to speed up work, and the data stores settings and history of actions. Resetting the data will return the application to a state of “as after installation”, which can help if the basket is “overflowing” with software errors.
Hidden folders.thumbnail
Alternative solutions and third-party galleries
A radical but effective way to get rid of Xiaomi's intrusive shopping cart is to install an alternative photo viewing app.App stores offer a variety of options, such as A Gallery, F-Stop or Simple Gallery, which have their own, more flexible removal settings.
These applications often have a "Delete Forever" feature as the primary one, and the shopping cart is either missing or can be turned off in the settings with a single button. By setting the third-party gallery by default, you minimize interaction with the standard MIUI interface.
In addition, some advanced users use scripts or ADB-commands to freeze the system components of the gallery, but this requires deep technical knowledge and can disrupt the stability of the system. For most users, installing quality third-party software will be the optimal balance between functionality and security.
💡
Installing a third-party gallery is the only way to completely circumvent MIUI system limitations and gain full control over file deletion.