How to root Xiaomi without PC: step-by-step instructions

Getting superuser rights, or root access, on Xiaomi smartphones opens up endless possibilities for customization of the system: you can remove system debris, block ads at the host level, change the frequency of the processor and use the most powerful modules Magisk. However, the traditional method requires a computer, USB-cables and driver installations ADB, This is often an obstacle for beginners.

Fortunately, modern technologies and specific applications allow you to bypass the need to use a desktop PC. In this article, we will discuss in detail how to root Xiaomi without a computer, what risks exist and why unlocking the bootloader will still be a mandatory step. It is important to understand that it is impossible to obtain root rights on a locked bootloader in any software way.

The process will require you to be careful and follow the instructions accurately, as any errors can lead to data loss or software failures.We will look at current methods for 2026 that run on Android 13, 14 and later.

Preparation of the smartphone and unlocking the loader

Before you start installing superuser rights, you have to fulfill the fundamental requirement of unlocking the bootloader. Without this step, no application will be able to insert its code into the system partition. To do this, you will need a Mi Account account tied to the device and wait for 168 hours (7 days) after submitting an application in the Mi Unlock Tool application.

Although unlocking itself traditionally requires a PC, there are workarounds through special services or someone else's computer for 5 minutes to run the utility. Once successfully unlocked, the phone will be completely cleaned, so be sure to back up all important data. Enable developer mode by going to Settings β†’ About Phone β†’ Press 7 times on the MIUI/HyperOS version.

β˜‘οΈ Checking before rooting

Done: 0 / 5

After unlocking the menu for developers, activate the Debugging items USB and USB-Installation. This will allow applications to access system commands. It is also recommended to disable device search over the network and verification through the network. USB, Avoid conflicts when transferring patch files.

Make sure your device is connected to a stable Wi-Fi network, as heavy firmware files will need to be downloaded. Don't neglect this step, as interrupting the kernel load can lead to a bootloop (cyclic reboot).

⚠️ Warning: Unlocking the bootloader will officially void the manufacturer’s warranty in most regions, and it also makes it impossible to use banking applications without additional manipulation of the magic (Zygisk, Shamiko).

Choosing the method: Magisk vs KernelSU

The Android rooting world in 2026 is dominated by two major solutions: Magisk and KernelSU. The first is a classic, proven over the years, and is a systemless system. The second is a more modern solution that is embedded directly into the Linux kernel, which provides better security stealth.

For most Xiaomi users, Magisk remains the best choice because of the huge number of modules and widespread community support. However, if your goal is to maximize the invisibility of the root for banking applications, it is worth looking at KernelSU, although installing it may require a ready-made custom core for your model.

πŸ“Š Which Rooting Method Do You Prefer?
Classic Magisk
Modern KernelSU
SUSS (SuperSU - obsolete)
I'm not rooting, I'm afraid.
Other

In this manual, we will focus on Magisk, since the boot image patch method is universal and does not require kernel compilation. APK-file from topjohnwu's official GitHub repository. Avoid downloading modified versions from unverified sources.

The key is to match the firmware version and the boot image file exactly. Using an image from another MIUI version or from another device model is guaranteed to cause your smartphone to fail. Always double-check the version region (Global, CN, EEA) that matches the installed one.

Search and preparation of the loading image

The hardest part of the process without a PC is finding the right boot.img file. This file contains the kernel and the initial file system, which will be modified. You need to download the full Fastboot ROM, which corresponds to your current version of the software. The archive should be in.zip format, not.tgz, so that it can be unpacked directly on the phone.

Sources can be official update sites or verified forums, such as: 4PDA or XDA Developers. After downloading, unpack the archive with file managers that support working with archives, such as ZArchiver or MT Manager. Inside the image folder you will find the file you are looking for. boot.img (sometimes init_boot.img for new Android devices 13+).

