The Xiaomi Redmi Note 7, codenamed lavender, is still one of the most popular devices in the budget segment. Owners often seek to expand the functionality of the gadget beyond the standard features of the operating system. Obtaining superuser rights opens access to system files, allowing you to delete undeleteable software, change system fonts and improve the performance of the processor.
However, the process of gaining full control of the device requires careful and strict adherence to the algorithm of actions. Any error when working with the bootloader or partition /system can lead to a software failure known as a bootloop. In this article, we will detail the safe implementation method Magisk, which is the modern standard for modifying Android.
Before you start taking action, you need to understand the risks and prepare the software environment. You need a Windows computer that's original. USB-Ignoring the preparatory stage often causes a failed firmware attempt.
β οΈ Attention: The procedure for unlocking the bootloader and obtaining root rights voids the official manufacturer's warranty. All actions you perform at your own risk, so double check the safety of important data.
Preparation of the device and creation of a backup copy
The first step is to carefully prepare the smartphone itself. You need to turn on the USB debugging mode, which is hidden in the developer menu. To activate this section, go to Settings β About phone and quickly click on the MIUI build number seven times. Once you have the "You became a developer" sign, you can open a new menu in the "Additional" section.
Inside the developer menu, you should find the USB Debugging option and activate it. It's also important to include the Factory Unlock option, without which you can't go any further. It will alert you to security risks, but it's a must to get root rights.
- π Charge the device to minimum 60-70%, Avoid turning off at a critical moment.
- π Make a full backup of contacts, photos and documents to a cloud service or PC.
- π Make sure you're on SIM-The card includes mobile Internet to link the account.
Once the necessary switches are turned on, the system will require you to link your Mi Account to the device, which is a theft protection mechanism that is required to unlock the bootloader, and without the binding, the utility on your computer will not be able to identify the smartphone as yours.
βοΈ Readiness check for Redmi Note 7
Unlocking the Bootloader bootloader
The most difficult and longest step is unlocking the bootloader. Xiaomi has introduced a wait time limit that can be from 7 to 30 days from the moment of attaching an account. To begin the procedure, you need to download the official Mi Unlock Tool utility to your computer and log in to it under the same Mi Account as on your phone.
Put your smartphone into Fastboot mode, holding the power and volume buttons on the device that is turned off at the same time. Connect the cable to the PC and press the Unlock button in the program. If not enough time has passed since the binding, the utility will report this and indicate the number of seconds remaining waiting.
Fastboot status: Unlocked (after successful procedure)It's important to understand that when you unlock all the data on the internal drive, it's going to be permanently deleted, and it's a security measure that prevents attackers from accessing your data when you change firmware, so having a backup is critical at this point.
β οΈ Note: If you have a two-sim version, make sure that SIM-The card with the associated account is installed in the first slot, otherwise the server will not recognize the device.
What to do if the timer is not going?
Installation of custom TWRP Recovery
The standard recovery mode does not allow changes to the system partition, so you need to install a modified recover. For the Redmi Note 7 (lavender) model, the official TWRP build is best. The twrp-3.x.x-x-lavender.img image file must be downloaded and placed in the folder with the ADB and Fastboot tools on your computer.
Run the command line in the tool folder and type a command to check for device communication. Make sure you get the device serial number and fastboot status in return. If the device is not identified, check the drivers in Windows Device Manager.
fastboot devicesTo install it directly, use the image firmware command in the recovery section. Once you run the command, the phone can automatically reboot to the system, which we don't need yet. It's important to immediately switch the device to Recovery mode so that you don't overwrite the custom recovery with stock when you boot Android.
| Team team. | Description of action | Expected output |
|---|---|---|
| fastboot flash recovery twrp.img | Recording a TWRP image in memory | Message "Finished" |
| fastboot boot twrp.img | Temporary launch without recording | Download to the TWRP menu |
| fastboot reboot | Rebooting the device | Exit from Fastboot |
| fastboot oem device-info | Checking the blocking status | Line "Device unlocked: true" |
There is a nuance with data encryption on MIUI. When you first log in to TWRP, the system can request a password to unlock the screen. If entering a password does not help, you will need to format the Data partition (Format Data command and entering the word yes), which again deletes all files.
π‘
Use the original. USB-Cheap charging cables often do not provide stable data transfer, which leads to firmware errors.
Magisk firmware to get a Root
After successful launch TWRP You need to install a superuser rights manager. The current standard is Magisk, which works on the principle of systemless, without directly changing the system partition, which allows you to pass security checks in banking applications. APK-Magisk file and rename it to.zip, or use the built-in installation functionality in Magisk Manager.
From the Recovery menu, go to Install and select the downloaded archive. Confirm the swipe installation. The process will take a few seconds. Once completed, the log file will report the successful patch installation. Don't reboot immediately if you also plan to install other modules.
- π² Copy the file. Magisk.apk (or zip for the internal memory of the phone.
- π¨ V TWRP Select Install and specify the path to the file.
- β Confirm the action and wait for the process to end.
The system can warn that the partition is read-only. TWRP will suggest allowing modifications β agree. After installation, go to the main menu and select Reboot System. The first download may take longer than usual, this is normal for the optimization process.
Setting up and verifying the rights of the superuser
Once you load the operating system, look for the Magisk app on your desktop. If the icon appears, the binary file has been successfully embedded in the boot image. When you first start, the application may request additional configuration or restart - fulfill these requirements.
To check the effectiveness, open any app store and download the "Root Checker" utility. Run the test, and the program will confirm that access rights are available. In Magisk itself, the version will be displayed at the top of the screen, and next to it, the "Installed" status.
Now you can install modules that change the way you work, like activating the ViPER4Android system equalizer or modules to improve the camera, but remember that each module installed is a potential source of instability.
π‘
Magisk Manager hides its rights from the default applications, but banking programs may need to activate the βZygiskβ function and set up the exception list in the Magisk settings.
Possible problems and ways to solve them
When modifying the Xiaomi Redmi Note 7 firmware, users often encounter typical errors. One of the most common is the loss of broadband connectivity (IMEI null).This happens if the persist or EFS partition has been damaged. It is almost impossible to restore them without a factory backup, so never format the EFS partition manually.
Another problem is cyclical reboot. If the phone is stuck on the Mi or Android logo, try going to TWRP and doing Wipe Cache/Dalvik. If that doesn't help, maybe the Magisk version is incompatible with your Android version, and you'll need to flash the stock image through the Mi Flash Tool.
β οΈ Warning: Never remove system applications you are not sure of, remove critical Google services or MIUI It can cause the phone to be inoperable.
It is also worth mentioning the problem with Widevine. L1. After unlocking the loader, the level of protection DRM fall L3, This means that you can lose the ability to view content in HD-quality on Netflix and some other streaming services. L1 Unlocked loader by standard methods is not possible.