Privacy protection on Xiaomiβs smartphone is becoming more and more relevant: confidential messaging apps, banking apps, photo gallery β all of which require secure locking from prying eyes. Fortunately, MIUI offers several built-in tools for passwords on apps, and third-party solutions can be used for advanced features. But not all methods are equally effective: some are easy to get by through Guest Mode, others require root rights, and others may conflict with system updates.
In this article, we will discuss 5 working ways to password applications on Xiaomi (including Redmi, POCO and Black Shark models), their pros and cons, as well as the nuances of setting up for different versions of MIUI 14/15. Particular attention will be paid to the hidden method of blocking through the βSecond Spaceβ, which is bypassed even by experienced users. If you are looking for maximum protection, read to the end, where we will compare all the methods in the table and answer frequent questions.
1. Built-in App Lock: The Standard Way in MIUI
The most obvious and safe method is to use the built-in App Lock feature, which is available on all Xiaomi smartphones with MIUI 10 and later, does not require additional software installation and is integrated into the system security settings, the main advantage is that the lock works even after the device is rebooted.
To activate App Lock:
- Open the Settings. β Passwords and security.
- Select the option βApp Lockβ (App Lock).
- When you first start, the system will ask you to set a pattern lock, PIN or password (we recommend choosing the latter - it is more reliable).
- In the list of applications, tick the ones you want to password (for example, WhatsApp, SberBank Online, Gallery).
- Activate the switch to Enable App Lock.
Important nuances:
- π Type of lock: You can choose between a pattern lock, PIN For banking applications, it is better to use a password (minimum 6 characters with numbers and letters).
- β±οΈ Auto-Unlock: In the App Lock settings, you can set an automatic unlock timer (from 5 minutes to 1 hour) so as not to enter a password constantly.
- π± Compatibility: On some models (e.g, POCO F5) The function may be called privacy. β Application lockdown.
β οΈ Note: If you use a fingerprint to unlock the screen, you can link it to App Lock in the security settings, but after you reboot the device, you will need to enter the main password.
Set a complex password (at least 8 characters)
Disable auto-unlock for banking applications
Add a backup email to restore access
Check the fingerprint function (if used)-->
2. Blocking through the "Second Space" (Dual Apps)
A little-known but highly effective way is to use the Second Space feature (or Dual Apps in some firmware), which creates an isolated copy of an application with a separate password, making it difficult to access data even through system loopholes, suitable for instant messengers, social networks and banking services.
How to set up:
- Go to Settings β Applications β Second Space.
- Activate the function and follow the setup wizard (you will need to specify a second password for the space).
- After creating the space, go back to Settings β Applications and select the desired application (e.g. Telegram).
- Click Create a copy for the Second Space.
- Now, when you run the original application, the system will request a Second Space password.
Advantages of the method:
- π‘οΈ Dual protection: Data is stored in an isolated environment, making it difficult to extract it even when root accessed.
- π Flexibility: You can configure different passwords for the main and second spaces.
- π΄ Secrecy: A copy of the application does not appear in the main menu (access only through the Second Space).
β οΈ Note: Some banking applications (e.g. Tinkoff or VTB Online) may block work in the Second Space due to security policies.
How to get around the lock of the second space, if you forgot the password?
3. Third-party applications for blocking: pros and risks
If MIUI's built-in features aren't enough, you can use third-party programs from Google Play, which offer advanced features like geolocation locking, masking as system utilities, remote control, but it has serious drawbacks:
- π Vulnerability: Many applications require Administrator or Accessibility rights, which can be used to bypass locks.
- π± Conflicts: On Xiaomi with MIUI 14/15 Third-party blockers often conflict with the system App Lock.
- π° Subscriptions: Free versions usually limit the number of applications that are blocked (for example, only the number of applications that are blocked). 3-5 piece).
Top.-3 Proven applications for Xiaomi:
| Annex | Features | Cons | Compatibility with MIUI |
|---|---|---|---|
| AppLock (from DoMobile Lab) | Fingerprint lock, calculator mask, remote control | Advertising in the free version requires accessibility rights | It works, but it can lay on MIUI 15. |
| Norton App Lock | Integration with antivirus, blocking over Wi-Fi | Paid subscription after 30 days, high battery consumption | It works consistently on all versions. |
| Smart AppLock | Flexible timeout settings, blocking incoming calls | A complex interface that can conflict with Xiaomiβs App Lock | Requires the system blocker to be disabled |
If you decide to use a third-party app, follow the safety rules:
- Download only from the official Google Play (check the number of installations and reviews).
- Do not give the program Administrator rights unless it is from a well-known developer (e.g. Norton or Kaspersky).
- Update your application regularly β vulnerabilities in older versions are often exploited by hackers.
Built-in App Lock
Second space
Third-party annexes
Don't block it.
Another way.-->
4. Hidden folder and file password (for media and documents)
If you need to password not the application itself, but the files inside it (for example, photos in the Gallery or documents in Google Drive), you can use the built-in Hidden Folder feature in MIUI. This method does not block access to the application, but hides confidential data from outsiders.
Instructions for setting:
- Open the Files app (or Gallery if you want to hide the photo).
- Select the files you want to hide and click More β Move to a hidden folder.
- When you first use it, the system will ask you to set a password to access hidden files.
- To see hidden files, go to Files β Categories β Hidden folder and enter a password.
Limitations of the method:
- π No app lock: Google Photos or Gallery itself will remain available, only selected files are hidden.
- π Search loopholes: Hidden files can appear in search results by device (for example, through Settings). β Search).
- βοΈ Cloud Copies: If files are synced to Google Drive or Mi Cloud, they will remain available via the web version.
π‘
To completely hide files from search, rename them by adding points to the beginning (for example,.secret_photo.jpg). These files will not be displayed in standard managers, but will remain accessible through Files. β Settings β Show hidden files.
5. Blocking through ADB (for power users)
For those willing to dive into the technical details, there is a way to block apps through the ADB (Android Debug Bridge. This method does not require root rights, but allows you to configure a password at the system level, which is harder to get around. MIUI 12-15, But it requires a computer connection.
Step-by-step:
- Turn on Developer Mode on your smartphone: go to Settings β About Phone and 7 times click on the MIUI version.
- Return to Settings β Additional β For developers and activate Debugging over USB.
- Connect your phone to your PC, install ADB drivers, and open the command prompt (or Terminal on Mac/Linux).
- Enter a command to lock the app (e.g. Gallery): adb shell pm hide com.miui.gallery This will hide the app from the menu, but will not block it completely.
- To completely lock, use the command: adb shell dumpsys deviceidle whitelist +com.miui.gallery After that, the application will require unlocking through the system PIN.
Warnings:
- π₯οΈ Difficulty: The method requires knowledge of working with ADB It can cause problems if you enter the wrong commands.
- π Updates: After update MIUI The settings may be reset and the procedure will have to be repeated.
- π‘οΈ Restrictions: Not all apps support blocking through ADB (For example, system utilities like Settings or Phone).
β οΈ Attention: Teams ADB You may conflict with the built-in App Lock. Before experimenting, back up your data through Settings. β Additionally. β Backup and reset.
π‘
The ADB method is only suitable for advanced users, with the built-in App Lock or Second Space being enough for most tasks.
Comparison of all methods: which one to choose?
To make the choice easier, we have compiled all the methods into a comparison table, taking into account reliability, complexity of configuration and compatibility with MIUI 14/15:
| Method | Reliability | Difficulty | Need root? | Suitable for | Cons |
|---|---|---|---|---|---|
| App Lock | ββββ | β | No. | All applications except system applications | You can get around through the Guest Mode |
| Second space | βββββ | ββ | No. | Messengers, social networks, banking applications | Not all applications are supported |
| Third-party annexes | βββ | β | No. | Advanced settings (geolocation, masking) | Vulnerability risk, conflicts with MIUI |
| Hidden folder | ββ | β | No. | Photos, videos, documents | Does not block the application itself |
| ADB | ββββ | ββββ | No. | System applications, experienced users | Hard to set up, reset after updates |
Selection recommendations:
- π For maximum protection: App Lock combination + Second space (for example, block messengers through App Lock, and banking applications through Second space).
- π± For beginners: Limit to the built-in App Lock β this is enough for most tasks.
- π§ For experienced users: Experiment with ADB, But only after backup.