How to remove the PIN request when you launch Android on Xiaomi: all the ways of 2026

You have turned on the Xiaomi smartphone, and instead of the usual desktop you see the inscription β€œTo run Android, enter” PIN-This lock appears after a reset, failed update or malfunction MIUI. Unlike the standard unlock screen, this is where you need to go. PIN It's from a previous Google or Mi Account, not a pattern lock or a screen password, and without the right code, the device becomes a brick, and even the Fastboot mode doesn't work.

In this article, we will discuss 5 working ways to remove the request PIN-Xiaomi code (including Redmi Note 12 models, POCO X5, Mi 11 et al., from official methods to technical workarounds.Important: some solutions require proof of ownership of the device – without this unlocking is impossible under the security policy of Xiaomi.

Why is the request coming up? PIN-code when launching Android

Message β€œInput PIN-Android Launch Code is part of Factory Reset Protection (FRP), activated in three cases:

  • πŸ”„ Resetting settings via Recovery or Settings without deleting your Mi Account.
  • πŸ“± Delete your Google account manually before resetting (the system remembers the last linked account).
  • ⚑ Firmware failure or interrupted update MIUI, login-corrupting.

The screen may display:

  • πŸ” Β«Enter. PIN-The code you used before is required PIN from the latest Google account.
  • πŸ“§ Β«Enter your email address or phone number – you need information from your Mi Account.
  • ❌ Β«Device locked" - if input attempts are exhausted (requires 24-72 hours wait).

⚠️ Note: If you bought a smartphone with your hands, the previous owner could not delete your Mi Account. In this case, unlocking is possible only through proof of ownership (check, box with a cheque). IMEI) at Xiaomi Service Center.

πŸ“Š Have you ever encountered a blockage? FRP Xiaomi?
Yeah, after the reset.
Yes, after the MIUI update.
No, but I'm afraid of it.
I don't know what that is.

Method 1: Entering the Right PIN-Mi Account code or data

The easiest way is to introduce the correct PIN-The code from the last Google account or the data from the Mi Account. If you forget the combination, try it:

  • πŸ”’ Standard. PIN: 0000, 1234, 1111 – sometimes triggered after reset.
  • πŸ“§ Recovery of Mi Account password via account.xiaomi.com (access to linked mail or phone).
  • πŸ“± Checking notes/saved passwords on another device (e.g. Google Password Manager).

If the screen requires an email address, enter the data from the Mi Account that was attached to the phone. After successful authorization, the system will prompt you to create a new PIN or reset the lock.

Try standard combinations (0000, 1234)

Restore the Mi Account password on the official website

Check the saved passwords in Google Account

Contact the previous owner (if the phone is used)-->

⚠️ Note: After 5 failed attempts, Xiaomi blocks input for 24 hours. PIN-It is better to immediately go to alternative ways of unlocking.

Method 2: Unlocking with Mi Unlock Tool (official method)

If you remember the Mi Account data, but the system does not accept it on the lock screen, use the official Mi Unlock Tool utility, which works for most Xiaomi, Redmi and POCO models released after 2018.

Step-by-step:

  1. Download the Mi Unlock Tool from the official website en.miui.com/unlock.
  2. Install the utility on a Windows 7/10/11 PC (administrator rights required).
  3. Turn off your smartphone and put it in Fastboot mode: press Power + Volume down for 10 seconds.
  4. Connect your phone to your PC via the original USB Type-C cable.
  5. Launch the Mi Unlock Tool and log in to the same Mi Account as your phone.
  6. Press Unlock and wait until the process is completed (usually 1-3 minutes).

After successful unlocking, the phone will restart as normal. If the utility gives an error "Couldn't unlock", check:

  • πŸ”Œ Cable and port USB β€” Use the original Xiaomi cable.
  • πŸ–₯️ Drivers - install the Mi USB Driver from the official website.
  • ⏳ Waiting time – if you have recently linked an account, you may need to wait 72 hours.
What if the Mi Unlock Tool can’t see the device?
If the utility does not recognize the phone in Fastboot mode, try it: 1. Reinstall drivers manually through Device Manager (select "Xiaomi Mi Flash"). 2. Use the other USB-port (preferably) USB 2.0). 3. Disable the antivirus – it can block the connection. 4. Try another PC with Windows 10/11.

Mistake in Mi Unlock ToolReason.Decision
Couldn't unlockThe account is not tied to the device or the waiting time has not expiredWait 72 hours or use another account
Device not connectedProblems with drivers or cableReinstall drivers, try another cable
Network errorBlocking with antivirus or firewallDisable protection temporarily or add utility to exceptions
Account mismatchMi Account data does not match those associated with the phoneRestoring access to the original account

Method 3: Bypass FRP through Recovery Mode (for power users)

If the official methods have not worked, you can try to bypass the lock through Recovery Mode.This method is suitable for devices on MIUI 12/13/14, but requires caution - incorrect actions can lead to complete loss of data.

