Question Root for Xiaomi 13 Pro

Search This thread

droidkoder

Member
Feb 26, 2015
35
5
Can anyone confirm if we would be able to easily root Xiaomi 13 pro?
I want to buy the phone only if it is possible to root this phone.
 
May 10, 2015
28
27
Yep,possible but only with V14.0.4.0.TMBCNXM/V14.0.8.0.TMBCNXM ,for the moment
Hi, do you have a tutorial on how to root this device? I have tried using Magisk but it does not work at all. The patched boot.img flashes successfully but nothing happens after reboot. Nothing is installed at all and the system is exactly the same as before. My bootloader is unlocked. Booting directly using the patched boot.img does nothing as well. It is as if nothing has been flashed at all.

Edit: I found a solution. You have to use init_boot.img instead of boot.img.
 
Last edited:
  • Like
Reactions: Jan Skokan

NOSS8

Recognized Contributor
Hi, do you have a tutorial on how to root this device? I have tried using Magisk but it does not work at all. The patched boot.img flashes successfully but nothing happens after reboot. Nothing is installed at all and the system is exactly the same as before. My bootloader is unlocked. Booting directly using the patched boot.img does nothing as well. It is as if nothing has been flashed at all.

Edit: I found a solution. You have to use init_boot.img instead of boot.img.
And is Magisk usable, zygisk, modules etc...?
 
May 10, 2015
28
27
And is Magisk usable, zygisk, modules etc...?
Yeah, I've managed to get it working on 14.0.10.0.TMBCNXM. The only module I've tested is Universal SafetyNet Fix which is working. Google Play showing certified. Updating can be done without a PC as well. I first installed on 14.0.8.0, then installed 14.0.10.0 from the device updater itself. Before rebooting, simply go to Magisk and select the option to install to inactive slot. Reboot and you have Magisk working on the new version.
 
Last edited:
  • Like
Reactions: NOSS8

darrenlimch

Senior Member
Mar 29, 2017
362
61
Samsung Galaxy S23 Ultra
Yeah, I've managed to get it working on 14.0.10.0.TMBCNXM. The only module I've tested is Universal SafetyNet Fix which is working. Google Play showing certified. Updating can be done without a PC as well. I first installed on 14.0.8.0, then installed 14.0.10.0 from the device updater itself. Before rebooting, simply go to Magisk and select the option to install to inactive slot. Reboot and you have Magisk working on the new version.
Bro can write a guide how to root? I try follow this method, but failed. https://forum.xda-developers.com/t/...urself-and-optionnal-debloat-privacy.4337693/

Cuz i have a m3 pro. I thinking should be same. But seems like its not
 

darrenlimch

Senior Member
Mar 29, 2017
362
61
Samsung Galaxy S23 Ultra
Hi, do you have a tutorial on how to root this device? I have tried using Magisk but it does not work at all. The patched boot.img flashes successfully but nothing happens after reboot. Nothing is installed at all and the system is exactly the same as before. My bootloader is unlocked. Booting directly using the patched boot.img does nothing as well. It is as if nothing has been flashed at all.

Edit: I found a solution. You have to use init_boot.img instead of boot.img.
Cuz you mention here use init_boot.img, i try use magisk patch the init_boot.img and flash it via adb, but then bootloop into fastboot. Mind write a tutorial for us? As i believe you are the first to root succesfully. Thanks in advance bro.
 

NOSS8

Recognized Contributor
Misunderstood bro. I have a mi 13pro as well. China version. Need to root it. Im just saying that i have another poco m3 pro. I though they use same method
Understood,You have to use init_boot.img instead of boot.img.
Common tutorial
1. Find or redownload the TGZ file for your current ROM or other rom.
2. Browse inside the zip file and find boot.img under the images folder
3. Copy this file to a temporary location in your PC first, and then transfer it to your phone
4. Install the desired version of Magisk app (V23?)
5. Run the app and choose Install under Magisk
6. Choose Select and Patch a File, then select the boot.img that was transferred earlier
7. A process will run and create a new .img file in the same folder where the original one was
8. Transfer the new file to your PC in the same directory where fastboot.exe is located
9. Open a command prompt window in that same directory
10. Reboot your phone to fastboot mode and connect to PC, USB2.0 port. Check for connection by running command fastboot devices.
11. Run the command fastboot flash boot_ab magiskXXXX.img

Once it's completed, run command fastboot reboot and the phone should boot and be rooted.
 
  • Like
Reactions: Jan Skokan

darrenlimch

Senior Member
Mar 29, 2017
362
61
Samsung Galaxy S23 Ultra
Understood,You have to use init_boot.img instead of boot.img.
Common tutorial
1. Find or redownload the TGZ file for your current ROM or other rom.
2. Browse inside the zip file and find boot.img under the images folder
3. Copy this file to a temporary location in your PC first, and then transfer it to your phone
4. Install the desired version of Magisk app (V23?)
5. Run the app and choose Install under Magisk
6. Choose Select and Patch a File, then select the boot.img that was transferred earlier
7. A process will run and create a new .img file in the same folder where the original one was
8. Transfer the new file to your PC in the same directory where fastboot.exe is located
9. Open a command prompt window in that same directory
10. Reboot your phone to fastboot mode and connect to PC, USB2.0 port. Check for connection by running command fastboot devices.
11. Run the command fastboot flash boot_ab magiskXXXX.img

