On smartphones Xiaomi Redmi - be it Redmi Note 12, POCO X5 or older models - some folders are hidden from the user by default. This is done not only to protect system files, but also to simplify the interface. However, sometimes you need to access such directories: to free up space, restore deleted files, or change settings that are not available through the standard menu.
The problem is that even after enabling the display of hidden files in file manager some folders remain invisible. This is due to the features of the firmware MIUI, where some of the data is hidden at the Android kernel level. In this article we will look at legal and technical ways to find hidden directories - from simple to those requiring superuser rights.
โ ๏ธ Attention: Changing or deleting files in system folders (/system, /vendor) can lead to impossibility of loading your smartphone. Before experiments, create a backup via Settings โ About phone โ Backup.
1. Standard method: enable display of hidden files in MIUI
The safest method is to use the built-in one file manager from Xiaomi. It allows you to see folders marked with a dot at the beginning of the name (for example, .thumbnails or .nomedia), but not system partitions.
Instructions:
- ๐ฑ Open the application Files (folder icon with a blue background).
- ๐ Tap on the three dots in the upper right corner โ Settings.
- ๐๏ธ Activate the switch Show hidden files.
- ๐ Return to the root directory (
/storage/emulated/0/) and refresh the list (swipe down).
Now you will see folders with a dot at the beginning of the name. Among them:
- ๐
.backupsโ backups applications. - ๐ต
.nomediaโfiles excluded from the media scanner (not displayed in the gallery). - ๐
.credentialsโdata for Wi-Fi and VPN (requires root to view content).
โ ๏ธ Attention: Folder .android_secure contains encrypted application data. Removing it will cause installed apps to fail.
2. Searching for hidden folders via ADB (without root)
If the standard method does not help, you can connect to your smartphone via Android Debug Bridge (ADB). This method does not require superuser rights, but gives access to part of the system directories.
What you will need:
- ๐ป Computer with Windows/Linux/macOS.
- ๐ USB cable (preferably original).
- ๐ ๏ธ Utility Platform Tools from Google (download from the official website).
Step-by-step guide:
- Enable USB debugging on your smartphone:
Settings โ About phone โ MIUI version(tap 7 times to activate developer mode).Then:
Settings โ Advanced โ For developers โ Debugging USB. - Connect Redmi to the PC and confirm trust in the device.
- Open the command line (Windows) or terminal (Linux/macOS) in the folder with
platform-tools. - Enter the command to view the root directory:
adb shell ls -la /storage/emulated/0/The flag
-lawill show all files, including hidden ones.
To find a specific folder (for example, with an application cache), use:
adb shell find /storage/ -name ".cache" 2>/dev/null
๐น Method limitations: Through ADB you will not see folders in the /system or /data without root. This will require unlocking the bootloader and installing Magisk.
โ๏ธ Preparing to work with ADB
3. Using third-party file managers with root access
Applications like Solid Explorer, FX File Manager or Root Browser allow you to view hidden folders even without ADB. However, for full access to system partitions (/data, /system), you will still need root.
How to set up:
- Download Solid Explorer from Google Play.
- Open the side menu โ Root access โ grant permissions (if you have root).
- Go to
/storage/emulated/0/and enable the display of hidden files in the settings.
๐ What you can find:
| Folder | Contents | Root required? |
|---|---|---|
/data/app |
APK files of installed applications | Yes |
/data/data |
Personal application data (saves, cache) | Yes |
/system/priv-app |
MIUI system applications | Yes |
/storage/emulated/0/Android |
User application data | No |
โ ๏ธ Attention: Deleting files from /data/data/com.android.providers.settings/ can reset all smartphone settings to factory settings.
What happens if you delete the /data/dalvik-cache folder?
This folder contains optimized versions of applications for the Dalvik virtual machine. Removing it will lead to an automatic rebuild the next time you launch applications, but it may cause the system to crash for 10-30 minutes. On modern smartphones (with Android 8+), ART is used instead of Dalvik, but the folder remains for compatibility. slowdown system for 10โ30 minutes. On modern smartphones (with Android 8+), ART is used instead of Dalvik, but the folder remains for compatibility.
4. Searching for hidden folders through TWRP Recovery
If custom recovery is installed on your Redmi , you can view and edit system files directly from it. This is useful when the smartphone does not boot, but you need to extract data. TWRP, you can view and edit system files directly from it. This is useful when the smartphone does not boot, but you need to extract data.
Instructions:
- Turn off the phone and hold down
Power + Volume upto enter TWRP. - Select Advanced โ File Manager.
- Go to
/dataor/systemโall folders will be displayed here, including hidden ones. - To copy files to your PC, connect your smartphone via USB and select Mount โ Enable MTP.
๐น The advantage of the method: TWRP ignores MIUI restrictions on access to system partitions, but requires an unlocked bootloader.
โ ๏ธ Attention: Changing files in /system via TWRP can lead to briku (impossible to load). Always make a backup before editing.
If TWRP does not see the internal memory, check if encryption is enabled in MIUI. To disable it, go to Settings โ Locking and protection โ Encryption and disable the option (data reset will be required).
5. Hidden folders for specific tasks
Some directories are hidden for a reason - they contain critical data. Here's where to look for information for typical scenarios:
๐ Recovering deleted files:
- ๐
/storage/emulated/0/.trashโ MIUI recycle bin (stores files for up to 30 days). - ๐๏ธ
/data/data/com.android.providers.media/databasesโmedia file database (requires root).
๐ Access to game saves:
- ๐ฎ
/storage/emulated/0/Android/obbโ additional game data (for example, graphic packages). - ๐พ
/data/data/[game_pack]/filesโ saves (for example,com.mojang.minecraftpefor Minecraft).
๐ฑ MIUI settings and personal data:
- โ๏ธ
/data/data/com.miui.home/shared_prefsโ launcher configuration. - ๐ค
/data/system/users/0โ user profiles (requires root).
๐น Example: To transfer saves from Genshin Impact to another phone, copy the folder /storage/emulated/0/Android/data/com.mihoyo.GenshinImpact/files.
The folder .thumbnails at the root stores thumbnails of images and videos. Cleaning it will not delete the originals, but will free up to 1โ3 GB of space on a full smartphone.
6. Risks and how to avoid them
Working with hidden folders is fraught with consequences. Here are the most common errors and how to prevent them:
โ Error: Deleting a folder /data/dalvik-cache.
โ Solution: Do not touch it - the system will restore the files automatically, but this will take time and resources.
โ Error: Editing files in /system/build.prop without backup.
โ
Solution: Before making changes, copy the original file to your PC. An error in build.prop can lead to bootloop (cyclic reboot).
โ Error: Changing access rights (chmod) to system files.
โ
Solution: Use the command adb shell chmod 644 /path/to/file only if you are sure of the actions. Incorrect rights lead to failures.
๐ Rule: If you don't know what the folder or file is responsible for - do not delete it. Itโs better to move it to another location and check the stability of the smartphone.
โ ๏ธ Attention: On smartphones with MIUI 14/15 some of the system folders are protected DM-Verity. Changing them without disabling the check will result in an error "Your device is corrupt" during loading.
7. Alternative methods (for experienced users)
If the standard methods did not work, you can try:
๐ง Terminal Emulator (without root):
- Install Termux from F-Droid.
- Enter the command:
ls -la /storage/emulated/0/to view hidden folders in the user partition.
๐ง Magisk Module (with root):
- Install the module "App Systemizer" via Magisk to access system applications.
- Use "Mixplorer" with a plugin for root access.
๐ฅ๏ธ Linux (via ADB + SSH):
- Connect via ADB and launch the shell:
adb shellsu
cd /data/data - Use
findto search:find . -name "cache"
๐น For developers: If you need system logs, they are stored in /data/log (root required). To read them, it is convenient to use Logcat:
adb logcat > log.txt
FAQ: Frequently asked questions about hidden folders on Redmi
๐ Why, after turning on the display of hidden files, some folders are still not visible?
This is due to the fact that:
- ๐ Folders are protected at the kernel level (for example,
/datawithout root). - ๐ They are hidden not by a dot at the beginning of the name, but by other methods (file system attributes).
- ๐ก๏ธ MIUI blocks access to system partitions even for file ones managers.
Solution: use ADB or get root access.
๐๏ธ Is it possible to safely delete the folder .thumbnails?
Yes, this is a cache of thumbnails for the gallery. Deleting will free up space, and the system will restore it automatically the next time you view the photo/video. However:
- ๐ผ๏ธ After deletion, the gallery will take longer to load when first opened.
- ๐ The folder will appear again in a few days.
๐ How to find WhatsApp saves if they are not in the standard folder?
Saves WhatsApp are stored in:
/storage/emulated/0/WhatsApp/Databases
If there is no folder:
- ๐ Reinstall WhatsApp - it will appear automatically.
- ๐ Check
/storage/emulated/0/Android/media/com.whatsapp/(alternative location).
โ๏ธ Is it possible to roll back changes if I accidentally deleted the system folder?
Possible actions:
- ๐ Reset to factory settings (if the folder is not critical).
- ๐ฆ Restoring from backup (if it was made via TWRP or MIUI Backup).
- ๐ ๏ธ Flashing via Fastboot (if the smartphone does not boot).
โ ๏ธ Without a backup, it is almost impossible to recover deleted system files.
๐ฑ Why there is no folder on Redmi Note 10 Pro /data/local?
This folder exists, but:
- ๐ It is hidden even for root users in new versions MIUI.
- ๐ It can only be accessed through ADB with superuser rights:
adb shellsu
ls -la /data/local
๐ The folder is used to store temporary application files with rights root.