yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Rizali:
How can i log into the phone? :crying:

Everything has been wiped except internal storage.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] BarrettBear:
Ah that is a good point.

Then yeah, it seems like "Format" -> "yes" is your only bet I'm afraid. Sorry dude.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] reymasters:
Can someone help me please. Im using orangefox recovery right now and I want to change it to TWRP. Can I just flash the zip file through ofox?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Sanzium:
Thank you for the great work! Is anything being done to support android 11 roms decryption?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] ai5g:
For installing twrp, I am trying:

fastboot flash twrp-3.4.0-0-cepheus-mauronofrio.img

and I am getting the error message:

fastboot: error: cannot determine image filename for 'twrp-3.4.0-0-cepheus-mauronofrio.img'

Any advice? Thank you´in advance!
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] @kitokit:
I think it should be

fastboot flash recovery twrp-3.4.0-0-cepheus-mauronofrio.img
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] BarrettBear:
Yeah, the commands that I use are:

"

To see if phone is connected, you can use: adb devices

fastboot flash recovery OrangeFox.img

-or-

fastboot flash recovery TWRP.img

"
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] vitorlomba:
FASTBOOT does not respond to commands

Hi

Whenever a new rom version comes out, I update and then install TWRP via FASTBOOT.

This time I updated to version 12.0.3 and when the adb command to restart the device it restarts.

As soon as the device enters FASTBOOT mode, it stops responding to commands and the ADB cannot find the device!

Someone can help me? I need to root by TWRP.

Thanks
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] ChingghisKhan:
Try Mauronofrio's Tool-All-In-One

Try Mauronofrio's Tool-All-In-One:

https://xdaforums.com/oneplus-8-pro/how-to/tool-tool-one-driversunlocktwrpfactory-t4103509

I use it and no problems anymore
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] vitorlomba:
Thanks

Thanks for the info

It worked really well!
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] ChingghisKhan:
GREAT, that tool is awesome.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
TWRP 3.4.0-10 for Xiaomi Mi 9 (cepheus) by mauronofrio:

Fixed Android 11 Decryption;

Updated to latest official changes.

TWRP 3.4.0-10 Unofficial by mauronofrio
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] RealNBB:
Is DFE then no longer needed?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] nicky69100:
Works like a charm thanks a lot!
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Kris Chen:
After flashing it, I still need to key-in password to descrypt my data partition. Is it because my ROM is Android 10 ?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] AcmE85:
It is because your data partition is encyrpted. Updating the recovery doesn't change that.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Kris Chen:
But it's needless to keyin password in last Orangefox recovery in my mi9.

It's so weird.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] B3!CrAZy:
So flash DFE.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Kris Chen:
Doesn't work !

Then I return back OrangeFox and everything is fixed !
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] wakko42:
Decryption works with project404 rippa (Android 11) as it should.

thx for this update!
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] leezn:
MIUI 12.5，Android 11 Unable to decrypt automatically
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] bin120499075:
MIUI12.5, Android 11 cannot be decrypted, please fix it, thank you.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] miagii:
please update for miui 12.5 decrypt
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Akantinuris:
HI, I use Project 404 as dialy driver. Today i upgraded magisk manager and flashed Magisk 21.2 through it. After that the ROM was not starting anymore. I froze with the boot logo. That's why i wanted to restore my freshly made nandroid. But Starting twrp I get the message "init_user0_failed". I can use TWRP but while restoring "data", it ends with error 255.

Could anybody help me out finding the culprit
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] RedLuthor:
Hi, I'm having a problem related to auto brightness, on the lock screen the brightness is very little causing a problem in the reading of the fingerprint. miui 12.0.3.0
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] B3!CrAZy:
Are you sure that this is related to TWRP?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] RedLuthor:
I believe so, I downloaded the miui update patch again to restart the process. after installing recovery the brightness on the lock screen is low using auto brightness. with manual brightness at high, works normally. would you have any ideas? I tested the quantic kernel but the dev said that there are problems with FoD.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] roxdragon:
@mauronofrio

