yashsingh1/xdaforums huggingface dataset:
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] FallenJedi:
1. It must be because in almost all the AOSP based ROMs that I didn't face this issue. If you go by the timeline of unofficial LOS updates it must have come on ~20th April. I guess the developer is busy with his personal life as somebody mentioned previously.

2. With flashing via TWRP you might have to wipe data/ flash ROM again to remove the mod. Or if you know the directory of the mod you can delete it from TWRP file manager. With magisk it is much easier to disable/remove. Regarding Gapps not all Gapps can be flashed via Magisk. There is a special gapps called MagiskGapps developed by wacko1805 which you can flash via magisk. You can actually try it if you are up for it. You can check out the details here
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] olus:
no, there was an update 2 weeks ago in devs private telegramm group. so he is still working on it.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] paparansen:
why no update in this thread?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] olus:
dont know. i asked him but got no answer. maybe it was a test build for something.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] z1022:
good news
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] piaci:
thanks for this rom, so far, so good.

however, there might be a strange bug in it.

don't know if OP are watching this, but here it is:

it seems third party permissions are not granted but it shows granted.

namely: com.fsck.k9.permission.READ_MESSAGES and org.kman.AquaMail.datax.READ_MESSAGES.

under application permissions it states as granted but throws permission denial exception when tries to interact with those applications.

through abd command it grants, though.

other android 11 roms (eg miui) handle this correctly.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Doiphotogcvn:
Why dont Official
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Rootthecause:
Yeah, good question! The ROM seems very stable to me, and so far almost no bugs in every day use. Much better then LAOS 17.1 on my 5 year old OP2 :D Maybe because OP would be the official maintainer, what he don't want, since this is a hobby for him - huge respect by the way!
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] KingRichardTheFirst:
Post in thread '[ROM][UNOFFICIAL][11.0][raphael] LineageOS 18.1' https://xdaforums.com/t/rom-unofficial-11-0-raphael-lineageos-18-1.4176901/post-84556351
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Rootthecause:
So if I understand that right, its more like a legal thing because the unofficial release uses the prebuilt Xiaomi Kernel?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Robbo.5000:
Yes. Due to LOS licensing all official ROMs need to be fully open source, including the kernel. The available kernel sources for this phone are old and have garbage fingerprint sensor performance. It is therefore better to use the closed source, pre-built kernel from the latest MIUI build and remain unofficial.

Because of the age of this phone, I can't imagine Xiaomi taking the effort to release updated kernel sources, so we'll probably never get official LOS for this phone.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Redsandro:
Since no official, there will never be a MicroG build. So I was wondering.

Is there any way the current devs can do one of those LineageOS-MicroG builds that so, so beautifully remove the painstaking process of doing a proper MicroG GMS/GCM/Nlp installation?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] paparansen:
is that any different than the microg installed by vanced?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Redsandro:
If I understand correctly, the vanced MicroG is only the easy part (GMS).

A complete installation would require GMS, GCM, NLP, a lookup backend, a reverse geo backend, patched or fake store, a signature spoofing patch and probably F-Droid's privileged extension.

Since Android 9, this is increasingly difficult to set up properly. If it was easy, MicroG wouldn't rebuild every single official LineageOS build out there.

Unfortunately since LineageOS for Xiaomi Mi 9T Pro is not official, they do not rebuild a MicroG version.

---

FYI a full MicroG version allows you to go completely deGoogle your phone while still allowing you to use all your favorite apps that depend on Google services.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] murakh:
Not sure if you are aware, OmniROM has a MicroG version for this phone. However I did try that and pretty much everything failed to work (app level) so my personal feeling is that MicroG probably takes a lot of extra work somewhere in the install / setup. Additionally though, if the apps still use backend Google services, is it really de-googled?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Redsandro:
Yes I tried it. Was actually the first thing I tried. It failed in ways that make me think no dev uses the MicroG version themselves.

Then I tried the non-MicroG version, and AICP, and CrDroid, and Ressurection Remix, all clean attempts with the MinMicroG, the Magisk MicroG Installer Revived, and the NanoDroid installer (yes I did 14 factory resets and clean flashes over the course of 5 days) and none of them worked. I should note that all of the above resulted in MicroG 2.18 being installed while MicroG 2.19 is the latest version.

Then I tried latest LineageOS-MicroG build on an old phone (Xiaomi Mi 5) and everything just worked.

