Hi,
I have a Xiaomi 13 Pro EEA Version: 1.0.7.0.UMBEUXM
I wanna get Root acces by the method by doing extracting the Boot.img file from the ROM and patch it by Magisk.
But when I patch the original Boot.img of the ROM, I get a modified magisk_patched-2700_xxxx.img, what is correct.
Now my problem:
- When doing "fastboot boot magisk_patched_boot.img" to boot to the magisk_patched_boot.img
- Phone will boot into the phone
- Go into Magisk -> Install -> Direct Install (Recommended) -> Reboot ( I don't see this option.... I only see Install -> Choose patch file)
How to fix this>? Doing I something wrong?
You can use the twrp to install magisk, then you can root the phone without having to find the boot.img.
How to flash third-party recovery:
The following method is applicable to the official TWRP recovery (only .img suffix file). The general package for private modifications comes with flashing tools and methods.
1. First connect the phone to the computer to install the driver (if the installation fails, you can download MiFlash and install it manually). Also make sure the phone is BL unlocked.
2. Download the Fastboot tool (unzip for later use) and the corresponding model TWRP (.img suffix file, put it into the folder you unzipped earlier) on your computer.
3. Turn off the phone, long press the power button + volume down button to enter fastboot mode, and connect to the computer.
4. Open the platform-tools folder you just unzipped on your computer, hold down the Shift key, and right-click on a blank space in the folder. Click "Open Powershell window here" in the right-click menu, and run the following command to flash TWRP (replace the file name yourself) ).
.\fastboot flash recovery twrp-3.4.0-0-davinci.img
Note: If you do not want to install TWRP, but only use TWRP temporarily, run the following command (replace the file name yourself) and ignore step 5.
.\fastboot boot twrp-3.4.0-0-davinci.img
If you cannot start TWRP after running the command and remain stuck at the startup interface, there may be a problem with the TWRP version adaptation. You can try using a third-party version.
5. To prevent MIUI from automatically replacing the official Recovery when you restart your phone, press and hold the volume up button on your phone while running the following command on your computer to restart your phone until you enter the TWRP interface.
.\fastboot reboot
6. After entering TWRP, you will be asked "Do you want to keep the system partition as read-only". Slide the button here to allow modification, otherwise MIUI cannot be prohibited from being replaced back to the official Recovery.
7. Since MIUI will check the integrity of the System partition during startup, TWRP modified the System partition in the previous step. At this time, restarting the phone will cause the system to fail to start ("Cami" problem). You need to remove the startup verification by flashing Magisk. The steps are as follows .
Download the Magisk installation package on the computer and copy it to the mobile phone (at this time the computer can recognize the mobile phone MTP device);
Click "Install" on the TWRP interface, find the Magisk installation package you downloaded, click on the file name, and slide the button to flash it;
Wait for the Magisk flashing to complete, click "Restart System", then there will be no "Cami" problem, and restarting the phone will not lose the TWRP installation;
Since Magisk is installed, you will see a Magisk Manager software after starting the system. It is Magisk graphics management software with built-in Root function, and you can also expand more gameplay by installing function modules.
Since the System partition has been modified in the previous operation, you need to pay attention to the subsequent update of the MIUI original system (turn off automatic system updates). Before updating the system, open the Magisk Manager software, click "Uninstall Magisk", select "Restore Original Image", and then update the system. Reinstall TWRP and Magisk after updating.