Instructions:

  1. Turn off the phone and press Power + Volume up to enter Recovery.
  2. Select a language (if available) and go to Wipe Data β†’ Wipe All Data.
  3. Confirm the reset, wait for the process to be completed.
  4. Go back to the main Recovery menu and select Reboot β†’ Reboot to System.

In some firmware, after reset, the FRP lock remains.

  • πŸ“± Connect to Wi-Fi on the settings screen.
  • πŸ”„ Go back and try to enter your Mi Account information again.
  • πŸ”§ Use it. ADB-commands (see Method 4).

πŸ’‘

If after resetting to Recovery, the phone requires a password to unlock, try entering the combination. 123456 or default_password β€” Sometimes it works on custom firmware.

⚠️ Note: New models (Redmi Note 12 Pro)+, Xiaomi 13) reset via Recovery could strengthen lock.Pre-check version before trying MIUI Fastboot command: fastboot getvar version MIUI 14, better use the Mi Unlock Tool.

Method 4: Removing FRP via ADB (for advanced)

If you have access to ADB (for example, via Fastboot or EDL Mode), you can manually delete the files responsible for blocking FRP. This method requires command line skills and is suitable for devices with an unlocked bootloader.

Step-by-step:

  1. Install ADB and Fastboot Tools on your PC (you can download from the Android website).
  2. Connect your phone in Fastboot mode and check the connection with the command: fastboot devices
  3. Go to ADB mode (if available) or use EDL Mode (requires an authorized Xiaomi account).
  4. Follow the commands to remove FRP: adb shell rm /data/system/gesture.key rm /data/system/locksettings.db rm /data/system/locksettings.db-wal rm /data/system/locksettings.db-shm reboot

After the reboot, the lock should disappear. If the commands do not work, try an alternative method through Fastboot:

fastboot erase frp


fastboot reboot

πŸ’‘

Deleting FRP via ADB only works on devices with an unlocked bootloader. If the fastboot oem device-info command shows Device unlocked: false, first unlock Bootloader via the Mi Unlock Tool.

Method 5: Contact Xiaomi Service Center

If all of the above methods did not work, the only official way is to contact the Xiaomi service center.

  • πŸ“„ The phone was purchased with hands and the previous owner did not delete the Mi Account.

What will be required to unlock:

  • πŸ“‹ Check or guarantee card with IMEI device.
  • πŸ“¦ Original box (it is indicated on it) IMEI).
  • πŸ†” Passport for identification.

The cost of unlocking in the service center varies from 1,000 to 3,000 rubles (2026), in some cases the procedure is free if the device is warranted, the addresses of official service centers can be found on the website of Xiaomi Russia.

⚠️ Warning: Don’t trust unblocking to unofficial workshops that promise to β€œgo around” FRP This can lead to loss of warranty or damage to firmware, official service is the only safe way in difficult cases.

Frequent Mistakes and How to Avoid Them

When you try to remove the request PIN-Xiaomi users often face typical problems. Here are the most common mistakes and ways to solve them:

Mistake.Reason.Decision
The phone is not visible in the Mi Unlock Tool.Lack of drivers or faulty cableInstall drivers manually, try another cable
The β€œAccount Not bound” Error in FastbootMi Account is not tied to your deviceLink your account before resetting your settings
After the reset, the blockage remainedFRP-Protection not removed completelyRepeat the reset via Recovery or use ADB
The utility requires a wait of 72 hoursRecently, a new Mi Account has been added.Wait until the time is set or use your old account

To avoid blocking FRP in the future, follow the following simple rules:

  • πŸ”„ Delete your Mi Account and Google Account before resetting your settings.
  • ⚑ Update. MIUI Only through official channels.

FAQ: Answers to Frequent Questions

Can the request be removed? PIN-code without loss of data?
No, 90% of the time, unlocking FRP requires a Wipe Data reset, and the only way to save data is to recall the correct PIN or Mi Account data and enter it on the lock screen.
Does the roundabout work? FRP through SIM-card (bell method)?
On new Xiaomi models (2020 and later), this method does not work due to the updated security system. Previously, you could access the settings through the call screen, but in MIUI 12+ this vulnerability is eliminated.
What if the Mi Unlock Tool says "This device is locked"?
This means that the bootloader is locked. To unlock it: Link Mi Account to your phone in settings (Settings β†’ Xiaomi Account). Wait 72 hours (if you have recently added an account). Use the Mi Unlock Tool again.
Can I unlock Xiaomi without a computer?
Yes, but only if you remember the data from Mi Account or Google Account, in this case: Connect to Wi-Fi on the lock screen. Enter the correct credentials. Follow the instructions on the screen to reset the PIN. Without a computer, you can't bypass FRP if you don't remember the credentials.
How much does it cost to unlock FRP in unofficial services?
The cost varies from 500 to 2000 rubles, but we do not recommend using such services: Risks: Install unofficial firmware with viruses, loss of warranty, damage to the device (for example, the error "Invalid IMEI"). The official Xiaomi service guarantees security, but requires proof of ownership.