yashsingh1/xdaforums huggingface dataset:
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] hounter17:
Does it work with miui 11.0.4.0?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] m1trand1r:
Thanks a lot [MENTION=4712355]mauronofrio[/MENTION] ? ....I wanted to do a backup today with previous version but i couldn't.. so I'm gonna give this update a go tommorow after work asap ??
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] djdelarosa25:
Are you gonna push this to official?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] mauronofrio:
I can't for now
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] WaKaManG:
I also had the 255 error when restoring backups.

With the latest version I just created a backup and restored it without any errors. :svetius:
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] zgfg:
Also, does it work with 11.0.4.0 QFJEUXM Global Stable
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] amine4ever:
Check the main post of this thread. there is a modified VBMETA to flash.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Tugatrix:
I installed the twrp davinci fix and installed xiaomi.eu rom, but now I can't enter into twrp it only goes to fastboot mode what do i do?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] tangkije:
It always says, wrapped key, any idea why?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] giannism13:
You could try fastboot flash the recovery and then fastboot boot it.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] soumyachatterjee:
I am from India, I own a Davinciin Redmi K20.

Whenever I try to flash custon rom I get error 7 TWRP saying, "This is ROM is for davinci, this device is a davinciin".

Can anyone tell me how to get rid of this error, without changing the updater script in the ROM?

The TWRP by LR team suppresses this error and successfully installs the ROM.

Can such thing be done for this TWRP version?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] djdelarosa25:
Why not?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Robbyroberts91:
Hi dude, with the 3.3.1-12 i can upgrade the last official miui via software? Or just a dirty upgrade via twrp?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] giannism13:
Mi flasher (I suppose that's the software you mean) will flash all the partitions from the ROM zip, so it will replace twrp with mi recovery.

---------- Post added at 08:11 PM ---------- Previous post was at 08:06 PM ----------

Well if you don't want to edit that single line from the updater script then you could change your device's name in the build.prop. I can't remember the exact line you have to edit, so just search for davinciin and replace it with davinci. Since you are flashing custom ROMs anyways, it doesn't really matter due to the fact that both the Indian and global version have identical software with the only change being in the software (which you replace).
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Denniso2:
So I have used fastboot boot with version 3.11 to install magisk on my phone and it worked perfectly.After the miui 11.0.4 update to android 10 I tried to do the same in order to reflash magisk but instead of booting to recovery i just get a black screen and when I force reboot I am taken to stock recovery.The device only boots to stock recovery forcing me to wipe data which makes it boot again normally.I don't want to flash the recovery because I want to keep the stock one.Anyone knows whats wrong?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Robbyroberts91:
Hi, thank you for reply! So how i can upgrade without lose my data? I have already a full backup, if i restore only "data" in android 10 the rest work? O: Im on global 11.0.3
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] hounter17:
i have similar problem mine stuck rebooting but it always return to twrp recovery, its impossible to root it...
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] giannism13:
If you are changing Android versions then it is highly recommended to not restore data. (So use miflasher or twrp and wipe). If you are not changing Android versions, you could fastboot flash boot, system and vendor partitions from the zip file, supposing they are .img files. If they are not, then I don't know how you can flash single partitions in this file format, so all it lefts is to either dirty flash the zip via TWRP or use miflasher.

If you absolutely want to not loose data when changing Android versions and, you have a full backup then try dirty flashing (I don't know if it's going to work). If it works you will have succeeded and if it doesn't then you can restore your backup.

Finally if you choose to flash the ROM through TWRP or miflasher then you will have to flash TWRP again since it will be replaced by mi recovery.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] lazyaf01:
Flash the twrp from here. Simple xD. The twrp u installed was only pie compatible. So u cant boot to it.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] M.dia:
when I install twrp it gets replaced and when I try to flash vbmeta I get this error (fastboot: unknown option -- disable-verity)

