yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Laptapper:
Hi, thanks for support

Log attached
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] smeroni68:
I've read the log. I do not find the starting point of the backup but i saw something related to decryption that fill the 90% of the log.

... Cleaned...

EDIT: file was too long and editor has cutted it... Here the problem:

I:Error adding file '/data/per_boot' to '/data/media/0/TWRP/BACKUPS/233255f2/2020-01-03--16-47-42_QQ1B191205011/data.ext4.win

You need to delete the folder that isn't backuppable via twrp File manager.

Mount data partition and remove:

/data/per_boot

Than your backup will work.

Inviato dal mio MI 9 utilizzando Tapatalk
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Laptapper:
I can see decrypted data

See pictures
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] smeroni68:
I edited my post and I given you the solution... Have you deleted the

/data/per_boot

folder and successfully backupped?

Inviato dal mio MI 9 utilizzando Tapatalk
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Laptapper:
Very good to have people like you here in xda!

Thanks, this was the solution, only deleted the empty folder and backup is working.

:good:
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] smeroni68:
Thanks for appreciation mate... When i have time I'm glad if i can help... This is one of the reasons of my RC here on xda!

In general if someone has similar problems on backup, do the backup, save the recovery.log and open it searching for the message that stop the data backup... There you will see the reason and the solution to apply.

Everybody can do this and get experience on how to fix... As I've done in many years here on xda (mainly as a member of development teams).

Inviato dal mio MI 9 utilizzando Tapatalk
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
TWRP 3.3.1-62 Xiaomi Mi 9 (cepheus) by mauronofrio:

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

TWRP 3.3.1-62 Unofficial by mauronofrio
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] karrouma:
But restoring data still not working

Orangefox all works fine
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] simcold:
Better is your version or official release?

Wysłane z mojego MI 9 przy użyciu Tapatalka
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
The unofficial one
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] DDPlayer:
try this, how to fix "how to fix extractTarFork() process ended with ERROR: 255"

Backup your all data

1. Flash this recovery (https://portal.mi-room.ru/files/twrp-recovery/)

2. Boot into TWRP

3. Format Data in Wipe Section (The one you need to type yes) i dont reboot TWRP after that

4. Flash the Rom u want

5. Go Back to the Start Screen of TWRP and Click "Advanced" and "RM Forceencrypt"

6. Uncheck "Remove DM Verity" and check "Remove Forceencrypt"

7. Now youre phone is full decrypted and Backup of all partitions are working

after, flash the recovery you want

now backup and restore works for all recoverys (i have this tested)
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] badaas:
Can flash unofficial over official? Thanks
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] dellira:
How do I revert Modified VBMETA?

I can't push anything to my phone anymore.

And my phone storage looks gibberish

Thanks

-edit-

after resizing and repairing system and data folder with TWRP

I was able to push and install "miui_CEPHEUSEEAGlobal_V11.0.6.0.QFAEUXM_1647340073_10.0" via adb

then I wiped all data using mi recovery from that image and now seems like everything is back
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] PUMAGTB:
Good evening, friends. Is it possible to use this TWRP with Mi9 Cepheus chinese version (M1902F1A), with 8Gb of RAM and 128 Gb of internal memory? If so, is there any different step other than the ones listed on the first pages? Thank you very much and greetings from Brazil!
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] dellira:
TWRP works fine but magisk didn't work for me.

I'm using M1902F1A with MIUI Global 11.0.6.0 (QFAEUXM)
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] iru786:
Hi Guys,

I am having similar problem to others where once i have installed TWRP and installed EU Rom, It just keep coming back in TWRP rather than booting. Any ideas?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Superwitschi:
Download the rom open it on PC and delete recovery inside the rom. Then flash it.

Superwitschi Designs
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] zaang:
I think Xiaomi.eu roms don't have recovery

Enviado do meu MI 9 através do Tapatalk
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Linez:
They actually have, and many times they're late on the update.

Just flash the twrp via fastboot if you're using xiaomi.eu if you want to use the latest twrp.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] toscha42:
Just for curiosity what hinders 3.3.1-62 from becoming 'official' when you're obviously the 'official' maintainer for TWRP for Cepheus?

