How To Guide Unlock Bootloader/Root Guide Xiaomi 11T Pro - EEA (RKDEUXM) - Xiaomi 11T Pro

Disclaimer:
UNLOCKING YOUR BOOTLOADER WILL ERASE EVERYTHING FROM THE PHONE, INCLUDING INTERNAL MEMORY
This guide will walk you through the process of Unlocking your bootloader & rooting your Xiaomi 11T Pro - EEA (RKDEUXM)
Prerequisites:
Backup all the files on phone as we will be resetting the phone to unlock the bootloader.
Install ADB and Fastboot Drivers from here (Select the latest)
Install drivers for Xiaomi 11T Pro
Download MiUnlock Tool
Download Xiaomi ADB/Fastboot Tools
Download patched boot.img for Xiaomi 11T Pro - Global (RKDEUXM)
- RKDEUXM - 12.5.16
- RKDEUXM - 12.5.13 / mirror
- RKDEUXM - 12.5.11
Unlocking the Bootloader:
Go to "About Phone" in Settings and keep tapping on MIUI Version until it shows "You are now a developer"
Navigate to "Additional Settings>Developer Options" and enable "OEM unlocking"
Make sure you have a Mi account and your sim is inserted. In Developer options, select "Add account". Now your Mi Account is linked with your Device.
On your PC, open MiUnlock Tool and login with the same Mi account you have used login to the tool.
Power off your phone and boot into fastboot mode by long pressing the power button + volume down button.
Connect your phone to your PC and click refresh in the MiUnlock Tool
After clicking unlock, it will give your a wait duration. (Generally 168 hours, there's no known way to bypass this wait time) You can continue to use your phone meanwhile, but remember to backup before clicking unlock after your wait time is complete.
After your wait is complete, click unlock and then click reboot. Your phone will now reset and boot up.
YOUR WARRANTY IS NOW VOID!!!
Flashing patched boot.img to root your phone:
Plug the phone to the computer via USB-cable
Turn phone off and go to fastboot
Now at ABD/Fastboot tools, change the tab to Fastboot.
Press Select image and find where you saved my pre-patched boot.img
Change partition to /boot
Press Boot to image and test that it boot correctly.
Turn off phone and go to fastboot mode again
Now press Flash image and you should have fully working magisk. You need to install Magisk Manager, you can do it straight from apps drawer, there should be icon for that.
HUGE THANKS TO:
gaspolo, Tumeez, nousernamesorry

Hello @dlazycoder
I have to fix one thing. My patched boot.img for Xiaomi 11T Pro is only for EEA (Europe & East Asia). It's not for Global ROM and I didn't tested does it even work with Global ROM, because version numbers are different!
EEA = V12.5.13.0.RKDEUXM
Global = V12.5.7.0.RKDMIXM
EDIT: The guide should also mention with big characters that UNLOCKING YOUR BOOTLOADER WILL ERASE EVERYTHING FROM THE PHONE, INCLUDING INTERNAL MEMORY
I hope that you could fix that part from your guide.
- T

Is GPay working fine for you after root (/magisk)?

RKDEUXM is not global, it's EEA, for global it's RKDMIXM. It's best to just download the rom and extract boot.img from it yourself then patch it with magisk APK.

sushuguru said:
RKDEUXM is not global, it's EEA, for global it's RKDMIXM. It's best to just download the rom and extract boot.img from it yourself then patch it with magisk APK.
Click to expand...
Click to collapse
True, thats easy, but then the entire extraction process is so annoyingly complex. Thats the reason I personally posted a flashable boot.img so that inexperienced users could just flash and be on the go.
@dlazycoder , Please change the "global" mentioned in your post to "europe/EEA" other than that, the guide is very clear and easy!
Great job, we need the community for this phone needs to expand. Phone enthusiasts like us won't buy this phone if they realize there isn't much root/custom rom support for this on XDA. Vicious cycle.

Tumeez said:
Hello @dlazycoder
I have to fix one thing. My patched boot.img for Xiaomi 11T Pro is only for EEA (Europe & East Asia). It's not for Global ROM and I didn't tested does it even work with Global ROM, because version numbers are different!
EEA = V12.5.13.0.RKDEUXM
Global = V12.5.7.0.RKDMIXM
EDIT: The guide should also mention with big characters that UNLOCKING YOUR BOOTLOADER WILL ERASE EVERYTHING FROM THE PHONE, INCLUDING INTERNAL MEMORY
I hope that you could fix that part from your guide.
- T
Click to expand...
Click to collapse
sushuguru said:
RKDEUXM is not global, it's EEA, for global it's RKDMIXM. It's best to just download the rom and extract boot.img from it yourself then patch it with magisk APK.
Click to expand...
Click to collapse
nousernamesorry said:
True, thats easy, but then the entire extraction process is so annoyingly complex. Thats the reason I personally posted a flashable boot.img so that inexperienced users could just flash and be on the go.
@dlazycoder , Please change the "global" mentioned in your post to "europe/EEA" other than that, the guide is very clear and easy!
Great job, we need the community for this phone needs to expand. Phone enthusiasts like us won't buy this phone if they realize there isn't much root/custom rom support for this on XDA. Vicious cycle.
Click to expand...
Click to collapse
Corrections have been applied. Thanks!

Pre-Patched boot.img to 12.5.16.0.RKDEUXM (EEA ONLY)
boot.img
SHA-256: A6479CAF5AC0C44035AE5E452491F628D54A72F27D06CB45F557EEBCCF1222FD

Pre-Patched boot.img to 12.5.20.0.RKDEUXM (EEA ONLY)
boot.img
SHA-256: 203C66BA41740EDA86DA5A588CBBEDDA6D58083CAED0B64A7A22584E1BAE55FD

Pre-patched boot.img of 12.5.19.0 of RKDEUXM (Europe)
SHA256: 25c0962cb8f65d0d8e9f23bb4ec4de8a555d54e119dbd1968c5bbf68adc817a5
My phone doesn't give me access to 12.5.20.0

dlazycoder said:
Disclaimer:
UNLOCKING YOUR BOOTLOADER WILL ERASE EVERYTHING FROM THE PHONE, INCLUDING INTERNAL MEMORY
This guide will walk you through the process of Unlocking your bootloader & rooting your Xiaomi 11T Pro - EEA (RKDEUXM)
Prerequisites:
Backup all the files on phone as we will be resetting the phone to unlock the bootloader.
Install ADB and Fastboot Drivers from here (Select the latest)
Install drivers for Xiaomi 11T Pro
Download MiUnlock Tool
Download Xiaomi ADB/Fastboot Tools
Download patched boot.img for Xiaomi 11T Pro - Global (RKDEUXM)
- RKDEUXM - 12.5.16
- RKDEUXM - 12.5.13 / mirror
- RKDEUXM - 12.5.11
Unlocking the Bootloader:
Go to "About Phone" in Settings and keep tapping on MIUI Version until it shows "You are now a developer"
Navigate to "Additional Settings>Developer Options" and enable "OEM unlocking"
Make sure you have a Mi account and your sim is inserted. In Developer options, select "Add account". Now your Mi Account is linked with your Device.
On your PC, open MiUnlock Tool and login with the same Mi account you have used login to the tool.
Power off your phone and boot into fastboot mode by long pressing the power button + volume down button.
Connect your phone to your PC and click refresh in the MiUnlock Tool
After clicking unlock, it will give your a wait duration. (Generally 168 hours, there's no known way to bypass this wait time) You can continue to use your phone meanwhile, but remember to backup before clicking unlock after your wait time is complete.
After your wait is complete, click unlock and then click reboot. Your phone will now reset and boot up.
YOUR WARRANTY IS NOW VOID!!!
Flashing patched boot.img to root your phone:
Plug the phone to the computer via USB-cable
Turn phone off and go to fastboot
Now at ABD/Fastboot tools, change the tab to Fastboot.
Press Select image and find where you saved my pre-patched boot.img
Change partition to /boot
Press Boot to image and test that it boot correctly.
Turn off phone and go to fastboot mode again
Now press Flash image and you should have fully working magisk. You need to install Magisk Manager, you can do it straight from apps drawer, there should be icon for that.
HUGE THANKS TO:
gaspolo, Tumeez, nousernamesorry
Click to expand...
Click to collapse
Help us to root xiaomi 11t (agate)

Hi
I have 12.5.19.0 of RKDEUXM (Europe). OEM unlocking is allow but I can't find "add account". Why ?
Thx
Edit :
I've found. In developer options, Mi Unlock status, follow the instructions and click on "add account and device".
Now I have to wait 168 hors

Is there a Mi Unlock tool for Linux?

lethallunatic said:
Is there a Mi Unlock tool for Linux?
Click to expand...
Click to collapse
Check this

Related

Chinese Mi8 to Global Instructions

So you bought a shiny new Chinese model, and want to convert to Global or EU version?
I had bought the Chinese version also, and couldn't find a solid method for converting to the Global or EU ROMs. I was worried i would brick my device like so many others! After finding bits and pieces in lots and lots of xda threads, MIUI forums, and finding some mis-information, i decided to put a working method all in one place!
**WARNING***
I am NOT responsible for anything that goes wrong or you have issues with the information i have provided, it worked for me and proceed at your own risk!
FIRST
Unlock your bootloader locked Chinese version phone! (It's a LONG wait)
see official unlock page here-->http://en.miui.com/thread-246705-1-1.html
After Bootloader Unlock
1.) Download TWRP from the page here-->https://forum.xda-developers.com/mi-8/development/recovery-twrp-3-2-3-0-mi-8-t3837745
-- RENAME YOUR DOWNLOADED RECOVERY FILE TO "recovery.img"
2.) Download the DM Verity Disabler here-->https://androidfilehost.com/?fid=3700668719832238534
3.) Download the Region Fix here-->https://www.androidfilehost.com/?fid=1322778262904000068
4.) Download a Global ROM / EU ROM of your choice!
Installing the TWRP Recovery:
Make sure you have a working copy of FASTBOOT on your computer compatible with Mi8 (I used the one in the directory from the Bootloader UNLOCK program)
1.) Copy all of your downloaded files to the Bootloader Unlocker main directory (or a directory with the Fastboot.exe file)
2.) Open a DOS shell prompt on your computer and change the directory to the Bootloader Unlock directory (or Fastboot.exe directory)
3.) Put your phone in to Fastboot Mode (Turn on phone and hold the Volume Down while also holding Power Button)
4.) Connect your phone via USB cable to your computer
5.) In your DOS shell prompt enter this between the quotes "fastboot.exe boot recovery.img"
6.) After your phone boots up with the TWRP, copy the recovery.img file to the main directory of your SDCard
(Your recovery should allow you to open your phones internal storage on your computer)
7.) Install from the TWRP recovery menu (choose IMG file on bottom right, and select the recovery.img from your storage, and choose the Recovery partition to flash to)
8.) After successful TWRP flashing to your recovery partition, Reboot to RECOVERY
Preparing & Flashing Your Downloaded ROM:
1.) Format your data (must be done from the wipe directory where you have to type the word "yes")
2.) after the format, once again reboot to your RECOVERY
3.) Copy your chosen ROM zip file, recovery.img file, Region Fix file, and DM Verity disabler file to your internal phone storage
4.) Install your chosen ROM (flash through TWRP)
5.) Flash your recovery.img file again! (choose IMG file on bottom right of screen, and select the recovery.img from your storage, and choose the Recovery partition to flash to)
6.) Flash the Region Fix file
** Optional of flashing Magisk (v17.1) now if you want **
7.) Flash the DM Verity disabler file
8.) Format DATA again (this removes all of your file from internal storage, so copy them back if you want after the format is done)
9.) Reboot to SYSTEM and Enjoy!
Some steps may be redundant or not needed, however -i spent countless hours in bootloops, reflashes, testing. This method works, and is what i follow every new ROM i install. I am now on the latest Miui10.8.9.6 Global.
Additional Notes:
DON'T downgrade versions of ROMs (ex, miui10 to 9, or miui9 to 8) Anti-Rollback isn't enabled to brick yet (it's only "1")
If you don't flash the Region fix on a Chinese phone, it will constantly reboot, during initial rom setup or won't even make it that far (wish i knew this before, it would have saved me many hours in bootloops)
If you want to STAY on Chinese rom versions with the bootloader locked, you CAN flash miui Chinese developer edition (ex miui10.8.30) using the internal software updater without issues (i did this while waiting for unlocking delay).
Placeholder
Holding
Great job ! A good idea for us
Thanks a lot.
I finally could install miui.eu.
Unfortunately i flash magisk but it doesn't root my phone.
Two questions:
First do i just have to flash magisk and dm verity after?
Then for flash another rom do i have to do all the steps again?
Adeline
Envoyé de mon ONEPLUS A3003 en utilisant Tapatalk
bidouille1 said:
Thanks a lot.
I finally could install miui.eu.
Unfortunately i flash magisk but it doesn't root my phone.
Two questions:
First do i just have to flash magisk and dm verity after?
Then for flash another rom do i have to do all the steps again?
Adeline
Envoyé de mon ONEPLUS A3003 en utilisant Tapatalk
Click to expand...
Click to collapse
Yes, you have to flash dm verity after magisk. After you are booted, if magisk is installed did you try to update magisk from the app? It worked on global ROM for me.
I would forward all steps again, but up to you. If you report back a shorter method that works j can modify instructions.
I am also working on a fix for the Chinese region that keeps coming back with reboot. I know what needs done, and have fixed mine, i just need to modify the region fix zip.
Agimax said:
Yes, you have to flash dm verity after magisk. After you are booted, if magisk is installed did you try to update magisk from the app? It worked on global ROM for me.
I would forward all steps again, but up to you. If you report back a shorter method that works j can modify instructions.
I am also working on a fix for the Chinese region that keeps coming back with reboot. I know what needs done, and have fixed mine, i just need to modify the region fix zip.
Click to expand...
Click to collapse
I flash again magisk and it works.
Thanks for all
Envoyé de mon MI 8 en utilisant Tapatalk
Thanks for this as it really saves time reading bits of information. I took time to change the ROM as I didn't want to brick my phone. Some knowledgeable people on here will even be annoyed if you ask for clarifications and tell you to read! I basically followed most of the steps mentioned.
Hi,
Can I relock bootloader after change from chinese to global version?
johnny1836 said:
Hi,
Can I relock bootloader after change from chinese to global version?
Click to expand...
Click to collapse
Unfortunately, Xiaomi made a stupid rule, which is that you can't lock global roms with chinese phones. Starting with Mi 8.
Is this goin to work for phones already unlocked by seller account? Is it possible to use my account after this procedure?
@HugoYe
I thought it is solution for lock after flash CN -> Global.
@johnny1836
What do you exactly mean by fixing the problem. I'm still trying to find a solution for this. Keeping the BL open is really bothering me, as I am using the Official Global rom.
Any trick to not wait 720 hours for unlock?
ricksmad said:
Any trick to not wait 720 hours for unlock?
Click to expand...
Click to collapse
Flashing the Developer Chinese ROM took my wait down to 340 hours while i was locked.......
Agimax said:
Flashing the Developer Chinese ROM took my wait down to 340 hours while i was locked.......
Click to expand...
Click to collapse
Do you have a link? Thanks
Sent from my MI 8 using Tapatalk
ricksmad said:
Do you have a link? Thanks
Sent from my MI 8 using Tapatalk
Click to expand...
Click to collapse
I just used the official Chinese ROM link, back then it was miui10 8.8.30 and let the updater in the phone do it.
here is the official CHINESE DEVELOPER BETA of Miui10 8.8.31-->http://bigota.d.miui.com/8.8.31/miui_MI8_8.8.31_b99e4f5263_8.1.zip
http://bigota.d.miui.com/8.9.6/miui_MI8_8.9.6_2e668ca434_9.0.zip
This one?
Sent from my MI 8 using Tapatalk
ricksmad said:
http://bigota.d.miui.com/8.9.6/miui_MI8_8.9.6_2e668ca434_9.0.zip
This one?
Sent from my MI 8 using Tapatalk
Click to expand...
Click to collapse
no, that is a 9.0 beta, i wouldn't touch that one right now. I edited my post above with 8.8.31 ---still 8.1 based.
@Agimax So with your step I can't lock Chinese mi8 variant with global stable or dev rom ?

Help me flash LOS17

Hey,
So I am new to this and I want to make sure I don't break anything.
I have the Mi 9T Pro with MIUI Global 10.3.3.0 (PFKMIXM). I am not sure if its the Global or the EEA Version (?) How can I see?
I did not yet get an option to update to MIUI11 unlike many others either. I did unlock my bootloader.
What steps in which order do I have to take to get LOS17? I also want to have root and TWRP.
Can someone guide me through this step by step? Would really appreciate.
The "instructions" in the LOS17 thread are pretty minimal and not very detailed.
KuroRyu said:
Hey,
So I am new to this and I want to make sure I don't break anything.
I have the Mi 9T Pro with MIUI Global 10.3.3.0 (PFKMIXM). I am not sure if its the Global or the EEA Version (?) How can I see?
I did not yet get an option to update to MIUI11 unlike many others either. I did unlock my bootloader.
What steps in which order do I have to take to get LOS17? I also want to have root and TWRP.
Can someone guide me through this step by step? Would really appreciate.
The "instructions" in the LOS17 thread are pretty minimal and not very detailed.
Click to expand...
Click to collapse
The ROM is global, so I assume the phone is too. In PFKMIXM look at characters 4 & 5. MI = global. For EEA these would be EU (CN = China, IN = India).
I don't think MIUI 11 has been released for the global ROM. AFAIK this week was only the European ROM that got updated to 11.
To install LOS you would need to install MIUI 11 firmware & vendor first (these can be flashed on there own or you could install a fastboot MIUI 11 ROM)
The LOS 17 OP recommends keeping these as the original region of the phone. In this case you will need to wait until global MIUI 11 arrives.
However, you would, in all probability, have no issues if you went with European MIUI 11 ROM/firmware instead.
The decision is yours, if you want to keep things 'proper' then wait for global MIUI 11 before proceeding. If you're happy to go with EU firmware then we can give you an overview of the process.
Robbo.5000 said:
The ROM is global, so I assume the phone is too. In PFKMIXM look at characters 4 & 5. MI = global. For EEA these would be EU (CN = China, IN = India).
I don't think MIUI 11 has been released for the global ROM. AFAIK this week was only the European ROM that got updated to 11.
To install LOS you would need to install MIUI 11 firmware & vendor first (these can be flashed on there own or you could install a fastboot MIUI 11 ROM)
The LOS 17 OP recommends keeping these as the original region of the phone. In this case you will need to wait until global MIUI 11 arrives.
However, you would, in all probability, have no issues if you went with European MIUI 11 ROM/firmware instead.
The decision is yours, if you want to keep things 'proper' then wait for global MIUI 11 before proceeding. If you're happy to go with EU firmware then we can give you an overview of the process.
Click to expand...
Click to collapse
Thanks for the reply, very helpful.
Is there any information when MIUI 11 will be released for the global version?
Also can I already install TWRP? That should not have any effect on the ROM flashing process, right?
If so, how do I do this correctly for my current configuration?
KuroRyu said:
Thanks for the reply, very helpful.
Is there any information when MIUI 11 will be released for the global version?
Also can I already install TWRP? That should not have any effect on the ROM flashing process, right?
If so, how do I do this correctly for my current configuration?
Click to expand...
Click to collapse
I've not heard anything about the global release, but as someone that doesn't use MIUI I don't go looking for information, so there could be some info around. Apparently there's no noticeable difference between EU and global versions for this phone, so now the EU version is released I don't think it would be too long for the global version to appear, but that's pure guesswork.
You can install TWRP now, it requires adb and fastboot. If you don't have these on your PC then search the xda forums for 'minimal adb'. The official post will give you all the details. Ordinarily whenever you boot MIUI ithe system checks the integrity of the recovery partition and, if it has changed, it will restore stock recovery. Therefore immediately after installing TWRP you'll need to install Magisk, which will then automatically protect the TWRP installation.
Copy your Magisk installation file onto the phone
Boot the phone into fastboot mode and connect to the PC.
To make life easier, copy the TWRP image file to the same folder that has adb and fastboot and rename the file as TWRP.img
Open command prompt and navigate to the adb/fastboot installation folder.
Code:
fastboot flash recovery TWRP.img
If you're using PowerShell then you'll need to qualify the location of fastboot and TWRP
Code:
.\fastboot flash recovery .\TWRP.img
When that's finished and still in fastboot mode.
Press and hold the vol+ and power buttons.
Keep holding both until the phone vibrates and the initial splash screen appears.
Release the power button, but keep holding vol+ for a second or 2.
You should now have booted into TWRP if everything went OK.
Go to install and select the Magisk installation file on the phone.
Confirm the selection.
Once that's finished you can reboot the phone.
If all's OK you should now have TWRP and Magisk installed.
Robbo.5000 said:
I've not heard anything about the global release, but as someone that doesn't use MIUI I don't go looking for information, so there could be some info around. Apparently there's no noticeable difference between EU and global versions for this phone, so now the EU version is released I don't think it would be too long for the global version to appear, but that's pure guesswork.
You can install TWRP now, it requires adb and fastboot. If you don't have these on your PC then search the xda forums for 'minimal adb'. The official post will give you all the details. Ordinarily whenever you boot MIUI ithe system checks the integrity of the recovery partition and, if it has changed, it will restore stock recovery. Therefore immediately after installing TWRP you'll need to install Magisk, which will then automatically protect the TWRP installation.
Copy your Magisk installation file onto the phone
Boot the phone into fastboot mode and connect to the PC.
To make life easier, copy the TWRP image file to the same folder that has adb and fastboot and rename the file as TWRP.img
Open command prompt and navigate to the adb/fastboot installation folder.
Code:
fastboot flash recovery TWRP.img
If you're using PowerShell then you'll need to qualify the location of fastboot and TWRP
Code:
.\fastboot flash recovery .\TWRP.img
When that's finished and still in fastboot mode.
Press and hold the vol+ and power buttons.
Keep holding both until the phone vibrates and the initial splash screen appears.
Release the power button, but keep holding vol+ for a second or 2.
You should now have booted into TWRP if everything went OK.
Go to install and select the Magisk installation file on the phone.
Confirm the selection.
Once that's finished you can reboot the phone.
If all's OK you should now have TWRP and Magisk installed.
Click to expand...
Click to collapse
Alright. Thanks for the instructions, I will try this.
Just to make sure: Is this the correct TWRP image: TWRP 3.3.1-22 Unofficial by mauronofrio ?
Where can I find the correct magisk files for my device? Do I need magisk or magisk manager?
Would be sick if you could link me the correct ones
Cheers
KuroRyu said:
I've not heard anything about the global release, but as someone that doesn't use MIUI I don't go looking for information, so there could be some info around. Apparently there's no noticeable difference between EU and global versions for this phone, so now the EU version is released I don't think it would be too long for the global version to appear, but that's pure guesswork.
You can install TWRP now, it requires adb and fastboot. If you don't have these on your PC then search the xda forums for 'minimal adb'. The official post will give you all the details. Ordinarily whenever you boot MIUI ithe system checks the integrity of the recovery partition and, if it has changed, it will restore stock recovery. Therefore immediately after installing TWRP you'll need to install Magisk, which will then automatically protect the TWRP installation.
Copy your Magisk installation file onto the phone
Boot the phone into fastboot mode and connect to the PC.
To make life easier, copy the TWRP image file to the same folder that has adb and fastboot and rename the file as TWRP.img
Open command prompt and navigate to the adb/fastboot installation folder.
If you're using PowerShell then you'll need to qualify the location of fastboot and TWRP
Alright. Thanks for the instructions, I will try this.
Just to make sure: Is this the correct TWRP image: TWRP 3.3.1-22 Unofficial by mauronofrio ?
Where can I find the correct magisk files for my device? Do I need magisk or magisk manager?
Would be sick if you could link me the correct ones
Cheers
Click to expand...
Click to collapse
EDIT: JUST READ THAT THERE IS AN ISSUE WITH MAGISK 20.1 AND MIUI 11.
DOWNLOAD MAGISK 19.4
That is the correct TWRP.
Only ever get Magisk from here
https://github.com/topjohnwu/Magisk
There are no device specific versions, just one size fits all. Download the latest 20.1 Magisk installer zip to flash in TWRP. It will install Magisk and Magisk manager at the same time. Also download the uninstaller zip at the same time, just in case. If, for any reason, you need to uninstall then it's there ready.
If you need to know more about Magisk, follow the link on github to the xda official thread, it has very good information.

Question Root Mi 11 Ultra

Want to confirm before proceeding, I find this instruction.
How to Root Xiaomi Mi 11 Ultra and Unlock Bootloader
Want to root Xiaomi Mi 11 Ultra with Magisk? Here's how to root Mi 11 Ultra along with a guide to unlock bootloader.
www.ytechb.com
I've already unlocked the bootloader, want to make sure it is safe to do so (won't brick etc)
bump, anybody successfully rooted the phone?
linnil said:
Want to confirm before proceeding, I find this instruction.
How to Root Xiaomi Mi 11 Ultra and Unlock Bootloader
Want to root Xiaomi Mi 11 Ultra with Magisk? Here's how to root Mi 11 Ultra along with a guide to unlock bootloader.
www.ytechb.com
I've already unlocked the bootloader, want to make sure it is safe to do so (won't brick etc)
Click to expand...
Click to collapse
You need to patch to boot image a and boot image b
As descriped here. This worked on my MI11
https://www.getdroidtips.com/root-xiaomi-mi-11/
linnil said:
bump, anybody successfully rooted the phone?
Click to expand...
Click to collapse
Yes. I patched my boot.img with magisk, then flashed it using "fastboot flash boot_ab magisk_patched(boot.img file name).omg"
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.
does google pay still work after root?
xreactx said:
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.
Click to expand...
Click to collapse
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.
[ROM][MIUI][star/mars] Xiaomi.eu ROM for Xiaomi MI 11 Pro / Ultra
How to install Xiaomi.eu ROM for Xiaomi MI 11 Pro / Ultra We will release fastboot ROM versions until TWRP for star/mars is released TWRP RELEASED Steps to install xiaomi.eu ROM for first time from China ROM (All your data and files on...
forum.xda-developers.com
SanHelios said:
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...
Click to expand...
Click to collapse
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
s3axel said:
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
Click to expand...
Click to collapse
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?
SanHelios said:
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?
Click to expand...
Click to collapse
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...
s3axel said:
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...
Click to expand...
Click to collapse
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?
you n
SanHelios said:
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?
Click to expand...
Click to collapse
you need to hide Magisk Manager and also Magisk hide Google Play, Play services and Google Services Framework
s3axel said:
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...
Click to expand...
Click to collapse
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.
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.
I did it easier, boot into twrp and flash magisk.zip done
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
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...
Just take this bat with decrypted Star twrp 3.5.1
unzip and klick Install-Star.bat
fastboot boot star.img are the commands in there
xNAPx said:
I did it easier, boot into twrp and flash magisk.zip done
Click to expand...
Click to collapse
how did you get twrp on your mi 11??? I cannot find a working method. I have Global ver
ottjoshua said:
how did you get twrp on your mi 11??? I cannot find a working method. I have Global ver
Click to expand...
Click to collapse

Question [Solved] Mobile won't boot anymore ! :/

Hi guys, i just flashed (with a light wipe) the last rom for my Xiaomi Mi 11 Ultra (obtained on the update section of parameters) and i first lost all my config.
So, i decided to restore the backup i made just before flashing and here is the drama, it boot directly into TWRP and i can't seem to find my storage anymore (tried file manager)
TWRP also tells me that no OS is installed, please help, i'm desperate
I think the first step is to recover access to internal sdcard, and maybe then i can restore a backup
Thank you !
simply, Fastboot and install official rom using mi flash tool.
thats one of the penalties you'd pay of installing eu rom.
hassanaliyeh said:
simply, Fastboot and install official rom using mi flash tool.
thats one of the penalties you'd pay of installing eu rom.
Click to expand...
Click to collapse
Ok, will try this tomorrow, thank you !
Is it this one : https://www.xiaomiflash.com/ ?
Xiaomi Flash Tool - Official Mi Flash Tool
Download the latest and Official Xiaomi Flash Tool from the Official Xiaomi Flash Tool Website.
xiaomiflashtool.com
This is the official one. Use the newest version
hassanaliyeh said:
Xiaomi Flash Tool - Official Mi Flash Tool
Download the latest and Official Xiaomi Flash Tool from the Official Xiaomi Flash Tool Website.
xiaomiflashtool.com
This is the official one. Use the newest version
Click to expand...
Click to collapse
Thank you very much, sir !
Will try this and post the result, maybe with a little tuto if it's not already everywhere ^^
So, tried 5 times and not once a good result, the better i can obtain is 12.5.7.0 global working, flashed with xiaomitool. TWRP ok, and i will try Magisk next.
Every other tries solded by an sdcard/os/data loss T_T
That's a mystery. I ran on 12.5.17.0 all fine before this incident and i cannot get it work anymore :/
I obtained rom from https://androidfilehost.com/?w=files&flid=321331
TWRP from https://androidfilehost.com/?fid=14943124697586336381
Also tried this method again (this was my first method and it worked like a charm till this 12.5.20.0... )
[ROM][MIUI][star/mars] Xiaomi.eu ROM for Xiaomi MI 11 Pro / Ultra
How to install Xiaomi.eu ROM for Xiaomi MI 11 Pro / Ultra We will release fastboot ROM versions until TWRP for star/mars is released TWRP RELEASED Steps to install xiaomi.eu ROM for first time from China ROM (All your data and files on...
forum.xda-developers.com
The problem with global is it seems to be greatly outdated (patch from 2021.09, that's a huge security risk to be months backward nowadays, let aside bug correction, new functionnality, etc)
I can't seem to find a more recent global version (updater within settings tells me there's no more up to date version).
Do someone have an idea, please ? :/
What i'm doing :
1. put device on fastboot mode
2. launch xiaomitool and flash 12.5.7.0 global rom
3. reboot into fastboot
4. launch xiaomi unlock and unlock device
5. boot TWRP with fastboot boot twrp.img in cmd (command returned all ok)
6. into "soft" TWRP, One Key Inject TWRP
7. into "hard" TWRP > install and give it the .zip rom file
8. after the rom installed, all broken again :/
Hi,
there is no TWRP-ROM available for the Ultra - it's still in fastboot-ROM phase.
Flash via fastboot. Unlocking is just needed once until relocking with orig. ROM.
(Optionally) Copy boot.img from ROM-folder to phone.
Use Magisk to patch boot.img
Flash patched boot.img to boot_a and boot_b via fastboot.
Wait until TWRP-compatible-zip's for the Ultra to begin to appear.
cya
gammelobst said:
Hi,
there is no TWRP-ROM available for the Ultra - it's still in fastboot-ROM phase.
Flash via fastboot. Unlocking is just needed once until relocking with orig. ROM.
(Optionally) Copy boot.img from ROM-folder to phone.
Use Magisk to patch boot.img
Flash patched boot.img to boot_a and boot_b via fastboot.
Wait until TWRP-compatible-zip's for the Ultra to begin to appear.
cya
Click to expand...
Click to collapse
Thanks for that ! ^^
That sure seem a simple task
You're telling me that i can, from my 12.5.7.0 global, patch the boot.img (90mb) from the 12.5.20.0 eu with magisk, flash this with fastboot and that it will work ?
Seems too wonderfull to be true XD
EDIT:
My bad, you said "optionnally", not "alternatively"
So, i'm stuck here, i don't know and can't seem to find the fastboot cmd to install the xiaomi eu rom in .zip format
Do you know it please ?
In all the 11 Ultra A12 weekly EU ROMs, the format is fastboot only. Just extract the .zip file to a folder on your desktop, connect your phone in fastboot mode, power on and vol down and then click on the update bat file. If your coming from a different branch, click on the update and format bat file ( the bat files will be in the upper most extracted folder). It is a simple as that .
Sathelp said:
In all the 11 Ultra A12 weekly EU ROMs, the format is fastboot only. Just extract the .zip file to a folder on your desktop, connect your phone in fastboot mode, power on and vol down and then click on the update bat file. If your coming from a different branch, click on the update and format bat file ( the bat files will be in the upper most extracted folder). It is a simple as that .
Click to expand...
Click to collapse
Hi Sathelp !
An ultra big thank you !! The flash worked wonderfuly it seems
That's awesome how simple it is, in fact, and to say that i lost hours and hours without being able to approach this, i'm so noob :/
much kudos :x
I'm now on the way to root and finally, can reuse my mi11 ^^

How To Guide Install TWRP for Xiaomi 11T Pro

Perform this at your own risk. You might LOSE all data on your phone.
( I'm not responsible for any damage to your device )
//
Update: OrangeFox Recovery Project for Xiaomi 11T Pro (vili) with the same installation instructions.
Caution: this recovery is intended for use with MIUI vendors ONLY, even having the flashing capability of MiLahaina based system, do not try to boot it on MiLahaina ROMs, as the builds aren't compatible.
Bugs as for now:
- Vibrator
- MTP (adb works fine)
https://sourceforge.net/projects/chemuski1-stuff/files/Xiaomi 11T Pro/Recovery (MIUI vendor)/OrangeFox-Unofficial-vili.img/download
//
This guide will walk you through the process of installing TWRP on your Xiaomi 11T Pro.
READ THIS FIRST:
You may brick your device if you don't know what you are doing.
This might ERASE ALL YOUR DATA so do a BACKUP encase.
Your bootloader will be unlocked.
Prerequisites:
The bootloader must be unlocked. Click here for a tutorial.
Install ADB and Fastboot Drivers from here (Select the latest) --> https://androidmtk.com/download-minimal-adb-and-fastboot-tool )
Install drivers for Xiaomi 11T Pro --> https://droidfilehost.com/download/download-xiaomi-usb-driver-for-windows (For Windows Only!)
Download the TWRP Image for Xiaomi 11T Pro --> https://sourceforge.net/projects/recovery-for-xiaomi-devices/files/vili/
Installing TWRP:
Reboot the phone to fastboot (Power + Vol Down)
Connect the phone to the computer using an USB cable (Preferred to use original cable that came with the phone)
Extract the fastboot files and open CMD/Terminal there.
Paste the twrp.img in the same folder.
Type' fastboot boot twrp.img' without the apostrophes.
The phone will reboot in TWRP after that go to Advanced > Flash Current TWRP.
Done!
Note: Change twrp.img with the original file name example twrp-3.7-xxx.img.
Orignal Thread: https://forum.xda-developers.com/t/how-to-install-twrp-on-xiaomi-11t-pro.4350425/
Edit: The Recovery is now updated by skkk and is working on Android 12 without any problems just download it from the update link above
Good job!!
Thank youuu!
Edit: But everytime I open TWRP I need to put my pattern, why is that?
oh thanks, so i can flash EU rom through TWRP ???
Where is this twrp from, who made it. Information needed. Please share.
GeeyahnOfficial said:
Thank youuu!
Edit: But everytime I open TWRP I need to put my pattern, why is that?
Click to expand...
Click to collapse
Not 100% sure but it's probably because your device is encrypted which is the default behavior of miui when you setup your lockscreen method.
skcapk said:
oh thanks, so i can flash EU rom through TWRP ???
Click to expand...
Click to collapse
Not yet, we still don't have recovery rom yet, the current eu rom is for fastboot.
sushuguru said:
Not 100% sure but it's probably because your device is encrypted which is the default behavior of miui when you setup your lockscreen method.
Click to expand...
Click to collapse
How can I remove it? When I put my password it decrypt tho, should I keep it like that (keep putting password whenever I open twrp) or remove it? Which is better?
GeeyahnOfficial said:
How can I remove it? When I put my password it decrypt tho, should I keep it like that (keep putting password whenever I open twrp) or remove it? Which is better?
Click to expand...
Click to collapse
It is better to enter the password every time as this will enhance your security in case you lose your phone they won't find the password is decrypted therefore they can't access your data.
But still there is another way they might access your data and that if your bootloader is unlocked usually the best way to protect yourself is to leave the password in twrp and lock your bootloader.
Flashed Twrp Running smooth on Slot A Installing Magisk is making issue
Suggest how to fix this
djkrish5610 said:
Flashed Twrp Running smooth on Slot A Installing Magisk is making issue
Suggest how to fix this
Click to expand...
Click to collapse
What issues? Could you be more specific? I have both and I don't have any issues...
i have Tried as below:
Option1: Tried to boot Twrp after that go to Advanced > Flash Current TWRP > Done Magisk was missing so flashed Magisk from Twrp.
Not booting on system
Option2: Flashed TWRP on SLOT A & SLOT B and now messed up
This unofficial version of TWRP + Magisk root seems to cause network problems for me as the mobile connection dropped from 4G(LTE) to 2G(EDGE).
Using Magisk root without TWRP works like a charm.
Anyone else facing this issue?
I flashed the latest magisk on this TWRP and no problem facing.
TheRomFan said:
Perform this at your own risk. You might LOSE all data on your phone.
( I'm not responsible for any damage to your device )
This guide will walk you through the process of installing TWRP on your Xiaomi 11T Pro.
READ THIS FIRST:
You may brick your device if you don't know what you are doing.
This might ERASE ALL YOUR DATA so do a BACKUP encase.
Your bootloader will be unlocked.
Prerequisites:
The bootloader must be unlocked. Click here for a tutorial.
Install ADB and Fastboot Drivers from here (Select the latest) --> https://androidmtk.com/download-minimal-adb-and-fastboot-tool )
Install drivers for Xiaomi 11T Pro --> https://droidfilehost.com/download/download-xiaomi-usb-driver-for-windows (For Windows Only!)
Download the TWRP Image for Xiaomi 11T Pro --> https://sourceforge.net/projects/xi....6.0_11-0_LOCAL-20220203-01-vili.img/download.
Installing TWRP:
Reboot the phone to fastboot (Power + Vol Down)
Connect the phone to the computer using an USB cable (Preferred to use original cable that came with the phone)
Extract the fastboot files and open CMD/Terminal there.
Paste the twrp.img in the same folder.
Type' fastboot boot twrp.img' without the apostrophes.
The phone will reboot in TWRP after that go to Advanced > Flash Current TWRP.
Done!
Note: If you were using magisk, reflash it now
Orignal Thread: https://forum.xda-developers.com/t/how-to-install-twrp-on-xiaomi-11t-pro.4350425/
Click to expand...
Click to collapse
Greetings.
Amazing, however, I want to know whether this works for the Xiaomi 11T or not.
Jin_Vickaizer said:
Greetings.
Amazing, however, I want to know whether this works for the Xiaomi 11T or not.
Click to expand...
Click to collapse
It won't as it might brick your phone so make sure you install this in 11T Pro (vili) not 11T (agate)
Good morning, I use it with the 11t Pro, and no problem! great everything.
But now they updated to Android 12 and Miui 13, and it doesn't work anymore...
The developer will update the recovery to work on android 12??
First of all, thank you very much for the hard work you do.
Deleted
Hello,
So i flashed TWRP and it all worked fine but now I can't install any stock rom anymore. I always get the "Antirollback check error".
zLauch666 said:
Hello,
So i flashed TWRP and it all worked fine but now I can't install any stock rom anymore. I always get the "Antirollback check error".
Click to expand...
Click to collapse
Currently on which version of rom?
And you want to install?
NOSS8 said:
Currently on which version of rom?
And you want to install?
Click to expand...
Click to collapse
i got help from the discord server and here's what i did:
> launched TWRP > Advanced > ADB Sideload
> installed the newest platform-tools on my PC
> then flashed a recovery rom with version 12.5.10
>> NOTE: if it crashed at 47% - 49% that's fine, it's an ADB bug so 47 - 49 means 100%
> rebooted to system
after all that my devices was working again.

Categories

Resources