How to install root rights on Xiaomi Mi 9 SE: a complete guide with unlocking the bootloader and Magisk

The Xiaomi Mi 9 SE (codenamed grus) remains a popular smartphone among customization enthusiasts, despite the release of new models. Getting root rights on this device opens up access to deep system setup, removing embedded MIUI software, installing modified firmware, and even restoring bricks after unsuccessful experiments. However, the process is complicated with each new version of MIUI: since 2023, Xiaomi has tightened anti-rollback (ARB) checks, which blocks the rollback of old versions of firmware without official permission.

In this guide, we will take a look at the 2026 method of obtaining root rights with all restrictions in mind. You will learn how to properly unlock the bootloader, install the custom TWRP receptacles, bypass ARB protection (if necessary), and flash Magisk for root management. Importantly, the procedure cancels the warranty and can lead to complete loss of data - stock up on backups!

Preparation for unlocking the loader

The first and most critical step is to unlock the bootloader. Without this, you can not install TWRP or Magisk. Xiaomi officially allows unlocking, but the process requires linking the Mi Account to the device and waiting for confirmation.

S 2021 The company introduced a mandatory binding SIM-card to account for devices released in China (C-suffixed version in model number (grus_global) This rule does not apply, but check the firmware region in Settings โ†’ The phone. โ†’ Version. MIUI. If you see CN (China will need additional circumvention of restrictions.

  • ๐Ÿ“ฑ Check the model and region: Go to Settings โ†’ The phone. โ†’ Model, it must be. M1903F10I (global M1903F10C (China).
  • ๐Ÿ”— Attach Mi Account: In Settings โ†’ Sign in to Xiaomi account. Make sure your account is confirmed by email and phone.
  • ๐Ÿ”ง Enable debugging on USB: Go to Settings. โ†’ The phone. โ†’ Version. MIUI, Tap 7 times on the build number. Go back to Settings. โ†’ Additionally. โ†’ For developers and activate debugging by USB and Unlock. OEM.
  • ๐Ÿ–ฅ๏ธ Install Mi Unlock Tool: Download the latest version from the official website (Windows only).

โš ๏ธ Note: If your device was purchased in China (version C) SIM-The card is not a Chinese operator, unlocking through the Mi Unlock Tool will end in the error Couldn't verify device. SIM traversal EDL-regime (risky!).

Unlock the bootloader with the Mi Unlock Tool

After preparation, connect the Mi 9 SE to your PC via USB (use the original cable!) and launch the Mi Unlock Tool. The program will automatically check the bootloader status. If you see the Added successfully message. Wait for 168 hours means you have to wait 7 days (new accounts). For old accounts (associated with the device for more than 30 days), the wait is reduced to 72 hours.

During the wait:

  • โณ Don't log out of your Mi Account on your phone.
  • ๐Ÿ”„ Do not reset your phone to factory settings.
  • ๐Ÿ“ด Do not connect your device to other accounts.

Upon expiration of the period:

  1. Launch the Mi Unlock Tool on behalf of the administrator.
  2. Sign in to the same Mi Account.
  3. Put the phone in Fastboot mode: turn it off, then press Volume down + Power.
  4. Connect to the PC and press Unlock in the program.
๐Ÿ“Š How long are you willing to wait for the bootloader to unlock?
Up to 72 hours.
Up to 7 days.
Any time you want to get rooted.
I'll try to get around the wait.

โš ๏ธ Warning: Once the bootloader is unlocked, the phone will perform a full reset (wipe). All data, including photos and apps, will be deleted.

Installation of custom TWRP Recovery

With the bootloader unlocked, you can start installing TWRP, a customized recavator that will allow you to flash Magisk and modified firmware. For Mi 9 SE (grus), use a special TWRP build that supports FBE (File-Based Encryption) encryption, otherwise you will not be able to access the /data partition.

Download the current version of TWRP for grus from the official website twrp.me (look for a file with the.img extension).

Download TWRP for grus (.img)| Download Platform Tools (fastboot)| Copy Magisk.zip to phone | Check battery power (>50%) | Disable screen lock (PIN/password)

-->

Installation instructions:

  1. Unpack Platform Tools into a folder on the C:\ drive (e.g., C:\platform-tools).
  2. Place the file. twrp-3.7.0_9-0-grus.img in the same file.
  3. Turn your phone into Fastboot mode (Loudness down + Power).
  4. Open the command prompt in the fastboot folder (press Shift + PCM โ†’ Open the PowerShell window here).
  5. Run the command to check the connection: fastboot devices must display the serial number of the device.
  6. Please. TWRP: fastboot flash recovery twrp-3.7.0_9-0-grus.img
  7. Immediately after the firmware reboot to TWRP: fastboot boot twrp-3.7.0_9-0-grus.img

If you load your phone into a standard MIUI recavator after you restart, then the TWRP firmware is not stuck. Repeat the steps, but do this before you run the firmware.

fastboot flash recovery_cow twrp-3.7.0_9-0-grus.img

(For devices with Dynamic Partition).

Anti-rollback bypass (ARB) for old firmware

Since 2023, Xiaomi has implemented an anti-rollback mechanism (ARB 4.0+) that blocks installing firmware older than the current version.This makes it harder to downgrade to bypass restrictions or install custom firmware. If your Mi 9 SE has upgraded to MIUI 14/15 and you want to return to MIUI 12 for compatibility with Magisk, you will need to bypass ARB.

There are two ways:

  1. Official Downgrade: Xiaomi sometimes allows rollbacks to specific versions through the Mi Flash Tool (requires a developer account allowed). antirollback_index firmware.
  2. Informal bypass: Use of modified antirollback_index It's risky, it can lead to a brick.
MIUI versionARB-indexDownhraid possibilityRisks.
MIUI 12.53Yes (on MIUI 12)Low.
MIUI 134Partially (only at 12.5)Average.
MIUI 14/155No (no ARB bypass)Tall.

โš ๏ธ Attention: Bypass ARB It can lead to a hard brick, a condition where the phone doesn't even turn on in Fastboot mode. EDL Before experimenting, make sure you have access to service tools (e.g. Mi Flash Pro with an authorized account).

What to do if your phone turns into a brick?
If the phone does not respond to buttons and is not detected by the PC after ARB manipulation, try: 1. Clip Volume Up + Volume Down + Power for 10-15 seconds (hardware reset). 2. Connect to the PC and check if the Device Manager identifies as Qualcomm HS-USB QDLoader 9008 (EDL mode). 3. If so, swipe the full fastboot ROM through the Mi Flash Tool (select the all-clean and lock option to restore the bootloader).

Install Magisk for root rights

With TWRP installed, you can flash Magisk, a root rights management tool. Download the latest version of Magisk (.zip format) from the official repository on GitHub. Any version above 24.0 will work for the Mi 9 SE, but avoid alpha/beta releases.

Step-by-step:

  1. Copy the file. Magisk-v26.4.zip internal memory of the telephone or SD-map.
  2. Reboot to TWRP: Turn off the phone, press Volume up + Power.
  3. In TWRP, select Install โ†’ Select Magisk-v26.4.zip โ†’ Swipe to Confirm Flash.
  4. After the firmware, press Reboot System.
  5. Install. APK-Magisk file (download it from GitHub) and check root status in the app.

If you're rebooting your phone and you're fixating on the MIUI logo, then Magisk is in conflict with the firmware.

  • Reboot to TWRP (Loudness Up + Power).
  • Sweep through Magisk-uninstaller.zip (download it from GitHub).
  • Install an older version of Magisk (e.g. 25.2).

๐Ÿ’ก

If after installing Magisk, banking applications (Sberbank, Tinkoff) stopped working, install the MagiskHide Props Config module and activate root hiding for these applications in the Magisk settings.

Root performance check and problem solving

After successfully installing Magisk, check for root rights using the Root Checker app (available on Google Play).If the status of Root access: Yes, but some features don't work (for example, the adb shell gives a permission denied error), do:

  1. Open Magisk and go to Settings โ†’ Superuser โ†’ Superuser Settings.
  2. Make sure that MagiskSU options and Automatic Response are enabled.
  3. Reboot the phone.

Common problems and solutions:

Problem.Reason.Decision
The phone does not boot after Magisk firmwareConflict with firmware or modulesRemove Magisk via TWRP, flash another version
Banking apps detect rootMagiskHide doesn't work.Install the Universal SafetyNet Fix module
No access to /data in TWRPIncorrect version of TWRP (without FBE support)Switch TWRP with FBE support (e.g. from wrzd)

โš ๏ธ Note: If you plan to use Google Pay or other services with SafetyNet verification, after installing Magisk, be sure to swipe the Universal SafetyNet Fix module and activate MagiskHide in the settings.

Additional Opportunities After Getting Root

Root rights for Mi 9 SE offer ample opportunities for customization:

  • ๐Ÿš€ Removal of embedded software: Applications MIUI (For example, com.miui.analytics can be removed via Titanium Backup or adb shell pm uninstall. -k --user 0 packet.
  • โšก Optimizing performance: Magisk modules like FDE.AI KernelSU allows you to fine-tune the system core.
  • ๐ŸŽจ Themes and design: Install Substratum or LSPosed for deep interface theme.
  • ๐Ÿ”„ Backup and Recovery: With the help of TWRP You can create complete images of the system (nandroid backup).

To remove system applications without consequences, use the command:

adb shell


su




mount -o rw,remount /system




rm /system/priv-app/Unnecessary App/*.apk




mount -o ro,remount /system

Replace the Unnecessary Application with the real path (you can find out through Root Explorer).

๐Ÿ’ก

Before removing system applications, always create a backup in TWRP! Some MIUI components (e.g. com.android.cts.ctsshim) are critical for stable operation.

FAQ: Frequent questions about root on Xiaomi Mi 9 SE

Can I get root without unlocking the bootloader?
No. Xiaomi blocks modifications to system partitions without unlocking the bootloader. All "unlocked methods" (e.g., through vulnerabilities) either don't work on current versions of MIUI or lead to a brick device.
How to return the guarantee after obtaining root?
Technically, no. Unlocking the bootloader and installing Magisk voids the warranty. However, you can return the phone to factory state: Remove Magisk via TWRP (please search Magisk-uninstaller.zip). Sweep through the official firmware through the Mi Flash Tool (select clean all); Close the boot boot bootloader with fastboot oem lock. But even then, the service center can detect traces of unlocking from the loader logs.
Will it work? OTA-Update after installing Magisk?
No, systemic. OTA-Updates are not installed on modified firmware. When you try to update, you will receive Error 7. To update: Download the full service pack (.zip) from xiaomifirmwareupdater.com. TWRP (Remove Magisk before you update, re-sweep Magisk.
How to hide root from banking applications?
Use a combination of methods: In Magisk, activate MagiskHide (newer versions called Zygisk + DenyList). Add banking apps to DenyList. Install Universal SafetyNet Fix and MagiskHide Props Config. In MagiskHide Props Config, select a Pixel 5 certificate (or another device with a certified SafetyNet). After applying the settings, restart your phone and check the SafetyNet status in the YASNAC application.
Can I use the Mi 9 SE Custom Core?
Yes, but with reservations. For the Mi 9 SE, custom cores like Perseus or FrancoKernel are available, but: The core must be assembled specifically for the grus model. Some cores require a specific version of MIUI (for example, only for MIUI 12.5). Before you run the kernel, make a backup boot.img in TWRP. The kernels are sewn through TWRP or Magisk (if the kernel is in module format).