Cheers

Toscha
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] sangbuana:
Xiaomi.eu's devs removed recovery from their latest ROMs because some users complained that their recoveries were replaced by the ones included in the ROMs.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] zaang:
Never happened to me with Mi 9

Enviado do meu MI 9 através do Tapatalk
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Gokh:
Hello,

i just unlocked my phone, and when i try to flash the vmbeta, i get "fastboot: unrecognised option `--disable-verity'"

edit: i update the minimal adb and fastboot package i had and now it works
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] cihaneken:
I have such a problem, do you have a solution?

https://xdaforums.com/Mi-9/help/miui-11-vendor-change-t4046509/post81705551#post81705551
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
Guys i'm looking for a Mi 9 Pro/ Mi 9 5G (CRUX) to add the support also for it in this TWRP. Comment here or write me on telegram
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] crbn:
Does making a full backup and restore (including data) work? I have the latest 3.3.1-62 version, xiaomi.eu rom, android 9.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] karadavuti:
Official TWRP

Dear All,

I would like to install for decrypt problem. Currently I use official TWRP latest version. Can I install via official TWRP by install menu?

In addition, can I ewvwrt back to official version.

Thanks in advance,

Regards,
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] smeroni68:
Yes.

Inviato dal mio MI 9 utilizzando Tapatalk
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Nekomiya2611:
After flashing modified vbmeta and install TWRP, when I boot into TWRP all my files are encrypted and I can't boot my phone anymore. Anyone else know what's wrong?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] fks4466:
Last miui 11

Hi,

Is it possible to install the last version of miui ? If yes how to ?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] mahmoudxcom:
Hi you must clear any finger print and lock pin before flashing TWRP try to reflash stock recovery or format data and reset the system in TWRP after that the system will boot normally but your data will be lost
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] fredelec19:
Hello

Unable to install twrp, disappears on reboot

thank you (miui 11 v 11.0.8.0)
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] amlecuatro:
Hi, I have a mi 9 in MIUI 11.0.5 global stable, can someone tell me how to install the recovery because it has been a lot of time since I installed it in a device and I forgot, please tell me step by step.

Ps. I have my bootloader unlocked and no root.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] smeroni68:
Maybe if you read the first post...

Inviato dal mio MI 9 utilizzando Tapatalk
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] juanpi84:
Where can I have twrp for Mi9 Trasparent 12GB Ram - 256 GB?

Is it available?

Thanks
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] juanpi84:
Can you send me the link for I download recovery, root and Rom.

Because only I have found for the Mi 9 [codename: Cepheus], but not for Mi 9 Explorer Edition [codename: Alita].

Is valid the rom of Mi 9 [codename: Cepheus], for Mi 9 Explorer Edition [codename: Alita] ?

Thanks.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] antykat:
Could you tell me how to make correct copy in TWRP? What should I mark in TWRP to make copy of system with settings and all installed applications? I have xiaomi.eu stable and 3.3.1-62 TWRP. I want to try some AOSP roms and probably go back to xiaomi.eu and than restore TWRP copy. I want to avoid of installing everything from the scratch. Thanks.

Wysłane z mojego MI 9 przy użyciu Tapatalka
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] antonio52:
select all items for backup
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] mauriciocardoso:
Hi Mauronofrio, hello my friends

I'd like to ask one question, please. If anyone could help me, i thanks a Lot!

I root my cepheus with the magisk patched boot image procedure.

After that, i succeeded to install the twrp app (with root rights).

The question: Can I flash your twrp with the twrp app? But, If I do that I Will not flash the vbmeta image. Do you think that flashing twrp with app procedure Will work?

Thanks in advance for your answer!
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] mauriciocardoso:
Dear friends

I successfully root and install twrp. Twrp seems to stay and Works, but it fails to flash any ROM other them xiaomi.eu.

As i flash the recovery with the twrp.app, i didin't flash the vbmeta image at the moment i installed it.

Now, i have the xiaomi.eu stable ROM running Very well in my device.

