yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] zk_eu:
Ok, the last one I don't get.

So I installed the TWRP, but cannot decrypt data? It always says unable to mount storage or password failed.

I also formated data and then set up everything again, but still can't decrypt data at entering TWRP.

Any solutions to this?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] leechgid:
You need disable force encryption, Enter TWRP, flash install TWRP, wipe data in A slot, reboot TWRP in B slot and wipe data, reboot TWRP in A slot and flash rom, flash install TWRP again, flash DFE in Slot A, reboot TWRP in B slot and flash DFE, install Gapps, (optional) Magisk and reboot to system (dont change the slot)

Phone decrypted!

https://xdaforums.com/attachment.php?attachmentid=4704479&d=1550012433
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Henki98:
Is it the same in oreo or just for pie?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] leechgid:
its the same...

this is the process to change stock to any rom, no gsi

GSI is other process
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Henki98:
is it the same even if I want the decrypted stock rom?

and what is the difference between twrp 3.3.0.0 and deestroy 3.3.0.0?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] leechgid:
If you want only decrypt stock rom, in TWRP after encrypted message, go to wipe and wipe data, change to slot A and reboot to TWRP, go to wipe data, now flash install TWRP and DFE https://xdaforums.com/attachment.php?attachmentid=4704479&d=1550012433, now change to slot to B and reboot to TWRP, flash DFE and reboot to system.

Now system is decrypted, but you need config all phone...

I don´t know the difference, i recommend use twrp-daisy-3.3.0-0-offain
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] zk_eu:
To be honest, I wan't to have my phone encrypt because of sensitive data. I don't get it. I had Pie and TWRP and no problem with encryption.

I had TWRP 3.2.3-0 and V10.0.4.0 and there was no problem with encryption.

I guess I will just use direct Install in Magisk. To bad that TWRP does not work.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] leechgid:
Change to slot B and flash magisk, reboot to system

Thats all
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] zk_eu:
Slot B was already selected, so there was no need to change.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] thinkertank:
I relazied after countless hours of trying, to not to make any backup with any of these twrps. As long as a I dont make any backup, stock oreo, pie, los 16 boots fine.

It seems like something is messed up, even if only taking backup from system, data, and boot.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] capajga:
In my case taking a backup would cause a very long startup time, so for now I try to live without it :)

When I flashed back stock, everything was ok.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Veran125:
Any version of TWRP where the backup/restore function works?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] MoJo:
It seems NO, all guys wanna get it ...
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] bla.tiga:
Im kinda confuse, can you tell me guys , which twrp i can rely on

The very complete of version of twrp??

---------- Post added at 11:49 AM ---------- Previous post was at 11:49 AM ----------

Im kinda confuse, can you tell me guys , which twrp i can rely on

The very complete of version of twrp??
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] rob420p:
Offains 3.3.0.0 twrp is the most complete one
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] bla.tiga:
Is it fine with oreo?

Where i can find the thread of offains twrp? Any installation tutorials with oreo
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] rob420p:
I believe it does.u can find under ROMs ether in the pa thread or los
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] bla.tiga:
​

Omg, i searching all day, i figure it out 33bca is offain...

Hehehe.. okay.. thanks

***********************************

Can we flash magisk.zip to get root access with only twrp 3.3.0 offain temporary???

Because i get confused to install the 3.3.0 twrp, i do understand but it one package intruction with custom rom.

Please correct the step...??

1. Fasboot boot twrp 3.3.0.img

2. Install twrp 3.3.0.zip

3. Flash force encryption disabler.zip (do we need? Please correct me if i wrong)

4.After everything is done, DON'T TAP REBOOT YET. Instead, go back to the main menu, choose "Reboot", change the slot (e.g. if it says "Current Slot: A", tap "Slot B", vice versa. Finally, tap "Reboot". (Please correct me again if i wrong)

