The gallery on Xiaomi, Redmi and Poco smartphones eventually turns into chaos, with thousands of photos, screenshots, duplicates, app cache and hidden files taking up precious space in memory. Even after manually deleting unnecessary shots, the system can show that memory is full โ because of temporary files and metadata that the standard Gallery app does not clean automatically.
In this article, we'll look at 5 proven ways to clean a gallery, from basic photo deletion to deep cleaning of the system cache and hidden folders. You'll learn how to make room without losing important data, why standard deletion doesn't always work, and what MIUI tools will help automate the process. And finally, answers to frequent questions and life hacks to keep the gallery in order.
1. Standard removal of photos and videos through the application "Gallery"
The most obvious, but not always effective, way is to delete files directly in the standard app, which is suitable if you want to get rid of unnecessary pictures manually, but does not solve the problem with cache or duplicates.
How it works:
- ๐ท Open the Gallery app (icon with multicolored squares).
- ๐ Go to the album All photos or select a specific folder (e.g. Screenshots for screenshots).
- ๐๏ธ Press and hold your finger on the file to activate the selection mode. tick off unnecessary photos/video.
- ๐ฎ Click on the basket icon in the upper right corner and confirm removal.
โ ๏ธ Warning: Deleted files enter the Recycle Bin folder (stored for 30 days) and continue to take up space to free up memory immediately after deleting:
- Open the menu (three dots in the upper right corner).
- Pick a basket. โ Clean up.
๐ก
If you want to delete all screenshots at once, go to Screenshots folder, click on three dots โ Select all โ Delete.
2. Removal of duplicates and similar photos using built-in tools
MIUI has a built-in duplicate search feature, but it's hidden in the depths of settings, and it's a technique that can eliminate repetitive images that eat up memory.
Instructions:
- Open the Gallery โ Press three points โ Control.
- Select Similar Photos (or Duplicates in the new MIUI 14+ versions).
๐ Why it matters: Duplicates often appear in:
- ๐ Automatic backup in Google Photos or Mi Cloud.
3. Clearing gallery cache and media files through settings
The Gallery app cache can weigh up to 1-2GB, especially if you frequently view photos or videos, and cleaning it wonโt delete your files, but it will free up space and speed up the app.
How to clear the cache:
- Go to Settings โ Applications โ Application Management.
- Find the Gallery in the list and select it.
- Press Warehouse. โ Clear the cache.
- (Optional) Click Clear Data, but this will reset the app settings (albums, favorites).
โ ๏ธ Warning: If you've cleaned the cache, it's okay to load thumbnails for a long time. The app re-indexes the files. Wait 5-10 minutes or restart your smartphone.
Additionally, you can clean the cache of media storage (responsible for thumbnails and metadata):
Settings โ Applications โ Show all applications (three dots) โ Show system โ Media storage โ Storage โ Clear cacheClear the cache of the Gallery appendix"|Remove duplicates in the section "Similar photos"|Clear the basket folder"|Check the โDownloadsโ folder for unnecessary files|Clear the Media Storage cache"-->
4. Delete hidden files and folders (including.thumbnails and.nomedia)
Xiaomi smartphones create hidden folders and files that are not visible in the standard gallery, but take up space.
- ๐.thumbnails โ photo and video miniatures (can weigh hundreds of MB).
- ๐.nomedia โ files that block the display of folders in the gallery (they do not take up much space, but can hide garbage).
- ๐ DCIM/.thumbnails โ miniature cache for quick download.
- ๐ Pictures/Screenshots โ Sometimes there are temporary files after editing.
To remove them:
- Install a file manager with hidden file support (such as Mi File Manager or Solid Explorer).
- Enable the display of hidden files: Mi File Manager โ Three points โ Settings โ Show hidden files
- Go to the Inner Memory โ DCIM and delete the.thumbnails folder.
- Check Pictures, Downloads, and Movies folders for unnecessary files with the.tmp or.nomedia extension.
โ ๏ธ Attention: Do not delete folders DCIM/Camera or Pictures/Screenshots All photos will be lost, and only temporary files (with extensions.tmp,.thumb) and empty folders.thumbnails will be deleted.
What if, after deleting.thumbnails, the gallery creates this folder again?
5.Use of third-party applications for deep cleaning
If the built-in MIUI tools don't work, third-party utilities can find:
- ๐๏ธ Empty folders (remain after deleting photos).
- ๐ธ Blurred or damaged photos.
- ๐ฅ Unrecorded videos (files with zero size).
- ๐ Duplicates in other folders (for example, WhatsApp Images and other folders) DCIM).
Top.-3 gallery-cleaning:
| Annex | Functions | Pluses | Cons |
|---|---|---|---|
| Files by Google | Search for duplicates, large files, clearing cache | Free, no advertising, integration with Google Photos | Can't find hidden folders.thumbnails |
| CCleaner | Deep cache cleanup, deletion of temporary files | Convenient interface, cleaning on schedule | Paid functions in the Pro-version |
| Duplicate Files Fixer | Search for duplicate photos, videos, documents | Accurate comparison algorithm, cloud storage support | Slow scanning of large libraries |
๐น Tip: Before mass removal through third-party apps, back up important photos in Google Photos or on PC. Some utilities may mistakenly mark unique photos as duplicates.
6. Automatic Gallery Cleanup: MIUI Settings and Cloud Services
To avoid manual cleaning, set up automatic cleaning through:
1. The "Cleaning" function in MIUI:
- ๐งน Go to Settings. โ Cleanup.
- ๐ Press Deep Cleanup. โ Select Garbage Files and App Cash.
- โ๏ธ Enable Auto Cleanup (will remove garbage once a week).
2. Google Photos (automatic backup + cleanup):
- ๐ฑ Install Google Photos and enable Backup and Sync.
- โ๏ธ Go to Settings. โ Free up space โ the app will prompt you to delete photos that have already been uploaded to the cloud.
- ๐๏ธ Set up automatic removal of screenshots older than 30 days: Settings โ Archives โ Automatic removal of screenshots.
3.Mi Cloud (for Xiaomi users):
- ๐ฅ๏ธ Enable backup in Settings โ Xiaomi account โ Mi Cloud โ gallery.
- ๐ After uploading photos to the cloud, you can delete them from the device, leaving only thumbnails.
๐ก
Auto-cleaning through Google Photos or Mi Cloud is the most reliable way to free up space, but requires stable internet and free space in the cloud.
Frequent Mistakes and How to Avoid Them
When cleaning a gallery, users often face problems, and here are the most common ways to solve them:
1. After the photo is deleted, memory is not released
โ ๏ธ Note: This happens if files are not deleted from the internal memory, but from the internal memory. SD-Cards (which can be connected as portable storage) also check the Recycle Bin folder - it may be hidden in some versions MIUI.
Solution: Use a file manager (such as Mi File Manager) and manually check the DCIM, Pictures, and Downloads folders on both media.
2.The gallery is not updated after cleaning
If they are still displayed in the gallery after the photo is deleted, the reasons may be:
- ๐ The thumbnail cache is not updated (clean the cache as in Section 3).
- ๐ Files not deleted completely (check hidden folders).
- ๐ฑ The Gallery app is not working properly (reset it or reinstall the update via Google Play).
3. You can not delete files from the DCIM/Camera folder
โ ๏ธ Note: If the system writes โImpossible to deleteโ, it is likely that the files are protected or used by another application (for example, Google Photos is syncing them at the moment).
Decision:
- Close all applications that work with photos (including cloud services).
- Restart your smartphone and try to delete it again.
- If it doesnโt work, connect your phone to your PC and delete files through Windows/macOS Explorer.