Só, my doubt is, may i flash the vbmeta image now? (Or, we can flash It only at the moment we flash the twrp recovery?)
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] toscha42:
Sure. Usually vbmeta is the first thing you flash, even before TWRP. But if TWRP is installed already flashing of vbmeta wouldn't do any harm.

Cheers

Toscha
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] mauriciocardoso:
Sorry for the repetition and thank you for your answer.

Do you know if we may flash the vbmeta image with the installed twrp? Or we should only do It with the fastboot commands?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] baszu:
Fail to restore :'(

restoring policy 1DK > 'aea1a782fd63f8f7' to '//data/hostapd/'
==> extracting: //data/system_ce/ (mode 40770, directory)
==> extracting: //data/system_ce/0/ (mode 40770, directory)
restoring policy 1CE0 > '03fe030000000000' to '//data/system_ce/0/'
==> extracting: //data/system_ce/0/snapshots/ (mode 40700, directory)
tar_extract_file(): failed to extract //data/system_ce/0/snapshots/ !!!
I:Unable to extract tar archive '/data/media/0/TWRP/BACKUPS/eb45a47b/2020-04-25--18-47-22_xiaomi.eu_20.3.26/data.ext4.win000'
Error during restore process.
I:Error extracting '/data/media/0/TWRP/BACKUPS/eb45a47b/2020-04-25--18-47-22_xiaomi.eu_20.3.26/data.ext4.win000' in thread ID 0
I:Error extracting split archive.
Error during restore process.
pigz: write error code 32
pigz: abort: write error on <stdout>
extractTarFork() process ended with ERROR: 255
I:Set page: 'action_complete'
I:Cannot find file /sys/class/timed_output/vibrator/enable
I:operation_end - status=1
E:[MTP] request read returned -1, errno: 5I:TWFunc::Set_Brightness: Setting brightness control to 5
I:TWFunc::Set_Brightness: Setting brightness control to 0
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] JoKeRLeE:
Why the TWRP Auto backup my persist while i never press any backup. is that normal?? I just flashed miui.eu with vbmeta patches still bootloop and persist backup appears.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] SylvainSLN:
Hello,

In the tutorial you suggest to : "flash a script to patch your vbmeta:VBMETA PATCHER"

I downloaded the file but how do you patch it ? which command and where ?

I modified the vbmeta and installed a twrp following another tutorial and now i'm stuck :

can't boot to system, it tries but always go back to twrp (tried to install lot of different roms but still failing on the system boot)

Thanks !
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] sembraottobre:
Try format data and yes - flash ROM
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] collect3825:
Troubles getting TWRP back on my phone

Was trying to do an PE+ update and pretty much ended up stuck in fastboot not able to do anything, trying to at least get TWRP installed but i'm getting nowhere anyone ever get this and how to get past it?

.\fastboot flash recovery .\TWRP_3.3.1-34_cepheus_mauronofrio.img

Sending 'recovery' (65536 KB) OKAY [ 1.608s]
Writing 'recovery' OKAY [ 0.333s]
Finished. Total time: 2.212s

.\fastboot boot .\TWRP_3.3.1-34_cepheus_mauronofrio.img
Sending 'boot.img' (65536 KB) OKAY [ 1.509s]
Booting FAILED (remote: 'Failed to load/authenticate boot image: Load Error')
fastboot: error: Command failed

Not sure what else to even try at this point...
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
You wiped system and then rebooted the device, you can't have an empty system
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Mohammed Gabr:
[MENTION=4712355]mauronofrio[/MENTION]

Hi bro can you help building multirom twrp for Xiaomi mi 9 "cepheus" please , i have all GitHub links supporting Android 9 & 10 roms and i have building steps
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] ThaiDai:
Bought the Mi9 yesterday. Finally I solved my problems with installing a custom rom after seeing the Vbmeta Patcher Infos.