Is that correct? Step?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] rob420p:
U don't need to change slots unless u are in stalling a ROM for just root with twrp just flash magisk n reboot
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] bla.tiga:
Okay understood... But dont need flash force encryption disabler.zip?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] rob420p:
Not if it's just root no u don't need to flash disabler
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] evil89:
Hi, I tried installing TWRP, but the touch isn´t working. TWRP boots but it is not possible to input anything. If the screen is locked the swipe to unlock doesn't work.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Gentox:
Try reflashing the 33bca twrp version if you used another version.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] ImANewGuy:
Is there any way to not set up my phone again to flash this?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] a1291762:
Installing TWRP doesn't wipe data.

If your bootloader is locked, it's possible to unlock bootloader without losing data. search the forum.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] akupac:
Hm... Any other option for backup? I always want to keep a backup of clean installs :/
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] hardmaster92:
I'm about to use this to root my phone but I have one question - is there any way to reverse it (revert the original revocery) and will I keep receiving future updates if my phone is rooted?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Voodoojonny:
Just flash stock boot.img (from the fastboot rom you´re using) via fastboot.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] hardmaster92:
Alright, I can do that as long as I somehow obtain the stock boot.img first. But also I still need to know if I'll keep getting the official system updates if my phone is rooted?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Voodoojonny:
You can find the stock boot.img from april rom here

After installing the stock boot.img, your system will not be rooted anymore. So there will be no problem with updates. After updating, you can install twrp and magisk again.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] hardmaster92:
I get it, thank you.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] MoJo:
TWRP 3.3.1 is out.

Has anyone tried to install it, does it work?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] celrau:
As of now there are 3 variants of TWRP and only offain's is preferred by rom developers. The official one works well only with GSI roms, in my experience. So what "works" means is the question, rather.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] rob420p:
Thanks for clearing that up I was curious myself.we also have orange fox now
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] MoJo:
I use stock V9.6.11.0.ODLMIFF, no root. Using official TWRP during backup I always got an error - e: recv error on uevent.

So, I mean, do devs fixed this moment or no .

IDK, how this error does affect both on backup and restore ....
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] eremitein:
that error not matter
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] emirul:
Hi. Why my sdcard partition just show 0mb. While my external sdcard showing the correct number of mb
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Folgore89:
So even the latest official twrp does not work or supports encryption for custom roms? I ask for Lineage Os
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] GDFI:
No it doesn't, for now to my knwledge there's no recovery supporting encryption
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] a1291762:
I have been using TWRP 3.2.3 since forever because it worked for me (could mount /data, at least after being installed). However, it doesn't work with 10.0.9.0 (just shows system has been destroyed screen), something I only just noticed (apparently I neglected to test when upgrading).

Today, I figured out that TWRP 3.3.1-dees_troy (from the official TWRP site) works with 10.0.9.0. What's more, it works (can decrypt /data) if you fastboot boot it, not just after install. So you could in theory simply not install TWRP and fastboot boot if in the event that you actually need it.

I tried some other TWRPs (3.3.1-offain and OrangeFox) but neither of them could mount /data.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] eremitein:
so if you install 3.3.1-dees_troy then encrypted data not opened but error "system destroyed" not exist?

thanks for info
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] celrau:
The more important thing, can you flash any of the available roms with it?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] a1291762:
3.2.3 gave me "system destroyed" if I tried to boot to recovery.

3.3.1-dees_troy does not. It works when installed and when booted from fastboot.

It can see /data. I never turned on encryption but I never used am encryption disable fix. Running stock 10.0.9.0.

I have not tried to flash roms with it.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] grinder777:
Just today I unlocked my new daisy 10.0.9.0 and flashed twrp 3.2.3

Stock-Rom booted fine but reboot to recovery gives

"system destroyed"

So I booted again TWRP from PC to flash 3.3.1 but sdcard is not mounted (0Mb)

Any help woulb be highly apreceated!
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] a1291762:
Before 3.3.1-dees_troy, this was expected. The install image can't see /data. You upload the installer zip using adb and install. The path /sdcard works temporarily (ramdisk). Upon rebooting to recovery, it can see /data.

