Hidden files on Xiaomi, Redmi or POCO smartphones take up precious space in memory, slow down the system and may contain remnants of deleted applications, cache or even malicious elements. Unlike regular files, they do not appear in standard Explorer, but they can be detected using special tools or commands. In this article, we will discuss 5 working methods for finding and removing hidden files on MIUI โ from simple ways through embedded settings to advanced techniques using ADB.
It is important to understand that not all hidden files are safe to delete, some of which are critical to operating systems (e.g.,.nomedia or Android/data folders), we will explain in detail which files can be deleted without risk and which should not be touched, and you will learn how to distinguish system debris from useful hidden data and avoid errors during cleaning.
Why do hidden files appear on Xiaomi?
Hidden files on Xiaomi are not always caused by viruses or crashes, but are usually created by:
- ๐ฑ System MIUI โ To store temporary data, logs (.log), configurations (.conf) or backups.
- ๐ฎ Games and applications โ many programs (for example, PUBG Mobile, Genshin Impact saves cache in hidden folders like com.tencent.ig.
- ๐ Software updates โ after installing updates, temporary files remain in folders like /cache or /data/local/tmp.
- ๐ก๏ธ Antivirus and Optimizers โ Xiaomiโs Security App Can Create Hidden Scan Reports.
Most of these files are harmless, but over time they accumulate and take up gigabytes of memory. For example, the thumbnails folder can weigh up to 1-2 GB, even though the user does not see it. And the cache of games like Call of Duty Mobile sometimes reaches 5-7 GB and does not clear automatically.
Method 1: Viewing hidden files through a standard MIUI Explorer
The easiest method is to enable the display of hidden files in Xiaomiโs standard Explorer.This works on all devices with MIUI 12/13/14 (including Redmi Note 12, POCO X5, Xiaomi 13T, etc.).
- Open the Files app** (Folder icon).
- Tap on three points (โฎ) in the upper right corner and select Settings.
- Activate the switch to show hidden files.
- Go back to the root catalogue (/storage/emulated/0/) and check the folders: ๐ Android/data โ cache; ๐ DCIM/.thumbnails โ photo/video sketches; ๐ Download/.temp โ time-loading; ๐ MIUI/backup โ backup.
Now you can manually delete files that you don't need, but be careful not to touch folders with names like system, vendor, etc., which can cause MIUI to crash.
Delete the.thumbnails folder (sketch)
Clear Download/.temp (Temporary Files)
Remove old logs in MIUI/debug_log
Clear the cache in Android/data/<packet>/cache (Remote applications only)-->
โ ๏ธ Note: If you see files with the.apk or.zip extension in folders like /data/local/tmp, Do not remove them during the update. MIUI. This could interrupt the firmware process.
Method 2: Use a file manager with root rights (for advanced ones)
If your Xiaomi has an unlocked bootloader and Magisk (root rights) installed, you can use powerful file managers like Root Explorer or Solid Explorer, which allow you to access system partitions where most of the garbage is hidden.
Instructions:
- Install Root Explorer from Google Play.
- Provide root access at the first start.
- Go to the root directory (/) and open folders: /data/local/tmp # Temporary update files /cache # System cache /system/lost+found # Remains after crashes
- Delete unnecessary files, but do not touch them: ๐ซ /system, /vendor โ critical system files; ๐ซ /data/data โ Application data (may break programs).
With root rights, you can also clean Dalvik-cache (folder) /data/dalvik-cache), But after cleaning it up, it's recommended that you restart the device.
What if after deleting files, the smartphone began to slow down?
Method 3: Cleaning with MIUI Hidden Settings (Hidden Menu)
MIUI has a hidden menu for advanced system setup where you can clear hidden cache and temporary files.This method does not require root rights and works on most devices (including Redmi 10, POCO F4, Xiaomi 12 Lite).
How to open MIUI Hidden Settings:
- Open the Phone app and enter the code: ##4636###
โ ๏ธ Note: Not all codes work on new versions MIUI 14+. If ##4636### doesn't work, try the alternative code: ##2664### It opens the battery test menu, which also has the option of cleaning the cache.
Method 4: Delete hidden files via ADB (without root)
If standard methods donโt work, you can use Android Debug Bridge (ADB), a tool to control your smartphone through your computer, which is suitable for removing hidden files that you canโt access through Explorer.
Step-by-step:
- Download ADB Tools on PC.
- Turn on USB debugging on Xiaomi: Settings โ About Phone โ MIUI version (tap 7 times to become a developer) โ Additional settings โ For developers โ Debugging on USB.
- Connect your smartphone to your PC and open Command Prompt (Windows) or Terminal (Mac/Linux) in the adb folder.
- Follow the commands: adb devices # Check the connection adb shell # Go to the shell of the smartphone ls -la /sdcard/ # View hidden files on the memory card rm -rf /sdcard/.thumbnails # Delete sketches (example)
Through ADB, you can remove:
- ๐๏ธ.thumbnails,.face (sketch and facial recognition data);
- ๐ /data/local/tmp (temporary update files);
- ๐.log,.tmp in application folders.
๐ก
Before deleting files via ADB, back up your important data. the adb pull /sdcard/Backup/ ~/Desktop/ command will copy the Backup folder from your phone to your desktop.
Method 5: Automatic Cleaning with Security App
Xiaomiโs built-in Security App can find and remove hidden debris, including:
- ๐๏ธ Residual files after uninstallation of applications;
- ๐ Duplicate photos and videos;
- ๐ System process cache;
- ๐ Large files (>50 MB that have not been used for a long time.
How to start a deep cleaning:
- Open the "Security" (Shield icon).
Important: Security does not delete critical system files, but it can skip some hidden folders (like game cache).
Table: Which hidden files can be deleted and which can not
| File/folder type | Can I remove it? | Effects of removal | Recommendation |
|---|---|---|---|
| .thumbnails | โ Yes. | Photo/video sketches will be recreated | Remove once every 1-2 months |
| Android/data/<package>/cache | โ Yes (for remote applications only) | Cash will be restored at the next launch of the program | Cleaning after uninstallation of games |
| /data/local/tmp | โ Yes. | Temporary update files | Remove after successful MIUI update |
| MIUI/debug_log | โ Yes. | Logs of the system (not critical) | Cleaning up when memory is lacking |
| /system, /vendor | โ No. | System failure, inability to load | Don't touch without root and backup. |