So thanks a lot for the Mi9 twrp and the patcher
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] 4ndyL4f4y3tt3:
This is probably a stupid question, but I'm still learning so hey. How do I flash the "OF_avb_patcher_mauronofrio" folder through fastboot? Shouldn't the VBMeta be a single .img file?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] abunkaskus:
that's is flashable zip file. so you flash it from "flash zip" option in TWRP recovery. flash the whole zip. dont need to extract it to a folder
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] 4ndyL4f4y3tt3:
Its weird because I tried doing that, then flashed AOSPA and got a bootloop, so I went back to stock, flashed a VBmeta.img file from elsewhere through fastboot, flashed twrp, then the ROM and it worked perfectly. But I'm a noob, maybe i screwed something else up originally, anyway, thanks for answering.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] GirishSharma:
Can anyone please share the backup and restore steps? I have installed twrp-3.3.1-0-cepheus.img and flashed magisk. Earlier, I used to backup and restore on my previous OnePlus one device many times, but this time I am seeing more partition in this device (Xiaomi mi9 Global edition). So please explain which partition should be backed and how to restore, if there is boot loop or device bricks.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] disthomuc:
Hi all

What about the official twrp 3.4.0?

---------- Post added at 02:46 PM ---------- Previous post was at 02:46 PM ----------

Hi all

What about the official twrp 3.4.0?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
TWRP 3.4.0-0 for Xiaomi Mi 9 (cepheus) by mauronofrio:

Main changelog: https://twrp.me/site/update/2020/06/24/twrp-3.4.0-0-released.html

TWRP 3.4.0-0 Unofficial by mauronofrio
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] invisiblewave:
[MENTION=4712355]mauronofrio[/MENTION], I just came across this. What is it you need? I have a Mi 9 5G Pro, and we currently don't have a TWRP that supports encryption. Is it a big task to do based on the Mi 9? Hoping you can help!

---------- Post added at 04:03 PM ---------- Previous post was at 03:03 PM ----------

I've been having the same problem. My understanding now, although I haven't tried it yet, is that you have to flash the rom again, then restore just the data partition. Presumably, you then have to do the usual reboot without Magisk, then return to TWRP and flash Magisk after the first boot.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] _MartyMan_:
Thank you very much! :D
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Sanzium:
Thank you so much!

Sorry for the silly question, but what is the difference between the unofficial and the official versions? In the TWRP site there is twrp-3.4.0-1-cepheus.img from 2020/06/25, is there any difference from the unofficial (since you are a contributor for the official TWRP project).
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
I removed the twrp app from the unofficial build and nothing else
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] zaang:
[MENTION=4712355]mauronofrio[/MENTION] do you will release twrp for umi (MI 10)?

Thanks for your great work

Enviado do meu Mi 10 através do Tapatalk
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] mauriciocardoso:
Dear Mauronofrio

If i use the last twrp an error message appears - Unable to decrypt FBE device.

I did have done format data and Reboot twrp before flash a rom, and i had originally magisk 20.4 running.

But, If i use the 62 twrp version, everything runs ok.

Weird!

Anybody else notice this error to?

Thanks for any advice!
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] BarrettBear:
Does anybody else have any issue trying to use the "decrypt /data PINHERE" command to get past the first screen?

I'm trying to setup a regular scheduled backup with Tasker, and the OpenRecoveryScript is written into /cache/recovery/ just fine, the file contents are fine too, but when the phone restarts, I'm still presented with the first screen in TWRP prompting me to put in my password.

I thought the point of the decrypt command was to pass that information along as an argument so it could automatically unlock itself?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Pheinte:
I had some problems with TWRP 3.4.0-1, it kept booting back to TWRP after having installed xiaomi.eu rom (tried severals times). Went back to TWRP 3.3.1-62 and it worked all fine.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] hamedpc007:
Touch panel Problem .

Hi . When I install twrp touch panel stop working and only with optical mouse can work and click buttons . I test many version for example 3.3 and 3.4 . All have this problem . When I was on Android 9 everything was ok but after install android 10 ( tried many different rom ) touch panel disabled . The only Android 10 Rom that detect touch panel properly is GSI AOSP rom . but I want official or xiaomi.eu roms. please if any one can help me . I can send dmesg.log and recovery.log if help
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] ChingghisKhan:
will this work on MIUI 12?

Hi, will this work on MIUI 12?

Thanks
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] tosonny:
Yes
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] FoRynas:
when should I flash the VBMETA?

