How to password applications on Android Xiaomi

The modern smartphone holds a huge amount of confidential information, from correspondence in messengers to photos and banking applications. Owners of Xiaomi, Redmi and POCO devices often wonder about the protection of specific software from prying eyes, because a standard lock screen is not enough. The built-in shell MIUI and the new HyperOS offer powerful tools for this, which do not require the installation of third-party software.

The application lock feature allows you to set a separate digital key, graphic pattern or biometric protection (fingerprint, Face ID) for any installed program. This creates an additional security barrier: even if the phone is unlocked, access to selected applications will be closed. This article will detail all the nuances of the setting, possible problems and hidden features of this tool.

The implementation of protection is built deep into the system and works at the core level, which guarantees stability and battery savings compared to third-party counterparts. It is important to understand that the correct configuration of this feature is the first step to digital hygiene and protection of personal data from curious colleagues, friends or children.

App Lock in MIUI and HyperOS

The security mechanism, known as App Lock, is integrated into Xiaomi's security system service, and it works in the background to track the launch of secure programs. When you try to open a blocked application, the system intercepts that request and instead of running the program, displays an authorization window. Only after successfully entering a password or scanning the biometrics, access to the software functionality will be allowed.

The feature of the implementation in MIUI is the ability to bind to a Mi Account. This means that if you forget the installed code, it can be restored through the cloud service, if this option was activated in advance. Without binding to the account, password resetting is often only possible with a complete reset of the phone settings, which makes pre-preparation critical.

⚠️ Note: When you reset your phone to the factory settings (Hard Reset), all passwords installed on the applications will be deleted if they were not synced with the Mi Account.

The system uses modern encryption algorithms to store access keys. Even with root rights, it is extremely difficult to access password hashes directly from the file system, which provides a high level of security, and the user can flexibly adjust the settings: choose which applications to block, and whether to show a lock notification when running.

Technical details of the App Lock
The mechanism is based on the system process com.miui.applock, which takes priority over regular user applications, it is embedded in the process of launching the target application and suspends its resource load until successful authentication.

Step-by-step instructions for setting a password

The process of activating protection is intuitive, but it has its own features in different versions of the firmware. First, you need to go to the main settings menu of the device. Find the Applications section or Application Protection. In some versions of the shell, this item may be located inside the Settings menu. β†’ Passwords and security.

β˜‘οΈ Algorithm of protection installation

Done: 0 / 4

Once you log into the App Lock menu, the system will ask you to create a password, you can choose a pattern lock, a digital code or a mixed password, you should use a pattern lock or a complex digital code, as they are more difficult to peek from the side, and after you create a password, the system will suggest linking it to the Mi Account for recovery.

Next, you will open a list of all installed programs, you need to find the necessary applications (for example, WhatsApp, Telegram, Gallery, Banking applications) and activate the switch opposite each of them, and immediately after activating the switch, the system may ask you to enter the previously set password to confirm actions.

⚠️ Note: Do not use simple combinations like β€œ1234” or β€œ0000” as they are easily selected by squash or visual observation.

It's important to note that once you set up security, every time you run your chosen application, you'll see a password request box, and if you use certain programs a lot, it can be annoying to type in the code constantly, and then you should consider setting up your fingerprint unlock.

Set up biometrics and automatic unlocking

To improve usability, Xiaomi allows you to unlock secure applications using biometric data. This can be a fingerprint scanner (located at the back, side or under the screen) or Face ID facial recognition. To activate this feature, you need to go back to the App Lock settings and find the item Use fingerprint or Face unlock.

Once you activate the option, you don't have to enter a pattern lock or code every time. You just touch the scanner or look at the screen and the app opens instantly. This is especially convenient for commonly used instant messengers and social networks. However, it's worth remembering that biometrics are less secure than a complex password, since a fingerprint can theoretically be copied and a face can be fooled by a photo (although modern MIUI algorithms require image liveliness).

Also, the lock settings can be found with the option β€œAutomatic Unlock” which allows you not to ask for a password again if the application was recently closed (for example, within 1 or 5 minutes), a trade-off between security and speed that users will appreciate, often switching between tasks.

πŸ’‘

If you use face unlock, turn on the β€œIncreased Accuracy” option in your security settings so that the system doesn’t react to photos or similar people.