I contemplated buying a new second hand phone that has official LineageOS support with a MicroG-build, but then I thought: This is crazy. This phone can last another two years. I should be able to build it myself, right?

Turns out that's not so easy either. Although maybe for someone involved with this unofficial LineageOS build, they can better understand the process. I believe MicroG uses this docker image.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Rootthecause:
Sorry for being off topic, but is there a way to change the vibration intensity? I tried kernal adiutor, but the APK seems outdated or it doesn't support that setting.

I also reinstalled LAOS today with NIKGapps Core (I had the LAOS version with GApps before) - so far its running ok, but I'm having on every startup a message telling me that "SecureElementApplication" doesn't respond.

There were also some minor bugs, like settings search didn't worked (needed to clear cache) and incoming calls were not shown (didn't had permission somehow). I didnt wipe the internal storage, so that migth have been the hiccup?

Fortunately I was able to pass Safty net with MagiskHide Props Config. Also a Banking app worked again after Magisk hide and reboot. But had kinda bootloop after Magisk Hide. Force restart fixed it.

Whatsapp doesn't want to restore the internal backups, so I'm trying to do it via google drive. I tested local backups multiple times, but eventually I hit the verification limit, and now I need to wait some hours :( However, when I switched to the TWRP backup, it worked without issues. Is there something preventing Whatsapp from loading internal Backups? I tried giving all permissions before install without luck. Could that be a Google thing?

Due a missing app config I needed to reload a nandroid backup via TWRP. It worked almost flawlessly, exept the password didn't worked. So I found about deleting the key: https://forums.oneplus.com/threads/fix-wrong-pin-pattern-when-restoring-twrp-nandroid-backup.452384/

Since this was very easy to do, I remain with more secutity concern then before. I read some threads about password protecting TWRP, but it seems more like a heated disscussion instead of an easy solution.

I did test the camera over the days. It seems that the Image stabilisation is not working in Photo mode (no matter which lens). Sometimes even pictures with more than 1/100 in relativley stable hands result in motion blurr. But in Video Mode it is working for < 60 FPS (or is that software stabilisation?).
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] abhishek987:
Okay guys time for update after long wait

Changelog

may security patch

Added Applock

Added few launcher features (dt2s and other improvements to trebuchet non gapps version)

Added new volume panel

Added scrolling screenshot

Fixed hotword (for non gapps use flame gapps + ok google addon)

Fixed wfd

Lineage Upstream

From now on there will be 2 builds vanilla and gapps variant so flash as you like.

As usual links are updated in op enjoy :p
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Redsandro:
Can we get a MicroG build as requested above? Since no official, there will never be a LineageOS-MicroG build. Official releases are made with this docker image.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] AirOne70:
Thanks for your work Abhishek!

Is there any hope of getting your Github public repo up to date again? I would be very pleased to be able to build LOS myself again. 😊
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] ktulu84:
am I the only one having issues with screen off fingerprint?

if you try just after the screen locks there is no problem, but after some minutes it stops working.

turning off the screen manually you can see there is no fingerprint symbol on the screen (need to swype up to make it appear again and unlock with fingerprint). someone facing this issue or having a solution for this?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] olus:
i had this on previous build. turned off screenoff fp. will try again with new build in next days.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] paparansen:
can i flash this on top of the build before?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Vmb265:
Why do you need a seperate build when you can flash a MicroG package over every rom since most have signature spoofing :)
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] belzebub40k:
From the FAQ on https://lineage.microg.org
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] cheppetto:
Clean flash, or is it enough to wipe cache and dalvik, I hope anyone tried :)
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] z1022:
What is the "hotwork" function ?

Thanks
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] belzebub40k:
Hotword = Ok Google
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] ktulu84:
is "ok google"
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] mauam:
I just flashed the vanilla version over the previous build, wiped cache & dalvik. No issues so far.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Toni Suwanto:
Anyone know how to run f2fs encrypted on this ROM?

I can't find the correct f2fs patch, or it's need kernel as well?

Currently have f2fs not encrypted.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] paparansen:
did you have gapps on the previous build ?

did you flash only the new rom file, or vendor too?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] olus:
i dirty flashed gapps build + magisk23.zip on top of last build encrypted with nikgapps. everything works..no problems so far.

thx 👍
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] mauam:
Yes, I have opengapps pico previously installed. Simply flash the update, no need vendor again.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] olus:
can confirm. happened for me again when screenoff fp is on. no fp symbol in lockscreen need to swipe up to get symbol or enter pin. will turn off scrennoff fp.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] paparansen:
i had previous build with gapps, dirty flashed this gappsbuild, cache/dalvik wiped:

