Hi,
to root Xiaomi 11T Pro. You have 3 Steps.
1. Aktivate developer options
https://www.hardreset.info/de/devices/xiaomi/xiaomi-mi-11/entwickler-optionen/
2. unlock your Phone
Inside the options of developer options
3. install new rom.
https://www.chinahandys.net/xiaomi-eu-fastboot-anleitung/
Perhaps say many guys of you thats no realy root? So i would be happy. If somebody of you could confirm with better steps? Greatest trouble was for me step 3. To get an ROM. Becaus many downloads didn´t work on Xiaomi-HPG´s.
Hope i could help somebody. And be interested for your infos.
greets
Here you have inscrution:
FILES
1. Activate Devleoper Settings (Phone)
2. Download Minimal ADB and FASTBOOT (PC)
3. Download MiUnlock (pc)
4. Download MIUI ROM for your device (pc)
5. Extract Boot.img from ROM
6. Copy Boot.img to your Phone, install Magisk app and Patch your boot.img
(Click Install in Magisk -> Check Recvery Mode if u have RamDisk: No, uncheck if u have RamDisk Yes, click NEXT choose your boot.img file and click START, LETS GO after Patching copy magisk_patched.img to your PC)
BOOTLOADER1. Extract files from MI UNLOCK
2. Toggle ON - Debugging USB, OEM UNLOCK.
3. Reboot phone to Fastboot mode.
4. Open MiUnlock.exe
5. Login to same Acount what u have on PHONE.
6. Connect to PC and Click: Unlock.
ROOT1. Turn ON Debugging USB
2. Open Minimal ADB And Fastboot.
3. type adb reboot bootloader
4. Now type: fastboot flash boot /path/to/magisk_patched.img
5. fastboot reboot
U have now root
ADB MINIMAL FASTBOOT: https://forum.xda-developers.com/t/tool-minimal-adb-and-fastboot-2-9-18.2317790/
MiUnlock: https://www.miui.com/unlock/index_en.html
ROM: https://c.mi.com/global/miuidownload/
MAGISK: https://github.com/topjohnwu/Magisk/releases/
Succesfully rooted my phone with patched boot.img via magisk. Works great
@TS8508 I've changed this thread to a "How To Guide" instead of the default "Question". Also, note that there are already several other How To Guides in this section for rooting.
Trevorek said:
Here you have inscrution:
FILES
1. Activate Devleoper Settings (Phone)
2. Download Minimal ADB and FASTBOOT (PC)
3. Download MiUnlock (pc)
4. Download MIUI ROM for your device (pc)
5. Extract Boot.img from ROM
6. Copy Boot.img to your Phone, install Magisk app and Patch your boot.img
(Click Install in Magisk -> Check Recvery Mode if u have RamDisk: No, uncheck if u have RamDisk Yes, click NEXT choose your boot.img file and click START, LETS GO after Patching copy magisk_patched.img to your PC)
BOOTLOADER1. Extract files from MI UNLOCK
2. Toggle ON - Debugging USB, OEM UNLOCK.
3. Reboot phone to Fastboot mode.
4. Open MiUnlock.exe
5. Login to same Acount what u have on PHONE.
6. Connect to PC and Click: Unlock.
ROOT1. Turn ON Debugging USB
2. Open Minimal ADB And Fastboot.
3. type adb reboot bootloader
4. Now type: fastboot flash boot /path/to/magisk_patched.img
5. fastboot reboot
U have now root
ADB MINIMAL FASTBOOT: https://forum.xda-developers.com/t/tool-minimal-adb-and-fastboot-2-9-18.2317790/
MiUnlock: https://www.miui.com/unlock/index_en.html
ROM: https://c.mi.com/global/miuidownload/
MAGISK: https://github.com/topjohnwu/Magisk/releases/
Click to expand...
Click to collapse
It hooks at the position of the patched file from magisk at point 6.
With my unrooted phone i can not lokat the file. It calls path:
/storage/emulated/0/download
I open my folder download, but theres not the file. What can be that i can till now not see the file?
TS8508 said:
It hooks at the position of the patched file from magisk at point 6.
With my unrooted phone i can not lokat the file. It calls path:
/storage/emulated/0/download
I open my folder download, but theres not the file. What can be that i can till now not see the file?
Click to expand...
Click to collapse
Try copy magisk_patched.img to other Folder if u still dont see it, check if you can see it on your phone if Yes but still no on PC you can Upload this file to Google Drive and download on pc
Trevorek said:
Try copy magisk_patched.img to other Folder if u still dont see it, check if you can see it on your phone if Yes but still no on PC you can Upload this file to Google Drive and download on pc
Click to expand...
Click to collapse
Mit der FX-Explorer App auf dem Handy kann ich die Datei finden. Und damit ist der Upload auf Google-Drive am Arbeitsplatz.
great thx
Mod Edit: English Translation Below
I can find the file using the FX Explorer app on my phone. And that completes the upload to Google Drive at work.
great thx
Trevorek said:
Here you have inscrution:
FILES
1. Activate Devleoper Settings (Phone)
2. Download Minimal ADB and FASTBOOT (PC)
3. Download MiUnlock (pc)
4. Download MIUI ROM for your device (pc)
5. Extract Boot.img from ROM
6. Copy Boot.img to your Phone, install Magisk app and Patch your boot.img
(Click Install in Magisk -> Check Recvery ModeYes, click NEXT choose your boot.img file and click START, LETS GO after Patching copy magisk_patched.img to your PC)
BOOTLOADER1. Extract files from MI UNLOCK
2. Toggle ON - Debugging USB, OEM UNLOCK.
3. Reboot phone to Fastboot mode.
4. Open MiUnlock.exe
5. Login to same Acount what u have on PHONE.
6. Connect to PC and Click: Unlock.
ROOT1. Turn ON Debugging USB
2. Open Minimal ADB And Fastboot.
3. type adb reboot bootloader
4. Now type: fastboot flash boot /path/to/magisk_patched.img
5. fastboot reboot
U have now root
ADB MINIMAL FASTBOOT: https://forum.xda-developers.com/t/tool-minimal-adb-and-fastboot-2-9-18.2317790/
MiUnlock: https://www.miui.com/unlock/index_en.html
ROM: https://c.mi.com/global/miuidownload/
MAGISK: https://github.com/topjohnwu/Magisk/releases/
Click to expand...
Click to collapse
Hi Trevorek,
what is the mistake of my code? I tried to start the root. But i get informations from ADB_Fastboot_tool.
First commando works. adb reboot bootloader
Xiaomi starts till to fastboot mode. But with the comand for flashing, theres any typing mistake i belief? Perhaps no backslash "\"??? or non Comand "C:"??? Could you correct for my this path?
The Text from adb fastboot tool i made:
- "C:\Program Files\manuel_Installiert\Xiaomi\ADBFastboot>adb reboot bootloader
C:\Program Files\manuel_Installiert\Xiaomi\ADBFastboot>fastboot flash boot/C:\Program Files\manuel_Installiert\Xiaomi\Magisk\erstellte Patch Datei\magisk_patched-24300_0UIMy.img
error: cannot load 'Files\manuel_Installiert\Xiaomi\Magisk\erstellte': No such file or directory
C:\Program Files\manuel_Installiert\Xiaomi\ADBFastboot>Fastboot flash boot\Magisk\erstellte Patch Datei\magisk_patched-24300_0UIMy.img
error: cannot load 'Patch': No such file or directory
C:\Program Files\manuel_Installiert\Xiaomi\ADBFastboot>"
Complete Filepath is:
"C:\Program Files\manuel_Installiert\Xiaomi\Magisk\erstellte Patch Datei\magisk_patched-24300_0UIMy.img"
Thanks for support!
TS8508 said:
Hi Trevorek,
what is the mistake of my code? I tried to start the root. But i get informations from ADB_Fastboot_tool.
First commando works. adb reboot bootloader
Xiaomi starts till to fastboot mode. But with the comand for flashing, theres any typing mistake i belief? Perhaps no backslash "\"??? or non Comand "C:"??? Could you correct for my this path?
The Text from adb fastboot tool i made:
- "C:\Program Files\manuel_Installiert\Xiaomi\ADBFastboot>adb reboot bootloader
C:\Program Files\manuel_Installiert\Xiaomi\ADBFastboot>fastboot flash boot/C:\Program Files\manuel_Installiert\Xiaomi\Magisk\erstellte Patch Datei\magisk_patched-24300_0UIMy.img
error: cannot load 'Files\manuel_Installiert\Xiaomi\Magisk\erstellte': No such file or directory
C:\Program Files\manuel_Installiert\Xiaomi\ADBFastboot>Fastboot flash boot\Magisk\erstellte Patch Datei\magisk_patched-24300_0UIMy.img
error: cannot load 'Patch': No such file or directory
C:\Program Files\manuel_Installiert\Xiaomi\ADBFastboot>"
Complete Filepath is:
"C:\Program Files\manuel_Installiert\Xiaomi\Magisk\erstellte Patch Datei\magisk_patched-24300_0UIMy.img"
Thanks for support!
Click to expand...
Click to collapse
Copy and Paste magisk_patched.img to Folder with ADB MINIMAL AND FASTBOOT - And type fastboot flash boot magisk-patched.img (Change magisk-patched.img to Your magisk-patched.img name)
TS8508 said:
Mit der FX-Explorer App auf dem Handy kann ich die Datei finden. Und damit ist der Upload auf Google-Drive am Arbeitsplatz.
great thx
Click to expand...
Click to collapse
Welcome to XDA,
English is the preferred language on the forums, but you can always use an online translator!
Related
Hi, I have heard a few of you have been getting error when Flashing a boot img recovery and fastboot.
Today I noticed the same thing to my device. I fixed it....
Here's how
1. Download This KDZ
Clockwork Recovery Rom.kdz
2. Download KDZ_UPD_En
From Here: KDZ_upd_fw_en
3. Extract the KDZ zip you downloaded and run KDZ_Updater.exe
4. In the dropdown menu's select 3GQPT and If your phone is running select DIAG
5. Open the clockwork recovery rom.kdz hit the open button and find it in your file directories.
6. Then Select Update now.
[TIPS] - If you are using a PC use the back ports of the PC
- If the update fails restart your PC and do steps 4 and 5 again.
- If your update doesn't finish and your phone doesn't work, keep trying again
Wait for it to finish
After it has finished.
1. Your phone may not boot if you came from a custom rom. Reboot into fastboot and type Command in CMD: (Make Sure you have fastboot and fastboot drivers installed) (My fastboot is in C:\Android
cd C:\Android
fastboot -w (wipe all data)
2. Download CWM recovery img from here
3. Rename the img to recovery.img that you just downloaded
4. Copy that to where your fastboot is setup. eg mine is in C:\android
5. Type commands: fastboot flash recovery recovery.img
6. Then type Fastboot reboot
Now reflash you rom and you should have no errors
airbus360 said:
Hi, I have heard a few of you have been getting error when Flashing a boot img recovery and fastboot.
Today I noticed the same thing to my device. I fixed it....
Here's how
1. Download This KDZ
Clockwork Recovery Rom.kdz
2. Download KDZ_UPD_En
From Here: KDZ_upd_fw_en
3. Extract the KDZ zip you downloaded and run KDZ_Updater.exe
4. In the dropdown menu's select 3GQPT and If your phone is running select DIAG
5. Open the clockwork recovery rom.kdz hit the open button and find it in your file directories.
6. Then Select Update now.
[TIPS] - If you are using a PC use the back ports of the PC
- If the update fails restart your PC and do steps 4 and 5 again.
- If your update doesn't finish and your phone doesn't work, keep trying again
Wait for it to finish
After it has finished.
1. Your phone may not boot if you came from a custom rom. Reboot into fastboot and type Command in CMD: (Make Sure you have fastboot and fastboot drivers installed) (My fastboot is in C:\Android
cd C:\Android
fastboot -w (wipe all data)
2. Download CWM recovery img from here
3. Rename the img to recovery.img that you just downloaded
4. Copy that to where your fastboot is setup. eg mine is in C:\android
5. Type commands: fastboot flash recovery recovery.img
6. Then type Fastboot reboot
Now reflash you rom and you should have no errors
Click to expand...
Click to collapse
You are the best!!!
Gonna try it out!!
I got a problem!!
Everytime i type fastbot (something)
it says fastboot is not a command!!
Any help???
I didn't try it now cause i am in the middle of
doing the battery tweak!!!
But before thats what it said!!
I typed fastboot -w
and it said it is not a command!!!
androidboss7 said:
You are the best!!!
Gonna try it out!!
I got a problem!!
Everytime i type fastbot (something)
it says fastboot is not a command!!
Any help???
I didn't try it now cause i am in the middle of
doing the battery tweak!!!
But before thats what it said!!
I typed fastboot -w
and it said it is not a command!!!
Click to expand...
Click to collapse
Have u got adb installed? if not go to android developers com and download it. Then change you directory to where u installed adb, example, put it in your c drive and type cd C:\android-sdk\sdk\tools >Enter>
then do the commands
airbus360 said:
Have u got adb installed? if not go to android developers com and download it. Then change you directory to where u installed adb, example, put it in your c drive and type cd C:\android-sdk\sdk\tools >Enter>
then do the commands
Click to expand...
Click to collapse
Thanks and I so have fastboot installed but maybe not sdk!!
Edit: i did your steps from 1-6 and now my phone is stuck on the android boot logo!!!!
Is this2.1 stock?? Also there is no mode called 3 GQPT!!
I followed all the instrutions and now my phone is stuck on the android logo!!!
Please help!!! (Its been quite a while)
Edit2: Sorry my fault i didn't do fastboot -w!!
It would be good if you wrote that on your post!!!
And i am thinking of staying on stock 2.1 !!!
Can not go to Recovery mode or Fast boot Mode or Boot up "Black Screen"
but still detect USB mode at PC (device manager)
Must conect to PC:
1.Download and install adb driver
2.Download and install Miphone Module (MiFlash Module)
3.Download Stock miui rom (Fastboot Rom not flashzip rom)
4.extract your fastboot miui download rom (extract file should be one image folder and some flash file.bat)
5.Copy MiFlash.exe from your instalation from step 2 to fastboot rom extract directory
6.Conect your phone to pc
7.Start MiFlash exe from extract directory
8.Browse Fastboot rom when you already extract before from MiFlash.exe Taskbar
9.Choose one method flash from bottom taskbar
10.And Click Flash...wait until 100% succesfull
11.Your Done
Note:Mode Flash All (All Data will erase)
Test under Xiaomi Mi4W
OS:Win.8.1 x64
Hope this is can help
My Regard
Dona55 said:
Can not go to Recovery mode or Fast boot Mode or Boot up "Black Screen"
but still detect USB mode at PC (device manager)
Must conect to PC:
1.Download and install adb driver
2.Download and install Miphone Module (MiFlash Module)
3.Download Stock miui rom (Fastboot Rom not flashzip rom)
4.extract your fastboot miui download rom (extract file should be one image folder and some flash file.bat)
5.Copy MiFlash.exe from your instalation from step 2 to fastboot rom extract directory
6.Conect your phone to pc
7.Start MiFlash exe from extract directory
8.Browse Fastboot rom when you already extract before from MiFlash.exe Taskbar
9.Choose one method flash from bottom taskbar
10.And Click Flash...wait until 100% succesfull
11.Your Done
Note:Mode Flash All (All Data will erase)
Test under Xiaomi Mi4W
OS:Win.8.1 x64
Hope this is can help
My Regard
Click to expand...
Click to collapse
i have tried this method but somehow my phone is still in bootloops. i cant access recovery but fastboot is still possible on the MI 3
bnambiar1997 said:
i have tried this method but somehow my phone is still in bootloops. i cant access recovery but fastboot is still possible on the MI 3
Click to expand...
Click to collapse
bootloops it is ROM Problem maybe You have FLASH with the wrong ROM...
If Success with the right ROM, it is should be Done/Fine, and can not access Recovery Mode Perhaps your Volume Up Button has Broken....
My Regard
bnambiar1997 said:
i have tried this method but somehow my phone is still in bootloops. i cant access recovery but fastboot is still possible on the MI 3
Click to expand...
Click to collapse
Your issue resolved? If not and you don't have recovery then get the latest TWRP recovery and rename it to recovery so the file would be "recovery.img" and put it inside the folder where you have fastboot.exe file.
Now connect your phone to Windows PC and in the same fastboot folder open command prompt (Shift + Right click > then you will see "open command window here" - click on it).
Now type : fastboot devices + enter. If you can see an entry then enter the next command as below
fastboot boot recover.img - This will format the recovery partition with the TWRP and also boot into recovery.
Now you can flash ROM as you want.
Please hit the Thanks button below, if I have helped.
last day i accidentally delete the os of my honor 4x..does somebody know how to install new os and where to download a new one?
jdaryl04E19 said:
last day i accidentally delete the os of my honor 4x..does somebody know how to install new os and where to download a new one?
Click to expand...
Click to collapse
hmm...model code?
and your device is unlocked bootloader?
Giannhs Togias said:
hmm...model code?
and your device is unlocked bootloader?
Click to expand...
Click to collapse
Che2-L11....yes it is unlocked, it was accidentally deleted using TWRP.
is it still possible to make it work again?
thank you in advance.
jdaryl04E19 said:
Che2-L11....yes it is unlocked, it was accidentally deleted using TWRP.
is it still possible to make it work again?
thank you in advance.
Click to expand...
Click to collapse
Step1: Download the ROM Package from the link
http://consumer.huawei.com/jo/support/downloads/detail/index.htm?id=87523
Step2: Extract using Winrar. (Inside dload folder you will find Update.app file)
Step3: Download Huawei Update extractor
https://forum.xda-developers.com/showthread.php?t=2433454
Step4:: Now Run the huawei update extractor and point to the update.app file.
Now the contents of the update.app file will be displayed.
Select the Boot.img,recovery.img and System.img alone and select extract by rightclicking it.
Step5: You need the adb tool kit.
https://drive.google.com/file/d/0B8C...R3c/view?pli=1
Step6: Install and configure the Adb (yes all)
Step7: Copy the extracted recovery.img,system.img and boot.img to the adb root folder which should be in c:\adb\.
Step8: Open fastboot (connect the device to usb and press vol down) + open adb (shift+right click and select to open cmd here)
And now type in cmd:
1. "fastboot devices" -Displays some id of your device which makes sure your device is connected.
2. "fastboot flash recovery recovery.img" - Flashes stock recovery
3. "fastboot flash system system.img" - Replaces your custom rom with stock rom
4. "fastboot flash boot boot.img" - Flashes boot partition which is need to boot stock rom.
5. "fastboot reboot"
Step9: End restart your phone,open recovery and select "Wipe data/factory reset :laugh:
Giannhs Togias said:
Step1: Download the ROM Package from the link
http://consumer.huawei.com/jo/support/downloads/detail/index.htm?id=87523
Step2: Extract using Winrar. (Inside dload folder you will find Update.app file)
Step3: Download Huawei Update extractor
https://forum.xda-developers.com/showthread.php?t=2433454
Step4:: Now Run the huawei update extractor and point to the update.app file.
Now the contents of the update.app file will be displayed.
Select the Boot.img,recovery.img and System.img alone and select extract by rightclicking it.
Step5: You need the adb tool kit.
https://drive.google.com/file/d/0B8C...R3c/view?pli=1
Step6: Install and configure the Adb (yes all)
Step7: Copy the extracted recovery.img,system.img and boot.img to the adb root folder which should be in c:\adb\.
Step8: Open fastboot (connect the device to usb and press vol down) + open adb (shift+right click and select to open cmd here)
And now type in cmd:
1. "fastboot devices" -Displays some id of your device which makes sure your device is connected.
2. "fastboot flash recovery recovery.img" - Flashes stock recovery
3. "fastboot flash system system.img" - Replaces your custom rom with stock rom
4. "fastboot flash boot boot.img" - Flashes boot partition which is need to boot stock rom.
5. "fastboot reboot"
Step9: End restart your phone,open recovery and select "Wipe data/factory reset :laugh:
Click to expand...
Click to collapse
i was in the cmd and started to type the commands but it say that the "fastboot" is not recognized as an external or internal command, operable or batch file...
my phone is open in fastboot and rescue mode and "unlocked"
jdaryl04E19 said:
i was in the cmd and started to type the commands but it say that the "fastboot" is not recognized as an external or internal command, operable or batch file...
my phone is open in fastboot and rescue mode and "unlocked"
Click to expand...
Click to collapse
you need to download minimal adb and fastboot, and run the commands from it. or, you can do it the easy way. just put your update.app file inside /dload/ folder, and do the forced upgrade. if its not working, then fallback to fastboot method.
jdaryl04E19 said:
last day i accidentally delete the os of my honor 4x..does somebody know how to install new os and where to download a new one?
Click to expand...
Click to collapse
This method is propably easiest https://forum.xda-developers.com/honor-4x/how-to/install-emui-4-1-4x-4c-g-play-g-play-t3515702 It also has link to site that has firmwares.
keikari said:
This method is propably easiest https://forum.xda-developers.com/honor-4x/how-to/install-emui-4-1-4x-4c-g-play-g-play-t3515702 It also has link to site that has firmwares.
Click to expand...
Click to collapse
Thank you
Pre-requisite :
1.Unlocked Bootloader
2. Backup your data (Just in case you brick your device)
3. Download twrp.img and copy it into your computer.
4. Download and Copy flashable TWRP and Magisk zip into your device.
Steps:
1. Go to the twrp.img file location into your computer. "cmd" in path directory bar and hit "enter".
2. Reboot your device into fastboot mode and connect to your computer
3. Enter following command : fastboot devices (You can see your device listed over there)
4. Enter another command : fastboot boot twrp.img (Wait for a while and your device will boot into twrp)
5. Now flash the twrp flashable zip and reboot your device.
6. Now install magisk.zip to gain a root access.
Download all the files from : https://drive.google.com/drive/folders/1HTmBLWiAwrXzdjipsKu69VfWJcjaWAFC?usp=sharing
This is super! I can confirm it's working, but it broke the wifi and camera.. how did you do it without breaking them?
I'll download oos 10.3 zip and try again.
Update, nevermind, seemingly twrp is struggling with it's things.. maybe it is encryption, tho i seem to be un encrypted, not sure..
Anyway root was achieved for me with the magisk image modding method.
Just trying to get a confirmation if I wanted to start rooting my device should I wait or is this the model I need to use?
slimjimz81 said:
Just trying to get a confirmation if I wanted to start rooting my device should I wait or is this the model I need to use?
Click to expand...
Click to collapse
You must use the Boot.img corresponding to the rom and the code name of your device (ROSEMARY).
2 methods:
With the TWRP https://sourceforge.net/projects/recovery-for-xiaomi-devices/files/rosemary/
download Magisk app and rename it to Magisk.zip then flash it with TWRP.
or
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
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(*****command modified if necessary, A/B partitions).
Once it's completed, run command fastboot reboot and the phone should boot and be rooted.