Introduction: why you need a graphical password on a Xiaomi smartphone
A pattern lock is one of the most convenient ways to protect a Xiaomi, Redmi or POCO smartphone from unauthorized access. Unlike a PIN- code or fingerprint, the lock pattern combines ease of use with visual memory. You just swipe your finger across the screen, connecting the dots in a predefined sequence, and the phone unlocks in a fraction of a second.
But there's a downside to this: if the pattern is too simple (like a straight line or an "L"), it's easy to peek at or guess. And if you forget the combination, it's harder to unlock than when you use the PIN- code. In this article, we'll go into detail on how to put a graphical password on Xiaomi, customize it to your needs, and what to do in emergency situations, from reset to restore access.
Itβs important to understand that the procedure may vary slightly depending on the version of MIUI (e.g. MIUI 12, MIUI 14, or HyperOS) and the smartphone model, but the overall algorithm has been the same for many years, and weβll look at the generic steps that will suit most of the brandβs devices.
Preparation: What to Know Before Setup a Graphic Password
Before you start installing a pattern lock, make sure your Xiaomi smartphone meets a few basic requirements:
- π± Version MIUI is at least 9. On older firmware, the interface of settings may differ, and some features (e.g., pattern backup) may not.
- π Battery charge of at least 20%, which will prevent the device from suddenly shutting down during setup.
- πΆ A stable Internet connection (preferably over Wi-Fi) is required to synchronize the Mi Account, which will be useful when you restore access.
- βοΈ A stored PIN- code or password. The pattern lock is always installed over another unlock method (e.g., a digital code). This is a security requirement MIUI.
If you're setting up a lock for the first time, the system will suggest you choose the primary method of protection. The graphic password cannot be set as the only way to unlock it, you'll need a backup PIN or password, so that you can log in even if you forget the pattern.
β οΈ Warning: If you haven't previously linked your Mi Account to your phone, do so before you set your graphical password. Without a linked account, it's extremely difficult to reset the pattern when you lose it, you'll need to completely reset your lost data settings.
Step-by-step: how to put a graphical password on Xiaomi
Now, to the main thing, you need to install the pattern lock.
- Open Settings (the gear icon on the desktop or in the application menu).
- Scroll down and select the Lock Screen section (in some versions of MIUI β Lock and Protect).
- Slip on the line Screen Lock Type (or Password & Security β Lock Type in HyperOS).
- Enter the current one. PIN-code or password (if already installed).
- Select the Pattern option (or the Graphic Password in older versions).
- A 9-dot grid will appear on the screen. Swipe your finger across the screen, connecting at least 4 dots (more) and repeat the pattern twice for confirmation.
- Click Ready or Confirm.
The system may suggest adding a backup PIN- code (if it is not already available) or linking Mi Account to restore access.
βοΈ What to check after setting a graphical password
If you want to make the pattern more reliable, avoid obvious combinations:
- π« Simple letters (C, M, Z).
- π« Straight lines or diagonals.
- π« Popular symbols (heart, arrow, star).
β οΈ Warning: On some Xiaomi models (e.g. Redmi Note 10 Pro or POCO X3 Pro) after 5 failed attempts to enter the pattern, the system temporarily blocks unlocking for 30 seconds. If you forget the password, do not try to guess it by brute force - this will only make the situation worse.
How to Change or Delete a Graphic Password on Xiaomi
If you're bored or you don't think it's reliable enough, you can change it or you can turn it off.
- Go to Settings β Lock screen β Screen Lock type.
- Enter your current graphical password (or backup PIN).
- To change the pattern, select the Pattern and go through the adjustment procedure again.
- To remove your graphical password, select another blocking method (such as a PIN or Password) and confirm the changes.
If you want to completely disable the screen lock, select the option No or Swipe (swipe).However, we do not recommend this - without protection, your data will be vulnerable to theft or accidental access.
| Action. | Is a backup PIN required? | Synchronization with Mi Account |
|---|---|---|
| Change the graphical password | Yes. | Not necessarily. |
| Delete the graphical password | Yes. | Not necessarily. |
| Disable the lock completely | Yes (if it was previously established) | It doesn't. |
| Reset password through Mi Account | No. | I'll be sure. |
On HyperOS models (such as Xiaomi 14 or Redmi K70), the path to settings may be slightly different: Settings β Password and security β Type of screen lock.
π‘
If you often forget passwords, write backup PIN- code in the password manager (like Google Password Manager or KeePass) or on paper stored in a safe place. Don't save it in notes on your phone!
What to do if you forget your graphical password on Xiaomi
The situation of forgetting the lock pattern is familiar to many. Fortunately, Xiaomi has several ways to restore access, from simple to radical. Let's take them in order:
Method 1: Unlocking through backup PIN- code
If you set up your graphics password with a backup PIN, after 5 failed attempts to enter the pattern, the system will prompt you to enter it. Just click on the Forgot the pattern button that appears? or Reserve PIN and enter the digital code.
Method 2: Recovery with Mi Account
If there is no backup PIN but the phone is linked to your Mi Account, follow these steps:
- After several failed attempts to enter the pattern, a button will appear: Forgot your password? (or Restore access).
- Select the option to Sign in via Mi Account.
- Enter the username and password from your Xiaomi account.
- Confirm unlocking via SMS or email (if two-factor authentication is enabled).
This only works when you have a stable Internet connection, so if your phone has a mobile Internet connection and Wi-Fi disconnected, use another method.
Method 3: Reset via Mi Cloud (remote)
If your phone is lost or stolen and you want to lock it or erase your data, do the following:
- Go to i.mi.com from a computer or other device.
- Sign in with your Mi Account.
- Select the device from the list of devices.
- Press Find the device. β Erase the data.
This method will completely remove all data from your phone, including photos, contacts and apps. Use it only as a last resort!
Method 4: Hard Reset (total reset)
If no other method has worked, it will only be a hard reset to factory settings, which will remove all data from the phone, so only use this method if the device does not have important information or you have made a backup.
Instructions for most Xiaomi models:
- Turn off the phone.
- Press and hold the Power + Volume buttons up until the Mi logo appears.
- From the Recovery menu, select Wipe Data (use volume buttons for navigation and power button for confirmation).
- Confirm the reset by selecting Wipe All Data.
- After the process is complete, select Reboot.
β οΈ Warning: Some models (e.g., POCO F3 or Redmi 9T) may require additional confirmation via Mi Account even after a reset. This is a feature called Mi Cloud Lock, which protects the device from theft. If you don't remember your account details, it will be impossible to unlock your phone without contacting a service center.
What if your phone needs an old Mi Account after a reset?
Additional security settings for graphical password
To make the pattern lock even more reliable, use the additional features of MIUI:
- π Hiding notifications on the lock screen. Go to Settings β Notifications β On the lock screen and select Do not show content.
- π Autolock. Set minimum time to automatically lock the screen: Settings β Lock screen β Autolock (recommended 15-30 seconds).
- π± Double tap to wake up. Enable this feature in Settings β Lock screen β Double tap to wake up to quickly check notifications without unlocking.
- ποΈ Fingerprint scanner. Add fingerprint as an additional unlocking method: Settings β Password and security β Fingerprint.
Also, look at the Smart Blocker feature (Settings β Applications β Smart Blocker) that allows you to block individual applications with a password or pattern even if the main screen is unlocked, which is useful if you give a phone to children or colleagues, but want to hide access to banking applications or correspondence.
A new feature on HyperOS devices, Private Mode, allows you to create a separate secure profile with your own apps and data, to enable it:
- Go to Settings β Privacy β Private mode.
- Set a password or pattern to log into a private profile.
- Add apps that should be hidden in the main profile.
π‘
Use a combination of graphic password + fingerprint + private mode for maximum protection of confidential data.
Frequent errors and problems with the graphic password on Xiaomi
When using a pattern lock, users often face typical problems, and let's look at the most common and ways to solve them:
| Problem. | Possible cause | Decision |
|---|---|---|
| The pattern is not accepted, although entered correctly | Touch screen is contaminated or damaged | Wipe the screen with a dry wipe. If the problem persists, check the sensitivity of the sensor in Settings β Display β Screen calibration. |
| After the MIUI update, the graphical password was reset | Failure in the update process | Restor access via Mi Account or backup PIN. If it doesn't work, reset. |
| Phone asks for password after reboot, although pattern set | MIUI security feature requiring confirmation after restart | Enter a backup PIN or password. You can't turn it off, it protects against bypassing the lock. |
| Fingerprint unlocking does not work after the pattern is installed | Conflict of Authentication Methods | Remove and add the fingerprint again to Settings β Password and Security β Fingerprint. |
If after setting a graphical password, the phone started to slow down or react slowly to touch, try:
- π Reset the device.
- π§Ή Clear the cache in Settings β Applications β Application Management β Settings (three dots) β Clear the cache.
- π Disable animation: Settings β About Phone β Version MIUI (tap 7 times to turn on Developer Mode, then in Settings β Additional β For Developers, reduce the animation scale to 0.5x).
On some models (such as Xiaomi 13 Pro or Redmi Note 12) after installing HyperOS, the graphical password option may disappear, in which case update the firmware to the latest version or use alternative blocking methods (PIN or password).