A Step-by-Step Guide to Unlock Bootloader, Install Custom Recovery and Root any Mi/Poco Device

A guide on how to unlock the bootloader and install Ofox Recovery on android device. Using this you can easily root your device and install custom rom
Please wait 0 seconds...
Scroll Down and click on Go to Link for destination
Congrats! Link is Generated

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.

Step-by-Step Guide
© 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

Bootloader: Your phone's bootloader is the piece of software that launches the operating system and system recovery. This programme is the first to launch when the phone is turned on.

Root: The term "root" is a relic of the Linux world (Android runs on Linux). Gaining root access means gaining administrator or superuser access to the entire device, at its most basic level.

Recovery: The first thing the bootloader rings up is the recovery. A custom recovery like TWRP will let you back up the entire device, flash tweaks, and install a new custom operating system.

Custom ROM: A custom ROM is a replacement operating system. It's compatible on the most fundamental level, but customized or changed in some other aspect. A custom ROM can have special apps, extra features, or tweaks to the code that make your phone faster and more secure.

Notes / Warning!
  • Use at your own risk, I’m not responsible for bricking your device.
  • Using the incorrect file may brick your device.
  • Make sure to backup your important data.
  • 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.

    1. 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.

    2. 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.
    3. 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."
    4. 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.

    5. 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.

    1. 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.
    2. 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.
    3. 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.

    4. 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.

    5. Done. Your custom recovery was successfully installed at this point. But there's still a step to go.

    6. 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.
    7. Then flash it on your phone. You are done now. Your orange fox recovery was installed successfully without any issue.

    8. Format Data

      Just go to wipe section / Format data. Type yes. It will format your data.Now just reboot to System

    How to Root MI/Poco Devices?

    You can flash Magisk if you want to gain root access on your device. This step is optional.

    1. Change the extension of the Magisk file from “.apk” to “.zip”. This will make it flashable.
    2. Reboot to recovery.
    3. Select install.
    4. Choose the Magisk zip file.
    5. Swipe to confirm flash.
    6. Reboot to system.
    7. Now go to app drawer and click on the Magisk app icon.
    8. Install Magisk Manager. Magisk Manager will ask to do additional setups. Let it do its job and the app will automatically reboot your device.
    9. 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.

    Getting Info...

    About the Author

    Student | Blogger | Developer
    A student developer with basic experience on Android development. Buy me a coffee!

    1 comment

    1. Hello
    We appreciate your comments!
    Cookie Consent
    We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
    Oops!
    It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
    AdBlock Detected!
    We have detected that you are using adblocking plugin in your browser.
    The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.