yashsingh1/xdaforums huggingface dataset:
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] xenix96:
you can do nothing the rom devs has to do cause this is rom related.

Right now you can only delete folder if you have this issue ?

If i am wrong please correct me
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] David_#27:
Alright then thank you!
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] droident:
New Global for MIXM arrived; am I OK to flash this via MiFlash then push TWRP and install Magisk 20.3? Or will I need to remove encryption?

I ask because I'm still unsure on the situation with encryption and whether the issues with 20.3 are fixed. For what it's worth I don't need encryption; though I'm a bit wary of flashing the disabler zip.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Robbo.5000:
There is zero need to permanently remove encryption on this phone. It is purely a personal preference. There have been phones, quite often MTK devices, where it is required, but with this phone it is not a problem if you don't.

Often I see people, in these forums, telling others to flash scripts to permanently remove dm-verity and encryption. Neither are required, and it is bordering on reckless to advise people to do this, when the people don't understand the implications, or need to do this.

If encryption is a problem, all that is required is to format the data partition, which temporarily removes encryption, in order to flash what you need. Afterwards, encryption can be allowed to automatically be applied with your lockscreen pin without further issues.

Feel free to flash the latest global fastboot ROM and enjoy. If you want encryption permanently removed, format data and flash the decryption script. If you only need encryption removed temporarily, format data, then let the phone naturally encrypt itself afterwards.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] droident:
Thanks for the info. I'll give MIUI11Q+Magisk20.3 a go and just format data beforehand in that case.

I'm curious, reckon even that'll be necessary if I'm coming from a clean MiFlash with no boot up? I'm guessing when you flash a ROM with clean_all encryption doesn't take until first boot? I always delete the last line of the clean_all script and instead stay in fastboot; then issue the fastboot flash recovery / fastboot boot TWRP command and flash magisk right off the bat before first system boot.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] doctorpectol:
Then,DFE is not necessary in this device ? NEVER?

Enviado desde mi Redmi K20 Pro mediante Tapatalk
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] :
No. Only if you want it.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] droident:
From what I know, it should mean your device data is impenetrable without your authorization. To gain access to data on an unencrypted rooted device with a screen lock - you merely need to boot into a custom recovery and mount the storage, connect it to a PC. On an encrypted rooted device TWRP requires you confirm your screen lock. Without it, the data is scrambled beyond recovery.

Useful for safeguarding sensitive data. It does chew an insignificant amount of resources. Not discernable in real-world use and the impact on benchmark scores is tiny, really tiny. So there's no real reason to turn it off unless it causes problems - as some have purportedly had with Magisk 20. Though from what I'm hearing, it's no longer an issue. In the Q&A there's a few users successfully using newer Magisk 20.x builds with MIUI11. I just wanna check their flashing methodology first to ensure I have zero issues.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] chaoscreater:
I can boot into TWRP the first time, but as soon as I power off the phone and try to boot into TWRP, I get the standard recovery. I tried flashing the recovery img file within TWRP and I still can't get it to stick. Any ideas what I'm doing wrong?

I'm using the official Redmi K20 Pro Indian ROM. Is this the reason why? Should I be using a custom ROM for it to retain TWRP? Or will I just have to flash TWRP everytime I want to get into it, assuming I stick with the official MIUI ROM?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] tsvikrn:
same here

Sorry, didn't read through, deleting per_boot did the trick
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] droident:
You've got a few options.

You can flash TWRP recovery and without rebooting install the newest Magisk 20.3 zip - that will make TWRP persist every time when you reboot as Magisk removes the stock recovery persistence when it installs for some reason.

The other option, as you've mentioned, is just to do fastboot boot twrp.img from a PC as and when you need TWRP; this has the added advantage of working with OTA zips. So you can update MIUI from the Settings menu. You can still do this with a persistent TWRP as far as I'm aware but it'll download the entire ROM instead of the smaller bandwidth friendly OTA patches. So leaving the stock recovery in place is automated whereas with a persistent TWRP the whole ROM recovery zip will be downloaded for you to manually browse for it in TWRP recovery mode.

The other option if you don't want Magisk and want TWRP to persist is to search in this thread - there's a persist patch somewhere.

