How to Change Your Graphic Password to Xiaomi: 5 Verified Ways (including MIUI 14)

Why Change Your Graphic Password and When It’s Necessary

Not only is the pattern lock on Xiaomi smartphones a way to protect personal data, but it’s also a potential trap if you forget it. According to 2023 statistics, one in five Redmi or POCO owners have at least once experienced a locked screen because of a forgotten pattern, which is complicated if the phone does not sync with a Mi Account account or the Internet is disabled.

The reasons for changing a graphical password vary from the simple desire to make it harder to protect, to unlocking the device after buying from hand. It is important to understand that the procedure differs depending on the version of MIUI (12, 13 or 14), the model of the smartphone (Xiaomi 13 Pro, Redmi Note 12, POCO X5) and even whether the phone is connected to the mobile network. In this article, we will analyze all the current methods, from a standard change through settings to an emergency reset via Fastboot.

If you're reading this article on a locked phone, you can immediately skip to the emergency techniques section. For everyone else, we'll start with the simplest option.

πŸ“Š How often do you change your password on your smartphone?
Every 3 months
Six months
Only if I forgot.
Never change.

Method 1: Standardly change the graphical password through settings

This is a basic method that works if you remember the current key and have access to the phone menu, and is suitable for all Xiaomi models on MIUI 12-14, including the Redmi 10C, POCO F4 and older devices like the Mi 9T.

Instructions:

  1. Open the Settings app (cog icon).
  2. Go to the Passwords and Security section (on some firmwares – Screen Lock).
  3. Select Screen Lock β†’ enter the current pattern lock.
  4. Press the pattern lock (or Password if you want to switch to another type of protection).
  5. Create a new picture, confirm it and save the changes.

Important nuances:

  • πŸ”„ Nana POCO M5 And some Redmi models may look like settings. β†’ System system β†’ Additionally. β†’ Screen locking.
  • πŸ”’ If you have the option β€œRequire password at start”, after changing the key, the phone may require input PIN-code SIM-map.
  • ⚑ Nana MIUI 14 after changing the password, the system will prompt you to update your Mi Account data – this is normal, do not cancel the process.

The phone is charged at least 30%

Connection to Wi-Fi or mobile network is stable

You remember the current pattern lock

The phone has enough free memory (minimum 500 MB)

-->

If the phone starts to brake after changing the password or if it says "Can't save settings" or "Can't save settings," try restarting the device, which solves the problem 90 percent of the time.

πŸ’‘

Take a picture of a new pattern lock on another phone, or write it down on paper if you're afraid to forget. It's not safe to store a screenshot in the gallery of the smartphone itself!

Method 2: Change your password through your Mi Account (if you forgot your key)

This method works if you forgot your graphical password, but the phone is tied to your Mi Account account and you have access to the email or phone number used when signing up.Works on all Xiaomi, Redmi and POCO models with MIUI 10 and later.

Step-by-step:

  1. On the locked screen, click Forgot your password? (or Forgot your pattern lock?).
  2. Choose the method of recovery: via SMS or email.
  3. Enter the confirmation code that will come to the attached number or mail.
  4. Follow the instructions on the screen to create a new pattern lock.

What to do if the button Forgot the password? does not appear:

  • πŸ“± Make sure your phone is connected to the internet (Wi-Fi or mobile network).
  • πŸ”„ Restart the device – sometimes the button appears after the reboot.
  • πŸ”§ On older models (Redmi) 4X, Mi A1) You may need to enter your username and password from Mi Account manually.
