Mi 9 T Pro

From Edgar BV Wiki
Jump to navigation Jump to search

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

No longer needed!]

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

ADB / Fastboot

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

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