How To Root Xiaomi Mi 9 Pro 5G Using Magisk [No TWRP needed]

If you’re an advanced user who does customizations, flashing files, etc on an Android device and using the Xiaomi Mi 9 Pro 5G smartphone or planning to buy it, this guide is for you. Here in this article, we will share with you Easy Method To Root Xiaomi Mi 9 Pro 5G Using Magisk [No TWRP needed]. We will use the Magisk by patching the stock boot image file and flashing to the device boot partition.

Xiaomi Mi 9 Pro 5G features a 6.39 inches Super AMOLED display with a screen resolution of 1080 x 2340 pixels. The device is powered by Qualcomm SDM855 Snapdragon 855+ 7 nm processor under Adreno 640 GPU. The handset packs 128/256/512GB variant with 8/12GB of RAM. Xiaomi Mi 9 Pro 5G sports a Tripe rear camera with 48MP + 12MP + 16MP camera and Single Selfie camera with a 20MP depth camera. The smartphone is running on Android 10, planned upgrade to under MIUI 11 software package and backed by 4000 mAh battery. It has a fingerprint reader under the display.

You will require to download the patched image file from Magisk Manager and flash it. For doing this, your device bootloader should be unlocked. By rooting your handset, you will get a superuser or administrator access to your system. Therefore, you can easily customize, change or edit system files according to your preference. Let’s take a closer look at Rooting access.

Xiaomi Mi 9 Pro 5G

What is Rooting?

Rooting for Android means similar to the jailbreaking the device to get access to the root directory of your android mobile. It will give you the superuser access as an administrator to use your device over an Android subsystem and system apps.

Though sometimes improper rooting may brick your device or void your device warranty as well (if applicable). But it will give you some unleash power and access to change or edit the system settings, themes, icons, install other mod files, etc.

Advertisements

Advantages of Rooting:

  • You can get access to all files on your Mi 9 Pro 5G, even the files which present in the root directory of your phone.
  • You can increase the performance of your device by overclocking.
  • By rooting you can increase battery life by underclocking device.
  • Uninstall Bloatware on Mi 9 Pro 5G.
  • You can block Ads on any applications.
  • By Rooting Mi 9 Pro 5G, you can View, Edit, or Delete any system file inside the root directory.
  • You can install the Xposed Framework and Xposed module support.

Steps To Root Xiaomi Mi 9 Pro 5G via Magisk

First of all, you should unlock the bootloader on Mi 9 Pro 5G. Then you can continue with the next steps.

Unlocking the device bootloader and installing root will void your phone warranty (if applicable). The process also will wipe out all the internal data. Therefore, take a complete backup of device data at first before doing anything. GetDroidTips will not responsible for any kind of boot loops or crashes or any damage to your devices while/after following this guide. Do it at your own risk.

Please Note:

  • After Rooting, it may void the warranty of your phone.
  • Rooting will block the official OTA updates

Download Stock ROM and Extract the Boot Image

Here is the link for the same.

Once you have downloaded the exact firmware file based on your device model number, you can extract the boot.img file to patch it via Magisk manager app.

1. How to Extract and Patch Boot Image using Magisk?

  • First of all, download and extract the ROM to your PC.
  • Attach your device via USB cable and copy only the boot.img file from the extracted folder to your device storage
  • Launch Magisk Manager. When a popup appears asking to install Magisk, select INSTALL and choose install again.
  • Tap on “Patch Boot Image File”.
    Install patched boot image TWRP
  • Navigate to internal storage and select your phone’s boot image that you transferred earlier.
  • Wait for a couple of seconds. Magisk will start patching the boot image.
  • Once the boot image has been patched, copy the “patched_boot.img” from the internal storage and replace it in the ADB fastboot extracted ROM folder on your PC.

Now you can follow the second step to flash the patched boot image file.

2. How To Install the Patched Boot Image on Mi 9 Pro 5G

Follow the given link to install Patched Boot Image on Xiaomi Mi 9 Pro 5G:

  • We assume that you have already downloaded the ADB & Fastboot tool from the link given above.
  • Now, extract the ADB fastboot tool, then move the patched boot image to the same folder.
  • Hold the Shift key and right-click on the mouse to open the command window/PowerShell.
  • Next, enter the following command:
    • Flash the “patched_boot.img” to install Magisk and root your Android device:
      fastboot flash boot patched_boot.img
    • For devices with A/B partition system, use the following commands:
      fastboot flash boot_a patched_boot.img
      
      fastboot flash boot_b patched_boot.img

      Please replace [patched_boot.img] with the name of the boot image file you downloaded followed by the .img extension.

  • The flashing process will begin. Once done, run
    fastboot reboot

How to Verify if your phone has a systemless root?

  1. Download and install the Magisk Manager app APK, and launch it.
  2. To verify that you have a systemless root, check the top of the screen and if you see all options with Green Tick which means you have successfully rooted and bypassed SafteyNet.Magisk Status Check

That’s all folks! If we helped you in rooting your Mi 9 Pro 5G, then we’re glad we could be of use. If you have any queries regarding the guide, then let us know down below, we’d be happy to assist you!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.