Xiaomi Mi Max 2 (codenamed oxygen) is still a popular phablet among Android enthusiasts thanks to its 6.44-inch screen, capacious 5300 mAh battery and deep customization capabilities. But the factory MIUI firmware imposes severe limitations: you canβt uninstall system applications, change the CPU frequency or install modified cores. The solution is one β obtaining root rights.
In this article, you will find the instructions for unlocking the bootloader, installing custom recovery (TWRP) and getting root through Magisk, which are relevant for 2026. We have taken into account all the nuances of a particular model: anti-rollback problems, features of unlocking through the Mi Unlock Tool and compatibility with the latest versions of Android 7.1.1 Nougat (the latest official firmware for the Mi Max 2).
Preparation of the device: what to do before unlocking
Before you start unlocking the bootloader, you need to follow a few critical steps, neglecting them can lead to a brick (turning the phone into a brick) or data loss.
First, check the MIUI version and build number. To do this, go to Settings β About the phone. Remember or write down:
- π± Version. MIUI (for example, MIUI Global 12.5.1 Stable)
- π’ Assembly number (e.g, NMG25.7-1-0-0)
- π Assembly date (if any)
This data will be needed to select the correct version of TWRP and firmware.
Second, make sure the device is enabled with USB debugging and OEM unlocking.
- Go to Settings β About Phone and 7 times click on the MIUI version to activate the Developer Mode.
- Return to the main settings, open Additional settings β For developers.
- Activate the USB Debugging and OEM Unlock switches.
β οΈ Note: If the item Unlock OEM Is not available or inactive β your device may be linked to a Mi Account with an active Mi Cloud Lock function, in which case unlocking the bootloader without the original owner account is not possible.
Finally, create a full backup. Unlocking the bootloader and installing TWRP will result in a complete reset of the device. Use Mi PC Suite or third-party utilities like Titanium Backup (requires root, so it is only suitable for backup to another phone).
I recorded the version. MIUI and assembly number|Activated Developer Mode|I've got the debugging on. USB unlock OEM|Created a backup of the data|I am not sure if I have a Mi Cloud Lock.-->
Unlock the bootloader with the Mi Unlock Tool
Xiaomi officially allows you to unlock the bootloader, but the process is fraught with bureaucratic constraints.
- π± Xiaomi Mi Max 2 with a tied Mi Account (required!
- π» Computer running Windows 7/10/11 (on macOS/Linux The official tool is not working)
- π Original. USB-cable (preferably from the set)
- β³ Time: The unlocking process can take up to 720 hours (30 days) due to Xiaomi restrictions
Download the latest version of the Mi Unlock Tool from Xiaomi's official website. Install the program and follow the following steps:
- Launch the Mi Unlock Tool on behalf of the administrator.
- Sign in with the same Mi Account that is linked to your phone.
- Turn off the Mi Max 2 and press Volume Down + Power to go to Fastboot Mode.
- Connect your phone to your PC. The program will have a message called Phone Connected.
- Click Unlock. If the account is new, a wait notice will appear (usually 168-720 hours).
If you see a message called Couldn't unlock.Your device isn't supported by Mi Unlock, your device may be blocked because of:
| Reason for blocking | Decision |
|---|---|
| The device is tied to another region (for example, Chinese firmware on a global account) | Change firmware to global or create a Mi Account in the same region |
| Account not confirmed (no linked phone number) | Add and confirm phone number in Xiaomi account settings |
| The device was bought βwith handsβ and has already been unlocked before. | Return factory settings via Fastboot (fastboot erase userdata) |
| The Mi Unlock Tool is a very old version of the Mi Unlock Tool. | Download the latest version from the official website |
Once the bootloader is successfully unlocked, the phone will automatically reset to factory settings. Don't disconnect it from the PC until you fully restart it!
Less than 72 hours.|3-7 days|More than 7 days|Unblocking went right away.|Failed to unlock.-->
Installation of TWRP Recovery on Xiaomi Mi Max 2
Xiaomiβs standard recovery doesnβt allow custom firmware or root. This requires TWRP, a popular custom recovery with touch control. For the Mi Max 2 (oxygen), the current version is TWRP 3.7.0 (or newer if available).
Download the image TWRP for oxygen from the official website twrp.me. the file will have the name of the species twrp-3.7.0_9-0-oxygen.img. Save it to the folder with fastboot (usually) C:\platform-tools).
To install TWRP, run the following commands in cmd (or PowerShell):
fastboot flash recovery twrp-3.7.0_9-0-oxygen.img
fastboot boot twrp-3.7.0_9-0-oxygen.imgβ οΈ Note: On some versions MIUI post-installation TWRP standard recovery is restored when you reboot, so to avoid that, immediately after you enter the system. TWRP Go to Mount. β Enable MTP And copy the file to the phone. disable_dm-verity_forceencrypt.zip (You can download it here. Install it in Install. TWRP.
If the phone was stuck on the Mi logo after installing the TWRP, it's called anti-rollback.
- π Try flashing your phone through fastboot with the official firmware of the same version that was installed.
- π οΈ If this does not help, you need to use the EDL Mode (emergency mode), but it is risky and requires an authorized Xiaomi account.
π‘
If TWRP Not touching the screen, plug in. OTG-Some assemblies don't have the sensor control working properly.
Getting root rights through Magisk
Magisk is a one-stop solution for obtaining root rights without changing the systemless root, which allows you to pass SafetyNet check and use banking applications. Magisk v26.4 (or later) is suitable for the Mi Max 2.
Download the latest version of Magisk from the official repository on GitHub. Magisk-v26.4.zip. Copy it onto your phone (for example, internal memory or a phone). SD-map).
Follow the instructions:
- Boot to TWRP (Put Volume Up + Power on the phone off).
- Press Install and select the file Magisk-v26.4.zip.
- Swipe to confirm the installation.
- After completion, press Reboot System.
The first download after installing Magisk can take up to 10 minutes. If the phone has been stuck on the logo for longer than 15 minutes, follow the following steps:
- π Remove and reset the battery (if possible).
- π Boot in. TWRP And reinstall Magisk.
- π± If the problem is repeated, try another version of Magisk (for example, the same as the one you see, v25.2).
After a successful download, check for root rights using the Root Checker app or by entering the command in the terminal:
suIf a request for rights appears, the root is installed successfully.
π‘
Installing Magisk via TWRP is the most reliable way to get root on the Xiaomi Mi Max 2. Alternative methods (for example, through patching boot.img) often lead to a logo getting stuck due to the peculiarities of the oxygen kernel.
Solving common problems after getting root
Even if you successfully obtained root rights, there may be problems, and here are the most common ones and ways to fix them:
1.The phone does not pass SafetyNet
Many banking applications (e.g. SberBank Online or Google Pay) require a successful SafetyNet check.
- π Install MagiskHide Props Config module via Magisk.
- π± In Magisk settings, activate MagiskHide and add problematic apps to the list.
- π§ Restart your phone and check SafetyNet status through the app YASNAC.
2. It's not working. OTA-update MIUI
Once root is received, official airborne updates (OTAs) will not be installed.
- π₯ Download full firmware from the Xiaomi Firmware Updater website and install them through TWRP.
- π Before updating, temporarily delete Magisk (via Uninstall) β Complete Uninstall in Magisk settings).
3.The phone overheats or discharges quickly
This may be due to improper operation of the kernel or background root-right processes.
- π Install AccuBattery app to monitor battery consumption.
- π Review the active processes through CPU Monitor or top in the terminal.
- π οΈ If the problem is in the kernel, try installing a custom kernel (e.g., FrancoKernel for oxygen).
β οΈ Note: If the root phone starts to spontaneously restart after installing the root, check the integrity of the file system through the TWRP (Wipe β Advanced Wipe β Repair File System: This often helps to eliminate errors caused by modifications to system partitions.
Custom firmware for Xiaomi Mi Max 2: what you can install
With root rights, you can install custom firmware that offers better performance, current versions of Android and no bloatware. The following options are available for the Mi Max 2:
| Firmware | Android version | Features | Reference |
|---|---|---|---|
| LineageOS | 10 (Q) | Clean Android, stable operation, long-term support | XDA |
| Pixel Experience | 12 (S) | Google Pixel interface, regular updates | XDA |
| HaventOS | 11 (R) | Optimized for performance, minimalist design | XDA |
| MIUI EU | 7.1.1 (Nougat) | Extended version of MIUI without Chinese services, weekly updates | xiaomi.eu |
Before installing custom firmware, it is necessary to:
- Make a full backup of the current system through TWRP (Backup β Select All).
- Make sure the firmware is compatible with your version of MIUI (especially if you have a Chinese or global build).
- Check out the feedback on the XDA forum on the stability of a particular build.
β οΈ Attention: Installation of firmware based on Android 10+ Mi Max 2 can cause problems with the camera (defaulting) EIS) And it's a fingerprint sensor, because there's no official driver for the new software.
How to return a standard firmware if something went wrong?
Safety and Risks: What to Know Before Getting Root
Root rights offer a lot of opportunities for customization, but they also carry risks.
1. Loss of guarantee
Xiaomi officially declares that unlocking the bootloader and getting root voids the warranty.
- π§ If the phone breaks for mechanical reasons (screen is broken, button is not working), the service center may turn a blind eye to this.
- π₯ If the problem is related to software (for example, it does not turn on after firmware) β repair will be refused.
Security vulnerabilities
Root rights give applications unlimited access to the system.
- π‘οΈ Viruses can gain control of a phone (such as stealing data or sending a message) SMS pay-per-room).
- π Banking applications can block work on rooted devices.
- π Attacker with physical phone access can bypass screen lock.
3. The risk of "brick" (turning into brick)
Xiaomi Mi Max 2 has anti-rollback protection that blocks rollbacks on older firmware versions. If you try to install firmware with a lower build number, the phone:
- π¨ It will stop turning on (black screen or logo getting stuck).
- π§ It'll require firmware through EDL Mode, which is difficult to do without an authorized Xiaomi account.
To minimize the risks:
- π Always check the compatibility of Magisk firmware and modules with your model.
- π Use only original cables and a charged battery (at least 60%).
- π‘ Before the firmware, turn off all screen blockers (PIN, pattern lock, print).
π‘
If you are not sure about your actions, stop at the stage of unlocking the bootloader. Installing TWRP and Magisk requires understanding the processes and being prepared for possible problems.