0)
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Micdu70:
You need to install a more recent fastboot version on your computer. But you can also try without both 'disable' options. ^^
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] M.dia:
i updated fastboot then flashed vbmeta then twrp and now the phone only boot into twrp.

---------- Post added at 01:44 PM ---------- Previous post was at 01:29 PM ----------

i used format data and it works now Thanks. please can you tell me which version of magisk should I use?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] nMaib0:
I can't get magisk to work, when I flash it it goes into recovery instead of the system, then I have to format data and clean cache and restart the phone. any idea why is this happening, I'm on miui 11.0.4?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] M.dia:
i have 11.0.4.0 too when i flashed magisk 20.3 it made a bootloop.

.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] nMaib0:
Hey man I just fixed it by doing this

After flashing magisk

Go to /data/adb/magisk/chromeos find "futility" file. Permission chmod 644 for it.

Go to /data/adb/magisk find "BusyBox" file and permission chmod 664 for it.

Reboot and done.

In future, when you flash any rom on k20 pro. Remember that do it if you flash magisk.

Good luck!

(Solution from 4pda)
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] M.dia:
i have just tried 20.0 and it worked.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Tenker:
I'm doing something wrong because the version on my

Xiaomi Mi 9T 6GB/128GB

MIUI Global 11.0.4.0 (QFJEUXM)

doesn't work?

I can see in the TWRP, the directories I encrypted and after the reboot starts only fastboot!
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] hounter17:
Seme problem here, after magisk always reboot to recovery. Also when flashing magisk it sais "unable to mount storage"
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] chikiro:
How to fix this
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] lazyaf01:
You f***ed something. Try flashing fastboot rom
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Abu Iyad:
I have a problem with my Redmi K20 phone

I see a black screen with three choices All of these options do not make my phone return to normal without turning off the phone and turning it on again and returning the same screen and options to appear again

Main Menu Mi-Reovery 3.0

Reboot

Wipe Data

Conneet with MIAssistant

Use VOLUME to select up/down Use POWER key to confirm This MIUI versilon can't be installed on this device

Please help me solve this problem
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] GGelmi:
You haven't twrp installed but Xiaomi recovery: if you have bootloader unlocked you could follow the steps ti install twrp and then a custom rom.

If you want only boot in system you could use mitools to reinstall MIUI

GGelmi
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] dejavecue:
I have the same trouble. No version of TWRP I tried so far has managed to override the stock recovery.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] hounter17:
Has anyone managed to install magisk manager in version 11.0.4 QFJEUXM? in that case what version of magisk have you used and what recovery? It is impossible for me, it always ends in a recovery restart.

I also try doing all the wipes and formating data in TWRP and reinstalling all but it also reboots in recovery.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] zgfg:
This 10 Android 10 and AFAIK, you must install Magisk to Recovery, hence without TWRP

https://topjohnwu.github.io/Magisk/install.html#knowing-your-device
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] hounter17:
wow i think its very dificult for me to do that, its there any tutorial or "step by step" guide?¿

thanks
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] GGelmi:
First twrp i installed after bootloader unlock was 4pda *-2 with autoinstaller bat file.

Now i'm on *-12 twrp version

After twrp installation by fastboot have you rebooted in recovery at first?

GGelmi
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] iYowo:
I have 11.0.4 QFJEUXM and twrp-3.3.1-12-davinci-mauronofrio.img + Magisk-v20.3
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] hounter17:
I tried that combination and ends in recovery reboot... I dont kniw what to do :(

Can you post the .zip you use??
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] zgfg:
There are two threads about installing Magisk without TWRP to K20/Mi 9T, but posted for Pie - by patching boot img, so not sure does it still apply to Q:

https://xdaforums.com/mi-9t/how-to/root-k20-indian-rom-v10-3-6-0-twrp-t3958566

https://xdaforums.com/mi-9t/how-to/guide-easiest-to-root-twrp-t4000209

Can you shortly describe procedure

