yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] qmtd:
This was all occurring on not the latest build but the one previous, will flash latest ROM today and see if there's any changes

Yep main problem for me right now is the Chrome Browser freezing/crashing, especially when opening links in a different application which opens chrome.

Also found that the Fingerprint doesn't work when the screen is off, but works perfectly when it is on.

Again thank you for your hard work, and I am nothing but appreciative! :)
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] cardonarico:
EU v11_pyxis_20.1.9
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] suleymanovemil8:
Hey coderzs, is this where you keep the latest source code now - https://github.com/xiaomi-sdm710? Great work btw.
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] PrinzVqlium:
Also i have round about everyhour the Exchange process crashing. I dont know in which situations sry.

Sry for my bad english.
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] beri222:
I have the same problem with Google Chrome..
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] ceracz:
Guys, please read OP. Any bugreport should have the specific format. Also without logcat anybody is not able to do anything.
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] beri222:
ROM installed (before 20.1.9 xiaomi.EU). Version Lineage 17.1, 2 problem's:

- google chrome freeze,

- after screen lock phone sometimes shut down automatically (today 2 actions)

- application "TIDAL" don't want start after install (only logo screen)

Do reboot and the same problems

Which gcam are the best ?

I can do log but I don't know what .

And .. IF i restart phone I don't see SOT before restart only after ..
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] pan_pietrek:
Provide a logcat right after the error/issue: https://xdaforums.com/showthread.php?t=1726238
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] coderzs:
bump . updated.

changelog :
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] tiagorodrigueez:
More goodness to us. Thanks [MENTION=3297592]coderzs[/MENTION] for all u have done
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] k3lcior:
FOD works with AOD disabled when screen is off now?
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] sonvegeta:
Thanks! Link posted in the group.
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] beri222:
After update I don't have a mobile data .. What Can I do ?/operator PLAY
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] PrinzVqlium:
same!

I test some things....

complete wipe of phone, flash without gapps, format data before flashing lineage... nothing worked for me... no mobil signal/no mobil data.

I cant find my provider also not manually under settings (vodafone.de)

Where can i download the Version before last update?

i deleted it (stupid idiot) and cant use my phone now -.-
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] beri222:
Find link in PM from me.

I have the same problem, in previous version mobile data ok, but .. Today 10 times phone automatically shut down (I think after long time without screen lock),
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] Green Dragon:
Hi guys!

I have successfully install lineage OS 17.1. The only problem is the luck of FM Radio. Is there any compatible FM radio apk?
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] PrinzVqlium:
Did you install the last version from today without a problem?
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] Green Dragon:
i have installed now the current today version and there is fm radio.

One bug i've found is that the middle navigation button is not working.
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] PrinzVqlium:
But your mobile data is working?

Another problem occurs by phoning somebody. There is no "phonegui". I cant see that I'm phoning... I cant hang on or change to speaker or something else.... I only can See my normal " Desktop"
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] neXt___:
Not for me. Poland, Virgin Mobile. Moreover, I got bootloop and can't get into recovery because it's encrypted and TWRP doesn't ask me about password..
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] cardonarico:
latest FW (0115) no carrier services ( internet or calls)

Just installed the latest version , everything works but no Connection to the radio base stations.

Tried to manually assign a network but no luck ( seems the radio is down)

it recognizes the sim card , but thats it.

Please let me know how to send you the logcat

(cannot post it here yet).
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] ngorom:
developer already know about this and is working on a fix
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] sonvegeta:
He said he already fixed. He asked me and Brigudav some files from the vendor from the last build (1301) and he said he fixed it,, so it's a question of time. Until them, I recommend the use of the 1301 build. If you don't have, you can take it from here: https://drive.google.com/open?id=10Np6tPxpS_jYUOggNPXiYiyVI1U3yPjU
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] beri222:
I have in version 1301 problem with automatically shut down phone (about 10 times a data) after screen lock. Do somebody have also problem with this ? And problem with freeze Google.Chrome. Before I have a xiaomi.eu 20.1.9 weekly,
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] s.hossein:
Hi friends, how to use full camera (48 mgp) on Los 17?
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] sonvegeta:
Yes, it's a related and common issue, but manageable. 1301 is stable enough for use, except for the frezes. However, you can use it until the next build comes, which it will be in short time.
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] beri222:
Thanks :) wait for new :)
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] strongst:
Thread cleaned

XDA-Developers is a platform to discuss and share, so discuss here and not in closed TG groups nor invite members to such groups.

Please read the sticky

And our FORUM RULES

Thank you all for your understanding :good:

strongst

