Hiding folders on Xiaomi smartphones is a challenge that comes with a variety of reasons, from wanting to hide personal photos to needing to protect sensitive documents. Unlike iOS, where file hiding functionality is limited, MIUI firmware (especially versions 14 and 15) offers several built-in and third-party solutions. However, not all of them are equally reliable: some methods can fly off after a system update, and others require technical skills.
In this article, we will discuss 5 proven ways to hide folders on Xiaomi, Redmi and POCO β from the simplest (via a standard file manager) to advanced (using ADB and Termux).
If you're looking for a way to hide a folder from prying eyes, but you don't want to install additional applications, start with the section on built-in MIUI functions. For experienced users, instructions on how to work with ADB or change file attributes through Termux. And if you need to not just hide, but also encrypt data, pay attention to the block on archiving with a password.
1. Built-in MIUI features: hiding without third-party applications
The easiest way to hide a folder on Xiaomi is to use a standard file manager (Files by Google or built-in MI File Manager).This method does not require root rights and works on all devices with MIUI 12+, including the Redmi Note 12, POCO X5 and Xiaomi 13.
To hide the folder:
- Open the Files app (Blue folder icon).
- Go to the Category section β Internal memory.
- Find the folder you want to hide and hold it with your finger for 2 seconds.
- In the bottom menu, select More β Hide.
- Confirm the action with a password or fingerprint (if the application lock is enabled).
The folders that are hidden in this way will not appear in the standard file manager, but will remain available:
- π Search in Files (if you know the name).
- π Other file managers (e.g. Solid Explorer).
- π» When connecting the phone to the PC USB.
To return the folder back, go to Files β Settings β Hidden Files and turn off the Hide System Files option. Or just find the folder through search and select Show in the context menu.
π‘
If you hid the folder through a standard manager, but it is still visible in Google Photos or a gallery, clear the cache of these applications in the phone settings.
2. Hiding through a point at the beginning of the folder name (Linux method)
In Linux-based operating systems (and Android is built on that), folders and files that start with a dot are hidden by default, a method that works on all Xiaomi smartphones, but requires the use of a file manager with root or Termux permissions.
Instructions:
- Install a file manager with root support (such as FX File Explorer or Root Explorer).
- Find the folder you want and rename it by adding a dot at the beginning (for example,.MoiPhoto).
- Confirm the change.
After that, the folder will disappear from the standard file manager, so to return it back, rename it again, removing the dot.
β οΈ
Note: If you use MIUI 14/15, some system applications (e.g. Gallery) may still display files from such folders. To completely hide the content, combine this method with archiving (see section 4).
An alternative way is to use Termux (command line application):
termux-setup-storage
mv /sdcard/Folders /sdcard/.Folders3.Use of applications to hide folders
If integrated functions MIUI You don't like it, you can use third-party apps, and they offer you additional options: encryption, fingerprint locking, safe-keeping.-3 tested solutions.
π The Best Apps to Hide Folders on Xiaomi:
- π Hide Something β simple interface, hiding photos/video/documents, pin code or print.
- ποΈ Calculator Vault β Masquerades as a calculator, supports cloud backup.
- π‘οΈ KeepSafe β file encryption, automatic hiding when connected to unsecured networks.
Example of Hide Something setting:
- Download the app from Google Play.
- At the first start, set the pin code.
- Click + and select folders to hide.
- Activate Hide from the Gallery.
β οΈ
Note: Some applications (e.g. Calculator Vault) may conflict with the MIUI optimizer, making hidden files temporarily visible. To avoid this, add the application to Settings β Applications β Special Rights β No restrictions.
Comparison of applications by functionality:
| Annex | Encryption | Biometric locking | Masking for another app | Backup |
|---|---|---|---|---|
| Hide Something | β No. | β Yes. | β No. | β No. |
| Calculator Vault | β AES-256 | β Yes. | β Yes (calculator) | β Yes, Google Drive) |
| KeepSafe | β Yes. | β Yes. | β No. | β Yes (cloud) |
Install the application from the official store|Create a backup copy of important files|Disable battery optimization for the application|Check for free space (at least 10% of the volume of files hidden)-->
4. Password Archive: A Reliable, But Inconvenient Way
If you don't just hide a folder, but you also need to protect it from unauthorized access, the best option is password archiving, which is suitable for sensitive documents or backups, and the disadvantage is that you have to unpack the archive every time you access the files.
Instructions:
- Install an archiver (such as RAR or ZArchiver).
- Select the folder you want to hide.
- Select Add to Archive and set the ZIP or RAR format.
- In the archiving settings, activate Set a password and come up with a reliable code (at least 12 characters).
- After creating the archive, delete the original folder.
πΉ Advantages of the method:
- π Files are password protected even when connecting your phone to your PC.
- π± The archive will not appear in a gallery or music player.
- βοΈ You can upload the archive to the cloud (like Google Drive) and delete it from your phone.
β οΈ
Note: If you forget your password, it will be impossible to restore access to files, even through Xiaomi service centers. Store your password in a safe place (for example, in the Bitwarden password manager).
For additional protection, you can:
- Rename the archive to an innocent title (e.g, notes_backup.zip).
- Move it to a folder with system files (e.g. /Android/obb/).
5. Advanced Methods: ADB and Termux for Power Users
If you're ready to dive into technical details, you can hide folders using ADB (Android Debug Bridge) or Termux. These methods are suitable for MIUI of any generation, but require USB debugging and basic command line knowledge to be enabled.
π§ Hiding through ADB:
- Turn on Developer Mode (7 times click on the MIUI version in Settings β About Phone).
- Activate Debugging by USB in Settings β Additional β For developers.
- Connect your phone to your PC and execute the command: Adb shell mv /sdcard/Names Dad. /sdcard/.Names Dad.
π§ Hiding through Termux:
- Install Termux from F-Droid (the version from Google Play is outdated).
- Follow the commands: pkg update && pkg upgrade termux-setup-storage mv ~/storage/shared/NameFolds ~/storage/shared/.NameFolds
π‘ How to get the folder back?
- For ADB: adb shell mv /sdcard/.NameFolds /sdcard/NameFolds
- For Termux: mv ~/storage/shared/.NameFolders ~/storage/shared/NameFolders
β οΈ
Note: When using ADB or Termux, there is a risk of accidentally moving or deleting system files. Never execute commands with superuser rights (su) unless you understand the consequences of these commands, which may cause MIUI to fail.
What if the file disappears after the command?
6.Restore access to hidden folders after resetting settings
One of the most frustrating things is when you hide a folder, and after you reset your phone to factory settings or upgrade your MIUI, you can't find it.
π If the folder is hidden through a standard manager:
- π Check the Files section. β Recycle bin (files are stored there for 30 days).
- π Connect your phone to your PC and use Total Commander to search all memory areas.
π If the folder is archived with a password:
- π± Check out the Google Drive, Mi Cloud, where the archive may have been downloaded.
- πΎ Use utilities like this. 7-Zip on a PC to try to select a password (if you remember part of the combination).
π οΈ If the folder is hidden through a dot in the name:
- π₯οΈ Connect your phone to your PC and enable the display of hidden files in Windows Explorer (View) β Hidden elements).
- π± In Termux, execute the command: ls. -a ~/storage/shared/ to see all the hidden folders.
β οΈ
Note: If you have used third-party folder hiding apps (like Calculator Vault), once you reset, file access can only be restored through a backup. Many of these apps don't sync data to the cloud by default - check the settings before resetting!
π‘
Check for hidden folders regularly after MIUI updates. Some updates (such as switching from MIUI 13 to MIUI 14) may reset the file manager settings.
7. How to hide folders from specific applications (Gallery, Music)
Sometimes you don't have to hide the folder completely, but only from certain applications -- for example, so that the photos don't show up in the Gallery, but remain available in the file manager.
Instructions:
- Create an empty text file through any manager (e.g. MI File Manager).
- Rename it.nomedia (important: no extension!).
- Move the file to the folder you want to hide from multimedia applications.
π΅ What apps ignore folders with.nomedia:
- π· Xiaomi Gallery and Google Photos.
- πΆ Music and Mi Music.
- π¬ Video player.
β οΈ
Note: The.nomedia file does not hide the folder completely, it will remain visible in the file manager and when you connect to the PC, and some applications (for example, VLC) ignore this file and still display media.
If you want to hide the folder from the file manager, combine the method with.nomedia with other methods (for example, renaming through a dot or archiving).