So you have stock Q with TWRP and Magisk patched to boot?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] iYowo:
Try this....

1. Go to recovery and format data

2. Reboot to recovery

3. Copy Global Rom on int. storage and install

4. Reboot to system (log on google acaunt etc.)

5. Reboot to Fast boot, connect to PC and install twrp-3.3.1-12-davinci-mauronofrio.img with ADB

6. Boot to recovery (Power + Volume Up)

7. Format data again...

8. Copy Magisk-v20.3.zip and flash it ...

9. Reboot to system ...
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] hounter17:
1. Do all wipes

2. Install miui 11.0.4

3. Reboot system

4. Reboot in fastboot mode

5. Install twrp 3.1.1-12

6. Reboot twrp

7. install magisk 20.3

8. Wipe cache and dalvik cache

9. Try to boot sistem and it automatically reboot in recovery .....

Its imposible to boot the phone... Some times the internal memory appears encrypted other no...

---------- Post added at 10:21 PM ---------- Previous post was at 10:20 PM ----------

It must be the global version ?? Ims trying with the european version
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] zgfg:
How do you handle OTA afterwards (you must manually flash them or you can accept OTA if you uninstall Magisk)
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] iYowo:
Can be any version.... After install twrp from fastboot data is encrypted, u must format it again and after that install magisk....
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] hounter17:
But if I format data I'll need to install again the rom or directly installing magisk and rebooting will work?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] iYowo:
No need to install rom again...
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] RedNas74:
Strange. I just did the OTA to 11.0.4 EEA version. After that rebooted into fastboot. Flashed twrp with fastboot. Turned phone off. Rebooted into recovery via power and vol+. Then flashed magisk 20.3. Phone boots normally. I did not format data or anything else. No problems whatsoever using this method.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] hounter17:
After formating data again it works, thank you for the help :highfive:

I flash magisk and ed xposed, all works fine but a blue tint in borders appear. Nothing to worry for :good:
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Abu Iyad:
I'm having trouble with Redmi K20 because it refuses to work

Likewise, it refuses to receive any system, whether it is downloaded from the official website of the company or from another website, and the biggest problem is that the phone is in the mode of boot loader

Recovery mode and boot loader lock are activated, knowing that I unlocked the boot loader before working on the phone, but why is the boot loader locked? I don’t know if there is a way to boot up and turn on the phone or not

I closed when I called Xiaomi, but without any interest because there is no response from the company
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] iYowo:
if it's locked again you should unlock it for like the first time with Xiaomi Unlock app, you won't wait 5 days this time ..... after that you need to install twrp the same as the first time with ADB fastboot method ....
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Abu Iyad:
unlock Xiaomi

This is known, but the problem that I face is that the Xiaomi program to open the boot loader lock does not respond to me now more than two months ago the company does not answer my inquiries and also the program does not respond to open the lock

You will find a link to pictures through which you will know what The site refused to upload pictures to the phone
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] GGelmi:
MiFlash can flash always with or w/o BL unlocked: flash original .tgz MIUI again then unlock device install twrp etc

GGelmi
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Abu Iyad:
Where do I find this original flash
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] GGelmi:
Google is your friend... https://c.mi.com/it/miuidownload/detail?device=1700361

GGelmi
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] zgfg:
Looking for TGZ (! Fastboot) version of 11.0.4.0 QFJEUXM (name exactly as received by OTA)

ZIP (Recovery) version was not on this page but can be downloaded from:

https://www.getdroidtips.com/miui-11-0-4-0-mi-9t/
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] GGelmi:
http://c.mi.com/oc/miuidownload/detail?guide=2

GGelmi
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] zgfg:
Sorry but my question was for fastboot/tgz QFJEUXM V11.0.4.0 (Android 10)

