Question Root Mi 11 Ultra

Search This thread

*justintime*

Senior Member
Dec 20, 2008
1,423
486
Xiaomi Mi 11
Xiaomi Mi 11 Ultra
Want to confirm before proceeding, I find this instruction.

I've already unlocked the bootloader, want to make sure it is safe to do so (won't brick etc)
You need to patch to boot image a and boot image b

As descriped here. This worked on my MI11
 

xreactx

Senior Member
Oct 2, 2014
231
131

Attachments

  • Screenshot_2021-04-23-23-35-02-787_com.joeykrim.rootcheck.jpg
    Screenshot_2021-04-23-23-35-02-787_com.joeykrim.rootcheck.jpg
    795.8 KB · Views: 517

xreactx

Senior Member
Oct 2, 2014
231
131
Caveat: I bricked my device like many others after unlocking the bootloader and flashing xiaomi.eu ROM. I had to have a authorized EDL account holder flash a factory ROM (in my case I had a China variant flashed with the Global ROM), after which I flashed xiaomi.eu latest stable ROM and then rooted it.
 
Caveat: I bricked my device like many others after unlocking the bootloader and flashing xiaomi.eu ROM. I had to have a authorized EDL account holder flash a factory ROM (in my case I had a China variant flashed with the Global ROM), after which I flashed xiaomi.eu latest stable ROM and then rooted it.
I still don't get, how you all bricked your phones? I was able to unlock (granted, after 7 days) successfully and update CN with EU-ROM... There's thread for it in this forum.

 
Last edited:

s3axel

Senior Member
Mar 4, 2013
754
481
Samsung Galaxy S23 Ultra
Oh thanks, mate. I missed that one.. :) :) :)

Now back to issue, does it work, rooting the device the way it is descibred on that page?
My pleasure ;)
And yes, I rooted my device this way although I took the "fastboot flash boot_ab" approach instead of the separate flashing of a and b.

For updating the ROM I took the boot image before installing, patched it with Magisk, copied it back to the images installation folder and let the update script do its magic - thus I got instant-root for the update...
 
My pleasure ;)
And yes, I rooted my device this way although I took the "fastboot flash boot_ab" approach instead of the separate flashing of a and b.

For updating the ROM I took the boot image before installing, patched it with Magisk, copied it back to the images installation folder and let the update script do its magic - thus I got instant-root for the update...
well, i just rooted it according to the site's instructions.. it booted up, BUT the Safety-Net-Check was negative... Did i miss something?
 

xreactx

Senior Member
Oct 2, 2014
231
131
My pleasure ;)
And yes, I rooted my device this way although I took the "fastboot flash boot_ab" approach instead of the separate flashing of a and b.

For updating the ROM I took the boot image before installing, patched it with Magisk, copied it back to the images installation folder and let the update script do its magic - thus I got instant-root for the update...
I flashed it separately on the second attempt for 12.5.3. The first time I tried flashing the patched boot.img I was greeted with an error.
 

misiek735

Senior Member
Mar 9, 2018
69
20
Hi! I have the latest xiaomi eu weekly installed (21.6.23) as well as unofficial twrp.
I would like to root the phone with magisk, but I don't understand a few things.

Magisk manager require patching the boot.img file from the zip firmware.
I can not just simply install magisk zip file in twrp to root mi11 ultra?

If not, I understand that I have to patch the boot.img- but do I have to do it every time I want to install update of the latest xiaomi.eu firmware?

The second question is about data.
Am I loosing the data by rooting the device by this method?

EDIT:
Ok, I managed. So those are the steps that I did:

I unpacked the boot.img from the xiaomi.eu firmware in my phone. Then I patched the file, and copy this file to the adb installation folder of my pc.
Later it's easy- usb debugging needs to be active in developer options, then connect your phone by the cable to your pc, accept usb debugging in your phone, start CMD in the adb folder in your pc and write the command:

fastboot flash boot_ab nameofthefilewhatmagiskgenerated.img

then
fastboot reboot

And done, root works. Data are untouched.
 
Last edited:

xNAPx

Senior Member
Sep 26, 2010
1,338
241
Also I'm on official EEA firmware, with original stock recovery, so doesn't matter what rom you use. On xiaomi EU you don't even need adb because you already have twrp injected
 

Afg Playa

Senior Member
Aug 29, 2017
69
12
Is there anything to worry about when you update the phone while having root access?

Is the following order right?
1) update Rom over twrp and delete dalvik&cache
2)flash magisk.zip again
3)boot into system

Right ?
I have the latest EU Rom 12.5.7...
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    I still don't get, how you all bricked your phones? I was able to unlock (granted, after 7 days) successfully and update CN with EU-ROM...
    Seems it was an issue with setting the active slot in the installation script. Solution is described here and since then it looks as if no more bricks occur :)
    1
    I did it easier, boot into twrp and flash magisk.zip done
    1
    how did you get twrp on your mi 11??? I cannot find a working method. I have Global ver
    To be more precise
    • Install minimal adb and fastboot on your PC
    • Download magisk.zip (on your phone) and save it in a directory of your choice
    • Download the right twrp for your device on your PC
    • Rename the twrp image into twrp.img (attention the .img must replace the extension of the file on windows and not be part of the name,so make sure you can read file extensions on windows first)
    • Put the twrp image into the adb folder
    • Activate usb debugging into developer options (to activate developer options tap 7/8 over MIUI version into system info)
    • Plug your phone into your PC
    • Go into your adb folder and run the cmd prompt as administrator by right clicking on "cmd-here"
    • You should now have a cmd prompt opened directly into your adb folder
    • Run now the command "adb devices" the daemon will start asking on your phone for granting authorization
    • Your phone should now be recognized on your adb
    • Now reboot your phone into fastboot (you can do it via adb with a command or do it manually by shutting down your phone and booting it pressing and holding your power button plus volume down until fastboot splash screen appears on your phone, you should hear a notification sound in Windows when this happens)
    • Run the command "fastboot devices" and make sure your device is listed
    • If yes now run the command "fastboot boot twrp.img"
    • Your phone now should automatically reboot into twrp
    • Upon booting twrp will ask for your screen lock password (if a pattern you need to draw it to allow permission to twrp to look into your directories)
    • Now you have to change your twrp ui language into English so tap on the 3rd button on the right-> then click on the globe icon on the top right and select english then apply
    • Now that you have your twrp in english go to wipe->manual wipe-> wipe art cache and dalvik
    • Now exit and go into system-> browse your directories to find your magisk.zip-> select magisk.zip and swipe right to flash -> wait for the installation process -> wipe cache and dalvik again by tapping on the bottom left button and then reboot into system.
    • Once booted into your phone again tap on magisk into your apps drawer and follow the recommended steps.
    • Once finished reboot your phone again
    • Congratulations you have now successfully rooted your phone