What if you don’t get an SMS with a code?
If the confirmation code does not arrive: 1. Check the Spam folder in the mail. 2. Make sure that the phone number is not blocked by the operator (sometimes SMS is blocked as β€œfraudulent”). 3. Try to request the code through another method (for example, instead of SMS, select email). 4. If nothing helps, use [the official Mi Account recovery form](https://account.xiaomi.com/).

If you bought a phone with your hands and the previous owner didn't untie his Mi Account, this method won't work, so you'll have to go to Xiaomi's service center with proof of purchase.

⚠️ Note: Once you have restored access via Mi Account, all data on your phone (photos, messages, apps) can be deleted if the Unlock Reset feature is enabled!

Method 3: Emergency reset via Fastboot (for power users)

If you don’t remember the pattern lock and your Mi Account is not tied (or you don’t know the login details), you only have to hard reset through Fastboot mode, which is suitable for all Xiaomi models, but requires a computer and basic ADB skills.

What you need:

  • πŸ–₯️ Computer with Windows/macOS/Linux.
  • πŸ”Œ Cable USB (preferably original).
  • πŸ“¦ Mi Flash Tool (download from [official website](https://new.c.mi.com/global/miuidownload/index)).
  • πŸ”§ Archive with firmware for your model (you can find it on the [Xiaomi Firmware Updater](https://xiaomifirmwareupdater.com/)).

Instructions:

  1. Turn off your phone. Press Volume down + Power to log into Fastboot.
  2. Connect the phone to the computer.
  3. Start the Mi Flash Tool, select the downloaded firmware.
  4. Press Refresh – the program must identify the device.
  5. Select Clean All mode and press Flash.

Warnings:

  • πŸ’€ This method removes all data from the phone without the possibility of recovery.
  • πŸ”Œ In some models (POCO F3, Redmi K50) Requires to unlock the bootloader via the Mi Unlock Tool (up to 72 hours).
  • ⚠️ If the firmware is not selected correctly, the phone can turn into a brick".

πŸ’‘

Resetting via Fastboot is a last resort. If you are not sure about your skills, you should contact the service center.The cost of unlocking in official Xiaomi centers starts from 1,500 rubles (2026).

Model phoneButton combination for FastbootIs it necessary to unlock the loader?
Xiaomi 13/13 ProLoudness down + NutritionYes (via Mi Unlock)
Redmi Note 12 Pro+Volume up + NutritionYes (72 hours wait)
POCO X5 ProLoudness down + NutritionNo (on some firmware)
Redmi 10AVolume up + down + NutritionNo.

Method 4: Recovery Reset (without a computer)

If you don't have access to a computer, but the phone supports Recovery, you can try resetting it directly from the device, which works on most Xiaomi models, but doesn't guarantee data safety.

How to log in to Recovery:

  1. Turn off the phone.
  2. Press Volume up + Nutrition (on some models – Volume up + Down + Nutrition).
  3. Wait for the Mi logo to appear and release the buttons.

Further action:

  • Use volume buttons to navigate the menu.
  • Select Wipe Data (or Factory Reset)
  • Confirm the reset (usually with a power button).
  • Once rebooted, the phone will be like new β€” without a password, but also without your data.

Important! Some firmware (MIUI 14 for Xiaomi 13 Ultra) requires a password from Mi Account to be entered into Recovery. If you don't know it, this method won't work.

⚠️ Note: On phones with data encryption (File-Based Encryption, FBE) Resetting via Recovery can make it impossible to unlock further without factory software.

Method 5: Use ADB (to unlock without losing data)

This is a semi-official method that works if your phone is debugging on USB and you’ve previously connected it to your computer. Suitable for Xiaomi, Redmi and POCO on MIUI 11-14.

What needs to be done:

  1. Connect your phone to your computer via USB.
  2. Open the command line (Win + R β†’ enter cmd).
  3. Enter the command adb shell rm /data/system/gesture.key
  4. Reboot your phone (adb reboot).

Once you reboot, the pattern lock will be reset, but all the data will remain in place.

  • πŸ”Œ The method only works if the debugging is USB was turned on before the lockdown.
  • πŸ›‘οΈ Nana MIUI 14 You may need an additional command: adb shell rm /data/system/locksettings.db
  • πŸ“± It does not work on hardware-encrypted phones (Xiaomi) 12T, Redmi K60).

If the adb command is not recognized, download Platform Tools from [Android Developers website](https://developer.android.com/studio/releases/platform-tools) and try again.

Frequent Mistakes and How to Avoid Them

When changing a graphical password, users often face typical problems, and here are the most common ones and how to solve them:

Mistake.Reason.Decision
"Failed to change the password"Insufficient memory or system failureClear the cache in Settings β†’ Memory or reboot the phone
Forgot your password button? is not activeNo Internet connection.Connect to Wi-Fi or mobile network
After resetting, the phone requires an old password.Incomplete reset via RecoveryRepeat reset or use Fastboot
Mi Account does not accept passwordAccount blocked or deletedRestor access via [account.xiaomi.com](https://account.xiaomi.com/)

Another common problem is that the phone doesn't respond to touch after several failed password attempts.

  • Wait 30 seconds – the system can lock the screen for a short time.
  • If the screen is completely frozen, press Power + Volume up for 10 seconds for a forced reboot.
  • In the models with AMOLED-screens (Xiaomi 13, Redmi) K60 Pro) sometimes helps to connect charging - the screen may "wake up".

FAQ: Answers to Frequent Questions

Can I change my password without losing data if I forget my old one?
Yes, but only if: The phone is tied to Mi Account and you have access to the email/number. Previously, USB debugging was enabled (ADB will then help). In all other cases, the data will be lost.
How many attempts does Xiaomi make before blocking?
Depending on the model and version of MIUI: MIUI 12–13: 5 attempts, then lock for 30 seconds. MIUI 14: 3 attempts, then you need to enter a password from Mi Account. POCO/Redmi with custom firmware: up to 10 attempts without locking.
What if the phone asks for a password from Mi Account?
This is FRP (Factory Reset Protection) solution: Enter your Mi Account (if your phone is yours). If you bought your phone with your hands, ask the previous owner to untie your account via [account.xiaomi.com] (https://account.xiaomi.com/). Contact Xiaomi Service Center with a check for your purchase. Self-bypassing FRP can lead to IMEI blocking!
How do I know if USB debugging is enabled if my phone is locked?
Unfortunately, it's not directly verifiable. Indirect signs: You've previously connected your phone to your computer to transfer files. In the developer settings (Settings β†’ Phone β†’ MIUI version (7 times press)) the USB Debugging option was activated. When you connect to your PC, your phone asked for debugging permission. If none of this is familiar, the debugging is likely disabled.
Can I recover data after a Fastboot reset?
No, a Fastboot or Recovery reset completely erases the phone’s internal memory, including photos, messages and apps. The only way to avoid losses is to back up regularly through Settings β†’ Additional β†’ Backup or third-party services like Google Drive.