How to Set a Password for an App in Xiaomi: A Complete Guide with Security Tips

Protecting personal data on Xiaomi’s smartphone is a key challenge for users who store sensitive information on their phones. Set a password for apps to prevent unauthorized access to messengers, banking programs, a gallery or social networks. The MIUI ecosystem has an inbuilt App Lock feature, but its setting is nuanced depending on the firmware version and device model.

In this article, we will look at all the ways to protect applications with passwords, from standard tools to bypassing restrictions on some models, learn how to turn on App Lock on Redmi, POCO and flagship Xiaomi, what alternative methods exist, and how to avoid typical errors when setting up. Special attention will be paid to security issues: why not use simple graphics keys, how to restore access when you lose your password, and which applications should be blocked first.

Why it is important to put a password on applications in Xiaomi

Xiaomi smartphones collect a huge amount of personal data, from Google Maps, Mi Location, to financial information (SberBank Online, Tinkoff). According to a 2023 Kaspersky study, 68% of data breaches occur due to physical access to an unlocked device. Even if you use your fingerprint to unlock the screen, individual applications remain vulnerable:

  • πŸ’¬ Messengers (WhatsApp, Telegram, Viber): access to correspondence, media files and geolocation.
  • πŸ’³ Banking applications: the ability to transfer funds or change card settings.
  • πŸ“· Gallery and cloud storage (Google Photos, Mi Cloud): personal photos and videos.
  • πŸ”‘ Password Managers (Keepass, 1Password): access to all accounts.

In MIUI, App Lock is integrated at the system level, but many users are unaware of its existence or are misconfiguring it, such as blocking with a graphical key alone easily bypasses ADB or resetting, and we'll show you how to set up protection as securely as possible.

πŸ“Š What applications you block with a password?
Social media
Banking applications
gallery
Messengers
I'm not blocking anything.

How to set a password for applications in Xiaomi

MIUI has three main methods of protecting applications:

  1. The built-in App Lock is a standard tool available on all devices with MIUI 10 and up.
  2. Third-party applications (e.g. AppLock by DoMobile or Norton App Lock) – for users who need additional features (e.g. geolocation lock).
  3. Hidden folders (Second Space or Private Folder) are an alternative for those who want to hide applications completely.

Let’s look at each method in detail, starting with the standard App Lock.

πŸ’‘

The built-in App Lock in MIUI is the most secure method, as it works at the system level and does not require superuser rights.

Step-by-step: how to turn on App Lock on Xiaomi

Before setting up, make sure that your device has the current version of MIUI (at least MIUI 10). The instructions are suitable for all modern models: Xiaomi 13/14, Redmi Note 12, POCO F5 and others. If you have old firmware (for example, MIUI 9), update it through Settings β†’ About Phone β†’ System Update.

To set a password for the application:

  1. Open Settings (the gear icon on the main screen).
  2. Go to Apps β†’ App Lock. Do not see App Lock?On some models (e.g. POCO X3), the path may be different: Settings β†’ Special Options β†’ Application Lock. If there is no option at all, update MIUI or use third-party apps.
  3. When you first start, the system will prompt you to set a password for App Lock: πŸ”’ PIN code (recommended: 6)+ symbolism). πŸ”„ pattern lock (less reliable but convenient). πŸ‘† Fingerprint (only paired with PIN code!).

WhatsApp

gallery

Sberbank

Application lockdown

β˜‘οΈ Checking the settings of App Lock

Done: 0 / 4

Important: Once the App Lock is activated, apps will ask for a password every time they open. To avoid this, you can enable the Unlock option in the App Lock settings after you reboot (the password will only be requested after you restart the phone), but this reduces security.

Bypassing restrictions: what to do if the App Lock does not work

On some Xiaomi devices (especially custom firmware or regional versions of MIUI), App Lock may be disabled or not work properly.

Problem.Reason.Decision
No App Lock item in the settingsObsolete version of MIUI or regional restrictionsUpdate your firmware or install AppLock by DoMobile from Google Play
Password is not requested when opening the applicationMisfunction of MIUI or conflict with other applicationsRestart your phone, clear your Settings cache β†’ Apps β†’ Block apps β†’ Storage β†’ Clear the cache
Unlocking the fingerprint does not work.No fingerprint added to App Lock or sensor failureRemove and add the fingerprint again to Settings β†’ Passwords and Security β†’ Fingerprint
App Lock resets after updateMistake in the MIUI Update ProcessRestore Settings Through Settings β†’ Xiaomi Account β†’ Data Recovery

If none of the methods worked, try resetting the security settings:

Settings β†’ Passwords and Security β†’ Resetting Security Settings

Warning: This step will delete all saved passwords, fingerprints and App Lock data!

Alternative methods of application protection

If the built-in App Lock doesn’t suit you, consider alternative ways to:

  • πŸ”’ Third-party blocking apps: AppLock by DoMobile – supports blocking by time, geolocation and even over the Wi-Fi network. Norton App Lock – integration with Norton antivirus for additional protection. Smart AppLock – allows you to hide icons of blocked applications. ⚠️ Note: Third-party blockers require accessibility service and Usage Data rights, which can affect the performance of the phone. Install them only from official sources (Google Play or Mi App Store).
  • πŸ“ Hidden folders (Second Space or Private Folder): Second Space allows you to create a separate profile with your own applications and data. β†’ Special facilities β†’ Second Space β†’ Create space B MIUI 14 also introduced the option of Private Folder to hide files and applications behind a password.
  • πŸ” Data encryption: For maximum protection of sensitive data (e.g. in Gallery or Notes) use built-in encryption: Settings β†’ Passwords and security β†’ Encryption of the telephone

