Forgot your password on Xiaomi? full instruction on unlocking your phone

What to do if Xiaomi is blocked

Forgetting the digital password from Xiaomi smartphone is a bad situation, but it is correctable. The main thing is not to panic and not to try to enter combinations at random: after 5 unsuccessful attempts, the phone will lock for 30 seconds, and after 10-15 - may require data entry from Mi Account or delete all data. In this article, we will analyze all working methods of unlocking, from the simplest to radical, taking into account the features of the MIUI firmware of different versions.

It's important to understand that unlocking depends on whether your Xiaomi is tied to your Mi Account, whether USB debugging is enabled, and if you have a backup, if your phone is synced to your account, the chances of getting back without losing data are higher, and if not, you'll have to put up with a full reset or use tools like ADB (for advanced users).

Before you start, check:

  • πŸ”‹ Battery level (at least 30%, otherwise the phone may turn off during the process).
  • πŸ“Ά Internet availability (for Mi Account or Find Device methods).
  • πŸ”Œ USB Type C C Cable (if you plan to connect to a PC).

Method 1: Unlocking with Mi Account (official method)

The most reliable and recommended way Xiaomi uses is to use a tied Mi Account, which works if:

  • πŸ“± The phone is connected to the Internet (Wi-Fi or mobile data).
  • πŸ”‘ Remember the username and password from the Mi Account.
  • πŸ”„ The phone has sync enabled (usually activated by default).

Instructions:

  1. On the lock screen, click Forgot Password? (or Forgot Password?).
  2. Choose Restore through Mi Account.
  3. Enter the email or phone number associated with the account.
  4. Confirm the entrance through SMS-code.
  5. Create a new lock password.

If the buttons Forgot your password? No, then the phone has disabled sync with Mi Account, in which case, move on to other methods.

⚠️ Note: If you bought the phone with your hands and didn’t reset the previous owner’s tether, this method won’t work.

πŸ“Š How often do you forget your passwords?
Never.
There's always a record nearby.
Sometimes (1-2 times a year)
Constantly (more often than 3 times a year)

Method 2: Reset password through Find Device (remote)

If your phone is connected to the Internet but there is no recovery button on the lock screen, try a remote reset via Find Device (the equivalent of Find My iPhone for Xiaomi), which works even if your phone is lost or stolen (but in the latter case, you should first contact the police).

Step-by-step:

  1. Go to i.mi.com from any device.
  2. Sign in with the same Mi Account as on a locked phone.
  3. Select your phone from the menu (if multiple devices are tied).
  4. Press Find the device. β†’ Erase the data.
  5. Confirm the action through SMS-code.

Once reset, the phone will reboot and prompt it to be configured as new, and all data, including photos, messages and apps, will be deleted without recovery.

πŸ’‘

If the phone requires the old password to be entered after resetting via Find Device, it means that Reset Protection (FRP) was enabled on it, in which case only a full reset via Fastboot (see Method 5) will help.

Method 3: Unlocking through ADB (for advanced users)

The method is suitable if the phone is enabled debugging by USB (USB Debugging) and access to a computer. That's rare, but if you've previously connected your phone to a PC for development or modification, try it.

What you need:

  • πŸ’» A computer with installed Xiaomi drivers and ADB.
  • πŸ”Œ USB-Type C Cable (original to avoid connection issues).
  • πŸ“₯ Utility. ADB (You can download from the official Android website).

Instructions:

1. Connect the phone to the PC.


2. Open the command line (Windows) or the terminal (Mac/Linux).




3. Enter the command:




adb shell rm /data/system/gesture.key




4.Reset the phone:




adb reboot




5. After the reset, the password will be reset.

If the team doesn’t work, try an alternative:

adb shell


su




rm /data/system/locksettings.db




rm /data/system/locksettings.db-wal




rm /data/system/locksettings.db-shm




reboot

⚠️ Attention: This method requires root rights, if it doesn't, the su command won't work, and you'll have to use other methods, and after this manipulation, you may have problems with Mi Account (re-authorization will be required).

Install Xiaomi drivers on PC| Download ADB Tools|Enable USB debugging on your phone (if available)|Connect your phone with the original cable |Confirm the connection with the adb device command

-->

Method 4: Hard Reset with Recovery Mode (full reset)

If previous methods failed, it would leave a hard reset through Recovery Mode, which would delete all data but return access to the phone, and it works on all Xiaomi models, including the Redmi Note 10/11/12, POCO X3/X4, Mi 11/12, and others.

How to make a Hard Reset:

  1. Turn off the phone (press the power button for 10 seconds).
  2. Press the button combination: For most models: Volume up + Power. For older models (e.g. Redmi 4A): Volume up + Volume down + Power.