about 2 minute los animation -> reboot to twrp

restored before made backup -> reboot to twrp

installed vendor, previous build & nikgapps -> reboot to twrp

WHAT THE HELL is this ?!
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] mauam:
That means you need a clean install. If you have already gapps installed, you should have installed the vanilla version, like I did.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] paparansen:
that doesnt explain why my backup is failing too.

also...
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] cheppetto:
From my side, dirty flash failed, i had gapps installed - flashed vanilla version - maybe caused by magiks - i don't know
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] mauam:
That's weird, I have magisk too & the update went smooth. I'm encrypted if that matters.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] cheppetto:
my symptomps, have been that all gapps crashed after update - so basically update went through but gapps have been broken
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] paparansen:
my was encrypted before too.

what sucks most is, that i cant install the previous build anymore,

reboots to twrp right after mi logo.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] nitty202:
Does the latest build support signature spoofing ??...i think minmicrog has an inbuilt patcher even for ROMs which don't have inbuilt spoofing support...anyone tried minmicrog here ??....would like to hear from them
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Redsandro:
A complete installation would require GMS, GCM, NLP, a lookup backend, a reverse geo backend, patched or fake store, a signature spoofing patch which LineageOS does not have, and probably F-Droid's privileged extension.

Since Android 9, this is increasingly difficult to set up properly. If it was easy, MicroG wouldn't rebuild every single official LineageOS build out there.

Unfortunately since LineageOS for Xiaomi Mi 9T Pro is not official, they do not rebuild a MicroG version.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] olus:
i dont wiped cache and dalvik. i dont do this for years.. read somewhere that this causes problems when updating dirty. seems like you need to start with format data (not wipe data) to revive your phone.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] paparansen:
still doesnt explain why i cant install the previous build anymore,

while the latest build is working ;)
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Cieniek:
I checked that "Full microG Support" support was in the changelog of 2019-11-16 build (Lineage 17 back than). I would assume it's stayed that way.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] z1022:
If dirty flash, when flash the ROM, need to flash Gapp again ?

Thanks
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] z1022:
swipe to screenshot disappear in 18 ?:rolleyes:
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] ktulu84:
no, you can find it in settings > system > gestures
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Maksvr:
Works great, thanks again for the update. I had to flash on old Magisk zip to get this to work (it's in this topic), works well now.

Edit\ Also it's waaaaaaaay smoother compared to the previous build :).
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] z1022:
after flash, need to flash gapp again?

Tks
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] olus:
read few posts back. no need to flash gapps again!
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] cheppetto:
Magisk has to be flashed via recovery method, right?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Maksvr:
Yes, because it can't find ramdisk or something.

But someone has posted a flashable zip in this thread and it's working fine.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] mauam:
Not enterely true. Starting from magisk 21 or 22 (can't be precise now) it can be installed as an app, no need to flash in recovery. Read topjohnwu changelogs. But to not confuse the users, it's always best to tell them to flash in recovery.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] olus:
i dirty flashed first without magisk.zip (just download newest magisk23.apk and rename it to magisk23.zip to flash via recovery) and magisk didnt survive. with magisk app i need to patch an .img file etc or i dont know how to flash magisk with magisk app to get it working. so i just flashed magisk23.zip in recovery and everything (root,gpay,..) is working fine again.

i dirty flashed first without magisk.zip (just download newest magisk23.apk and rename it to magisk23.zip to flash via recovery) and magisk didnt survive.

yes, with magisk app i need to patch an .img file etc or i dont know how to flash magisk with magisk app to get it working.

so i just flashed magisk23.zip in recovery and everything (root,gpay,..) is working fine again.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] z1022:
If data is encrypted, can I use dirty flashed to upgarde ? Or I need to clean install.

Thanks
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Maksvr:
I always remove all encryption, security patterns, finger prints etc. first just to be sure. And re-enable it after a dirty flash.

But you should be able to do a dirty flash with encryption enabled.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Maksvr:
I did not know this, but it didn't work for me because it said I can't use the ramdisk method.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] z1022:
download magisk23.apk and rename it to magisk23.zip and then flash via recovery. I worked
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] cheppetto:
worked like a charm, ty (magisk reinstall)
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] mauam:
My ramdisk says no too, it doesn't matter. To install magisk through the app, you just need to install magisk app, inside the app click install magisk, then next, check direct install & let's go button. The app will automatically reboot & patch your kernel. It's the same as going in recovery & flash manually the magisk zip. Personally I prefer to install magisk through the app. Two different ways of doing the same sh*t, that's it.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] z1022:
thanks op

