Mi 9 T Pro: Difference between revisions

From Edgar BV Wiki
Jump to navigation Jump to search
Created page with "Using MIUI 11 Global EU 11.0.3 / RAPHAEL Unlock Bootloader - NB this can take weeks! at [http://en.miui.com/ http://en.miui.com] =Recovery / bootloader mode= Recovery Mode..."
 
 
(5 intermediate revisions by the same user not shown)
Line 11: Line 11:
=Useful links=
=Useful links=


[https://forum.xda-developers.com/k20-pro?styleid=19 XDA Developer Forum page]
[https://forum.xda-developers.com/t/how-to-root-mi-9t-pro-k20-pro-when-on-miui-12.4131599/page-2#post-83253803 XDA Developer Forum Page]
 
[https://forum.xda-developers.com/k20-pro?styleid=19 XDA Developer Forum page for older rom]


[https://xiaomi.eu/community/threads/complete-newbies-guide-upgrading-mi-mix-2-from-china-rom-to-xiaomi-eu-rom.42099/ Complete Newbies Guide: Upgrading Mi Mix 2 From China Rom To Xiaomi.eu Rom]
[https://xiaomi.eu/community/threads/complete-newbies-guide-upgrading-mi-mix-2-from-china-rom-to-xiaomi-eu-rom.42099/ Complete Newbies Guide: Upgrading Mi Mix 2 From China Rom To Xiaomi.eu Rom]


[https://gathering.tweakers.net/forum/list_messages/1949030 [Xiaomi Mi 9T Pro / Redmi K20 Pro] Rooten & Custom roms]
[https://gathering.tweakers.net/forum/list_messages/1949030 [Xiaomi Mi 9T Pro / Redmi K20 Pro] Rooten & Custom roms]
[https://forum.xda-developers.com/apps/magisk/collection-magisk-modules-v2-t3575758 Collection of Magisk Modules v2]
[https://forum.xda-developers.com/apps/magisk XDA forum Magisk]


=Tools needed=
=Tools needed=
Install Magisk app
ADB / Fastboot
== depreciated ==


[https://github.com/topjohnwu/Magisk Magisk] - I used 20.4 zip
[https://github.com/topjohnwu/Magisk Magisk] - I used 20.4 zip


[https://forum.xda-developers.com/k20-pro/development/recovery-unofficial-twrp-xiaomi-redmi-t3944363 TWRP unofficial by mauronofrio] - I used 3.3.1-25. NOTE it can have a screen bug, when you have to fill in the pattern to decrypt. Turn off the display and turn it on again, or cancel the decryption and then mount /data later. You can then input the screen again
[https://forum.xda-developers.com/k20-pro/development/recovery-unofficial-twrp-xiaomi-redmi-t3944363 TWRP unofficial by mauronofrio] - I used 3.3.1-25. NOTE it can have a screen bug, when you have to fill in the pattern to decrypt. Turn off the display and turn it on again, or cancel the decryption and then mount /data later. You can then input the screen again
ADB / Fastboot


=Method=
=Method=
Line 32: Line 42:
   adb devices
   adb devices


== Install magisk app ==
And install the app
== Download your ROM file ==
[https://c.mi.com/oc/miuidownload/detail?device=1700361]
(note find the 9 T Pro ROM lower in the list)
Extract boot.img from this and copy to file
== Patch boot.img ==
copy the extracted boot.img (above) to the phone, run the magisk app and select the boot.img to patch under install Magisk in the app. Copy the patched .img file to the PC
== Reboot to fastboot mode ==
  adb reboot fastboot
== Flash the new image and reboot ==
  fastboot flash boot magisk_patched.img
Sending 'boot' (131072 KB)                        OKAY [  2.976s]
Writing 'boot'                                    OKAY [  0.729s]
Finished. Total time: 4.233s
  fastboot reboot
Rebooting                                          OKAY [  0.001s]
Finished. Total time: 0.003s
Note: if you decide to flash via TWRP You don't need to clear cache dalvik data etc if you're just rooting!
==verify==
Use checkroot from the play store to verify root. Grant it permissions when asked.
== Aftercare ==
See the [[Rooting]] guide to remove bloatware, add modules etc.
= Depreciated =
==Copy magisk zip==
==Copy magisk zip==
Copy it into the root directory
Copy it into the root directory

Latest revision as of 08:29, 9 November 2021

Using MIUI 11 Global EU 11.0.3 / RAPHAEL

Unlock Bootloader - NB this can take weeks! at http://en.miui.com

Recovery / bootloader mode

Recovery Mode keypress: power + volume up. When you see Mi logo at bootup, release power

Bootloader Mode keypress: power + volume down. When you see Mi logo at bootup, release power

Useful links

XDA Developer Forum Page

XDA Developer Forum page for older rom

Complete Newbies Guide: Upgrading Mi Mix 2 From China Rom To Xiaomi.eu Rom

[Xiaomi Mi 9T Pro / Redmi K20 Pro Rooten & Custom roms]

Collection of Magisk Modules v2

XDA forum Magisk

Tools needed

Install Magisk app

ADB / Fastboot

depreciated

Magisk - I used 20.4 zip

TWRP unofficial by mauronofrio - I used 3.3.1-25. NOTE it can have a screen bug, when you have to fill in the pattern to decrypt. Turn off the display and turn it on again, or cancel the decryption and then mount /data later. You can then input the screen again

Method

Enable USB debugging

by going to settings -> about phone -> pressing on miui version lots of times. Then go to settings -> Additional settings -> developer options -> enable USB Debugging

You can check if everything works by plugging in the phone, opening a command prompt and typing

  adb devices

Install magisk app

And install the app

Download your ROM file

[1]

(note find the 9 T Pro ROM lower in the list)

Extract boot.img from this and copy to file

Patch boot.img

copy the extracted boot.img (above) to the phone, run the magisk app and select the boot.img to patch under install Magisk in the app. Copy the patched .img file to the PC

Reboot to fastboot mode

  adb reboot fastboot

Flash the new image and reboot

  fastboot flash boot magisk_patched.img

Sending 'boot' (131072 KB) OKAY [ 2.976s] Writing 'boot' OKAY [ 0.729s] Finished. Total time: 4.233s

  fastboot reboot

Rebooting OKAY [ 0.001s] Finished. Total time: 0.003s

Note: if you decide to flash via TWRP You don't need to clear cache dalvik data etc if you're just rooting!

verify

Use checkroot from the play store to verify root. Grant it permissions when asked.

Aftercare

See the Rooting guide to remove bloatware, add modules etc.

Depreciated

Copy magisk zip

Copy it into the root directory

Boot into TWRP

If so then reboot to fastboot mode

  adb reboot fastboot

Once it's there then type

  >fastboot flash recovery twrp-3.3.1-25-raphael-mauronofrio.img
  Sending 'recovery' (65536 KB)                      OKAY [  1.464s]
  Writing 'recovery'                                 OKAY [  0.324s]
  Finished. Total time: 1.817s

Reboot into recovery mode

  fastboot reboot recovery

TWRP will start up. See above if you can't input your screen unlock pattern

In TWRP first backup your boot and data partition.

Now delete Dalvik, Cache and data YES THIS DELETES EVERYTHING ON YOUR PHONE! MAKE SURE YOU HAVE BACKED UP FIRST. After deleting DO NOT REBOOT but go back twice until you are back in the main menu.

Now select Install and then install the zip. If the console tells you that it could not mount /system then go back to the main, go to mount, unselect /system and re-install the zip. It should be happy.

Reboot the phone now and wait - it takes quite some time for it to setup

verify

Use checkroot from the play store to verify root. Grant it permissions when asked.

Aftercare

Install Magisk Manager apk

See the Rooting guide to remove bloatware, add modules etc

Trouble

Bootloop

If it keeps rebooting and ends up in fastboot, you can again reboot into TWRP

  fastboot flash recovery twrp-3.3.1-25-raphael-mauronofrio.img
  fastboot reboot recovery

You should be able to copy the official MIUI ROM from http://en.miui.com/ onto your device. If not you can download official TWRP from https://twrp.me/xiaomi/xiaomimi9tpro.html and try using that. You can then install that as a zip.

Uninstaller

Magisk Module Uninstaller/Disabler]

Magisk Module Uninstaller – Uninstall Magisk Module Via TWRP