If you're curious as to why this happens - it's because MIUI checks if the stock recovery is there and if it isn't - it overwrites the recovery partition.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] ZoltanDwarf:
Can somebody explain to me, when I flash any zip or image I always get this: <E: Unable to decrypt FBE device> in red at the start of wrp log. Can someone explain what is this error about and why is it happening? Is there any way to fix this or should I just ignore?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] mauronofrio:
just ignore
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] z1022:
using TWRP(3.3.1-25) retoring the ROM cannot unlock it even enter the corrct lock pattern.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] ND1Razor:
Flashing LineageOS using this TWRP just keeps booting the phone into fastboot. I tried using the Mi flash tool to install a fastboot rom and repeated the process but I have the same issue.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] mauronofrio:
have you flashed vbmeta?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] ND1Razor:
When I try this: fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

The CMD says C:\adb\fastboot.exe: unknown option -- disable-verity

Should I flash vbmeta without disable verity?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] mauronofrio:
you should update your fastboot binaries, but you can also try without that command
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] ND1Razor:
I tried this and now it is bootlooping.

Edit: Solved, the issue, it was because I was installing the wrong vendor before flashing.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] mauronofrio:
ok
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] KuroRyu:
So.. when I am on MIUI 11.0.1 right now and I still have stock recovery, do i need to flash this vbmeta thing first?

Or just flash the twrp image?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] xenix96:
If bootloader is unlocked then flash twrp over fastboot ....reboot directly in to twrp ...flash in twrp magisk to persist twrp ?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] borto91:
Hi all guys,

I'm trying to flash the twrp on my raphael, with the final aim of installing a pixel experience rom.

the problem here is, no matter which procedure and which twrp version I flash, it will always flash 'badly': I mean that I'll see the internal storage encrypted (so, no way to install magisk for example) and I'll never be able to boot into system: if I try to boot system, I'll end up in recovery.

First time I got scared (it's been years since my last 'hackings' on the Galaxy S1) and I flashed via fastboot the miui 11.0.3 (at the point, I just wanted my new phone back). Then I decided to use my semi-old Xiaomi Mi5 until I'll be able to flash twrp correctly, install magisk and a pixel experience rom.

May you please kindly help me?:o

Thank you in advance
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Bonito77:
As I come from miui I flashed and booted into twrp then formated data and rebooted to recovery ( all your files will deleted). After that performed the rom installation. Format data was necessary for encrypted data.

TWRP I use is 3.3.1-25 unofficial.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] z1022:
using TWRP(3.3.1-25) to restore the backup. Cannot unlock it even enter the correct lock pattern. Need to delete file "locksettings.db-wal" from TWRP. Anyone have this issue ?

Thanks
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] borto91:
Hi Bonito, thanks for the reply. Just to be sure I understand. I have to:

flash twrp

boot into twrp

format data (even though I see everything encrypted)

reboot in recovery and install rom --> should I see everything not encrypted now? can I find the .zip of the rom if I formatted data?

Thank you for your support.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Robbo.5000:
After formatting data, this will temporarily remove encryption. This will have completely wiped internal storage, so, whilst still in TWRP connect the phone to the PC. TWRP enables MTP, so now you can drag and drop the ROM and Magisk files across to the phone. Disconnect from the PC and now flash the files.

When you first boot into PE and setup lockscreen security this will automatically encrypt the phone again. If you have the latest TWRP from here you should be asked for the lockscreen PIN everytime you boot into TWRP, which will then allow TWRP to decrypt the phone whenever you need it.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] borto91:
Hi Robbo,

thank you for the detailed explanation! Tonight I'll try again and let you know!

I read on the PE rom thread someone advising to install a xiaomi eu 9.6.27 before the installation of the PE, do you think it would be smart?

thank you again.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] sahandv1989:
there is problem i downloaded and installed rom stock in boot loop to recovery .... each time reboots to recovery ... can any one help me ??

flashed vendor after rom before rom but it reboots to my recovery

i tried another rom but it was the same problem with official twrp or unofficial twrp and with and without vbmeta file flash ...

please help

-edit :-finally made it working using this file after installing TWRP

flashed once gave me error then wiped data then flashed rom tried to reflash done with some kind of error that doesnt matter now working
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Bonito77:
Sorry for so late but had to sleep.

So out of the context it sounds not really clever.

9.6.27 is a pie based .eu rom. Normally a xiaomi.eu rom never is a good base for a aosp rom because of it's beta firmware.

You go to flash a pie or q based rom ? Which thread you read this ?

Which Version of miui you are right now ?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] borto91:
Hi Again.

Don't worry, I don't know where you are from, I'm Italian and I guess some time difference are in place between me and you!

In any case, this is the post, but actually it's kinda old (22nd July).

I'd like to install the latest PE (from here) and it is in fact q based, not pie based.

I'm on miui 11.something (tonight I can give the exact build as I don't remember right now) so it's q based: I suppose that your next statement will be sort of: "if you are on a miui q based, then just install a PE q based"