DFE doesn't work. I use crdroid 7.2. I must flash DFE seperately.

i have flashed latest recovery
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] obt1948:
deleted
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] j3l11234:
MIUI12.5, Android 11 cannot be decrypted, please fix it, thank you.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Laptapper:
Try latest stable orange fox recovery
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] j3l11234:
On Android 11 (or MIUI 12.5, or whatever) my file names are all gibberish​

Android 11 decryption is supported with respect to custom ROMs.

However, there are issues with MIUI ROMs based on Android 11, and with ROMs that use the new keymaster 4.1. With such ROMs, decryption may not work at all in recovery mode - but in some cases, decryption may work if you "hotboot" the recovery image (eg, "fastboot boot recovery.img").

This is

not

an OrangeFox problem, so do not ask us to "fix" the problem.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] RedWave31:
Hello,

A small "up" about the previous message.

My USB-C Port was burnt and the whole daughter card is new.

I found myself with an unlocked, registered Mi 9, a standard recovery and a 10.EEA MIUI 12.0 ROM.

I had previously made and got a full backup of a 3.4.0.10 recovery with a Xiaomi.eu 12.5 / 21.3.3, which I'm currently restoring, that might have been patched somewhere using the weekly bootfix.zip

I'm having real trouble with MIUI 12.6 and ROM 21.4.7 sticking aside the recovery.

ANOTHER WARNING : Phone self-wiped, self-locked to bootloader (no key combination possible), removed all recoveries this afternoon after the Google Messages App failed

.

A device warning after a new Fastboot saveup shows that Xiaomi was the one that did remotely wipe my phone. I'm in a really, really bad mood about that, Xiaomi. Be careful about system apps from now on.

TLDR : Step-by-Step Solution on a wiped phone restaured to factory settings.

I'm also having troubleshooting the problem with two recoveries:

- twrp-3.4.0_10-cepheus-mauronofrio (useless, old?)

- twrp-3.5.2_9-0-cepheus

AND troubleshooting a possible VBMETA problem with two files:

- TWRP_Stable_to_Weekly_BootFix_v1.0 (useless, old)

- OF_avb_patcher_mauronofrio.zip (new in OP)

Your Problems look like this?

- Boot into 3.5.2 Recovery NOT using the fastboot boot twrp.img method (as usual)

- Flash ROM 21.4.7

- Flash OF_avb_patcher

- Reflash 3.5.2_9 into recovery slot

!! /data/media doesn't erase when I try a full wipe, that's my only clue as of now.

Should I use the Fastboot boot twrp3.5.2.img method (or the fastboot twrp3.4.0_10)

- Then flash....

Sorry for needing some help here, I'm usually up to date on those changes but those last two got me LOST.

EDIT 1:

- Using XiaomiToolV2 in "brick mode" gets me back to step 1. I believe it's under my eyes with the vbmeta, just fatigue !

EDIT 2 : Solution on an unlocked "empty/new" machine

1.Fasboot boot twrp352

2.(Recovery) Flash vbmeta

3.(Recovery) Return Bootloader

4. Fastboot flash Recovery twrp 352

5. Reboot Recovery

6. (Recovery) Flash 12.6 4.8 Rom + vbmetapatcher (ok)

7. Return Bootloader

8. Fastboot flash Recovery twrp 352

