Redmi smartphones are famous for their price-performance ratio, but the standard MIUI shell imposes a number of restrictions on user actions. Obtaining superuser rights, or Root access, opens up access to system files, allowing you to remove preinstalled software, fine-tune energy saving and change the core of the system. For the Redmi Note 9 Pro model, this process has become especially relevant, since the device is based on the popular Qualcomm processor, which has extensive support in the modder community.
It is important to understand that the procedure is not trivial and requires strict adherence to the sequence of actions. Any deviation from the instructions can lead to software errors or complete inoperability of the gadget. Before you start manipulations, you need to understand the risks and prepare all the necessary tools, including a computer with the Windows operating system and a high-quality computer. USB-cable.
In this article, we will take a closer look at every step from unlocking the bootloader to final installing the Magisk rights manager. We will look at the nuances of working with Fastboot mode and explain why standard methods for obtaining administrator rights do not work here. This guide will help you safely modify your device's software.
Preparation for system modification and unlocking the bootloader
The first and most important step is unlocking the bootloader. Without this step, installing a modified backup or obtaining superuser rights is impossible. Xiaomi has implemented a strict security policy, so you can't just flash third-party software. You need a Mi Account tied to the device and the official Mi Unlock Tool utility.
The process of linking the device to the account requires you to turn on the Internet and activate the relevant items in the menu for developers, then you need to wait a certain period of time, which can be from 7 to 168 hours, trying to unlock the bootloader before the deadline will lead to an error, this is a security measure designed to make it more difficult to steal devices and unauthorized access to data.
β οΈ Attention: The process of unlocking the bootloader will result in the complete removal of all user data from the internal drive. be sure to back up photos, contacts and important documents before starting the procedure.
To perform preparatory work, you will need:
- π Original or quality certified USB-stable-connection.
- π» PC or laptop with installed drivers ADB and Fastboot.
- π± Battery charge of at least 60% to avoid sudden shutdown.
- π Stable Internet connection on a computer and smartphone.
Install ADB, Fastboot and Drivers on your computer
To interact with a smartphone in debugging and fast boot mode, a set of Platform Tools is required. This is the official package from Google containing executable files adb.exe and fastboot.exe. Without properly installed drivers, the computer will not be able to recognize the device in the desired mode, and commands simply will not be executed.
Download the current version of Platform Tools from the official Android developer site. Unpack the archive in the root folder of the disk, for example, in C:\platform-tools, so that the paths to the files are short and do not contain Cyrillic, this will simplify the input of commands into the console and reduce the risk of syntax errors when working with the terminal.
After unpacking, you need to turn on the USB debugging mode on the smartphone itself. Go to Settings β About the phone and quickly click on the MIUI build number seven times. In the Developer menu that appears, activate Debugging by USB and Factory Unlock. When you connect to the PC, confirm the request for debugging permission on the gadget screen.
π‘
If the Device Manager shows an unknown device, try installing Google USB Driver Universal Drivers or Qualcomm Qualcomm HS-USB QDLoader 9008 specific drivers.
Download and Prepare Firmware and Magisk Files
A key component to obtaining superuser rights on modern Xiaomi devices is a patch file created based on the original boot.img image. Standard methods through scripts rarely work here, so we will use a proven method with Magisk. You will need to download the exact version of the global firmware that is already installed on your Redmi Note 9 Pro.
The wrong firmware version can lead to a bootloop (cyclical reboot). You can determine the exact version from the About Phone menu. You can download the firmware archive from trusted resources, such as miui.com or xiaomirom.com. We need a file with the.zip extension containing system images.
From the firmware archive, you need to extract the file boot.img. In some cases, especially on split-system devices, a file may be required. init_boot.img, But for the Redmi Note 9 Pro is most commonly used as a standard boot. Put this file in the internal memory of the smartphone.
| Component | Appointment | Source |
|---|---|---|
| Magisk Manager | Rights management and patching | GitHub / Official website |
| boot.img | Image of the bootloader | MIUI firmware archive |
| TWRP Recovery | Modified Recovery Menu | |
| Platform Tools | ADB and Fastboot Tools |
Creating a patched image of the loader
Once you install the Magisk app on your smartphone, launch it and select the Install option. From the installation methods menu, select βSelect and flash a file.β Find the previously stored boot.img in the deviceβs memory and start the patching process.
The application will make the necessary changes to the file structure by adding binary files to manage superuser rights.The process takes a few seconds. Upon completion, a new file, commonly referred to as a "Download" folder, will appear in the Download folder. magisk_patched_[random].img.
Copy this file back to your computer in a folder with platform-tools tools. Rename it to boot.img for convenience so you don't get confused with commands. Now you have a ready-made bootloader with embedded root rights that you need to write to the appropriate partition of the device's memory.
β οΈ Warning: Never try to flash a patched boot image through the standard update menu. OTA. This will damage the system, and it's only recorded via Fastboot mode.
What if Magisk doesn't see boot.img?
Firmware patched image through Fastboot
Put your smartphone in fast boot mode. To do this, the device that is turned off must be pressed with a volume button and plugged in. USB-The Fastboot logo will appear on the screen, with a hare repairing an android. Make sure that the console on the PC defines the device by the fastboot device command.
To record the modified image, use the boot partition firmware command. Type the following instructions into the console:
fastboot flash boot boot.imgOnce the command is successfully executed, as confirmed by Finished. Total time:..., you need to restart the device. You can use the fastboot reboot command or press the power button for 10-15 seconds. The first boot process may take longer than usual β this is normal, the system passes the integrity check.
βοΈ Pre-firmware check
Checking rights and eliminating possible errors
Once you load the operating system, look for the Magisk app in the menu. If it opens and the version bar shows the installed version number and the Root bar ticks, the procedure was successful, you can check for rights by running any terminal or specialized application, such as Root Checker.
However, users often experience a situation where the phone turns on, but Magisk doesn't see root.This may be because the wrong partition was sewn up. 11/12 For the Redmi Note 9 Pro requires patching the image init_boot.img instead boot.img. In this case, the procedure must be repeated by selecting the correct file base.
Also worth noting is the impact on banking applications: root rights can block Google Pay or banking customers, and to circumvent this restriction in Magisk settings, you need to activate Zygisk and enable hiding the Magisk app itself (Hide the Magisk app feature), renaming it something neutral.
π‘
A successful version display installation of Magisk Manager is a major indicator that Root rights are active and working correctly.