For me, 3.3.1-dees_troy can mount /data from the install image. Not sure why it can do this. You don't need this to install.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] grinder777:
how can I fastboot boot 3.3.1 ?

Did not find the .img yet...
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] a1291762:
Official builds here.

https://dl.twrp.me/daisy/
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] grinder777:
ok, thanks a lot!

I booted from PC 3.3.1

installed sucessful 3.3.1

phone booted normal

turned off and tried to boot in recovery

again "system destroyed"

:(
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] eremitein:
rom version?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] grinder777:
10.0.9.0
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] dedebekri:
Why not use offain's twrp? It is the corrected version to function for our device.

MI A2 Lite cihazımdan Tapatalk kullanılarak gönderildi
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] HeyImVitor:
Hi guys

Yesterday i unlocked my bootlooder of my mi a2 lite

And temporary booted the official latest twrp version and i try to install Pixel Experience rom

I download the rom in microsd

I make a backup of all device in microsd

And deleted /system /data /cache /dalvik /internal storage

And when i go to install the rom i has the error 1 and 7, i restored the backup in the phone and rebooted... and it caused a bootloop

How i resolved it? I install a offain twrp and re-try it or i flash the stock?

The error is on official twrp?

Help ;-; i dont have another smartphone
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] eremitein:
read installation manual for custom roms

https://github.com/tkchn/daisyinstall/blob/master/README.md
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] oferyuval:
To install the stock rom use Miflash. Follow the instructions:

https://github.com/tkchn/daisyinstall/blob/master/README.md#1-install-the-stock-rom
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] HeyImVitor:
thank :3 worked
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] grinder777:
posted this before at cDroid forum, but I guess it be a TWRP issue..?

Hi to all interested here,

I am in a really bad trouble by trying to flash TWRP or Custum Rom:

I'm following the instructions very careful, but flashing RR or crDroid will always give the same result :screenshot:

TWRP single install is working, but recovery wont boot, says "system destroyed"

I have tried TWRP 3.2.3, 3.3.0 both, img and installeers - "system destroyed"

Tried on Stock 10.0.3.0 as well as 10.0.9.0

Tried to flash RR 0607, RR 0513, RR 0417 and, ofcourse latest cDroid but non of them will flash (screenshot)

Also I have send back the first daisy and get the same issue with a new one - just arrived today...

It looks like everything from PC (Linux) is working flawless

even "fastboot oem lock" - to send back - was working fine, its erasing after and booting locked again; switched off OEM unlock in dev options and it was fine.

But flash ROM or TWRP will fail

Flash TWRP seems working but TWRP boot will only show "system destroyed"

Does anybody here has any kind of idea please? I really like that phone...
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] HeyImVitor:
i have the same problem

for resolve it you need to BOOT this other TWRP

https://androidfilehost.com/?fid=1395089523397933315

with '' fastboot boot twrp-daisy-3.3.0-0-offain.img ''

and install the custom rom if you want

im using the pixel experience
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] grinder777:
Thanks a lot for your patience ;)

As said by many before I really have been on the wrong TWRP...

Now it worked like a charm

THANKS to All of You!
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] sebadamus:
Hi! I am new here... last cellphone Moto X 2013, pitty no more develop on that great phone (yes I know its "a little" old :-p). I recently got a Xiaomi A2 lite 64gb, as far as I could search for features this one sounded like the phone I like.

First thing I did, unlock bootloader. Then I got the daisy_global_images_V10.0.10.0.PDLMIXM_9.0 update just fine. Then I decided to Magisk it as I had my moto X but I find this new stuff about A/B partitions rather confusing.

So, I break it some times and MiFlash it again to V10.0.10.0 so I could recovery from bootloop or password asking inside TWRP.

Now I have latest Pie 9 official version installed/rooted and working fine Magisk installed, but cant boot to official recovery nor TWRP recovery pressing power+vol UP because appears the "no command" message, android green with red ! triangle.

