Why Xiaomi has hidden folders and why you should look for them
Every Xiaomi, Redmi, or POCO smartphone owner is faced with a situation where the space on the device mysteriously disappears even though you havenโt downloaded anything, because of hidden system folders that the MIUI shell hides from the userโs eyes, which take up 1 to 10 GB of memory, but do not appear in the standard file manager.
Hidden folders on Xiaomi are divided into three types: system (necessary for Android and MIUI), application cache (temporary files that can be cleaned) and utility (logs, memory dumps, backups). For example, the MIUI folder in the root directory weighs up to 3 GB and contains themes, wallpaper, widget data. And the.thumbnails directory stores photo and video thumbnails that take hundreds of megabytes.
But why is the manufacturer hiding these files? One, so that users don't accidentally delete critical data, which will cause system failures. Two, MIUI automatically manages the cache, and manual intervention can disrupt optimization. But if you're an experienced user or you just want to make room, you can access the hidden folders. The main thing is to do it carefully.
Where exactly are hidden folders stored on Xiaomi: paths and location
All hidden folders on Xiaomi smartphones are divided into two categories by location: internal memory and external memory card (if installed).
- ๐ /storage/emulated/0/ โ The root directory of internal memory (here are hidden folders with a dot at the beginning of the name, for example.data or.miui).
- ๐ /data/ โ system partition (available only with root rights, contains application folders such as /data/data/com.android.chrome/).
- ๐๏ธ /sdcard/ โ symbolic link to internal memory (often temporary messenger files are hidden here).
- ๐พ /storage/XXXX-XXXX/ โ external SD-map (if used, hidden folders may be duplicated here).
The most โvoraciousโ hidden directories on Xiaomi:
| folder | Location. | What it keeps. | Can I remove it? |
|---|---|---|---|
| .thumbnails | /storage/emulated/0/DCIM/ | Photo and video miniatures | Yes (releases up to 1GB) |
| MIUI | /storage/emulated/0/ | Themes, wallpaper, widget data | Partially (only cache can be removed) |
| Android/data/ | /storage/emulated/0/ | Cash and application data | Yes (but some games keep progress here) |
| .estrongs | /storage/emulated/0/ | File Manager Settings ES Explorer | Yes (unless you use it) |
| lost.dir | /storage/emulated/0/ | Files recovered after failures | Yes (after checking the contents) |
Important: /data/ contains critical system files. It can't be cleaned without root rights, and with superuser rights, it can lead to a device "brick." If you're not sure about your actions, it's better to limit yourself to cleaning the cache through the MIUI settings (Settings โ Applications โ Application Management โ Clear cache).
How to turn on the display of hidden folders: 3 working methods
By default, MIUI hides system and service directories, but they can be made visible. Let's look at three proven methods, from the simplest to the most advanced.
Method 1: Using a standard MIUI file manager
The safest method that does not require the installation of third-party applications:
- Open the Files app (the folder icon on the desktop).
- Slip on three dots in the upper right corner and select Settings.
- Activate the switch to show hidden files.
- Return to the root directory, and folders with a dot at the beginning of the name (e.g.,.data) will be visible.
Method Limitation: Some system folders (e.g. /data/) will still remain hidden because they are blocked at the Android level.
Method 2: Using Third-Party File Managers
Applications like Solid Explorer, FX File Explorer, or Root Explorer (for root devices) offer more features:
Install a file manager from Google Play
Provide all the requested permissions
Create a backup copy of important data
Do not delete files with unknown extensions (.db,.odex,.so)-->
- ๐ฑ Solid Explorer: After installation, go to Settings โ Hidden files and enable display.
- ๐ง FX File Explorer: Select View from the menu โ Show hidden files.
- ๐ ๏ธ Root Explorer: Requires root rights, but shows all system folders, including /data/.
Warning: Even with root rights, deleting files from /system/ or /data/data/ could cause MIUI to crash. For example, deleting the com.android.providers.media folder will reset all media files in the gallery.
Method 3: Through ADB (for power users)
If you need to access deep-hidden system files without root, you can use Android Debug Bridge (ADB). This method requires a computer and USB-cable.
Instructions:
- Enable USB debugging in the developer settings (Settings โ About Phone โ MIUI version โ tap 7 times, then go back to Additional โ For Developers).
- Connect your smartphone to your PC and open the command line (Windows) or terminal (macOS/Linux).
- Enter the command: adb shell ls -la /storage/emulated/0/ This will show all files, including hidden ones.
- To copy a hidden folder on a PC: adb pull /storage/emulated/0/.thumbnails C:\backup\
โ ๏ธ Attention: teams ADB They give you low-level access to the file system. -rf / instead of ls, it can erase all data on the device. Use this method only if you understand the consequences.
What hidden folders can be deleted and which ones canโt
Not all hidden folders are equally useful. Some can be cleaned, some can only be partially cleaned, and some can't be touched.
โ Safely remove (frees up space)
- ๐๏ธ.thumbnails -- photo and video thumbnails -- deleting the originals won't hurt, but the gallery will recreate the folder the next time you open it.
- ๐งน.estrongs,.nomedia are third-party service files. If you don't use these programs, delete them.
- ๐ Lost.dir โ files recovered from crashes. It usually contains broken data that can be erased.
- ๐๏ธ Android/data/<annex>/cache โ Application-specific cache. Cleared without consequences.
โ ๏ธ Careful (partial cleaning)
- โ๏ธ MIUI โ You can delete theme and wallpaper folders, but donโt touch backup and extra.
- ๐ฑ Android/obb/ โ Game files (e.g. com.gameloft.*) Deletion will require re-uploading of data.
- ๐.android_secure โ Some applications have been encrypted, and deleting it can reset the settings.
๐ซ Under no circumstances shall remove
- ๐ /data/ โ Deleting files here will take the phone down.
- ๐จ /system/ โ firmware MIUI. Changes will lead to a "brick".
- ๐ Android/data/com.android.* โ System applications. Deleting will cause errors in the phone's operation.
๐ก
Before you delete hidden folders, back up your files via MIUI: Settings โ System & Device โ Backup, which will allow you to recover data if something goes wrong.
๐ก
Folders with a dot at the beginning of the name (.thumbnails,.data) are the standard way to hide files in Linux/Android. Deleting them doesn't harm the system unless you touch the system partitions.
What to do if hidden folders take up too much space
If the memory analysis through Settings โ Memory shows that hidden files take up 5+ GB, itโs time to act.
- App cache clearing: Go to Settings โ Apps โ App management, select the heaviest app (like Facebook or TikTok) and click Clear cache. This will free up 500MB to 2GB.
- Remove thumbnails: The.thumbnails folder can weigh up to 1 GB. Delete it through the file manager - the system will create it again, but with an optimized size.
- Clean up downloads: The Download folder often contains unnecessary APKs, archives and documents. sort files by date and delete outdated ones.
- Resetting unnecessary MIUI data: In Settings โ About Phone โ Memory โ MIUI data can be cleared of the theme cache, wallpaper and widgets.
If the place ends quickly again after cleaning, check:
- ๐ Auto-update apps in Google Play (can download gigabytes in the background).
- ๐น Backup copies in Settings โ Google โ Backup (sometimes duplicate data).
- ๐ฎ Cache games (eg Genshin Impact or Call of Duty Mobile can take 5-10 GB).
โ ๏ธ Warning: If after cleaning the hidden folders, the phone starts to slow down or restart, then you have deleted the critical files. โ System and device โ Resetting settings).
Hidden folders on Xiaomi with root rights: risks and opportunities
Getting root permissions opens up all hidden folders, including /data/ and /system/ system partitions.
- ๐ซ Loss of warranty: Xiaomi does not officially support root).
- ๐ Vulnerability to viruses (applications gain unrestricted access to the system).
- ๐ฅ Risk of a โbrickโ (incorrect change of system files will make the phone inoperable).
If you do decide to get root, hereโs what you can do with hidden folders:
| Action. | folder | The effect | Risk |
|---|---|---|---|
| Removing the cache of all applications | /data/data/*/cache | Releases 1-3 GB | Low (apps will recreate cache) |
| Cleaning up the Dalvik cache | /data/dalvik-cache | Accelerates the system. | Medium (after cleaning, you need to restart) |
| Removing unnecessary system applications | /system/priv-app/ | Makes room | High (may disrupt MIUI) |
| Change the build.prop file | /system/build.prop | Overclocking of the processor, changing the DPI | Critical (Error will lead to bootloop) |
For secure root rights management, use Magisk (which allows you to hide root from some applications, such as banking), and it is recommended to install modules through Magisk Manager, rather than manually edit system files.
What happens if you delete /data/data/com.android.providers.media?
How to hide your files in a secure folder on Xiaomi
MIUI offers a legal way to hide personal files, the Secure Folder feature (available on Xiaomi, Redmi and POCO with MIUI 12 and later), which encrypts data and requires a password or fingerprint to access.
How to set up:
- Open the Files app.
- Go to the Category section โ Secure folder.
- Set a password (it should be different from a screen lock).
- Move files to a protected folder with a long tapom โ Move to a protected folder.
Advantages of the method:
- ๐ Files are not visible in a gallery or file manager without a password.
- ๐ฑ Data is encrypted at the level MIUI (Even when connected to a PC, they will not appear).
- ๐ When you reset your phone, the folder will remain blocked.
Limitations:
- ๐ซ If you forget the password, it will be impossible to restore access to files (even through resetting settings).
- ๐ Does not work with some third-party apps (e.g. Google Photos may not see files inside).
๐ก
To hide the folder from prying eyes without a protected MIUI folder, rename it by adding a dot to the beginning (e.g.,.my photos) and it will become invisible in standard Explorer, but will be available when you turn on the hidden file display.