9. (Recovery) Flash vbmeta (((or adb sideload vbmeta_patcher_2.zip)

10. Reboot system

WORKS!

- Magisk under test

- (Recovery) Flashed Magisk22.zip

- (Recovery) Flashed TWRP352

- (Recovery) Flashed vbmeta

- (Recovery) Reboot System

Decryption works !

EDIT 2

Something is wrong again, decryption doesn't work.

- Wiped whole phone COMPLETELY

- Used the TWRP 3.5.2 + vbmeta extensively

- Installed MIUI 12.6 210407 (unavailable as of now)

- Disconnected from MIUI Cloud!

- Installed Magisk 22.1

HINTS:

- That awfuuuuul boot audio is in /system/media/bootaudio.mp3 >>> DELEEEEETE

Thanks !
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Rizali:
Folks..

Can I flash MIUI v10.2.30.0 EEA Stock ROM via TWRP 3.3.1-62 without flash DM-Verity.zip?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] njin33r:
hi- my phone doesn't boot after I restored from a backup. The backup contained system, vendor images and data, boot partitions. The phone gets stock on the phone is starting... screen. After looking at a boot logcat, it looks like the cause is that it fails decrypting:

06-25 21:03:43.257 602 602 D vold : fscrypt_unlock_user_key 0 serial=0 token_present=0
06-25 21:03:43.259 602 602 D vold : Skipping non-key .
06-25 21:03:43.259 602 602 D vold : Skipping non-key ..
06-25 21:03:43.259 602 602 D vold : Trying user CE key /data/misc/vold/user_keys/ce/0/current
06-25 21:03:43.264 577 577 I hwservicemanager: getTransport: Cannot find entry android.hardware.keymaster@3.0::IKeymasterDevice/default in either framework or device manifest.
06-25 21:03:43.264 602 602 I vold : List of Keymaster HALs found:
06-25 21:03:43.264 602 602 I vold : Keymaster HAL #1: Keymaster HAL: 4 from QTI SecurityLevel: TRUSTED_ENVIRONMENT HAL: android.hardware.keymaster@4.1::IKeymasterDevice/default
06-25 21:03:43.264 602 602 I vold : Using Keymaster HAL: 4 from QTI for encryption. Security level: TRUSTED_ENVIRONMENT, HAL: android.hardware.keymaster@4.1::IKeymasterDevice/default
06-25 21:03:43.264 602 602 E vold : Failed to read from /data/misc/vold/user_keys/ce/0/current/keymaster_key_blob: No such file or directory
06-25 21:03:43.264 602 602 E vold : Failed to find working ce key for user 0
06-25 21:03:43.264 602 602 E vold : Couldn't read key for 0

What's weird though is that when I boot into recovery twrp has no problem at all decrypting the data. And also I don't understand why that keymaster_key_blob it didn't find wouldn't be in the backup... What are the circumstances under which this can happen?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] vitor_lomba:
thanks
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] gnegne:
Hi,

after trial and error lots of ideas the following worked for me backing up the encrypted data partition.

I am currently using MIUI V12.5.1.0 RFAEUXM

downloaded latest TWRM from twrp-3.6.0_9-0-cepheus.img (older versions referenced in the first post may also work)

started twrp without installing it with fastboot -> "fastboot boot twrp-3.6.0_9-0-cepheus.img" from the windows command line

after TWRP started the PIN was requested to decrypt data partition, after that inbuild file manager showed directories of data partition properly

backup of data partition succeeded (did not try out restore yet ;-) )

best,

Ypo

I had some 255 error messages at the beginning caused by a second profile I used in MIUI. Watch out for "user / profile 10" entries / folders in the log. These folders were not deleted properly when deleting the second profile in MIUI, so I deleted them manually using the TWRP inbuild file manager. Addtionally I had to delete the folder '/data/extm'.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] elTorres:
Any news about Android 12 encryption support?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] weigeloveu:
official 3.6.1 doesnt work
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] jrs007:
Hi, after putting the latest version of twrp for cepheus twrp-3.6.1_9-0, it just goes back to the bootloader.

anyone else with this error?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] PieroAnt:
i also had the same problem. the only working version is 3.5.2
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] PieroAnt:
I would like some advice on how to backup and restore from twrp with Android 11. From what I understand by reading on the net, you need to backup only the DATA and EFS folders. To restore you must first reinstall the rom and after starting the system startup procedure, restart in recovery and restore the aforementioned folders.

Can anyone confirm if this method works?

