Forgot. PIN-Xiaomi phone code: 5 working ways to unlock

Forgotten PIN-Xiaomi's smartphone code is a situation that one in five users encounter. According to service center statistics, 18% of device lock requests are due to the loss of a password or pattern lock, POCO or Mi requires input PIN-Do not panic: there are official and alternative methods of unlocking, which do not require contacting the workshop.

In this article, we'll look at all the current ways, from recovering from a Mi Account account to using Fastboot mode and service codes. Importantly, some methods lead to complete data cleanup, so try the options with saving information first. If the phone is locked after you have firmware or reset settings, the algorithm will be different, which we'll talk about later.

1 Unblocking through Mi Account (without loss of data)

The safest way to do this is to use a Xiaomi account that works if:

  • πŸ“± The phone is connected to the Internet (Wi-Fi or mobile network).
  • πŸ”‘ Remember the username and password from Mi Account.
  • πŸ”„ The device is enabled synchronization with the account.

After 5 failed attempts to enter PIN-If you have a password button on the screen, or you can unlock it through Mi Account:

  1. Enter the email or phone number associated with the account.
  2. Confirm the identity via SMS or email (the code will come to the mail / phone).
  3. Create a new one. PIN-code.

The important thing is, if the phone is not connected to the network, this method will not work, in which case move on to the next method.

πŸ’‘

If you do not remember the password from Mi Account, restore it through the official account.xiaomi.com website from another device. Use the backup email or phone number provided during registration.

2. Reset via Find Device (remote unlock)

Find Device (similar to Google’s Find Phone) allows you to remotely reset the lock if the device:

  • 🌍 Connected to the Internet.
  • πŸ”— Linked to a Mi Account.
  • πŸ“‘ Geolocation enabled (not necessarily, but desirable).

Instructions:

  1. Go to i.mi.com from a PC or other phone.
  2. Sign in with the same account as on the locked device.
  3. Select a locked phone from the list of devices.
  4. Click Delete Data β†’ Erase the device.
  5. Confirm the action via SMS or email.

Once reset, the phone will reboot and you can configure it as new. Less method: all data (photos, contacts, messages) will be deleted. If the device has been enabled sync with Mi Cloud, some information can be restored after re-authorization.

πŸ“Š How often do you back up your data on Xiaomi?
Every week.
Once a month
Only before the update
Never.

3. Unlock through Recovery Mode (hard reset)

If previous methods failed, you will need to use Recovery Mode, which is suitable for all Xiaomi models, including the Redmi Note 10/11/12, POCO X3/X4, Mi 11/12.

Step-by-step:

  1. Turn off the phone with a long press of the power button.
  2. Press the Power button + Volume up at the same time and hold for 10-15 seconds until the Mi logo appears.
  3. In the Recovery menu, select the language (usually English or ).
  4. Go to Wipe Data β†’ Wipe All Data.
  5. Confirm the action by selecting Confirm.
  6. After reset, click Reboot β†’ Reboot to System.

The phone will reboot in a factory state. At the setup stage, skip the account binding if you don't remember the login details.

Turn off the phone from charging

Make sure the battery is at least 30% charged

Prepare a standby SIM-card (if required)

Remember the phone model to search for firmware (if necessary)-->

4.Using Fastboot and Mi Flash Tool (for advanced users)

This method is suitable if:

  • πŸ”§ You know how to work with ADB and Fastboot.
  • πŸ’» You have a PC with Xiaomi drivers installed.
  • πŸ“₯ You can download the official firmware for your model.

Algorithm of action:

  1. Download and install the Mi Flash Tool.
  2. Download the firmware for your model from the Xiaomi Firmware Updater website.
  3. Turn off the phone and put it in Fastboot mode: pinch Power + Volume down.
  4. Connect your phone to your PC through USB-cable.
  5. In the Mi Flash Tool, select the downloaded firmware and press Refresh β†’ Flash.

