Equipment: Redmi K30S Ultra
(recorded articles by myself, for reference, and do not assume any responsibility for failure)
* (PS:
1. The stable version and the development version can be flashed as long as the bootlock is unlocked. Magisk is a comprehensive Root manager. Therefore, the development version needs to close the official Root, and the closing method is to re-flash the official full package coverage;
2. The third-party modified version of the system also needs to re-flash the full package;
3. It seems that the development version can also be rooted with Magisk, which is authorized by the official Root Then install it directly in magisk, but you can’t use the core crack;
4. For the method, please refer to Magisk Chinese website
https://magiskcn.com
5. MIUI package download
https://xiaomirom.com/
)*
- backup phone files
- To unlock the bootlock, you need to bind the account for more than 168 hours, and unlocking will clear all data, so you need to back up your phone files. Turn on the developer mode before unlocking, turn on the OEM unlocking, USB debugging switch, click the unlock status, follow the prompts to bind the account, enter the fastboot mode (press and hold the volume down button and the power button after turning off the power to enter), connect to the computer, and then use the official unlock tool unlock
- After unlocking, turn on the mobile phone system to install Magisk, download the complete card flashing package (MIUIROM) of the current system, find the boot.img file after decompression, and save it
- Open Magisk, choose to install, do not check the first option about Recovery, if there is no such option, you can skip it, continue to choose to patch a file, open it and choose to patch the boot. New .img file, note down the storage path
- Transfer the .img file generated by Magisk patch to the computer and put it in the root directory of fastboot
- After the mobile phone enters the fastboot mode and connects to the computer, run the fastboot software on the computer, enter the command fastboot flash to repair the .img file package name, and enter fastboot reboot to restart after completion
- After flashing into Magisk, click on the module. It may be necessary to surf the Internet scientifically, or modify the channel. After opening the mold, search for Riru, install Riru first, and then install Riru-LSPosed
- Done, hide Root Click on the Magisk settings interface to enter and check the applications that need to be hidden
Update method when the system needs to be updated
1. Repair boot.img according to the method just now and flash Magisk again
2. Magisk’s status information A/B prompts Some users can open Magisk before the official system upgrade prompts to restart, click Install Magisk, and select Install to another slot, and then reboot