This article shows how to unlock the bootloader of any Xiaomi, Redmi, or Poco device and how to install a custom recovery.
Unlocking the bootloader is the first step of rooting or installing a custom ROM or recovery for your device.
1. Unlocking the bootloader.
First and foremost, if you don't have a Mi account, then create an account and sign in with that account on your unlocking device before beginning the process of unlocking the bootloader.
First, go to settings -> About Phone -> All specs -> Tap MIUI version 7 times, then an alert box appears: You are now a developer.
After that, go to settings -> Additional Settings -> Developer Options -> Turn on OEM unlocking, USB debugging, and then click on Mi Unlock status then a pop up appears, click on Agree after that, turn off your wifi and turn on your Mobile data and click on Add account and device and then wait for few seconds. Your device will be registered on your Mi account present on your device. Remove screen lock password and sign out of all your accounts on your device.

After that, download Mi Unlock on your pc or laptop; click here to download the Mi Unlock tool.

Extract the zip file using any unzipping software; you will find mi unlock tool inside the folder with the name batch_unlock. Now open the application, and you will find the sign-in option down the left corner. Sign in with the same Mi account present on your device. Now power off your device, hold the volume down+power button, and enter into fastboot mode. After that, connect your phone to your pc or laptop using your USB charging cable, then click on the Refresh button present at the bottom of the application. Your device Serial Number, Product, Status will be shown in the application. If your device is visible, click on the Unlock button and wait for a few minutes; your device will be unlocked, showing Unlocked successfully.

After this, click on Reboot phone, and your device is successfully bootloader unlocked.
2. Installing Custom recovery.
Custom recovery is used to flash custom ROMs, install any rooting software example:- Magisk and have full control of every system partition. The OEMs' stock recovery installed on the device does not give us the control of flashing ROMs and doing other stuff. So, for this reason, we install custom recovery on our device.
Here are the steps which are needed to install a custom recovery on the device.
There are many custom recoveries out there, but I will be using TWRP recovery in this guide in this guide. 1. Download the custom recovery image file from the official website. To Download, click here.
2. After downloading TWRP recovery, download platform tools. To Download, click here. After downloading, copy the recovery file you have downloaded in the previous step, paste it inside the platform-tools folder, and rename it as twrp. In.
3. Now, hold shift and right-click being inside the platform-tools folder, you will get an option of Open PowerShell window here to click on it. It will open the PowerShell command prompt.
4. Now, turn on USB debugging and connect your smartphone to your pc or laptop using a USB cable.
5. Now, type the ADB reboot bootloader. This will boot your device into fastboot mode.
6. Now type fastboot flash recovery twrp.img This will flash TWRP recovery on your device.
7. After it is successfully installed, type fastboot boot twrp.img This will boot your device into TWRP recovery, and after that, you can now use your custom recovery for further usage.
Unlock your device's bootloader. I hope this guide has helped you unlock your device's bootloader custom recovery on your device. If you have any queries, write them down in the comments, and I will answer them.
Disclaimer: I am not responsible for any bricked device or any malfunction occurring on your device. Do it at your own risk.
You must be logged in to post a comment.