Forum Moderator
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] sonvegeta:
Thanks in advance. It's not our intention to make it anymore, since I've made it and I've change my ways. It was some individual points unfortunatly . So, the best message passed by all this ruckus made by yourselves: send a pm asking for it, not mess about it, because the XDA policy is very clear about it, and we consider XDA our home.
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] kalebwinefield:
Has anyone managed to fix the aliasing around the top rounded corners of the phone in this rom? It isn't present in MIUI. Thanks
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] coderzs:
bump . updated

ril fixed

ui bugs fixed

bluetooth fixed

cleanup

upstream changes
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] stavrakas2007:
Is this Rom stable yet? Should I flash this one for my first Rom instead eu ?
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] ngorom:
TE$TING
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] sonvegeta:
Sure, it's quite stable since version 1301.
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] stavrakas2007:
Can we have a detailed list of what's not working? I would love to flash this Rom but don't want to run into issues.

Also 2 more questions:

1. Does it contain official miui cam?

2. For future updates we have to clean flash every update? (That's uncool)
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] sonvegeta:
1. No

2.You can now.
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] beri222:
Why the author didn't refer to the problems that occurred earlier (13.01 restarts and chrome) & next problem with network signal? just a short changelog?
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] panaris:
Tested it and everything works fine now.
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] cardonarico:
I can confirm it too everything working fine

Some comments :

I am using latest firmware from Xiaomi prior

To install lineage (I am not on 12.26 as the developer

Suggest).

GPS is extremely high responsive (< 2secs to lock , precision about +-4meters)

Faster boot

Faster fingerprint recognition (less error prone too)

Apps opening faster .

Both carrier and data working extremely well

LTE download around 120MB/s

Thanks for the marvelous work !
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] PrinzVqlium:
Much better than last Version.... Thx for this :) But also chrome freezing...
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] coderzs:
Oh wow , thanks for bugreports :) I will fix all of this asap
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] coderzs:
bump. update

changelog :

added missing libs

removed unused libs

fixed wifi display

some logcat errors fixes

upstream los changes

cracking sound in whatsapp and some games should be fixed
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] overem80:
Hi, i have a problem with Netflix or any DRM app. When starting it freezes on the Netflix logo and DRM info app freezes too. I'm gonna see for logs tonight.
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] ceracz:
Could you please logcat this? Start prior starting of DRMinfo app....
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] kamilchno:
I have problem after update from latest build. There is No sound in voice calls (speakerphone only).
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] tjlyr081@163.com:
In this version, my mobile phone sometimes suddenly restarts with a black screen
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] coderzs:
bump . updated

changelog :

updated kernel

reverted to old audio configuration

upstream los fixes

added dark theme to dialer and messaging apps
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] s.hossein:
what about infrared dosed it work?
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] Sparkly15:
Hello i install this rom with gapps but i dont have marketplace

where is the problem
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] ceracz:
What were your install steps?
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] Sparkly15:
Download the latest build and bitgapps

Boot to recovery

Do FACTORY RESET

Flash the latest build

Boot to recovery again

Flash gapps

Reboot
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] ceracz:
Hmm, what gapps?
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] Sparkly15:
trying bitgapps NikGapps and normal gapps
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] ceracz:
NikGapps should work, what variant? I'm using full variant without any problem.
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] editheraven:
Link doesn't work. Says you cannot download the file because it was downloaded too many times.
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] k3lcior:
You can add it to your gdrive and download from there.
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] P.Rabbit:
Mega link:

https://mega.nz/#!gswhyA4L!Qnn6jP9NevwVqF4jBV2v4ZZwRw1yGVl1QVZlar4zo4w
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] ondrejeder:
Firstly, thx for you work, this ROM seems amazing :)

I would like to ask if it supports magisk and custom kernel, I know there can be bugs related to that, but should these work ? Thanks
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] :
It's support magisk and custom kernel
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] GeeBeePoker:
Very good job.

Nice Rom, except the black screen, where I must reboot. Don't know why. Only when the phone is inactive.
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] JimmyBondi:
A workaround is to manually lock the screen with the power button.

Just set the display timeout to maximum and lock the phone with the button.

And you should disable dt2w.
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] namoria:
The ROM works great. Thanks to coderzs!

I have no issues to report. The GPS works like a charm, I tested it today with OSMAnd.

Here are some of my experiences:

The battery life is great. The Mi9 Lite and this ROM is an awesome combo when it comes to that.

Make sure to turn as many apps into a "dark theme" as possible, so you save energy thanks to the AMOLED display. A black or dark grey background helps, too.

