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.
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:
- Download the Mi Unlock Tool from the official website en.miui.com/unlock.
- Install the utility on a Windows 7/10/11 PC (administrator rights required).
- Turn off your smartphone and put it in Fastboot mode: press Power + Volume down for 10 seconds.
- Connect your phone to your PC via the original USB Type-C cable.
- Launch the Mi Unlock Tool and log in to the same Mi Account as your phone.
- 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?
| Mistake in Mi Unlock Tool | Reason. | Decision |
|---|---|---|
| Couldn't unlock | The account is not tied to the device or the waiting time has not expired | Wait 72 hours or use another account |
| Device not connected | Problems with drivers or cable | Reinstall drivers, try another cable |
| Network error | Blocking with antivirus or firewall | Disable protection temporarily or add utility to exceptions |
| Account mismatch | Mi Account data does not match those associated with the phone | Restoring 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:
- Turn off the phone and press Power + Volume up to enter Recovery.
- Select a language (if available) and go to Wipe Data β Wipe All Data.
- Confirm the reset, wait for the process to be completed.
- 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:
- Install ADB and Fastboot Tools on your PC (you can download from the Android website).
- Connect your phone in Fastboot mode and check the connection with the command: fastboot devices
- Go to ADB mode (if available) or use EDL Mode (requires an authorized Xiaomi account).
- 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 cable | Install drivers manually, try another cable |
| The βAccount Not boundβ Error in Fastboot | Mi Account is not tied to your device | Link your account before resetting your settings |
| After the reset, the blockage remained | FRP-Protection not removed completely | Repeat the reset via Recovery or use ADB |
| The utility requires a wait of 72 hours | Recently, 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.