Keep in mind that biometrics are stored in a secure CPU memory (TEE) sector and are not shared with Xiaomi servers or third parties, ensuring that your fingerprints and facial data are only on your device.

Comparison of application protection methods

Users often doubt which method of protection to choose: pattern lock, digital key PIN-Each has its own advantages and disadvantages when used on Xiaomi devices, a pattern lock that is easy to remember with muscle memory, but can be easily seen by greasy marks on the screen or peeping over your shoulder.

A digital code (PIN) is considered more robust in terms of entropy if it is long enough (6 or more characters) but takes longer to enter. Biometrics is the quickest way, but it depends on external conditions (dirty hands, poor lighting) and cannot be changed in the event of data compromise, unlike a password.

Protection methodSpeed of accessLevel of securityConvenience
pattern lockMediumMedium.High.
Digital PIN (6+ characters)Low.High-pitchedAverage.
Fingerprint.Very high.High-pitchedVery high.
Face ID (2D/3D)Tall.Medium/HighHigh.

The best method depends on your priorities, and if you store critical data on your phone, it is recommended to use a combination of biometrics for quick access in normal conditions and complex ones. PIN-code as a backup method or for periodic rechecking.

πŸ“Š Which protection method do you prefer?
pattern lock
Digital. PIN-code
Fingerprint.
Facial recognition

Application Hidden (Hidden Apps)

MIUI has another powerful feature that often comes in tandem with locking, app hiding, which allows you to completely remove the app icon from the desktop and from the menu of all programs. The app ceases to be visible to the average user, but continues to work in the background (receive messages, update).

To use this feature, you need to go to the Hidden Apps settings (often in the same menu as App Lock or in the desktop settings), where you can select the programs that you want to hide, access them through a special gesture in the Security app or through the global search bar if you enter a secret name or code.

Hiding apps is useful when you don't just need to password-protect your data, but also hide the fact that you have a particular program on your device, and this is true for personal photo albums, financial trackers, or communication programs that don't need to horn your eyes.

⚠️ Note: Hidden apps will not display notifications on the lock screen unless an exception is configured.You may miss an important message if you don't (check) the hidden partition.

If an attacker has deep technical knowledge and access to the file system, they can find traces of the hidden application, so for maximum protection, it is better to combine concealment with password locking.

Solutions (Frequent problems and questions)

When using security features, users may encounter a number of typical problems, such as the application may stop blocking after updating the system or cleaning the cache. In such cases, it is recommended to check whether the permission for the App Lock system service has been reset. It also happens that after an Android or MIUI update, biometric settings fly off, and you need to re-assign fingerprints.

Another common situation is a forgotten password. As mentioned earlier, it is almost impossible to restore access without a Mi Account link. If the account is tied, but you have forgotten the password from the account too, the recovery process can take time and require contacting Xiaomi support with receipts for the purchase of the device.

Sometimes users complain about increased battery consumption. While the App Lock itself consumes minimal resources, constant biometric sensor surveys or background checks of running processes can contribute. If you notice an abnormal discharge, try turning off automatic unlock or limit background activity for rarely used secure programs.

πŸ’‘

Regularly checking system updates and having an up-to-date data backup is the best insurance against problems with accessing secure applications.

Frequently Asked Questions (FAQ)

Can I bypass the password on Xiaomi apps?
It's extremely difficult to get around standard App Lock protection without losing data, theoretically with root rights and expertise, or by resetting your phone to factory settings (which will delete all data), and if the password is forgotten and the Mi Account is not tied, the only way out is a full reset (Wipe Data).
Does blocking apps affect notifications?
No, apps continue to run in the background, you will receive notifications (messages, calls) even if the application is blocked, but the content of the notification can be hidden depending on the privacy settings of the Android system itself.
Does App Lock work in guest mode or second space?
Yes, App Lock settings are usually tied to a specific user or space. If you create Second Space, the lock settings will be independent there, and you will need to reset the passwords.
Does the password reset when you update the firmware?
In the normal system update (OTA) App Lock settings are usually saved, but after a major Android update (for example, from 13 to 14) or when you switch from a major Android update to a new one. MIUI HyperOS recommends rechecking the settings, as the structure of system files may change.