Friday, October 16, 2026

Root K20 Pro / Mi 9T Pro with Patched Boot Image (Magisk) [MIUI 12]

From this post, you will be able to download the Magisk patched boot image for Xiaomi Redmi K20 Pro / Mi 9T Pro. If you are stuck on TWRP while flashing a Magisk ZIP package on K20 Pro, getting errors like “unable to mount /system/,” this article is a perfect alternative solution for you.

I often faced errors while flashing a Magisk ZIP package on my Redmi K20 Pro in TWRP recovery. So, what I do is rooting via fastboot, which works perfectly without any issues. So, basically, if you want to get root access using Magisk by patching the boot.img file, you can directly get that from the link given below. I patched the MIUI 12 boot.img file for the Xiaomi Redmi K20 Pro / Mi 9T Pro users. You can download it on your computer and flash using fastboot commands. A detailed tutorial is also given below if you don’t know how to root using fastboot commands.

Download Magisk Patched IMG for Redmi K20 Pro / Mi 9T Pro

Download the magisk_patched.img file for K20 Pro / Mi 9T Pro on your computer from the link below. But keep in mind, this patch is created from the latest MIUI 12 ROM. It’s working correctly on MIUI 12 and is not tested on older builds. If you have MIUI 12 on your Mi 9T Pro, you can proceed ahead! We are not sure about the older builds, so be careful.

After downloading, check out the pre-requisites and then the tutorial carefully to root your Redmi K20 Pro / Mi 9T Pro using fastboot.

NOTE

If you have a newer version of MIUI 12 or even a different ROM, the above-linked file may not work on your phone, and it may cause bootloop. In that case, you need to extract the fresh boot.img file from your current ROM ZIP package. Get the one and come back to this tutorial!

If you don’t know how to get the stock boot.img file, you may follow our detailed guide here:

Pre-requisites

  1. Your Xiaomi Mi 9T Pro / K20 Pro must have an Unlocked Bootloader!
  2. Download the latest version of the Magisk Manager on your phone!
  3. Install MIUI 12 if you are still on the older builds.
  4. Set up ADB Drivers on your computer. (Windows / Mac)
  5. Make sure your phone has at least 80 – 85% charge. If not, please do charge it before starting the experiment.
  6. You need to enable the USB Debugging mode to connect your Android phone to the computer. (Settings > About Phone > Build number > Tap it 7 times to become developer; Settings > Developer Options > USB Debugging).

Backup Mi 9T Pro (Warning)

Before starting the tutorial, we suggest you to backup your essential documents from the device and make a copy of it to your computer. On performing our experiment, your device may get wiped, and you may lose everything from the phone. We don’t want that. In that case, we have a list of applications that may help you in creating backups within the phone. Later on, you can copy the files to the computer for a safer side.

Once you are sure that you are done with the backup stuff, please proceed to the tutorial below on How to Root Xiaomi Mi 9T Pro quickly.

WARNING: All the custom ROMs, Official Firmware, How-to guides, tutorials, roots, hacks, and tricks mentioned on our site belong to the respective developers. We are not responsible if anything goes wrong with your device. Perform it at your own risk.

How to root K20 Pro / Mi 9T Pro using patched BOOT Image

We have mentioned the full step-by-step instructions on how to flash the Magisk patched boot image on Mi 9T Pro using fastboot. If you are entirely new to rooting, flashing a Custom ROM or an Official Firmware, please read the entire tutorial once before actually performing it on your device.

Tutorial: How to Root K20 Pro / Mi 9T Pro with Patched Boot Image

  1. Install Magisk Manager on your phone using the downloaded APK file in the pre-requisite section.
  2. Download magisk_patched.img file on your computer (from the above-given link).
  3. Connect your phone to the computer using a compatible USB cable (preferably, the official one, provided by Xiaomi with the phone box).
  4. Open Command Prompt on the same directory the IMG file is located. Press the SHIFT key and right-click on an empty space. Select “Open PowerShell window here” or “Open command window here” from the pop-up menu.PowerShell Window
  5. On the PowerShell Window, type the following command and HIT enter:
    adb reboot bootloader

    (This will reboot the device into fastboot/bootloader mode.)
    └ If you get a permission pop-up on your device to “Allow USB debugging”, tap OK.
    Mi Fastboot

  6. Once you are in the fastboot mode, type the following command and HIT enter:
    fastboot flash boot [email protected]

    (The command ends with the file name. If you change the file name, type “fastboot flash boot <your-changed-name here.img”)

    Fastboot flash boot img
    *This action is performed on Mac, but it is the same on Windows!
  7. Once the file is flashed, reboot your device! While holding, type the following command and HIT enter to reboot into TWRP recovery.
    fastboot reboot
    Fastboot reboot
    *This action is performed on Mac, but it is the same on Windows!
  8. Your device should reboot to OS now!

So, you are done here! No further steps are required for magisk_patched.img file.

What next?

Now, open the Magisk Manager app. It should show Magisk is installed!

Hurrah! You have got rooted Xiaomi Redmi K20 Pro / Mi 9T Pro 🙂 You can now try out some top root based app on your phone. Moreover, you can use Magisk Modules to modify the phone in the way you love. Check out: How to install Magisk Modules!


So you are done with this tutorial! You had successfully rooted your Mi 9T Pro with the patched boot image using our guide. If you faced any problem with performing this tutorial, please let us know by dropping a comment below. Our team will reply you back as soon as possible.

Is this post helpful? Please do share it on Social Media to THANK US.

Never miss a Droidfeats story

Choose Droidfeats as a preferred source and see more of our coverage in Google Search.

Written by

Saeed Ashif Ahmed

Saeed Ashif Ahmed is passionate about emerging technologies and their potential to create a fairer world. A car enthusiast and civil engineer, he loves cricket and cherishes his alma mater, Navodaya Vidyalaya (JNV).

27 thoughts on “Root K20 Pro / Mi 9T Pro with Patched Boot Image (Magisk) [MIUI 12]”

  1. I have made a patched boot image by myself using Magisk Manager , and flashed using fastboot method and it’s good to go .
    I think the problem of stunk in MIUI logo is that I have TWRP installed before , after I remove it and using the stock boot method and it’s no problem at all .

    Reply
    • There are many versions of TWRP that gives this problem.

      I got this problem several time.

      Glad, you got it fixed.

      Reply
  2. My phone is stuck at “MIUI” (xiaomi.,eu rom v12.0.2)
    After like 10 minutes it automatically reboots to TWRP

    Any tips?

    Reply
  3. i tried install the vbmeta patcher but i still get stuck on bootloop, could you point me to the correct miui12 rom or twrp version to install to get rid of this?

    Reply
  4. this was a piece of shit porting , this loop is a must for ur method u had guided for a catastrophic guidance , I had wasted a lot of time and didn’t got it fixed yet

    Reply
  5. I have the Indian version miui_RAPHAELININGlobal_V12.0.4.0.QFKINXM_86ee266dd1_10.0.
    I have installed OrangeFox-R11.0_1-Stable-raphael.
    I extracted the boot.img file from miui_RAPHAELININGlobal_V12.0.4.0.QFKINXM_86ee266dd1_10.0.
    Can i flash boot.img file from adb without risking bootloop on MIUI?
    Thank you

    nigol

    Reply
  6. Can you please explain why did you use boot.img? Because magisk github installation instructions say if no ramdisk, patch recovery.img instead of boot.img.

    Reply

Leave a Comment

Best Deals

Trending topics