I had previously tried to make a full backup but the restore procedure got stuck and I had to reinstall all over again.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Meneldur:
I had that problem but I solved it with TWRP official instructions.

After flashing recovery using fastboot, right after rebooting you must enter recovery again using the vol-up button. This way, TWRP can patch boot image and stay alive.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Meneldur:
I know it's annoying and time consuming but in my experience it's always better to start fresh and clean when installing new ROMs.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] PieroAnt:
I directly installed the image file from TWRP, as described in the official website but in any case when restarting in recovery the phone went into fastboot and not into recovery.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Meneldur:
Did you press vol-up when you first did "fastboot reboot"?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] PieroAnt:
No, i selected reboot recovery
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Meneldur:
Do that. Right after pressing "enter" for "fastboot reboot", press the vol-up key. It will enter TWRP as usual, and after that, the recovery partition will remain and be accessible from system or adb reboot recovery.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] moonjy1120:
I just unlocked my phone and flashed this recovery... and i can't enter twrp it just open original xiaomi recovery and can't boot without data wipe

(i am using global ver)
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] marcel112:
i had the same.

After flashing the recovery, dont use fastboot comment to reboot to recovey!

If you do use fastboot command, it will flash stock again

After succesfull flashinf the recovery with fastboot , hold power button and power up together till phone reboots and you see mi logo, release the power button.

Now you are in TWRP
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] moonjy1120:
thx problem fixed ^^
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Lordmau5:
Thank you for this TWRP build, really appreciate it :)

Granted me to install the Xiaomi EU rom without all the China bloat.

However, as a couple other people mentioned, there's no support for backups yet, correct?

I did notice that you did a new commit around 10 days ago that, from my understanding, should bring support for decryption of the partitions, or is that perhaps for something else?

If it is, would there be a possibility to build a new recovery image with those changes, in case it's not already in the latest 3.2.3-10 build?

I can't get it to build on my own system as I'm having some trouble getting the option in the "lunch" menu to show up for "omni_cepheus-eng".
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
Unfortunately the source is not updated, i excluded decryption in the latest build to make it boots, actually i stopped working on it. Maybe in the next week i will start again
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] marcel112:
Would be great if backup will work again in a new update
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] cd993:
That'd be amazing if we could get encryption and backup working! Highly appreciated if so :)
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] siugat:
Hello! seem can't mount the USB-OTG, i need the USB-OTG to flash rom because the SD Card won't decrypt.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] belthazor86:
Hi guys,

finally yesterday I unlock my device, moved on xiaomi.eu and root it with magisk.

Now I have only one question( before I always used global rom by XIAOMI): after OTA update we will lose the root, like global ROM, or we still have ROOT propriety after OTA?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] marcel112:
I dont use OTA but when i flash weekly's using TWRP, i allways have to flash magisk after to obtain root
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] belthazor86:
Ok, thanks. But do you need to restore your data every time or is it ok only update without data wipe?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] marcel112:
no no, it's just dirty flash.

Allthough.... the guys from xiaomi.eu advise a clean flash , so no issues , to be safe.

Myself dirty flash, only for android version or big update i full wipe ( you can make mi backup so you can restore desired things)
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Visorov:
will i be able to restore the backuped data from micloud after rooting?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] :
It worked for me in the past with Redmi Note 3.

Should work now too I guess.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] djbosanac:
this recovery does work, the other one here does not work.

But it does not work properly. Get this error

al the folders are empty...
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] mr-mauro:
It looks like still encrypted. I think you didn't format the data (wipe is not enought)
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] djbosanac:
when install the TWRP i can boot in to it. But then i get that as well in the TWRP those folders.

And when i do full wipe it deleted my TWRP so i boot in the Mi recovery 3-0 version again.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] CrazyBeaver2377:
did you actually read the response up here?

format data...

