Protecting personal data on a smartphone is a key challenge for the modern user. Photos, documents, correspondence and other sensitive files are often stored in folders that need to be restricted from prying eyes. Xiaomi phone owners (including the Redmi, POCO and Mi series) have several built-in and third-party folder locking tools, but not everyone knows how to use them correctly.
In this article, weโll break down 5 proven ways to block a folder on a Xiaomi phone โ from standard features MIUI We'll focus on the nuances of what to do if the function doesn't work, how to restore access when you lose your password, and what methods are most reliable for different versions of the firmware. MIUI You canโt block the phone without risking stability.
1. Lock the folder through the built-in โSecure folderโ function in MIUI
The easiest and safest way to do this is to use the standard Secure Folder tool, which is available on most Xiaomi smartphones with MIUI 12 and later firmware, which allows you to hide folders with photos, videos and documents behind a password or biometric authorization.
To activate it:
- Open the Gallery or Files app.
- Select the folder you want to block and hold it with your finger.
- In the menu that appears, tap on three points (โฎ) and select Move to a secure folder.
- When first used, the system will be asked to install PIN-code or use a fingerprint.
After that, the folder will disappear from the main list and will only be accessible through the Secure folder section in the application menu, Importantly, the files inside it are not displayed in search results and are not available to other applications (for example, messengers).
โ ๏ธ Attention: If you forget PIN-code from a secure folder, access can only be restored through resetting all phone settings. Xiaomi does not provide official tools for unlocking without losing data.
Update the Gallery app to the latest version|Make sure that your settings enable sync with Mi Account (if you need backups)|Remember or write down. PIN-safe-place|Check that there are no system files in the folder (for example, with the.db or.apk extension)
-->
2.Use of the MIUI file manager to hide and block
The standard File Manager app on Xiaomi has a Hidden Folder feature that works differently than Secure Folder, which doesn't encrypt data, it just hides it from being displayed in the main interface, which is less reliable, but it's suitable for temporarily hiding files from the eye.
Instructions:
- ๐ Open the files and find the right folder.
- ๐ง Tap it on three points (โฎ) โ Hide.
- ๐ The folder will disappear, but will remain available through the Category section. โ Hidden files.
To return it back, go to Settings โ Show hidden files. This method does not protect against targeted search, so for sensitive data, it is better to combine it with other methods (for example, archiving with a password).
How to hide a folder from MIUI system search
3. Blocking through archive with password (ZIP/RAR)
If your version of MIUI doesnโt have built-in locking features, you can use a universal method โ archive the folder with a password. This method works on any Xiaomi phones, including older models with MIUI 10-11.
For this:
- Install an archiving app (such as RAR or ZArchiver from Google Play).
- Select the folder in the file manager and select Compress.
- In the archive settings, set the Encrypt box and come up with a complex password (at least 8 characters with numbers and letters).
- Once the archive is created, the original folder can be deleted.
Advantages of the method:
- ๐ Password protection at the archive level (hacking is almost impossible with a complex password).
- ๐ฑ It works on all versions of Android and MIUI.
- ๐พ The archive can be transferred to a computer or cloud for additional redundancy.
โ ๏ธ Note: If you lose your password from the archive, it will be impossible to restore access to files - even specialized programs for hacking. ZIP/RAR They do not guarantee results with complex passwords.
Built-in "Secure folder" MIUI| Password Archive |Third-party applications (e.g. AppLock)| Hiding through file manager | I don't block folders
-->
4. Third-party applications for folder lock
If standard MIUI features arenโt enough, you can install specialized apps from Google Play.
| Annex | Type of lockdown | Features | Cons |
|---|---|---|---|
| AppLock | Password, fingerprint, pattern lock | Blocks access to folders and applications, masking under the calculator | Shows ads in the free version |
| File Lock | PIN-code | File Encryption, Cloud Backup | Slow work with large folders |
| Vault-Hide | Password, fake entrance. | Hiding files under a โfalseโ password, built-in gallery | It takes a lot of permission. |
Before installing, check the reviews and rating of the application โ some programs may contain advertising software or collect data.
- ๐ฅ Give the application access to files (Settings) โ Annexes โ Permits).
- ๐ Select folders to lock and set a password.
- ๐ก๏ธ Enable the option to Hide from the Gallery if you have one.
-->
5. Hiding folders by changing permissions (for power users)
This method is suitable for users familiar with ADB or Termux, which allows you to restrict access to a folder at the file system level, but requires root or debugging permissions.
Instructions via Termux:
pkg install termux-api
termux-setup-storage
cd /sdcard/Your Pad
chmod 700 .The folder will only be available to the owner (your user) but:
- โ ๏ธ Some system applications (such as a gallery) may lose access to files.
- โ ๏ธ The method does not work for folders on SD-Map (due to Android restrictions).
- โ ๏ธ After resetting the phone, permissions are reset.
-->
6. Features of folder locking on different Xiaomi models
Folder locking functions may vary depending on the phone model and MIUI version.
| Model/Series | MIUI version | Available ways to block | Limitations |
|---|---|---|---|
| Redmi Note 10/11/12 | MIUI 12.5+ | "Secure folder", AppLock, archiving | There is no built-in folder encryption on SD-map |
| POCO F3/F4/F5 | MIUI 13 for POCO | "Secure folder", hiding through files | No biometrics support for folders in MIUI 13 for POCO |
| Xiaomi 12/13/14 | MIUI 14+ | All methods, including encryption through "Security" | Requires a binding to Mi Account for backup |
On older models (such as the Redmi 5/6 or Mi A2 with Android One), the built-in locking features may not be available.
- ๐ฆ Password archive.
- ๐ Third-party applications (e.g. Solid Explorer with encryption support).
- ๐ฅ๏ธ Transferring files to an encrypted external drive.
7.How to restore access if you forgot your password
If you lose access to a locked folder, the recovery options depend on the method of blocking:
For MIUI's Protected Folder:
- ๐ Try to remember. PIN-code or pattern lock (the system gives 5 attempts).
- ๐ฑ If you have Mi Account attached, try resetting your password through Settings. โ Xiaomi account โ Security.
- โ ๏ธ If you lose your password and no backup, the only way is to reset your phone to factory settings (data will be lost).
For archives (ZIP/RAR):
- ๐ Use programs like ArchPR or RAR Password Unlocker (Efficiency) ~30% for weak passwords).
- ๐ป If the archive was created on a PC, try to recall the password through the browser password manager.
For third-party applications:
- ๐ง Check the registration letter (some applications send backup codes).
- ๐ Reinstall the app โ sometimes it resets lock settings (but not always).
โ ๏ธ Note: On Xiaomi phones with Find Device enabled, after 10 failed password attempts, the system can block access to files for 24 hours, including Protected Folder and some third-party apps.