I would not like to delete everything now, can you guide me a little to install TWRP, without losing Magisk root and data? I know I can fastboot boot twrp, but then I am afraid to flash anything and start bootlooping or that password asking thing (I have fingerprint and pattern security enabled)

Also there is a "strange behavior" each time I reboot. I reboot and the first thing I get is a black screen with pattern points asking for my pattern to start android, I enter the pattern, the phone kind of reboot and then it starts normal.

Thanks for the help!
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] a1291762:
First thing, backup your patched boot image. You should also have a vanilla boot for the next OTA.

Your current boot image can be backed up since you have root.

Note that you need to know your current slot (a/b). Look in /proc/cmdline for something like this

androidboot.slot_suffix=_a

adb shell
su
cd /sdcard
dd if=/dev/block/by-name/boot_a of=twrp_boot.img bs=1024k
exit
exit

# back on the computer
adb pull /sdcard/patched_boot.img

If you have only installed Magisk once since factory reset, your vanilla boot backup is /data/stock_boot_*.img.gz

If you have multiple files... Good luck!

You can find people who have uploaded Magisk-patched and vanilla boot images. I have trust issues so I avoid such things.

Now you can go ahead and install TWRP, secure in the knowledge that you can restore your boot using fastboot (boot with vol down or adb reboot bootloader).

fastboot flash boot_a patched_boot.img

I use TWRP 3.3.1-dees_troy (from the official site). I see lots of recommendations for the -offain version. I don't have security but I think filesystem encryption is on by default.

I don't have security. Sounds like you have to unlock before the system can even start to boot. Probably due to the filesystem encryption.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] sebadamus:
First, thank you very much for the detailed info you gave me... :good:

Alrighty then, its androidboot.slot_suffix=_a, it is A slot

I had backed up the original and patched boots before posting for help just in case as told in this magisk tutorial, so I already have an original 10.0.10.0 boot (taken from daisy_global_images_V10.0.10.0.PDLMIXM_20190613.0000.00_9.0_f1adc81d8e.tgz original rom) and a magisk patched one after patching.

Anyway I re-backuped up as you explain (good to learn :D)

Now I have twrp_boot.img (that would be A slot) and just in case I dd if=/dev/block/by-name/boot_a of=twrp_boot_b.img bs=1024k

Da#n :eek:, I did it two times I think... this is what I have, can I trust the date? the 1970 would be de first?

-rw-r--r-- 1 root root 18522668 1970-06-05 09:10 stock_boot_b78f49093cb4ce5d08c76ff05aa852f3f32cfd2e.img.gz

-rw-r--r-- 1 root root 18561311 2019-07-01 23:13 stock_boot_bcc6c58e4b285d818f427f597f21f54e05888913.img.gz

OK, let me rephrase to see if I understood... twrp_boot.img (the one I pulled from the phone to my computer) would be my actual patched magisk boot in slot A, right? in case something fails after flashing twrp recovery I have only to reflash this boot to A slot?

This is where I got stucked when installing magisk/twrp first time. I only had pattern and fingerprint login configured, after I flashed the first time twrp (I think there I break it because I did not boot twrp, instead I flash it directly) it started to ask me for a encryption password after booting twrp (even I did not encrypt the phone, this might be automatically done?), so there I died and reflashed original rom starting over with only magisk and no twrp recovery. Just to clarify, now I have 10.0.10.0 patched boot with magisk and rooted (in slot A as you help me discover), and NOW if I try to reboot to recovery I end with black screen green android with red exclamation mark.

Hope I have precisely explain myself, so... you think now I can have magisk and twrp just following first post in this tutorial?

(installing twrp in both slots within twrp just booted)

After doing this, do I need to re-install magisk after booting?

Thanks and I wont complain if I break it (just dont want to reinstall all the apps and configs :rolleyes:)
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] a1291762:
Nice. I see plenty of people without backups so just wanted to make sure :)