Here you guys can find the buffer fix for the camera at "celsoazevedo". Just google: "celsoazevedo cxiaomi-mi-9-lite-buffer-fix" and download it from their site. I cannot post direct links because I am a newbie in the forum.

The buffer fix fixes the laggy gcam in 'portrait' and 'camera' mode.

Hypercam – it’s basically gcam – works for me. You can download it from gcambrasil.

I downloaded the HyperCam_E2_OP_POCO_MI8_Q.apk.

Another Gcam for the Mi 9 lite that works for me: Gcam_6.2.030_Advanced_BF_V2.2.2beta2.190904.1817

For people who do not want to install the Google Play Store or Google Apps for privacy reasons but still want Gcam, you can use MicroG. Just download and install the "Services Core" apk from their site. With MicroG the Gcam app will start instead of crashing.
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] sambahb:
The Rom can not be downloaded at the moment because of too many downloads.
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] stavrakas2007:
Can you give us a detailed SOT ?

Also did you run into any major issues so far?
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] namoria:
Major issues? No issues at all.

Last time I recharged my batter fully was 5 (five) days ago.

I used the New York Times App in dark mode – they call it 'reading mode' (black background, white font and a few images) – for 1 hour and 25 minutes and it used 7% of battery life according to the statistics. The reading was done in one sitting and I can confirm that this is true: 7% for about 1,5 hours of reading. Since I always keep an eye on battery life in order to find out how good it is, I can confirm this.

I also used foobar2000 listening music for 1 hour and 23 minutes and it says the Mi 9 Lite only used 1% – I think that is impossible, but since the screen was off while I listened I cannot tell. I don’t know! I usually do not listen very loud and keep the volume down. But 1 hour and 23 minutes for 1%? I could not keep an eye on this because I listened to music for many short periods. I highly doubt that listening to music only takes so little energy. It would mean I could listen to more than 100 hours of music with a full battery and that is crazy. Well, I could try how long it plays music just for fun. (I used headphones btw.)

I used Fennec F-Droid (Mozilla fork) for 35 minutes for browsing stuff (with many tabs) and it used 5%. Since this was done in one sitting, I can confirm this stat.

I'm a newbie, so I don't know if these are the stats you want to acquire.

I had a Redmi Note 3 MTK before and the Mi 9 Lite is my second smartphone so far. The battery life is – from my subjective point of view – insane.
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] stavrakas2007:
Thanks for the details but you can find screen on time in settings. Compared to Stock rom, you think that's a huge battery life upgrade?
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] namoria:
In the settings, I can only find display time since last full battery recharge: 6 hours and 18 minutes. My battery life is at 81%, but I conntected it to the PC for a few times, so it had the chance to recharge a bit. I think these statistics should be taken with a grain of salt.

I didn't use the stock ROM, just took a few photos and went to LOS. So I cannot really tell, sorry.
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] stavrakas2007:
Would love to see from 100% to 10% Overall SoT if possible. I'm using xiaomi eu right now but im planning to flash Los if battery performs better.
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] qmtd:
Maybe this won't be classed as a major issue, but still very annoying that I can't use certain apps without them crashing.

Chrome isn't a big one for me... since I can easily use a alternative browser, but apps like Spotify & Plex too crashing whenever I begin to play something.

And I know it's also been mentioned before about the screen going off and not being able to start without holding down the power button till it reboots.

Those are really the main two problems, everything else is working amazing from what I can see
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] namoria:
Can’t do that for now. Maybe someone else can deliver the stats for that.

Weird. My apps are working 100% so far. For now I’ve installed:

Amaze (File browser), Simple gallery (image browser), foobar2000 (music player), VLC (video player), OpenCamera, HyperCamera (Gcam), Fdroid (app "store"), OpenVPN, OsmAnd (navigation app) NYTimes-App, MicroG and Fennec (Browser).

Maybe the reported black screen error only occurs in combination with google services/google apps.
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] celulari:
Does this ROM enable 4G+? I'm asking because with my stock ROM i can't get 4G+, only 4G. With the same SIM and same location, on my S10 y get 4G+
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] k3lcior:
I had 4G+ on stock ROM, so it might be issue with your sim carrier or the phone variant you have. (do you have global or chinese variant?)
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] mi9lite:
I use normal google services (not microg) and never had an App crash, also I never had black screen or freeze of the phone. I was on the latest official MIUI ROM before and flashed the firmware from the OP first, before flashing LOS.

Maybe that's why I don't have any issues.

But one problem I found just now:

In the stock Lineage Dialer App when I tap on Settings, the App crashes every time.

Can someone confirm this? (Are you using 1 or 2 simcards?)
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] JimmyBondi:
confirm.

