Hiding folders on Xiaomi, Redmi and POCO smartphones is a challenge that many users are concerned about: some want to hide personal photos from prying eyes, some want to protect working documents, and some just donβt like the mess in the file manager. Unlike iOS, where functionality is limited, MIUI firmware offers several built-in and third-party solutions, but not all of them are equally safe and convenient.
The main problem is that most "secret" folders actually remain accessible through a file manager or PC connection. And some methods (such as dot renaming) stop working after MIUI 14/15 updates. In this article, we will discuss 5 proven methods, including system tools, applications and even commands for power users.
If you're looking for a way to hide a folder from not just outsiders, but also system scanners (like a gallery), prepare for some methods that require unlocking the bootloader or root access, but let's start with the simplest solutions that work out of the box.
1. Built-in Hidden Folders in MIUI
Starting with MIUI 12, Xiaomi has added an official file-hiding tool, Private Mode (or βSecond Spaceβ in global firmware), which requires no third-party apps and works on all models, from the Redmi Note 10 to the Xiaomi 14 Ultra.
To hide the folder:
- Open the standard File Manager application.
- Find the folder you want to hide and hold on to its name to call the context menu.
- Select βAdd to Private Modeβ (or βMove to Privateβ in English).
- When first used, the system will request PIN-A code or pattern lock is a must-do step.
After that, the folder will disappear from the main file manager view.
- Open Files β Private Mode (or Private in the top menu).
- Enter. PIN-code.
π‘
If the folder doesnβt show up in Private Mode, check if sorting by date is enabled β sometimes hidden files βsinkβ among old data.
Limitations of the method:
- π The folder remains accessible through ADB or connection to a PC (pathway: /storage/emulated/0/MIUI/Private/).
- π± It does not work for system folders (for example, DCIM download).
- π After resetting the settings, all hidden files will become visible.
2. Rename the folder through the dot (hiding from the gallery)
This is a good way to hide a folder from a media scanner (for example, so that photos donβt show up in a gallery), which works on all versions of Android, but has nuances in MIUI.
Instructions:
- Connect your phone to your PC via USB (file transfer mode).
- Find the folder you want in Windows/macOS Explorer.
- Rename it by adding a dot at the beginning of the title. Example: New folder β.New folder
- Turn off your phone and restart it (required!).
How it works:
- πΌοΈ Folders with a dot at the beginning (.folder) are ignored by the media scanner MIUI Gallery.
- π In the file manager, the folder will remain visible, but will be displayed in gray.
- π§ To regain visibility, simply remove the dot from the name.
Why did the system stop working in MIUI 15?
Important! This method doesn't protect the folder from access. Anyone who opens the file manager will see it (just can't view the contents through the gallery).
3. Use of archivers (ZIP/RAR with password)
If you need to not just hide it, but protect it with a password, the best option is to pack it into an archive with encryption, which works without root and is compatible with all Xiaomi models.
Step-by-step:
- Install an archiver (such as ZArchiver or RAR from Google Play).
- Open the archive and find the folder you want to hide.
- Select βAdd to Archiveβ (or βCompressβ).
- In the archive settings: Specify the ZIP or RAR format. Enable the "Set Password" option and come up with a strong code. Select the AES-256 encryption layer (if available).
After creating the archive, delete the original folder.
Pros of the method:
- π Strong password protection (with proper encryption, hacking is almost impossible).
- π± It works on any device, including POCO F5 Redmi 12.
- ποΈ You can store your archive in the cloud (such as Mi Cloud) without the risk of leakage.
Cons:
- β οΈ If you lose your password, the data will be lost irretrievably.
- π To open files, you need to unpack the archive every time.
4. Hiding through Nomedia file (for media)
If your goal is to hide photos and videos from the gallery, but leave the folder available in the file manager, create a.nomedia file. This method blocks the scanning of media files in the folder.
Instructions:
- Open any text editor (such as QuickEdit or standard Notes).
- Create an empty file and save it under the name.nomedia (the point at the beginning is mandatory!).
- Move this file to the folder you want to hide from the gallery.
- Reboot the phone.
How it works:
- π΅ The Gallery app (com.miui.gallery) ignores folders with the.nomedia file.
- π The folder itself remains visible in File Manager.
- π If you delete.nomedia, your media files will be visible again after the reboot.
Put the file in the folder.|Reboot the phone.|Open the gallery and check for no files.|Remove.nomedia to return visibility-->
Limitations:
- π« It does not work for system folders (for example, DCIM/Camera).
- π.nomedia file is visible in the file manager and can be deleted.
- π± In some firmware (for example, MIUI 15 Global) gallery cache may need cleaning.
5. System methods (for experienced users)
If you're ready to experiment, you can hide the folder at the system level, and these methods require unlocked bootloader or root access, but they give you maximum stealth.
Method 1: Moving to the system partition (root only)
- Install Root Explorer or FX File Explorer.
- Give the application superuser rights.
- Move the folder to /data/local/tmp/ or create a new directory in /system/ (e.g. /system/secret/).
- Change the access rights (chmod 700) via the terminal: su chmod 700 /system/secret/
Method 2: Bond Mounting (Advanced) This method completely removes the folder from the standard file tree, but requires knowledge of Linux commands and can cause system failures if an error occurs.
- Connect to your phone via ADB:
- Create an empty stub folder:
- Put it on top of the original folder:
Warnings:
β οΈ Attention! Misuse of mount or chmod commands can result in data loss or a cyclical phone reboot.Before experimenting, back up via TWRP Mi Cloud.
β οΈ On devices with Dynamic Partition (e.g. Xiaomi) 13T) Changing system partitions can block access to the Fastboot, in which case you will need a complete reset via the Fastboot. EDL.
| Method | Root is required. | Visibility in the file manager | Gallery visibility | Password protection |
|---|---|---|---|---|
| Private MIUI mode | β No. | β Hidden. | β Hidden. | β Yes (PIN) |
| Rename the dot | β No. | β Visible (gray) | β Hidden. | β No. |
| Password archive | β No. | β Hidden (if you delete the original) | β Hidden. | β Yes (AES-256) |
| File.nomedia | β No. | β Seen. | β Hidden. | β No. |
| Moving to /system | β Yes. | β Hidden. | β Hidden. | β No, only rights) |
Frequent Mistakes and How to Avoid Them
Even simple folder hiding methods can fail due to MIUI features, and here are the typical problems and solutions:
1.The folder is visible again after the MIUI update
- π Reason: Firmware resets access rights to system folders.
- π Solution: Repeat the Hidden Procedure or Use.nomedia instead of Rename.
2. The gallery still shows the photo.
- πΌοΈ Reason: Cash galleries not cleared.
- π§Ή Solution: Go to Settings β Annexes β gallery β Warehouse β Clear the cache.
3. Can't create.nomedia.
- β Reason: File Manager MIUI Blocks the creation of files with a point.
- π± Solution: Use Total Commander or create a file on your PC and transfer it to your phone.
4.The archive does not open after flashing
- π Reason: The version has changed MIUI, And the archiver lost access to the vault.
- π§ Solution: Copy the archive on a PC and unpack it there.
π‘
Before any manipulation of system folders, disable automatic updates MIUI in settings (Settings) β The phone. β Updating the system β βοΈ β Auto-update).