• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[UNOFFICIAL][RECOVERY] TWRP for the Xiaomi K20 and mi 9T by LR.Team/wzsx150

Search This thread

Flamebull5

Member
Aug 12, 2015
10
0
Hi, has anyone tried to flash GSIs after unlocking the bootloader?
Im curious as to see if there are any fully compatible ones.
 
Last edited:

puffyx

Member
Jan 10, 2010
21
2
I install twrp then eu rom, even they say that we can install magisk just after eu rom, i prefer first to boot into rom then flash magisk

Sent from my Redmi K20 using Tapatalk

Can anyone confirm this:

"If you had chosen to reboot into system, you will lose TWRP recovery because official ROMs restore to official recovery."

How can i manage to boot in twrp after flash it successfully?
 

slavke1976

Senior Member
Dec 11, 2008
670
103
Tavankut
Can anyone confirm this:

"If you had chosen to reboot into system, you will lose TWRP recovery because official ROMs restore to official recovery."

How can i manage to boot in twrp after flash it successfully?

I unlock bootloader, then i set up system again ( as when you unlock bootloader, phone is factory reset ) just to access developer option, turn on usb debugging. On terminal ( as i use OSX) i check if phone is recognize by typing ./adb devices, if all is ok, i type ./adb reboot bootloader . Then phone restart in fastboot mod.
then when i fastboot on terminal i write ./fastboot flash recovery recovery.img when it is done, and success. i just push together power om/of button and vol+ until phone restart, then i release finger from power button and keep just vol+ until i enter flashed TWRP recovery.
then in twrp i do wipe data, then from twrp i restart to recovery and then i transfer firmware.zip to internal memory of phone, then in twrp i install firmware. then restart to system, setup it and then install magisk.
that is all, phone always restart to twrp recovery,

only if you flash fatboot rom then it will be again stock recovery, but you have to install twrp again and all is ok.
 
  • Like
Reactions: seblog and puffyx

puffyx

Member
Jan 10, 2010
21
2
@slavke1976
Thank you so much. I follow ypur instructions exactly and now twrp works fine. Installing no eu.rom. :eek:
After that i reboot the system, come back to twrp and flash Magisk, right?
 

jaimecoj

Member
Dec 30, 2014
17
0
Okay, now my mi 9T is unlocked but still with the stock-rom. I try this but I still boot into the miui instead ob booting into twrp:
Code:
fastboot boot recovery-TWRP-3.3.1-0607-REDMI_K20-CN-wzsx150.img
downloading 'boot.img'...
OKAY [  1.421s]
booting...
OKAY [  0.126s]
finished. total time: 1.550s
Did I need to do more?

Same problem here, does anyone know why it keeps booting to MIUI instead of twrp? I executed the commands:

fastboot flash recovery twrp.img
fastboot boot twrp.img
 

Bart1981

Senior Member
Dec 4, 2006
1,096
138
Utrecht
No need to flash the misc.bin

Just flash twrp:
Fastboot flash recovery twrp.img

After that Fastboot boot twrp.img
The phone starts to reboot now. Immediately press the on/off button and volume up until you see the twrp logo and then release the buttons. Now you are in Twrp.

The only thing is, after flashing a rom, the stock recovery will be restored again so you have to repeat the twrp installation. Not shure if the is not the case if the phone is rooted directly after flashing a rom.
 

Pheggas

Senior Member
Apr 2, 2017
116
121
No need to flash the misc.bin

Just flash twrp:
Fastboot flash recovery twrp.img

After that Fastboot boot twrp.img
The phone starts to reboot now. Immediately press the on/off button and volume up until you see the twrp logo and then release the buttons. Now you are in Twrp.

The only thing is, after flashing a rom, the stock recovery will be restored again so you have to repeat the twrp installation. Not shure if the is not the case if the phone is rooted directly after flashing a rom.

reinstalling twrp from twrp do help?
 

flamedrops

Senior Member
Dec 9, 2014
601
191
Ortigas
Yes, you can (on Windows):
• Unlock bootloader
• Download MiFlash Tool
• Download global fastboot rom and uncompress
• Start MiFlash Tool
• Restart to fastboot mode
• Plug your device to computer
• Browse and select rom folder
• Flash it

You can see it here: https://youtube.com/watch?v=Bf44z8xbKH4




• Unlock bootloader: http://en.miui.com/unlock/download_en.html
• Xiaomi drivers: https://www.xiaomidrivers.com/xiaomi-usb-drivers-for-windows-download/
• ADB: https://dl.google.com/android/repository/platform-tools-latest-windows.zip
• TWRP: first post
• Magisk: https://github.com/topjohnwu/magisk_files/tree/master/canary_builds


try it later. :D:D:D
 

Top Liked Posts