Me too, with one Sim
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] wuud:
I followed the instructions in OP but after flashen gapps and reboot I don't have any gapps. Booted to twrp again and reflashed bitgapps (https://bitgapps.cf/arm64/Q/BiTGApps-arm64-10.0.0-v0.6_signed.zip) but still no gapps.

Am I missing something?
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] qmtd:
Have you tried using Chrome/Plex or Spotify?

My other apps work flawlessly, just these 3 apps that create problems for me.

I will try to get a logcat, cause I know just posting problems with no logcat's isn't much help for OP.

Thanks :)
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] kalebwinefield:
Has anyone managed to get Google pay working on this rom? I switched back to miui as it did not pass safety net.
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] Jullesang:
Is it better for battery time ?
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] mi9lite:
Spotify no crashes for me. I don't use Chrome and I never will so I can't test it.

Have you flashed the recommended Firmware before flashing LOS? Maybe that's why I get no freezes or crashes (except for Dialer Settings, which seems to be broken atm)
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] mi9lite:
Battery life is insane. See Image below for 24h usage.
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] Jullesang:
Wow thanks a lot ! There is actually a bug on miui its boring :/
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] BimGuessWhat:
I can't confirm this. The default dialer app works as expected on my phone. Calling the settings menu and changing settings doesn't crash the app. I am using one SIM card. I just flashed the ROM and installed some apps from f-droid.org.
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] stavrakas2007:
What bug? The CPU overclock?
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] Jullesang:
Yes I think, im not a pro
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] JimmyBondi:
I don't know why, but now it works for me too...
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] Majid.J:
Hi

I was facing poor signal on my both simcsrds and I only got 4g not 4g+
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] mi9lite:
You didn't make any changes?

For me still not working...
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] kalebwinefield:
I'm getting the black screen which requires reboot and the chrome crashing problem that others have mentioned. I am on the recommended firmware mentioned in OP with clean install.
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] JimmyBondi:
I can't remember. I've Installed some apps, did some reboots, but nothing special with the dialer.
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] wuud:
Anybody got Problems with Netflix on this rom? Can download it from playstore and when I download it from Netflix themselves the app just won't load.

also tried to flash magisk with modules but still not working.
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] cardonarico:
Same Problem here Netflix and random Black screen

Same situation as mentioned By wuud ,

Tried the same fix ( magisk modules , etc )

Logcat mentions something about DRM :

01-27 11:57:01.983 1049 1133 W ServiceManagement: Waited one second for android.hardware.drm@1.0::IDrmFactory/wfdhdcp

01-27 11:57:01.985 1049 1133 I ServiceManagement: getService: Trying again for android.hardware.drm@1.0::IDrmFactory/wfdhdcp...

01-27 11:57:01.987 551 18893 W libc : Unable to set property "ctl.interface_start" to "android.hardware.drm@1.0::IDrmFactory/wfdhdcp": error code: 0x20

01-27 11:57:01.987 551 18893 E hwservicemanager: Failed to set property for starting android.hardware.drm@1.0::IDrmFactory/wfdhdcp
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] Reentry310:
Anyone else having issues with even booting this rom? I've tried to install the firmware that was suggested by the original post and flash the rom then. Still haven't had any luck.
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] cardonarico:
Issues booting the ROM

Every time I moved back and forth from original MIUI Rom and Lineage, if I forget to do a full wipe I experienced this bootloop (tries to boot and goes directly to TWRP menu)

So, try to follow carefully the instructions , perform a full wipe ( the one who asks you to type yes on TWRP menu) .
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] Reentry310:
thanks for the response. I've already attempted to wipe the data and do a factory reset then install the rom. However, I get TWRP errors saying something along the lines that it cannot mount /data. If I continue to install Lineage and Gapps, I get stuck in a bootloop.
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] cardonarico:
what version of TWRP are you using ?

maybe , you are using the previous TWRP version who does not support decryption. try to update to 3.3.1-1117 ( chinese - english interface only )

I had a similar problem when I moved from lineageOS 16 to 17 and this version solved the issue.
[Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie] clumsy30:
Make sure you are using the latest TWRP, the same error happened to me 3 hours ago. You have to go to the wipe menu and select the repair option. I don't remember now, but do the one on the left first, and then go to the right option that should be change system or something. Select FAT, do the process and then do the same for Ext4 or something like that. Now you should be able to do everything. I'll try to find the site that helped me out.

Here it is; https://androidphoria.com/tutoriales/como-solucionar-error-recovery-unable-to-mount-storage-twrp

It is in Spanish btw.