And memeui restores stock recovery..
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] perryano:
Hi all, I am always stuck on splash screen. Any suggestions please? Xiaomi mi 9
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] perryano:
I have managed to get twrp working, changed the updater-script file then rezipped global.zip. I have installed it correctly once the file is pushed to my phone, but when it reboots it always loads straight to twrp. Even from fastboot it goes into recovery. Any help please
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] __infin1ty:
twrp-3.6.1_9-0 removed from twrp download page.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] M.WeWe:
hello can anybody help me please

i have forgotten my pin so i used this way to bypass it

rebooted to recovery and selected cancel in decrypt data

Because i don't remember what it was

and deleted what i have found form those files

--------------------------

recoverablekystore.db

password.key

pattern.key

locksettings.db

locksettings.db-shm

locksettings.db-wal

--------------------------

now my phone opens up but stuck after lock screen at phone is starting

Note: i can enter notification bar and phone settings

could you please guide me how to fix it without wiping the data

ROM: CRDroid 6.13

TWRP: 3.4.0-10 by mauronofrio
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Aldideos:
You can't bypass the lockscreen if you have data encrypted with your pin. It seems that data is encrypted as twrp asks you the pin.

That method works only if data is not encrypted

Edit

As you removed those files you probably won't be able to recover your system even if you remember the pin (unless you backupped those files before removing them).

If you didn't backupped the files your system is gone, but you can still recover your files in /sdcard via twrp if you remember your pin.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Eric.Draven:
Hi,

I need some help over here.

I flashed the recovery but I can't factory reset (in recovery or in android) because the file system is encrypted and the recovery don't ask the password.

Can someone help please?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Slawas87:
Did you try to format data first?View attachment 5632563
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] grokker:
May I ask where can I find some release notes to compare this latest unofficial version with the latest official one?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] jrs007:
Any news to make twrp-3.6.1_9-0 for cepheus?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] PycmShoma:
You can even 3.6.2_9.0 here or here. The first link contains more recent fixes and innovations in the twrp source code.

Changelog for twrp 3.6.2 here. See changelog for 9.0 branches

Upd: A12 Encryption not supported
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] PycmShoma:
TWRP 3.6.2_12.0 by JoK3rLeE for retrofit roms.

Supported A12 encryption
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] hola_:
for some reason twrp detects my data partition if 0 byte size and doesn't allow to mount it. I have to format it so it is mountable again. But this fails again after launching crDroid 8.12 which encrypts the partition again.

Any ideas how to fix it? how to mount encrypted partitions again?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] toscha42:
AFAIK that doesn't work any more for Android 12 encryption. No current custom recovery is capable of decrypting A12 encryption.

Cheers

Toscha
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] hola_:
thanks... good to know!
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] NOS_bzone:
Anyone can help explain the step by step how to installing TWRP and Magisk?

I trying always failed (twrp disappeared, folder encrypted). If i format data or wipe data recovery back to stock recovery. :(
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] cd993:
See my thread here:

https://xdaforums.com/Mi-9/how-to/guide-how-flashed-twrp-xiaomi-eu-rom-t3912952/page16
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] wizzman:
See here:

https://xiaomi.eu/community/threads/tuto-mi-9-install-xiaomi-eu-magisk.49757/
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] SirAndr3w:
Why with twrp my folders name's are just like: ehwu282kwj1o1a ? I already done "format data"
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] cd993:
Is that the full format data? And not just formatting the data partition...
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] SirAndr3w:
Hi guys, I downloaded latest Rom for mi9 10.2.17 for update it, after flashing the ROM and reboot into system, nothing work, phone just restart into twrp. No I solved flashing everything with Mi flash but why I got this problem?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] NOS_bzone:
I'm success installing xiaomi.eu with magisk, but if i want using rom global beta can i using this method?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] wizzman:
I did not try with my MI9 but it's ok with my MIMI2 & MIMIX3
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] leviackerman91:
I managed to install TWRP and flash Xiaomi.eu rom without problems.

No there's a rom update, but can't flash it through TWRP beacause folders are encrypted and can't find the file.

Any workaround?