Should I flash it in fastboot after flashing TWRP? If yes, what command should I use to flash it?

I also noticed that some roms such as crdroid have "flash vbmeta before flashing TWRP" in the installation instructions, should I flash their vbmeta or this vbmeta?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] chisnz:
Deleted
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] pwarc:
Installed the 3.4 recovery just now. Everything works fine. It also has vibration. Nice to have.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] fyresg:
Update 3.3.1 to 3.4.0

Hi, I have 3.3.1 installed and everything works fine. I thought of updating to the latest 3.4.0, but I wasn't sure the steps. Is updating 3.3.1 the same as installing a TWRP for the first time? Otherwise, how should I do it?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] toscha42:
You can easily flash the new TWRP within the existing one.

Cheers

Toscha
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] fyresg:
Ah, got it, thanks! :)
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] @kitokit:
I've just unlocked my bootloader

Is this how it's done ?

1. Flash twrp image in fastboot

2. Boot into twrp thru fastboot

3. Flash vbmeta patcher zip thru twrp -is this necessary?

Will my data be not affected during flashing twrp?

I'm just installing twrp, no root yet. I'm still looking for custom ROM that fits me.

I'm running stock global muiu 12.0.2.0 QFAMIXM
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] nonoperez:
1 and 2 yes

3 not sure, I didn't have to do it for xiaomi eu nor aospa.

4 yes, you'll lose all your data, back up all you want to save. When you change your ROM you have to wipe data, and if it's encrypted format it through TWRP.

I recommend you to find in YouTube all the process for your phone and new ROM.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] @kitokit:
I'm not yet trying to install custom ROM or change ROM, and I'm not yet rooting my phone..

All I want is recovery for the mean time... So will I lost my data if I will flash recovery only?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] nonoperez:
In my experience, never lose data when flashing recovery, official TWRP.

Let me give you some advice. Unlocking the bootloader is less secure than a locked one, some apps detect it and doesn't work on your phone, like some banking and for example fortnite (at least when was released, I tried and couldn't use it due to unlocked bootloader). If you are not going to change the ROM I think it is not worth. And the last and more important one: NEVER, NEVER, NEVER relock your bootloader with a different ROM of the original one the phone came with, or you'll probable brick your phone.

Nevertheless if you decide to came into the awesome world of ROMs, kernels, Root, etc... you will enjoy your phone and have a better experience with it.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] @kitokit:
I'm on the latest stock gloabal, so the lastest twrp will work right?

I've seen you in PA quartz, so how the ROM experience?

I'm planning also to install PA once stable quartz 5 will be release. Is it ok to send pm to you for help in case I face some problems in installing the ROM.?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] nonoperez:
Latest TWRP works great.

PA is simple, smooth and fast. Battery is good. A good pure AOSP ROM. Not game turbo, and other miui things I'm not really missing ATM. You will need a camera, I'm using this: https://www.celsoazevedo.com/files/android/google-camera/dev-urnyx05/

If you want a modified MIUI I've been using Xiaomi EU for months, great community, a optimised MIUI with no ads and chinese stuff. The only thing is that MIUI 12 feels like a work in progress, not as fast and battery friendly as 11.

That's my opinion, the good thing is that you can try them all for free! that's the best thing in unlocking your device.

You can pm if you need help.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Rizali:
Please somebody help me..

I just did the following:

1. I boot to twrp 3.3.1-46 and wipe everything except internal storage.

2. Still in twrp 3.3.1-46, I flashed twrp 3.3.1-62.img.

3. Reboot recovery and booting to twrp 3.3.1-62.

4. In twrp 3.3.1-62 my internal storage is encrypted.

How can i decrypted my internal storage?

Since there is no "prompt password or patern" to decrypt data.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] BarrettBear:
I think you need to use the "Format" option, where you have to type in "yes" - That's how I get rid of encryption on my device when I'm flashing something new.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Rizali:
Is there any other possible way to fix it without format data?

I can't loose them..
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] BarrettBear:
I have never been able to decrypt using TWRP I'm afraid - your best bet (if you can) is to log into the phone, and save all your stuff, then format it afterwards.