What to do if the file is called init_boot.img?
On partition devices GKI (Generic Kernel Image, which is typical for new products Xiaomi 2023-2026 For years, it is necessary to patch exactly. init_boot.img, not boot.img. The logic of the process remains the same, just choose a different file when patching.> Copy the file you find to the root of your internal memory or to an easily accessible folder. Now install the Magisk app and run it. In the main menu, click Set next to "Magisk," then select the Select and Pattom file method. Find and select your file. boot.img. The patching process will take a few seconds, and when it's done, a file with a name like this will appear in the Download folder. magisk_patched_[random].This file is the key to obtaining superuser rights. Install a patch through a terminal without a computer To write a patched image to the bootloader section, we will need a terminal emulator. Install the Termux app or any analogue from the Play Market. We need to access low-level commands. Open the terminal and type in the command to get superuser rights, but since the root is not yet available, we will use Fastboot mode via USB-OTG or built-in features if the phone allows, but the most reliable way without a PC is to use special installer applications if the bootloader is already unlocked. However, there is a caveat: the standard boot requires a connection to the host. To get around this, we use the Recovery upgrade method if it supports installation from memory, or special applications like Flash (requires access to the TWRP section, we use the TRP, but we do not use the TWRP for the recovery partition). The most effective method without a PC on an unlocked bootloader is to use the FastbootD app or similar tools that can send fastboot commands inside Android, but this only works if the phone is put into fastboot mode: πŸ“± Reboot the phone to Fastboot mode (clip Volume Down) + Nutrition). πŸ”Œ Connect your phone to another Android device via cable OTG (cable USB-OTG). πŸ’» On the second phone (controller), install the DriveDroid app (requires root) or just use the fastboot-enabled terminal app if you have one, but it's tricky. A simpler path that actually works out of the box on one device once unlocked: Use Kernel Flasher or analogues that have access to partitions. But most often, the user still has to connect the phone to a PC once (any, even someone else's) for the command: fastboot flash boot. magisk_patched_[random].If you absolutely do not have access to a PC, the only option is to install a custom recavator (TWRP) via Flashify (if the bootloader allows) or TWRP Installer APK. After installation TWRP You can then load it up (clutching the volume up). + Power) and stitch a patched image through the Install menu β†’ Install Image by selecting the Boot section. ⚠️ Please note: Never use the "Wipe Data" option in the TWRP Right after the firmware, if you don't want to lose all the files, do this only in the case of a bootloop. Comparison of methods for obtaining Root rights, for clarity, let's look at the main characteristics of the different approaches to rooting Xiaomi in the current environment. This will help you choose a strategy that is suitable for your situation and the availability of equipment. Method Needed PC Complexity Data Loss Risk Magisk (Patch Boot) Desirable (1 times) Average High (in case of error) KernelSU Yes (for kernel) High Medium Applications (KingRoot, etc.) No Low Low (but high virus risk) Brush firmware Yes High Complete Cleaning As seen from the table, the patch method boot.img Magisk remains the gold standard, giving full control and rollbacks, using questionable apps in one click on modern versions of Android. 12-14 It's almost impossible and dangerous. TWRP For PC-free firmware, make sure the recovery version is strictly consistent with your CPU model (Snapdragon or MediaTek). SP Flash Tool that is extremely difficult to run without a PC. After successfully restarting and the Magisk icon appears in the app menu, take your time to rejoice. Banking apps and Google Pay (Wallet) will most likely not work. You need to activate Zygisk in the Magisk settings. Go to the settings (cogs), turn on the switch "Zygisk" and "Hide the Magisk menu." Reboot the device. Next, you need to configure the exception list. In the Magisk settings, there is "Configure DenyList." Click on it, then click on three dots in the corner and select "Show system processes." Find Google Play Services, Google Play Store and your banking apps, and check the boxes for all the processes inside those packages. πŸ’‘For maximum compatibility, install Shamiko via Magisk.It allows you to hide root from even the most meticulous applications without manually activating DenyList in some configurations. It is also recommended to install the Universal SafetyNet Fix module (or its current forks for Android). 14/15), Without this step, some applications may refuse to start, seeing a violation of the integrity of the system. YASNAC. If you see green boxes opposite Basic Integrity, and"CTS Profile Match, So You Successfully Rooted Xiaomi and Hid It From Security. ⚠️ Attention: After each OTA-Xiaomi root updates will fly. You'll have to repaint the boot image of the new firmware version. Don't upgrade through the air until you learn how to save the root correctly. Possible problems and solutions may occur during the rooting process. If the phone is gone to bootloop (infinitely reboots), press Volume up. + Meals for entering Recovery. If you have a stock recap, try doing Wipe Data, which often helps if modified files conflict. If the phone is stuck on the Mi logo and doesn't respond, maybe the patch was overlaid on the wrong image. In this case, it is difficult to do without a PC - you will need to firmware a stock image through Fastboot. boot.img. Problems with Wi-Fi or Bluetooth after rooting indicate that the kernel is incompatible, so you better abandon the idea of root on this version of the firmware or look for a specific kernel for your model. Magisk modules can also cause conflicts, disable them one by one for diagnosis. Remember that rooting is the experimenter's way. Always have a computer with drivers on hand. ADB Fastboot in case of critical failures. Having a backup cable and a stable power supply is a prerequisite for successful completion of the operation. Now you know how to root Xiaomi without constant tethering to a computer using only a smartphone and attentiveness. Your Xiaomi has turned into a powerful tool with an open architecture. FAQ: Frequently asked questions Will the warranty fly out after obtaining rights? Formally, yes, obtaining superuser rights is a violation of the user agreement. However, if you completely remove root (make unroot) and fill up the stock firmware before you call the service, it will be impossible to track the fact of hacking by software methods after the payment system is installed, Payysk will be practically impossible after the payment system is rooted. Can you root Xiaomi without unlocking the bootloader? No, on modern Xiaomi devices (Android) 6.0 It's not possible. Exploits that have allowed this to happen in the past (e.g., through MiTurbo or old vulnerabilities) are long gone. Locked Bootloader blocks entry to system partitions. Is it dangerous to use applications like KingRoot or OneClickRoot? Yes, it's extremely dangerous. On newer versions of Android, they don't work, they just collect data or install advertising debris. The only safe and relevant method is Magisk through a boot image patch. boot.img Try to enter Recovery mode. + Power and do a data reset (Wipe Data). If that doesn't work, you'll have to use a PC to run the full Fastboot image. ROM, That will bring the phone back to factory condition.