Here (like elswhere) the 'latest' tgz gives PFJEUXM V10.3.15.0 (Android 9)
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Benfatica:
Because that's the latest fastboot rom available, 11.0.4 is kinda in beta now. Xiaomi keeps pulling it and re uploading so there is no fastboot rom for 11.0.4, even 11.0.3 android 9 doesn't have fastboot rom so just flash the 10.3.15 and update it via otg or twrp.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] GGelmi:
Yes, you need to recover phone: when you have a working device you could di what you want with It...

GGelmi
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] thebenjibenji:
I'm unable to make an account on xiaomi.eu but following the final part of OP's guide fixed the pale washed out colors and broken OS miui

OP from xiaomi.eu it doesnt seem to be triggered by magisk, although it may be the case, I formatted completely (everything) and did a clean install of miui 11 beta 20.1.21 and just rebooted to recovery and it did the washed out broken os thing without magisk, it seems to be the recovery or after latest canary ( v20.4-740559e3(20305)) seems to trigger something that twrp cant handle (the "recovery mode" was ticked on the new magisk app) also now i have magisk 20300 but have the old themed app (canary channel isnt an option)[this was after hiding magisk to "Manager"]. After that i followed the guide above with the extra

fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

To flash the TWRP:

fastboot flash recovery twrp-3.3.1-xx-xxxxxx-mauronofrio.img

Then reboot in TWRP manually.

and it seems to work so far without messing up miui going to post updates to see if anything breaks it... working up the courage to get edxposed again.

you can back up your data in recovery even when its in that 'broken state' just copy it to ur pc because you probly have to do a full wipe etc..:good::good::good:

https://xiaomi.eu/community/threads/magisk-problems.54567/#post-529119

yup happened again i tried to save the install but even just flashing vbmeta and twrp it would clear the enablefilecrypto_ but upon reboot it would return (removed magisk and tried a older version) with no luck. Id love to record the logs but once booted into android/miui its basicly f***ed and you cannot do anything.

This morning I updated to latest canary magisk with the app and the phone took about 15 minutes to boot, then the screen was washed, very pale color and nothing worked, tried settings, apps, etc everything caused bootloop.

Flashed ROM and magisk again and happened the same. Unistalled magisk (with TWRP) and didn't work either.

So clean flash, wiped everything, format data and phone booted perfectly, set it with account etc.. and install magisk and all the problem started again.....

Tried a new clean flash but installing magisk right after the ROM but TWRP (latest official) give me "updater process ended with error 1 magisk"

Any tip? Don't know what more can I do...

Thanks in advance.

Edit: I'm on latest xiaomi eu beta
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Benfatica:
It looks like the 11.0.4 fastboot rom is available

http://bigota.d.miui.com/V11.0.4.0....EUXM_20200117.0000.00_10.0_eea_a4dd716b8e.tgz
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Gelo31:
ссылка на последния версию не работает(((
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Defforest:
[MENTION=4712355]mauronofrio[/MENTION] I'm on Global Stable 11.0.4.0 Android Q now, just did unlocking bootloader a while ago and going to flash this TWRP.

Do I need to flash VBMETA first? Or just flash latest TWRP 3.3.1-12 Unofficial, some of people say dont need to flash vbmeta but I just dont wanna my phone got bricked because dm-verify.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] mauronofrio:
Guys the vbmeta is something to flash only if the TWRP disappear after a reboot. Someone reported that it is not working on android Q
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] dejavecue:
When I try to flash your recovery, it doesn't stick, when I flash your vbmeta and then the recovery, it ends in a bootloop and I have to ref lash official system +vbmeta +recovery to boot back into the phone.

Global version 11.0.4.0 stable.

What could be the problem here?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] jm_sanders:
I'm on [Xiaomi/davinci/davinci:10/QKQ1.190825.002/V11.0.4.0.QFJMIXM:user/release-keys] .

On former version I could boot twrp with this command: fastboot boot twrp.img.