The 1970 one was made when your clock was bad, but that's all you can tell without close inspection of the contents of the image. If you already have a copy though, don't worry about getting the Magisk backup.

Yes, that's correct. TWRP modifies boot so having a backup of it will help you if something goes wrong. eg. When I upgraded to 10.0.9.0 I had to try a few TWRP builds before I found one that didn't break my phone. The backup allowed me to boot again.

fastboot flash boot_a patched_boot.img

Yeah... Don't flash twrp from fastboot. You need to boot it and then install the .zip so it updates your boot. It's because A/B phones have recovery on boot rather than a separate partition.

The stock recovery doesn't seem to do anything. I think it's only used to complete a factory reset...

You do need to install Magisk again after twrp.

After you install twrp (before you reboot) do adb reboot bootloader. Then fastboot boot patched_boot.img and install Magisk (direct) from the app. Then you'll have TWRP and Magisk. You should adb reboot recovery to confirm your twrp can see your stuff.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] sebadamus:
Excellent!!! it worked perfect. Now having both TWRP and Magisk installed in slot A following your steps. One detail just not to confuse someone else, when you say patched_boot.img would really mean twrp_boot.img (that is the output of dd if=/dev/block/by-name/boot_a of=twrp_boot.img bs=1024k)

I reboot recovery and now appears the good new twrp-3.3.1-dees_troy-daisy.img, it even shows me the pattern points to enter my pattern and works!

One last thing, If I go "reboot" from TWRP there I see "Current Slot: A" right? ok, what would happend is I change to B?

What does it means? what is in B precisely? (I read somewhere that there is the complete old rom installed, or is it only the old boot?)

Thanks again! :good::highfive:
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] a1291762:
Essentially everything except for /data exists twice. It means that an ota can update the "other" set of partitions before rebooting.

Longer answer about it here.

https://xdaforums.com/mi-a2-lite/help/2-slots-phone-t3922041

Normally, your "other slot" would have whatever you were running before the last OTA. If you do a fastboot flash, it writes everything twice so the "other slot" has the same thing.

If you change slots, you in theory run the old system. The twrp install may be a problem (it patches both boot partitions). The old system may not like changes the new system made to /data.

I would not recommend manually changing slots unless you're doing advanced hacking. Like, if you manually flash a new ROM from twrp.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Dorisnov:
I was trying to follow a1291762 guide to update the phone, but I need 10.0.8.0 fastboot rom to restore the partitions phone complains about and I can't find it anywhere.

I found the updates I want to install in recovery zips. Can I flash this recovery zips to update the phone with this recovery?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] leonlee0116:
Hi guys Im new to this device and also the world of custom rom for Mi A2 Lite!

May I know if I follow the flashing guide, does it work on stock rom? Im not going to flash custom rom but only custom kernel and get GCam working..
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Jebreto08:
Do a research for that. There's a lot of guide for everything u want to know.. Do with ur own risk.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] nickSnake:
I think this twrp is buggy, u should use Offain's twrp 3.3.1..
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] barumbads:
i still have this problem, how did you fixed it? twrp offain or deestoy cant mount /data on V10.0.12.0
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] anzhaki:
Use offains 3.3.1 twrp instead of the broken one on this thread. https://androidfilehost.com/?a=show&w=files&flid=291011

Follow the guide here to install twrp and a custom rom. https://github.com/tkchn/daisyinstall/blob/master/README.md
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] grinder777:
it was the wrong TWRP I tried to flash ;)

Please take a look to the answers I've got, there is the right one TWRP linked.

Good Luck n

Have fun!
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] DJBhardwaj:
Do you mean the TWRP by offain? I thought the official TWRP supported full data encryption on Android Pie?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] a1291762:
Yes, official TWRP 3.3.1 (dees troy) supports 10.0.9.0 and up just fine. Both when booted temporarily and when installed.

Older versions don't start unless you're older than 10.0.9.0.