Warning: Wrong firmware can turn your phone into a brick. Use this method only if you are confident in your actions.

What if the Mi Flash Tool can't see the phone?
Make sure you have Qualcomm or MediaTek drivers installed (depending on your model's CPU). USB-Disable the antivirus, it can block the connection. Reboot the PC and phone, then try again.

5 Unlocking through Xiaomi Service Center

If you do not succeed, contact the official service center.

  • πŸ” Guaranteed unlocking without risk of damage.
  • πŸ“„ Preservation of warranty (if the phone is guaranteed).
  • πŸ› οΈ Data recovery (in some cases).

What will be required:

  • πŸ“„ Passport or other document confirming possession of the phone.
  • πŸ’³ Check or warranty card (if any).
  • πŸ“± The device itself with a charge of at least 20%.

The cost of the service varies from 500 to 2000 rubles depending on the model and region, in some cases, unlocking can take up to 3-5 days (if you need to request Xiaomi headquarters to unlink the account).

πŸ’‘

Xiaomi’s official service centers never ask for a password from Mi Account to unlock, and if you are offered a hacking account for a fee, they are scammers.

6. Alternative methods (for older models)

On Xiaomi phones released before 2018 (for example, Redmi 4X, Mi A1) sometimes trigger "holes" in security:

MethodModels.EfficiencyRisks.
Emergency call + code # #7378423##Redmi 3S/4/4A50%It might not work on the new firmware.
Reset via ADB (if debugging is enabled)Anyone with Android 7-970%Requires PC and skills
Use of vulnerability in locksetting.dbMi 5/6, Redmi Note 3/430%May lead to a reboot cycle

Warning: These methods can disrupt your phone or cause you to lose warranty. Use them at your own risk.

fastboot oem device-info

If the answer has the line Device unlocked: false, unlocking through informal methods is impossible without the bootloader’s breakup.-->

Frequent Mistakes and How to Avoid Them

When trying to unlock, users often make critical mistakes:

⚠️ Warning: If, after resetting via Recovery, the phone requires a data entry from Mi Account that you don't remember, the device will become a brick, in which case only contacting the service center with proof of purchase will help.

Typical misses:

  • πŸ”‹ Battery discharge during discharge β†’ You can always make sure the charge is above 30%.
  • πŸ”Œ Use of non-original cable β†’ PC doesn't see the device in Fastboot. Use the cable from the kit.
  • πŸ“₯ Downloading firmware not for your model β†’ Check the name of the firmware file for model compliance.

If the phone doesn’t turn on after unlocking or hangs on the Mi logo, try:

  1. Press Power + Volume up for 20-30 seconds for forced reboot.
  2. Repeat the firmware through the Mi Flash Tool with the Clean All option.

FAQ: Answers to Frequent Questions

Can I unlock Xiaomi without losing data?
Yes, but only if: The phone is connected to the Internet and linked to Mi Account. You remember the username/password from the account. Use official methods (through Find Device or Forgot the password?) All other methods (Recovery, Fastboot) lead to a complete reset.
What to do if you forget your Mi Account password?
Restore it through the official website: Click Forgot password?. Enter the email or phone number associated with the account. Confirm the recovery via SMS or backup email. If you do not have access to email/phone, contact Xiaomi with a purchase check.
Will unlocking through Google Account on Xiaomi work?
Unlike pure Android phones, Xiaomi devices use their own Mi Account, and Google Account data entry won't help.
Can I unlock my phone if it’s off and doesn’t respond to the buttons?
If the phone is completely discharged or not turning on: Connect it to charging for 15-20 minutes. Try pinching Power + Volume up to enter Recovery. If the screen remains black, contact the service - perhaps the hardware problem.
How to avoid blocking in the future?
Follow simple rules: Use fingerprint or facial recognition as an additional way to unlock. PIN-code in a secure location (e.g., an encrypted file on a PC) enable sync with Mi Cloud to back up data. Periodically check if you remember the password from Mi Account.