Storing sensitive photos, documents or work files on a Xiaomi smartphone requires strong protection. Even if you have a screen lock, anyone who picks up your phone can access personal data through a file manager. The built-in MIUI tools and third-party solutions allow you to close folders with a password, fingerprint or pattern lock β but not all methods are equally reliable.
In this article, we'll look at 5 working methods, including hidden firmware features that not all users know, how to protect folders without root rights, which apps won't fly after resetting, and why the standard "Secure Album" in the Xiaomi Gallery is not a panacea, and whether you can bypass the protection if you forgot your password, and what to do if the system requires a factory reset.
β οΈ Important: Some of the methods in this article only work on firmware MIUI 12-15 If you have an older version, update the system first through Settings. β The phone. β Update MIUI.
1. Built-in "Secure Album" at Xiaomi Gallery
The easiest way to hide photos and videos is to use the built-in Protected Album feature in the Galleryβs standard app, which requires no additional software installation and works on all Xiaomi, Redmi and POCO smartphones with MIUI 10 firmware and later.
To activate the protection:
- Open the Gallery app.
- Select the photos or videos you want to hide (press your finger on the file β mark the rest).
- Click on the three dots in the top right corner β select Move to the protected album.
- When you first use the system will suggest setting a password (you can use a fingerprint or a pattern lock).
β οΈ Limitations of method:
- π It works only for media files (photos, videos), folders with documents or APK-Files can't be hidden.
- π Files remain in the phoneβs memory and can be found through the file manager along the way. /storage/emulated/0/MIUI/Gallery/cloud/private/ (if you know where to look).
- π After resetting the settings, the protection is reset and the files become visible.
π‘
If you want to hide files from prying eyes as securely as possible, rename them to a random character set (e.g. abc123.jpg) before moving to Secure Album, which will make it harder to find even when accessing your phone's memory.
2. Encrypting folders through "Secure Storage" (MIUI 14+)
Since MIUI 14, Xiaomi has built-in secure storage that allows you to encrypt not only media files, but also any documents, using hardware encryption and is tied to your Mi Account, making it more reliable than the Secure Album.
How to turn on:
- Go to Settings β Passwords and Security β Secure Storage.
- Click Enable Secure Storage and follow the instructions (you will need to link your Mi Account).
- After activation, open Files (standard file manager), select a folder or files β More β Move to secure storage.
π Advantages of the method:
- π‘οΈ Files are encrypted at the system level and are not visible even through the system. ADB or TWRP.
- π Sync with the Mi Cloud (if enabled).
- π± It works on all devices with MIUI 14+, including Xiaomi 13/14, Redmi Note 12, POCO F5.
β οΈ If you forget the password from Mi Account, it will be impossible to restore access to files - they will be deleted after 5 failed attempts to enter.
3. Third-party applications: File Lock and analogues
If the built-in tools Xiaomi does not suit you, you can use third-party programs.
- π File Lock (from DoMobile Lab) - supports encryption of folders, photos, videos and documents, there is a function of "false password".
- π AppLock β blocks not only files, but also access to applications (for example, to the Gallery or Files).
- π‘οΈ Keeping β creates a safe with two-level authentication (password) + print).
π How to set up File Lock:
- Install the app from Google Play (or APKMirror if itβs not in your area).
- When you first start, set a master password (it is recommended to use a combination of 12+ characters).
- Select Add Files β Specify folders or individual documents.
- Turn on the option to Hide the app icon in the settings so that the attacker did not guess about its presence.
β οΈ Risks of third-party applications:
- π΅οΈ Some programs (especially those from unknown sources) may steal data instead of protecting it.
- π After deleting the application, files can remain encrypted without the possibility of recovery.
- π± On Xiaomi MIUI Some applications are blocked by the system as βsuspiciousβ (for example, AppLock may require you to disable them). MIUI Optimization through ADB).
How to disable MIUI Optimization for AppLock?
4. Hidden folders via file manager (no password, but not obvious)
If you don't need encryption, but just hide the folder from prying eyes, you can use Xiaomi's standard file manager, which doesn't protect data with a password, but makes it invisible when you're browsing.
Instructions:
- Open the Files app.
- Find the folder you want to hide and rename it by adding a dot at the beginning of the title (for example,.my photo).
- The folder will disappear from the general list. To see it again, turn on the display of hidden files in the manager settings (Three dots β Settings β Show hidden files).
π Where to look for hidden folders:
| Way | Description | Visibility |
|---|---|---|
| /storage/emulated/0/.folder number | Folders with a dot at the beginning | Hidden by default |
| /storage/emulated/0/Android/data/ | Application data | You can only see from the root. |
| /storage/emulated/0/MIUI/Gallery/cloud/private/ | "Secure Album" | Visible without a password. |
| /storage/emulated/0/DCIM/.thumbnails | Picture sketches | Hidden by default |
β οΈ Important: This method does not protect files from power users, just turn on the display of hidden folders or connect the phone to the PC to see all the data.
Enable hidden file display | Check path /storage/emulated/0/ for folders with dot | Delete unnecessary temporary files | Disable hidden folders after checking-->
5. Password to folders through the archiver (ZIP/RAR coded)
One of the most reliable ways to protect files is to archive them with a password, which works on any device, including Xiaomi, and does not require special applications (a standard archiver is enough).
How to do this:
- Install an archiver (such as RAR or ZArchiver from Google Play).
- Select the folder or files you want to protect.
- Select the option Add to archive β specify the format ZIP or RAR.
- In the archiving settings, find Set a password and enter a reliable combination (it is recommended to use different register symbols and numbers).
- After creating the archive, delete the original files.
π Advantages of the method:
- π Encrypted archives AES-256 It is almost impossible to hack without a password.
- π± Works on any device, including Xiaomi, Samsung, iPhone.
- πΎ You can store archives in the cloud (Google Drive, Mi Cloud) without the risk of leakage.
β οΈ Deficiencies:
- β³ To access files, you need to unpack them every time.
- π Inconvenient for frequent changes (you will have to recreate the archive).
π‘
Password archiving is the only method that protects files even when you steal your phone or reset your settings.
6 Root access and applications like Solid Explorer
If you're willing to take drastic measures, you can get root rights and use advanced file managers like Solid Explorer or FX File Explorer.
- π Encrypt folders at the file system level.
- π Create safes with two-level authentication.
- π‘οΈ Block access to files even through ADB.
π How to Set Up Solid Explorer with Root:
- Get root access (for example, through Magisk).
- Install Solid Explorer and give it root rights.
- Select the folder β Press More β Encrypt.
- Enter your password and confirm the action.
β οΈ The risks of root access:
- π¨ Violation of warranty (if the phone is warranty, the manufacturer may refuse repairs).
- π‘οΈ Vulnerability to viruses (root opens access to system files).
- π Possible disruptions MIUI (Google Pay or banking applications will stop working).
What to do if I forget my password?
If you lose access to secure folders, the recovery options depend on the method of blocking:
| Protection method | Recovery method | Risk of data loss |
|---|---|---|
| "Secure Album" | Reset password through Settings β Passwords and Security β Secure album β Forgot password (requires a Mi Account). | Low. |
| "Secure storage" | Restore access via Mi Account, after 5 failed attempts, the data will be deleted. | High-pitched |
| Third-party applications (File Lock, AppLock) | Reinstall the app and try standard passwords (e.g., 1234, 0000) if it doesn't work, reset your phone. | Medium. |
| Archived files (ZIP/RAR) | You can't recover a password. You can try programs like ArchPR, but the odds are minimal. | critical |
π§ Last Chance: If none of the methods worked, only the factory reset remains (Settings) β The phone. β Resetting settings. However, this will delete all data from the internal memory!
β οΈ Attention: On devices with MIUI After resetting, you may need to enter your old Mi Account password (Factory Reset Protection) if you don't remember it, unlocking your phone will be extremely difficult.