Find 2 bugs,

1. System default Vibration strength on keypress is very weak.

2. anx camera portrait not work. Already install 48 mp fix
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Cieniek:
You don't need that renaming step since TWRP 3.5.1
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Fernando.Mora:
Does this ROM has widevine L1 for HD Netflix and Disney + streaming?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] mauam:
If you already lost your L1, no rom will bring it back.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Fernando.Mora:
I have it with the stock OS, I'm asking because I want to try LOS
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] mauam:
You're good to go then.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] paparansen:
still no answer, so i ask again:

why i cant go back to the previous release?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] mauam:
You probably need to format (no wipe) data, if you want to install previous versions.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] paparansen:
i wiped all, it doesnt work... boots right into twrp.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] KingRichardTheFirst:
As mauam said: format, not wipe. And then install again, just to be sure.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] paparansen:
do you mean data or internal storage ?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Robbo.5000:
He means Format, not Wipe.

It is on the Wipe screen NOT the Advanced Wipe.

It it's the Format Data option next to factory reset.

It is the option where you need to type 'yes' to continue.

When you do this, there is no choice and it will format the data partition. Internal storage is not a separate partition, but is within the data partition and will therefore also be deleted.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] paparansen:
sorry - doublepost.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] paparansen:
yeah, i know all of that - thx :)

so still 2 magic questions:

1. the data partition is from the previous release. why it doesnt boot,

but does boot with the latest release ?

2. why my full backup of the previous release doesnt boot too ?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] vZmj4DUHVEHw8B:
This rom has been working great for me over the last few months, just upgraded without any issues. Thanks!
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] z1022:
did you have System default touch Vibration issue ? I use pattern login but touch vibration is very weak when I login. I have already turn on touch vibration.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] olus:
anyone got google maps my timeline working? it worked on the testbuild before.. but doesnt worked on the build posted here on xda before.

so i just got it working on a build released in devs telegram channel.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] KingRichardTheFirst:
Ah, you have the same issue as me! I never thought the ROM could be the cause of this. I tried everything (I think) except formatting data.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] z1022:
The build from xda or telegram should be same location. Therefore, it should be no difference.

https://downloads.akhilnarang.dev/LineageOS/raphael/lineage-18.1-20210602-UNOFFICIAL-raphael-gapps.zip

https://downloads.akhilnarang.dev/LineageOS/raphael/lineage-18.1-20210602-UNOFFICIAL-raphael.zip
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] cheppetto:
He did not mean the official k20pro channel.

Dev has an own channel - for testers
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] RaeesD:
Did you need to clean install the dev build? Or just dirty flash? I'm on this xda build and timeline isn't working, hadn't noticed till seeing these posts.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] z1022:
" I use pattern login but touch vibration is very weak when I login. I have already turn on touch vibration."

Any one have this issue? How can fix it ?

Thank
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] vZmj4DUHVEHw8B:
I actually disabled that setting, but before I did, I had no issues with the strength.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] paparansen:
thx for that information :)

here you got more information from me:

- i had encryption before

- i never had pin/key setup before

- in twrp i can see all files

- in android it says phone is encrypted - how is that possible? ^^

- twrp backup there is no partition image option

- and still: why does the actual release boot, but the previous not ? ^^
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Robbo.5000:
For a few years now encryption happens automatically in Android as soon as lockscreen security is setup. If you never setup lockscreen security the phone is never encrypted. The first time you setup lockscreen security encryption is automatically enabled.

In order to enable lockscreen security, but remove encryption you need to flash a disable forced encryption (dfe) patch. If you've never done this, but you've setup lockscreen security, your phone is encrypted.

With the previous version installed and not able to boot, could you still see the file system correctly in TWRP? If yes then the problem wasn't likely to be encryption. Without more information it's hard to know why it wouldn't boot. Possibly an issue with GApps?

Depending on the version of TWRP you might see backup options for System and System Image.

With dm-verity you need to backup using the System Image option. See the official FAQ for more details.

What should I back up in TWRP?

The default backup options in TWRP are system, data, and boot. For most cases, this is sufficient for backing up a ROM. (Note that in some rare cases, boot i...

twrp.me

If you only see an option for System, you need a different version of TWRP. I'd recommend the official version.