thanks to all
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Bonito77:
I'm from germany but I have holidays so I go very late to bed and wake up is also delayed.

I think you're on eea11.0.3 or 11.0.4 and if so then yes my statement is like you says "you're good to go".

If you tonight need any help or something just say then.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] borto91:
This was easily understandable by the german flag of your profile.

Yes, should be 11.0.3. Thank you for the help offering! What about vendor image flashing? I never heard about it (not even years ago modding the Galaxy S1).

Summing up, if the step list is any different from what stated on previous post (like to flash vendor, vbmeta or anything else not mentioned since my first post on this thread), it would be very helpful and kind of you if you'd update such steplist.

thank you again
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Bonito77:
Lol, forged about the flag, don't see it in labs.

Yeah it's the unique thing om this device with flashing vendor-firmware sometimes. If you come from original miui you don't need to flash it. You're on newest and it's unmodified.

Some devs talking the last days about making a custom-vendor for future.

You mean the guide of Robbo.5000 ? His guides and infos allways very helpfully so yes the steps are good. The only what I do more is after format data and reboot recovery, I perform a factory reset and also again wipe cache, dalvik, (*system) but don't reboot (you will end in fastboot) and then flash.

*Wipe system is not always necessary but sometimes if you have made much modifications it can be helpful.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] borto91:
I was asking to both you and robbo if some steps were missing from what was mentioned since my intervention of yesterday. Because I'd like to do it right this time!

For example:

Seems it might be useful!

Thanks again!
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] mauronofrio:
TWRP 3.3.1-32 Xiaomi Mi 9T Pro/K20 Pro (raphael) by mauronofrio:

- Fixed error 255 during backup caused by /data/per_boot folder.

TWRP 3.3.1-32 Unofficial by mauronofrio
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] borto91:
---

Guys, thank you for your super useful advices. Everything went smooth and I have now a rooted raphael with a PE rom! what can I want more?

I just would like to know how I should proceed to update the twrp. I wanted to have a backup and it failed with error 255. then I discovered the post below:

So, I'd like to update the twrp, since I flashed the 3.3.1-25, just minutes before the post of mauronofrio :D

thank you again guys!

EDIT: I found the official twrp app and updated to version 3.3.1-32 from there. also backup done correctly. thank you bye
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] kauw5164:
Please edit number 25 to 32.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] mauronofrio:
Done, Thanks!
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] hfzzchry:
Hi! This is my first time flash twrp. Is flashing vbmeta necessary? If yes, when should i flash it, before or after flashing twrp? Or together?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Robbo.5000:
Only if you want to stay on MIUI and not use Magisk.

If you are flashing a custom ROM or flashing Magisk, then you don't need vbmeta.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] arielugose:
error 255 on restore is now the problem i back up my ROM and try to flash other rom then the error 255 cant extract. i think thats the data/per_boot again because only data cant restore. now im bootloop. my back up are still here im willing to wait for the fix. thanks in advance i love your work anyway.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] mauronofrio:
Send logs after you tried to restore the backup and i can check.

adb shell cat /tmp/recovery.log
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] :
In TWRP, it's a common problem that "extracttarfork() process ended with error=255" when attempting restore data from backup, and it would not be fixed unless TWRP officially rewrites the recovery envoronment from the code. There's a solution might help, at least

I faced same issue but solved by doing this:

1. Before formatting data partition, copy all files from internal storage to a computer because you will lose files as you proceed. (including TWRP folder, which stores backup files)

2. In TWRP, select wipe --> advanced wipe --> choose data --> repair or change file system --> change file system --> select f2fs --> swipe to change, then revert the file system of data partition back to ext4 in the same way.

3. Transfer your files back to internal storage and do the restoration.

Reboot and see if it's work.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] wizzman:
Step 2: Before ou after format data ?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] :
Before
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] iXanza:
Despite the names being similar, these are two very different phones. No ROMs, kernels or recoveries will be compatible with each other. The pro and the non pro version have their own dedicated subforum for this as well.

