This article will show you how to install TWRP or Orangefox Recovery and unlock the bootloader on any smartphone. This makes it simple to root your cellphone and flash any custom rom. Unlocking the bootloader, flashing a new recovery, and using the new recovery to flash a Custom rom are the usual three steps.
© Razs Originals! | For every Mi/Poco Devices |
The first thing you need is an unlocked bootloader. Unlocking your device’s bootloader is like opening the gate to a plethora of opportunities. You can flash several Custom ROMs, install Custom Recovery (like TWRP, Orangefox, or SHRP), experiment with a number of tweaks and hacks, and most importantly, root your smartphone by unlocking the bootloader on your device.
The next step is to switch from the system recovery to a custom recovery after the bootloader has been unlocked. You can perform operations like flashing.ZIP files, installing customizations, creating backups, and running commands using a third-party recovery like TWRP.
Installing custom roms comes after installing a custom recovery. Flashing a custom rom merely involves updating your firmware. Alternatively, update to the most recent version of Android. Numerous ROMs include practical features that enhance their functionality. Using Magisk will also give us root access.
Table of Contents
Before we start
So, if you want to get the full benefit of your device, head over to steps for unlocking bootloader and installing a Custom ROM.
Prerequisites
- Create a complete device backup. This is necessary because the unlocking procedure will delete all of your device's data.
- Next up, also download and install the Android SDK Platform Tools on your PC.
- Download and install the Mi Unlock Tool on your PC. We will use this tool to unlock the bootloader on your Xiaomi/Poco/Mi device.
- Download your device's preferred custom recovery. We are using miatoll device and will be flashing OrangeFox Recovery. The same method applies to all recoveries.
- Finally, if you want to root your device, then you’ll need to flash the Magisk. Download Magisk App from its official Github repository.
That's it. Now you may begin the procedure. The instructions have been broken into multiple sections for ease of comprehension.
How To Unlock Bootloader On Xiaomi/Poco Devices?
Unlocking the bootloader of a Xiaomi or a Poco device is the first step in installing custom ROMs such as LineageOS, AOKP, ParanoidAndroid and so on.
The process is not complicated but it needs to be done with caution. The most important thing to keep in mind is that unlocking the bootloader will erase all data from your phone which means you will have to back up everything before proceeding.
Make a Xiaomi account and sync your mobile number.
You must first sign in to your device using your Mi Account. You must have a Mi Account for that, so signup and create one right away if you don't already have one.
Enable Developer Options
- Head over to Settings on your Xiaomi device
- Then go to About Phone and tap on the MIUI version 7 times.
- Then go back to Settings and tap on Additional Settings System.
- Go to Developer Options within that and turn on the toggles for OEM Unlock and USB Debugging.
Authorize Mi Unlock in the developer settings
To give Xiaomi permission to unlock the device connected to the account, navigate to the "Mi Unlock Status" section of the Developer settings and press "Add account and device."Reboot to Fastboot
You must turn off your device in order to start it in fastboot mode. Next, hold down the Volume Down and Power buttons simultaneously for 3–4 seconds. Instead of pressing the keys, you can use these instructions to boot into fastboot mode immediately.
- Using a USB cable, connect your device to the computer.
- Navigate to your PC's platform-tools folder. In the address bar, type CMD and press Enter. By doing this, the Command Prompt will open.
- After that, use the command below to boot your device in Fastboot Mode:
adb reboot bootloader
You will then see the recognizable Mi Bunny logo along with the Fastboot text. This allows you to unlock the bootloader on your smartphone using the Mi Unlock Tool.
Unlock Xiaomi Bootloader using Mi Flash Tool
To unlock the bootloader on its devices, Xiaomi created the Mi Unlock Tool. Using this tool, Xiaomi smartphones' bootloaders can be unlocked.
- Extract and launch the Mi Unlock Tool on your PC.
- Next Sign in with your Mi Account, which was connected with your phone.
- Therefore, click the Unlock button. Then, a confirmation pop-up will show up. Select "Unlock anyhow" from the menu.
- After that, the procedure will begin, which should take a few minutes. You will then get the notification "Unlocked Success" once it is finished. Your device will restart once you click the Reboot phone button.
The Mi Unlock Tool may request that you wait a week before having your device unlocked. If you receive such a notice, you must now wait the specified amount of time. Also, don't add your Mi account once more in the developer settings because doing so may cause your waiting time to be restarted.
With this, your bootloader is successfully unlocked. It's totally typical for the initial boot to take a while. In addition, since a reset has occurred, you will also need to start over while setting up your device.
How to install custom recovery?
After a bootloader has been unlocked, it's time to flash a custom recovery onto your phone. Because you cannot flash custom ROMs without a custom recovery.
Enable OEM Unlock
- Head over to Settings on your Xiaomi device
- Then go to About Phone and tap on the MIUI version 7 times.
- Then go back to Settings and tap on Additional Settings System.
- Go to Developer Options within that and turn on the toggles for OEM Unlock and USB Debugging.
Extract Recovery.img
- First, unzip the recovery's zip file onto your computer. There, in the extracted folder, you will see one File named "recovery. img."
- Place the file in the ADB folder on the C drive.
Connect device in fastboot mode
- Go to the ADB folder on the C drive.
- Click the address bar or press Alt + D instead. Type cmd into the address bar once it has been highlighted. Hit the Enter key.
- It will open the terminal interface.
- Turn off your phone and boot into fastboot mode - Simply hold down the volume down key and the power key simultaneously for 10 seconds to do that.
- Now connect a USB cable from your phone to your computer. Now verify whether or not your device is connected properly. Use the belove command and hit Enter to do it.
fastboot devices
I assume your device is now connected.
Flash Recovery.img
Now use the commands listed below to flash a custom recovery into your device.
fastboot flash recovery (drag your recovery file here)
This is how it'll look:
fastboot flash recovery recovery.img
Then press enter. It will start installing custom recovery.
Boot into Recovery & Flash the recovery.zip
- Enter the below command to reboot to recovery
fastboot reboot recovery
- The orange fox recovery zip file should now be placed in your phone's storage. Select the zip file containing your Orange Fox recovery by going to the install section.
- Enter the below command to reboot to recovery
Format Data
Just go to wipe section / Format data. Type yes. It will format your data.Now just reboot to System
Done. Your custom recovery was successfully installed at this point. But there's still a step to go.
Then flash it on your phone. You are done now. Your orange fox recovery was installed successfully without any issue.
How to Root MI/Poco Devices?
You can flash Magisk if you want to gain root access on your device. This step is optional.
- Change the extension of the Magisk file from “.apk” to “.zip”. This will make it flashable. Reboot to recovery.
- Select install.
- Choose the Magisk zip file.
- Swipe to confirm flash.
- Reboot to system.
- Now go to app drawer and click on the Magisk app icon.
- Install Magisk Manager. Magisk Manager will ask to do additional setups. Let it do its job and the app will automatically reboot your device.
- Done! You can use Root Checker to check it, Enjoy!
Well done. You have successfully unlocked the bootloader, installed a custom recovery and rooted your device without any issues.
Conclusion
In this post I have talked about A Step-by-Step Guide to Unlock Bootloader, Install Custom Recovery and Root any Mi/Poco Devices. Tell us what you think about the guide by commenting, and if you have any questions, then contact me at the Contact Us page or message me on Telegram. I hope you enjoy my website.