banner
AcoFork

AcoFork

LOVETOLOVE

Unlock Xiaomi BL with you and embark on the road of Android customization!

Background#

First, think about why you want to root your device: are you tired of the manufacturer's restrictive system? Do you want to gain root access to run certain software? Or do you want to experience a more stock-like system?
Although our purposes may vary, we all need to take the same path: unlocking the BootLoader!

BootLoader lock is a security mechanism used to prevent unauthorized modification or reprogramming of the boot process of mobile devices. BootLoader is the earliest running part of the firmware in the device's boot process and is responsible for loading the operating system kernel. When the BootLoader is locked, it prevents users from loading unofficial firmware or operating systems, thereby preventing potential security vulnerabilities and unauthorized modifications.

Let's Start Unlocking the BL!#

  1. First, confirm the brand of your phone. In my case, it's Xiaomi, and unlocking requires the use of a dedicated Xiaomi Unlock Tool. First, open the settings of your device -> Developer options (if not available, go to Settings -> About phone -> MIUI version/OS version and tap multiple times until "You are now a developer!" appears) -> Device unlock status -> Bind, and then wait for seven days.
    Note! If you have already updated to Hyper OS! Then you may need to reach level 5 in the community and pass the Xiaomi College Entrance Examination! (KSU author's score is 30 points (lol) You can try using the bypass script (click here to download directly in China) (not the latest version)! But if your Hyper OS is newer, it may not work!
  2. Connect your device to the computer and turn it off. Press and hold the power button + volume down button until the "FASTBOOT" appears on your device's screen.
  3. Open the Xiaomi Unlock Tool on your computer. At this point, your computer should have recognized the phone to be unlocked. Proceed step by step (Unlocking the BL will restore the device to factory settings, so make sure to back up!).
  4. Wait for the phone to restart automatically. A unlock symbol will appear on the startup screen, indicating that your device is unlocked.

Next, Install Magisk!#

Magisk is a popular Android system-level permission management tool that allows users to install and manage root permissions without modifying the system partition. The main functions of Magisk include providing superuser access, hiding root status, and managing other modules.
There are multiple ways to install Magisk, such as using TWRP to flash Magisk.zip in the early days to load Magisk at startup. However, most devices now do not have TWRP support, so we use the method of patching the boot image to load Magisk.

  1. First, you need to obtain the firmware package (usually with a .tgz extension) for your device's system. After extracting it, you can find the boot.img in the images folder. Transfer the boot.img to your phone.
  2. Download Magisk on your phone (direct link for China) and open it. In the Magisk section, choose Install -> Select and Patch a File -> Select your boot.img. After patching, you can find the patched file named magisk_patched-xxxxx_xXxXx.img in the Download folder on your phone. Transfer it back to your computer.
  3. Power off your phone and enter FASTBOOT mode by connecting it to the computer. Download Google - Platform Tools on your computer (direct link for China). After downloading, extract the files and open cmd in the folder containing fastboot.exe. Enter the command: fastboot flash boot magisk_patched-xxxxx_xXxXx.img and wait for the flashing to complete. Then enter fastboot reboot to restart the phone.
  4. After restarting, open Magisk again, and you can manage root permissions and install modules through Magisk!
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.