https://xdaforums.com/mi-9t
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Uvneshkumar:
[MENTION=4712355]mauronofrio[/MENTION], Does this work on Indian Redmi K20 Pro as well?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] mauronofrio:
If it has sdm855 i think you will not have problems
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] redsun_ravi:
Indian k20 pro :(

This recovery isn't compatible rihht? :(

Codename diff-
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] mauronofrio:
As i wrote, if the cpu is the same also the twrp is the same. Maybe you will have some little problem flashing stock roms
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] danielofata:
Try locking/unlocking the phone and will respond normally
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] thelegoboy:
Question: is it correct that I can't flash the "persist" partition yet?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] aajobamir:
miui ota works?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Robbo.5000:
Not with this TWRP, but it can be done with the LR.Team TWRP
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Strange_UFO:
Hey guys, just bought me a K20 Pro. How can I know if it is compatible with this LOS release?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] 4PLaYS:
If I flash my k20 pro (official china rom, stock out of box) to official India/Global ROM, will I get the india OTA or will it OTA me back to china? Asking because as I looked at the flash_all.bat there is a check for device code which refuses to flash if my device is raphael instead of raphaelin.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] `SBR`:
OTA will be based on flashed rom in the phone... And U can't flash the Ota in twrp recovery it will fail with signature check.. Wait for devs to post that as Zip to flash it.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] ArMaNi125:
k20 pro

Can I flash the unofficial linage OS that got released in the same form?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Abaddon:
Yes you may
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] gian1972:
Hi is the decrypt password the phone pin that you enter once the phone has booted? If not where do I find it?

Thank you

Ciao Gianluca

Inviato dal mio Redmi K20 Pro utilizzando Tapatalk
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Robbo.5000:
Yes it's the phones unlock pin/password
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] SGKenJi:
how do i OTA and preserve magisk and twrp ?

currently on a china firmware .15 there is a update to .16 .

anyone can advise ?

for oneplus 7 we can OTA (don't reboot) go to magisk installer to install back magisk and twrp . there is a twrp.zip .

but k20 pro how do i do it ?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] iXanza:
You can't ota on twrp. Download the full rom and flash it in twrp then flash magisk before rebooting. This will preserve twrp and magisk
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] SGKenJi:
Sorry. What i mean is update from system under settings . before reboot flash magisk inside magisk manager ? as oneplus 7 is able to do so using this method .

so what you are saying is that :

Download Full Rom .

Transfer it to Phone Storage.

Reboot into TWRP.

Flash ROM (Don't reboot after flashing)

Flash Magisk.zip

and it will preserve TWRP and Magisk ?

not needed to flash TWRP again right ?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] iXanza:
Yes correct. The stock rom doesn't come with a recovery file, the startup will restore the stock recovery. Magisk prevents this.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] hrdlw:
So, which one works the best?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] arielugose:
here is the log in the last part where i saw a lot of failed and the error 255.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] arielugose:
still have error.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] monose1:
Can this be installed without unlocking the bootloader? I got the phone and still have those 168hs.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] a170xda:
No, unlocked bootloader is required for TWRP
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] hrdlw:
Which version between 3.3.1-1 to 3.3.1-32 should i flash bcuz there are some of them

---------- Post added at 10:41 PM ---------- Previous post was at 10:33 PM ----------

And what are the benefits of decryption?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Bonito77:
Take the latest , 3.3.1-32 . It's in a row from first to latest.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] hrdlw:
K thx
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] arielugose:
wait for it to be able for unlocking or you will be sorry
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] BlueSky_Vincent:
This issue usually because u have dual app enabled during backup. You should remove/deactivate dual app before proceeding with backup.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] arielugose:
im using the evo x rom. no dual app are installed.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] arielugose:
here is what i found
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] SkepticaLLua:
Sir, there is support f2fs?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Swos:
sorry but first boot from fastboot is ok, after return mi-recovery :|
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] LuCa™:
Hello everyone!

My K20 Pro 12/512 Chinese version (unlocked by Xiaomi Store in AliExpress) arrived today.

After updating via OTA it is with the Global version 11.0.1.0 stable (QFKMIXM).

After following all the procedures with fastboot, I successfully installed version 3.3.1-32 of TWRP.

After accessing TWRP I installed Magisk version 20.3.

When selecting to boot the system it returns to TWRP.

I then installed the previous version of Magisk: 20.1.

Upon rebooting to the system it logs in normally, but Magisk is not installed.

TWRP remained, I try to access it again, I did a successful Backup. But Magisk (although there is no error) does not install.

Can someone help me?

Thanks!
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] wizzman:
Retry install magisk 20.3 if again bootloop TWRP or magisk not installed , format data (with yes) reinstall your rom, reboot TWRP then flash magisk and reboot
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] LuCa™:
Okay. More questions from a newbie: :o

Is this version that came installed the best (Global) or is another version recommended?

What about my current ROM, could you please tell me where to download? Do you have a special version to use with TWRP?

Another question from those who don't understand much. Will I lose my data in this procedure?

thank you

(Update)

I find this solution and now is all Ok!

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

Go to /data/adb/magisk find "BusyBox" file and permission 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)"