Unfortunately now I get only a black screen.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Vanmanman:
Should I avoid installing Magisk 20.3 untill TWRP is working with V11.0.4.0.QFJMIXM android 10? After I install TWRP it will boot into TWRP if I say "fastboot reboot" after install. But then will go back to original recovery. Scared to install magisk 20.3 and having to re flash my phone because of boot loop or something, is this the fastboot file if I have to flash again "miui_DAVINCIGlobal_V11.0.4.0.QFJMIXM_f1cc1d4a69_10.0.zip"?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] bjbruno0505:
if i install an official xiaomi rom with this recovery it will disappear after the rom boot? The others I tested are all replaced by the original factory recovery.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Micdu70:
Yes... would be nice to have an option to prevent flashing "Recovery" partition. :)
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] arturo181991:
Hi, after install TWRP (official and unofficial versions), do all wipes, install XiaomiEU and Magisk, the phone doesn't boot to system, it always keeps in recovery mode, did someome have same problem? thanks guys.

BTW, I'm on Android 10, MIUI 11.0.4 Global
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Micdu70:
You don't need to ALL wipes, it's "Format Data" only when you come from Official ROM.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] arturo181991:
Thanks a Lot! That was :good:
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] lazyaf01:
Flash magisk after rom or flash vbmeta
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] vaiconamasle:
Hi, flashing twrp wipes my system and also a ROM image in the internal storage. Also when I'm in twrp i can not transfer files from my computer to the phone so I am unable to put any ROM image on the phone in order to flash it. Can anyone help me?

thank you
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] danjac:
Well, after I experienced a real odyssey today while trying to flash twrp I finally ended up reinstalling everything from scratch :crying: (couldn't boot system - only twrp or fastboot, but in twrp data was still encrypted and i couldn't even format data,...)

so there seems to be a problem with V11.0.4.0.QFJEUXM, but the thread here is somehow inconsistent and I don't know how to proceed properly (some people say it worked and for some it didn't)

can anyone give some clear advice whether it's possible and how to install twrp on V11.0.4.0.QFJEUXM (without wiping data) or should we just wait for a different version.

any help would be really aprreciated. thanks!
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] wahuka:
I can't activate the OTG in TWRP version 3.3.1-12, can someone tell me if it's my fault or it happens to more people?

OTG works fine on 3.3.1-11
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] zgfg:
Deleted - sorry, missed the topic
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] lazyaf01:
I assume u r on an aosp rom. If so if its not mounting just reboot to recovery once. Will be mounted. Its due to usb otg bug in aosp roms.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] wahuka:
Yes friend, i´m on ExtendedUI.

I'll do what you say to see if it works.

Thank you

Edit: Yes, now it works.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] smalldoge:
I followed all the steps in the first post but Everytime I flash twrp through adb, it boots to recovery instead of twrp. What could be the reason for this? Am I doing something wrong? Any help would be greatly appreciated. Thankyou
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] wahuka:
First, Modified VBMETA

Second, TWRP 3.3.1-12

Reboot to recovery

Or Try this video, only the part of TWRP if you dont want to install magisk https://www.youtube.com/watch?v=d3sC3ljSNXY

And then use the first method to install the TWRP version you want
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] smalldoge:
Thank you for replying. Everytime i flash modified vbmeta, i get "fastboot.exe unknown option -- disable --verity".

Is this normal?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] wahuka:
Try this platform-tools

https://dl.google.com/android/repository/platform-tools-latest-windows.zip
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] smalldoge:
Thank You! I've found a tutorial using this Platform tools and it works
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] wahuka:
I'm glad you fixed it. :good::good:
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] djdelarosa25:
Hi mau! Hope you're doing fine there in Italy. Do you have any plans on pushing the latest unofficial build to official branch?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] tiger10000:
dose the latest version 3.3.12 fix the issue of restoring backup (error 255 ) redmi k 20 davinci
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] lazyaf01:
Yes it does
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] chtivain:
Thanks, i had to try several times before I succeeded to install TWRP.

I finally succeeded with this version of adb.