Modern Xiaomi, Redmi and POCO smartphones have powerful cameras that take high-resolution images, which inevitably leads to quick filling of internal memory. Users often face a situation where seemingly already deleted images continue to take up precious space or are displayed in the gallery. This is due to the peculiarities of the Android operating system and the MIUI or HyperOS shell, which create additional copies and backups for data security.
Understanding the media storage structure is critical for those who want to completely clear the device of excess visual debris. Simply clicking the Remove button in the gallery is often not enough, as files move to temporary storage or sync with cloud services. In this material, we will break down all the levels of deletion so that you can guarantee free space and privacy.
The final cleanup process requires several steps to be performed in sequence across different parts of the system. We will look at standard methods through embedded applications, working with cloud storage and using advanced tools to find hidden residual files. It should be remembered that after all the steps described below, data recovery will not be possible using standard methods.
The mechanism of the basket in the gallery MIUI and HyperOS
When you delete a photo in the standard Gallery app on Xiaomi smartphones, the system doesn't physically erase the file right away. Instead, it moves to a special system section known as Recycle Bin or Recently Deleted, a feature designed to protect against the accidental loss of important frames, allowing you to recover them for a set period, usually 30 days.
Finding files in the bin means they still take up space in the device's internal storage, which can come as a surprise to the user when the memory is not freed after the gallery is cleaned, and the second step to actually delete the data is to clean up the temporary storage.
To access the cart settings and manage its contents, follow the following steps:
- 📂 Open the Gallery app and go to the Albums tab».
- 🗑️ Scroll down the album list and find Deleted.
- ⚙️ Click on the menu (three dots or gear) to select the Clean All option.
It is important to note that in some versions of the MIUI shell, access to the Recycle Bin can be hidden or require authorization through the Mi Account. If you do not see the Remote folder, check the cloud sync settings, as remote file management can be transferred to the cloud interface.
⚠️ Warning: After cleaning the Deleted folder in the gallery, it becomes impossible to restore photos using standard Android tools.
There is also a nuance associated with sketch caching. Even after the original file is physically deleted, its thumbnail can remain in the system cache, creating the illusion of the presence of a photo. To completely clean it, you may need to clean the cache of the Gallery application through the application settings menu.
Cleaning up Google's cloud storage Photos
Most Android users default to Google Photos for backup, and the thing about this app is that deleting a photo in the phone gallery often leads to it being removed from the cloud, but only if the sync is active, but if you previously deleted a photo from the cloud interface, they could end up in a separate shopping cart on Google itself.
Files removed from Google Photos are stored in the cloud bin for 60 days, and while they are there, they occupy your Google account quota, but do not take up space on your phone if the Free Space feature has been used before, but for complete privacy, they must be removed from there.
The process of final removal from the cloud is as follows:
- ☁️ Launch the Google Photos app on your Xiaomi.
- 👤 Click on the profile avatar in the upper right corner of the screen.
- 📂 Select the Recycle Bin (or "Library» → «Basket»).
- ❌ Click “Clean the Cart” or select specific photos and click “Delete Forever».
If you have multiple Google accounts installed on your device, you need to delete them separately, and users often forget about secondary accounts that can also sync the library.
There is an important aspect of Free Space, which removes photos that are already securely stored in the cloud from your device, so if you want to delete photos everywhere, delete them from the cloud first (as described above), then use the free space function or delete them locally.
Removing hidden and system miniatures
One of the most annoying problems with Android is the appearance of ghost photos, you deleted the original, you cleared the cart, but you still see a blurry image or thumbnail in the gallery or file manager, and this is because the system and applications create smaller copies to quickly display in the lists.
These files are stored in hidden system folders, which are rarely visited by the average user. On Xiaomi devices with a MIUI shell, the path to them may differ depending on the version of Android, most often they are in the.thumbnails directory inside the DCIM folder or in the cache of specific applications.
To manually delete residual files, follow the following steps:
- 📁 Open the Explorer app (or download Files by Google).
- ⚙️ Enable the display of hidden files in the Explorer settings (usually the item “Hidden files»).
- 🔍 Go on the path of the Internal Shared Drive → DCIM →.thumbnails.
- 🧹 Select all the contents of the folder and click Delete.
☑️ Checking of waste storage sites
Be careful when deleting files in the system folders. Only delete the contents of the.thumbnails folder, but not the folder itself or other system files, as this can lead to incorrect display of the gallery interface.
Apps like WhatsApp and Telegram often save the images to separate folders (such as WhatsApp/Media/WhatsApp Images), deleting a photo in a chat doesn’t always delete a file from the phone’s memory unless you tick the box.
Working with the file system through the Explorer
For users who prefer full control of files, Xiaomi’s built-in Explorer tool provides a wide range of features, which allows them to find duplicates, large files and remnants of deleted data that may have been lost in the back of directories. Effective memory management is impossible without understanding the structure of folders.
In the newer versions of HyperOS and MIUI 14+, the conductor has an improved memory analyzer, which automatically scans the device and suggests removing file categories such as Big Files, Duplicates or Unnecessary Files, which is the safest way to clean for inexperienced users.
The table below shows the main directories where deleted but not cleaned data are most often accumulated:
| Directory | Description of the contents | Security of removal |
|---|---|---|
| DCIM/Camera | Original photos and video from the camera | High (if files are not needed) |
| DCIM/.thumbnails | Cash miniatures of images | High (contents can be removed) |
| Pictures/Screenshots | Screenshots of the screen | Tall. |
| MIUI/Gallery/cloud | Cash of the Xiaomi Cloud Gallery | Medium (reloading may be required) |
When working with a file manager, use the size sorting function. Often it turns out that the space is not taken by the photos themselves, but by video files or packets of images downloaded from the Internet. Sorting by date will help you find old archives that you forgot to delete.
What if the.thumbnails folder is not deleted?
Using the “Security” application for cleaning
Every Xiaomi smartphone has a Security system app preinstalled, not just an antivirus, but a powerful processor that includes garbage cleaning, and the app's algorithms can find residual files left over from deleting apps or media files.
Cleanup scans cache, advertising files, and install packet residues, and while it is primarily focused on system debris, it often finds forgotten images in temporary file folders, and using this tool regularly helps keep memory in order.
Procedure for deep cleaning:
- 🛡️ Open the Safety app (green icon with lightning).
- 🧹 Click on the Cleanup button and wait for the scan to be completed.
- 📄 Click on “Junk” or “Deep Cleanup” for a detailed view.
- ✅ Mark categories related to images or unknown large files and confirm deletion.
⚠️ Attention: In the Deep Clean section, look carefully at file previews.The app may suggest removing old screenshots or saved images from browsers you may have forgotten but need.
Also in the Security app, there's a Memory section that visualizes (occupied space), and you can find the Other or System Files category, which sometimes hides misclassified photo albums inside.
Synchronization problems with Mi Cloud and Google
Synchronization conflict is a common reason why deleted photos come back. If you have sync with Mi Cloud (Xiaomi Gallery) and Google Photos enabled at the same time, you can have a ping-pong situation. You delete the photo in the gallery, it is deleted in one cloud, but the next update pulls up from the second cloud.
To avoid this, you need to determine which service is the main one for storing your photos. If you use the Xiaomi ecosystem, it is more convenient to keep sync only with the Mi Cloud. If you are in the Google ecosystem, turn off sync of the Xiaomi gallery.
How to check and disable Mi Cloud sync:
- Go to Settings. → Mi Account.
- Choose Cloud → Gallery.
- Turn off the switchboard Synchronization with the cloud.
- The system will ask what to do with the photo on the device, select “Delete from the device” if you want to leave the photo only in the cloud, or “Leave” if you want to store it locally.
💡
To prevent conflicts, use the one-source rule: select either Google Photos or Mi Cloud as your primary storage, and turn off gallery sync in the second service settings.
After changing the sync settings, it is recommended to restart the device, which will allow services to recalculate file indexes and remove those that no longer need to be displayed under the new rules.
💡
The main reason for returning deleted photos is active synchronization across two different cloud services at the same time.