Once it's completed, run command fastboot reboot and the phone should boot and be rooted.
Tried this method. But like VincentThacker mentioned at first. After flash that modded.img, nothing was change. So might need his help already. No idea which init_boot.img is mentioning.
 

NOSS8

Recognized Contributor
Tried this method. But like VincentThacker mentioned at first. After flash that modded.img, nothing was change. So might need his help already. No idea which init_boot.img is mentioning.
I guess it is in the Fastboot rom or a command and root for what no rom or twrp currently available.
If it is to delete apps there are many tools or with ADB commands.
 
May 10, 2015
28
27
So to summarize, extracting the boot.img from the Fastboot rom, V14.0.10.0.TMBCNXM/V14.0.22.12.26.DEV/V14.0.8.0.TMBCNXM/V14.0.4.0.TMBCNXM roms doesn't work?
Yeah, as I mentioned above, boot.img does not work; you have to use init_boot.img which has a size of exactly 8 MiB. If it does not have this size, you've got the wrong file. It probably has to do with the boot method used by the device as described here. The flashing command must also use init_boot_ab instead of boot_ab.
 
Last edited:

Jaberbenet

Member
Sep 7, 2020
15
0
Yeah, as I mentioned above, boot.img does not work; you have to use init_boot.img which has a size of exactly 8 MiB. If it does not have this size, you've got the wrong file. It probably has to do with the boot method used by the device as described here. The flashing command must also use init_boot_ab instead of boot_ab.
Is it a must to include the "_ab" part in the command?
 

wacayalu

Member
May 16, 2012
12
0
Can I use magisk hide and passing safetynet with this device? Gonna buy this phone in Europe.

Wanna be sure that the module magisk hide props and universal safetynet-fix passes safetynet.

Can anyone confirm it for me?
Yeah everything works with EU beta + DFe neo + magisk 25.2.. my phone passes safetynet without safetyfix module and google certified
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    So to summarize, extracting the boot.img from the Fastboot rom, V14.0.10.0.TMBCNXM/V14.0.22.12.26.DEV/V14.0.8.0.TMBCNXM/V14.0.4.0.TMBCNXM roms doesn't work?
    Yeah, as I mentioned above, boot.img does not work; you have to use init_boot.img which has a size of exactly 8 MiB. If it does not have this size, you've got the wrong file. It probably has to do with the boot method used by the device as described here. The flashing command must also use init_boot_ab instead of boot_ab.
    1
    Yep,possible but only with V14.0.4.0.TMBCNXM/V14.0.8.0.TMBCNXM ,for the moment
    Hi, do you have a tutorial on how to root this device? I have tried using Magisk but it does not work at all. The patched boot.img flashes successfully but nothing happens after reboot. Nothing is installed at all and the system is exactly the same as before. My bootloader is unlocked. Booting directly using the patched boot.img does nothing as well. It is as if nothing has been flashed at all.

    Edit: I found a solution. You have to use init_boot.img instead of boot.img.
    1
    And is Magisk usable, zygisk, modules etc...?
    Yeah, I've managed to get it working on 14.0.10.0.TMBCNXM. The only module I've tested is Universal SafetyNet Fix which is working. Google Play showing certified. Updating can be done without a PC as well. I first installed on 14.0.8.0, then installed 14.0.10.0 from the device updater itself. Before rebooting, simply go to Magisk and select the option to install to inactive slot. Reboot and you have Magisk working on the new version.
    1
    Misunderstood bro. I have a mi 13pro as well. China version. Need to root it. Im just saying that i have another poco m3 pro. I though they use same method
    Understood,You have to use init_boot.img instead of boot.img.
    Common tutorial
    1. Find or redownload the TGZ file for your current ROM or other rom.
    2. Browse inside the zip file and find boot.img under the images folder
    3. Copy this file to a temporary location in your PC first, and then transfer it to your phone
    4. Install the desired version of Magisk app (V23?)
    5. Run the app and choose Install under Magisk
    6. Choose Select and Patch a File, then select the boot.img that was transferred earlier
    7. A process will run and create a new .img file in the same folder where the original one was
    8. Transfer the new file to your PC in the same directory where fastboot.exe is located
    9. Open a command prompt window in that same directory
    10. Reboot your phone to fastboot mode and connect to PC, USB2.0 port. Check for connection by running command fastboot devices.
    11. Run the command fastboot flash boot_ab magiskXXXX.img

    Once it's completed, run command fastboot reboot and the phone should boot and be rooted.
    1
    I guess it is in the Fastboot rom or a command and root for what no rom or twrp currently available.
    If it is to delete apps there are many tools or with ADB commands.
    I need android auto to work, this china version doesnt have android auto :(

    So yea, need use magisk to install that android auto module.