Mi

Recovery

Use volume buttons for navigation and power button for selection.

Wipe Data

Wipe All Data

Confirm

Reboot

The phone will reboot and offer to configure it as new, and if after the reset there is a request for data entry Mi Account, then FRP protection is enabled (see the next method).

Xiaomi modelCombination for RecoveryNotes
Redmi Note 10/11/12, POCO X3/X4Volume up + NutritionHold it for 10-15 seconds.
Mi 11/12, Mi MixVolume up + NutritionA charging connection may be required
Redmi 9/9A/9CVolume up + NutritionIn the Recovery menu, choose English for convenience.
Redmi 4/4A/5/5AVolume up + Volume down + NutritionOlder models may require PC connection

Method 5: FRP bypass (if Mi Account is required after reset)

If you have a Hard Reset phone that asks you to enter your previous owner's Mi Account, that's FRP, which is activated automatically if the phone was linked to an account, and you can only legally bypass it if you:

  • πŸ“§ You have access to an email or phone number linked to your Mi Account.
  • πŸ“„ Have a check or warranty card (for contacting the support service).

If you bought the phone with your hands and can not contact the previous owner, there are still unofficial methods (at your own risk):

  1. Download the Mi FRP Tool (e.g. Xiaomi FRP Bypass Tool).
  2. Connect your phone to your PC in Fastboot mode (clip Volume Down + Power).
  3. Launch the utility and follow the instructions on the screen.

⚠️ Attention: Informal tools for circumvention FRP They may contain malware or violate Xiaomi’s license agreement, and only use them if your phone is truly yours and your account is lost irretrievably.

What if the phone asks for an old password after reset?
This means that the device has a reset protection feature (FRP) enabled. In this case: 1. Try entering data from your Mi Account (if the phone was yours). 2. If the phone is purchased from hand, contact the previous owner to untie the account. 3. If contact is not possible, contact Xiaomi Support with proof of purchase (check, box, IMEI). 4. In extreme cases, use informal utilities (see Method 5), but be prepared for the risks.

Method 6: Contact Xiaomi Service Center

If none of these methods work, then the official service remains.

  • πŸ”’ Phone's locked because FRP And you can't get around the defense.
  • πŸ“„ You have documents confirming the purchase (check, warranty card).
  • πŸ’° You are ready to pay for the unlock service (cost - from 500 to 2000 rubles).

How to prepare for a visit to the service:

  1. Find the nearest official Xiaomi service center.
  2. Take it with you: πŸ“„ Check or guarantee card. πŸ“± Phone box (if any). πŸ†” Passport (for proof of identity).

Check by phone if they are unlocking (some centers refuse without warranty).

The service may offer:

  • πŸ”§ Software unlocking (if you have access to Mi Account).
  • πŸ”¨ Flip-through EDL-The system (requires special equipment).
  • πŸ“± Replacement of motherboard (in extreme cases, if other methods do not help).

πŸ’‘

Contacting the service center is the only legal way to unlock if the phone is tied to someone else’s Mi Account and you do not have access to the data of the previous owner.

FAQ: Frequent questions about unlocking Xiaomi

Can I unlock Xiaomi without losing data?
Yes, but only if: The phone is linked to Mi Account and you have access to the account (see Method 1). USB debugging is enabled and you are able to work with ADB (see Method 3).
What to do if you forget your Mi Account password?
Restor access via the official website: Go to account.xiaomi.com. Click Forgot Password?. Enter email or phone number associated with the account. Follow the recovery instructions (SMS or link letter). If the account is not yours (for example, the phone is bought by hand) - contact the previous owner or support Xiaomi with proof of purchase.
Why does the phone ask for an old password after reset?
This is activated by FRP (Factory Reset Protection) protection, which is activated if the phone was tied to Mi Account. To remove the request: Enter data from your Mi Account (if your phone is yours). If the phone is purchased from hand, ask the previous owner to untie the account via i.mi.com. If you can't contact, use informal utilities (see Method 5) or contact the service.
Can I unlock Xiaomi through my Google Account?
Unlike pure Android phones, Xiaomi uses its own lock system via Mi Account. Google unlock methods (like Find My Device) don't work on Xiaomi.
How much does it cost to unlock in the service center?
The cost depends on the model and the reason for the lock: πŸ”“ Unblocking through Mi Account (if you forgot your password, but your account is yours): 500-1000 rubles. πŸ”§ Circumvention FRP (if the phone is linked to someone else’s account: 1000-2000 rubles. πŸ“± Flip-through EDL: 1500-3000 rubles (requires special equipment) Official Xiaomi services can be denied if you do not have a check or guarantee).