πŸ’‘

If you use Second Space, remember to update apps regularly in both profiles. Outdated versions may contain vulnerabilities.

How to Restore Access If You Forgot Your App Lock Password

A forgotten password from App Lock is a typical situation, especially if you rarely use it. Unlike locking the screen, resetting the App Lock password is harder, but there are several ways to do it:

  1. Through Xiaomi Account: If you have linked your device to your Mi Account, you can reset your security settings: Settings β†’ Xiaomi Account β†’ Device β†’ Reset security settings After that, all passwords (including App Lock) will be deleted.
  2. Using Recovery Mode (for advanced users only!): This method will result in a reset of all data on the phone! Turn off the phone. Press the Power button + Volume up to enter Recovery Mode. select Wipe Data β†’ Wipe All Data. ⚠️ Warning: This method will delete all data on the device, including photos, contacts and apps. Use it only as a last resort!
  3. Through ADB (for users with unlocked bootloader): If you have access to ADB, you can delete the file with the App Lock settings: adb shell su rm /data/system/locksettings.db rm /data/system/locksettings.db-wal rm /data/system/locksettings.db-shm reboot After the reboot, the App Lock password will be reset.

If none of the methods worked, contact the Xiaomi service center with a confirmation of purchase. specialists will be able to unlock the device without losing data (if you have a check or a warranty card).

What apps should be blocked in the first place

Not all apps require password protection, but there are some that contain the most sensitive information, and we ranked apps by risk.

Level of riskAnnexesWhat can happen when a leak occurs
⭐⭐⭐ (High-pitched)SberBank Online, Tinkoff, VTB Online, Google PayTheft of money, changing card settings, accessing credit history
⭐⭐⭐ (High-pitched)WhatsApp, Telegram, Viber, SignalAccess to correspondence, the ability to send messages on your behalf, leakage of media files
⭐⭐ (Medium)Google Photos, Gallery, Mi CloudLeakage of personal photos / videos, access to backup copies
⭐⭐ (Medium)2GIS, Yandex.Maps, Google MapsLocation tracking, history of visited places
⭐ (Low)YouTube, Twitter, InstagramAccess to public data, the ability to publish on your behalf

We also recommend blocking:

  • πŸ“ Notes (Google Keep, Mi Notes) – often contain passwords or personal information.
  • πŸ“ž Call log - history of outgoing/incoming calls.
  • πŸ”§ Settings to prevent changing phone configuration.

πŸ’‘

Block not only messengers and banking applications, but also system tools (such as Settings or File Manager) that will make it harder to access data even when physically accessing the phone.

Frequent errors when setting up App Lock and how to avoid them

Many Xiaomi users are experiencing problems with App Lock because of typical errors, and here are the most common ones and ways to prevent them:

  • πŸ”‘ Use a simple password: Passwords like 1234, 0000 or date of birth is hacked in minutes, use combinations of letters, numbers and symbols (e.g, k7!P9@m2).
  • πŸ‘† No backup unlock method: If you only use a fingerprint, if the sensor is damaged, access to applications will be lost.Always set up a backup PIN.
  • πŸ”„ Disable lock after reboot: Unlock option after reboot is convenient but reduces security.
  • πŸ“± Install App Lock on all apps: Password locking is a quick bore. Only choose those that contain sensitive data.
  • πŸ”„ Ignoring updates MIUI: Old versions. MIUI (MIUI 11 and below) App Lock is unstable. Update your firmware regularly.

Another typical error is storing the password from App Lock in notes or messengers, and if an attacker gains access to the phone, they can easily find that password, use Bitwarden, 1Password, or remember it.

FAQ: Answers to Frequent Questions

Can I put a password on system applications (for example, Settings or Contacts)?
Yes, App Lock in MIUI allows you to block any application, including system applications (Settings, Contacts, Messages). However, blocking Settings can make it difficult to access certain features of the phone (for example, Developer Mode or System Update).
Why does App Lock not work after the MIUI update?
After major updates (e.g., from MIUI 13 to MIUI 14), App Lock settings may reset. To restore them: Go to Settings β†’ Apps β†’ Block Apps. Reset password through Forgot password? (requires Mi Account). Re-select applications to lock. If the problem persists, clear the app's cache in the Settings.
Can I hide the icons of blocked applications?
In the standard App Lock, you can’t hide your app icons, but there are workarounds: Use Second Space to hide applications. Install a launcher with a hidden application (like Nova Launcher or Apex Launcher). Use third-party blockers like Smart AppLock that support hiding icons. Keep in mind that hidden apps will still be visible in Settings β†’ Apps.
How to disable App Lock if you no longer need it?
To Turn Off App Lock: Go to Settings β†’ Annexes β†’ App lock. Enter your current password. Click on the three dots in the upper right corner and select Disable App lock. Confirm action. After that, all apps are unlocked, but the App Lock password is saved. To remove it completely, reset your security settings in Settings β†’ Passwords and security β†’ Resetting security settings.
Is it safe to use third-party blockers?
Third-party blockers (such as AppLock by DoMobile) may be more convenient than standard App Lock, but have risks: πŸ”“ Vulnerabilities: Some applications contain gaps that allow you to bypass the lock. πŸ“Š Data collection: Many blockers request access to app usage statistics, which may violate privacy. πŸ”‹ Battery consumption: Constantly running in the background increases power consumption.Safe use guidelines: Install only proven apps from Google Play with a 4.5 rating+. Check the permissions before installation (no access to the SMS, Calls or geolocations for no reason. Update the blocker regularly.