yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] talhabw:
Fingerprint on AOD is not working. There is a fingerprint icon but the sensor doesn't active.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] chanhuyvn:
Can you add face unlock to the ROM

Initial import of Face Unlock for S · PixelExperience/frameworks_base@9c94369

Change-Id: If784cd1283dade71e72995e828586e3be2b4abb0

github.com
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] Tomasan7:
Hello, I wanted to download the Lineage image, but I get this "no mirrors found" message, what should I do?
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] JayB1988:
I hope this doesn't mean that @kyasu abandoned the project. D: I liked the progress so far and I hoped that the issues were easily fixable. But I'm no programmer myself so I cannot help besides reporting bugs. :/

edit: apparently it's working now. it shows "no mirrors foind" for a second and then shows a list of mirrors.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] Tomasan7:
Oh right. Thank you.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] 5TFN:
Hi hello,

my first post here since I'm very happy to see Lineage for the Mi 9 SE :)

I installed the ROM coming from crDroid 6.5 and so far everything is working very smoothly.

I used Nikgapps core and installed Magisk as well.

I had to do a bit of research since I was in doubt for some steps.

Maybe my installation steps are helpful for someone.

This is assuming you have adb / fastboot installed on your computer.

I used adb commands to reboot into bootloader or recovery, but there are also power/volume key combinations to achieve that.

1. Save / prepare all the files for flashing in one folder on your computer:

in my case it was:

TWRP: twrp-3.6.1_9-ky-grus-ky.img

Firmware: fw_grus_miui_GRUSGlobal_V12.5.1.0.RFBMIXM_c04478d703_11.0.zip

LineageOS: lineage-19.1-20220320-UNOFFICIAL-grus.zip

Google Apps: NikGapps-core-arm64-12-20220222-signed.zip (optional)

Magisk: Magisk-v24.3.zip (optional) (*.apk renamed to *.zip after download)

2. Install the required TWRP 3.6.1_9-ky

connect phone via USB to computer and open a terminal on the path of your files

type adb reboot bootloader

when the phone has booted into the Bootloader, use terminal command fastboot flash recovery twrp-3.6.1_9-ky-grus-ky.img

when terminal reports sucess, use the command fastboot reboot

3. Format / flash with TWRP

when the phone is in Android, use terminal command adb reboot recovery to reboot into TWRP

when TWRP 3.6.1_9-ky has started, go to "Wipe", select "Format Data" and confirm by typing "yes" (according to kyasu this step can be omitted if you are not coming from MIUI, but I did it anyways)

go to "Advanced" -> "ADB sideload" and do the "Swipe to Start Sidelaod"

on the computer use the terminal command adb sideload fw_grus_miui_GRUSGlobal_V12.5.1.0.RFBMIXM_c04478d703_11.0.zip

repeat the last two steps for the other files with:

adb sideload lineage-19.1-20220320-UNOFFICIAL-grus.zip

adb sideload NikGapps-core-arm64-12-20220222-signed.zip (optional)

adb sideload Magisk-v24.3.zip (optional)

go to "Reboot" and select "System"

4. Setup Lineage OS

during Lineage setup choose not to “update lineage recovery alongside the os” since it would replace TWRP with the Lineage recovery.

5. GCAM

I used MGC_8.1.101_A9_GV1zfix_ENG.apk (com.google.android.GoogleCameraEng) and just installed that within LineageOS ...so far working fine
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] JayB1988:
Question:

How important is the role of the firmware update? Tbh I skipped it and it still works fine. Maybe I already had it installed as MIUI was on the latest version too? How do I figure out?
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] psydex:
If you're coming from latest MIUI - you already have the latest FW so you don't need to flash it separately
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] psydex:
First of all I would like to thank @kyasu for this ROM and most importantly for a working TWRP (finally) for Mi9SE.

So I've tested the ROM in the past few days and absolutely love it (except few minor bugs). Everything works smooth - SafetyNet , Gcam, Calls, Contactless payments etc. I've compiled a list of feature requests and bugs I found below.

Feature request:

- Face Unlock (we need this for quicker contactless payments)

- Using Fingerprint while screen off

- Grid type recents with clear all button on the bottom

- Some kind of charging indication/animation

- Three finger pull down on screen to take screenshot (+option to delete after sending will also be a nice addition)

Bug report:

- Huge padding on top which pull content down and leaves unused empty space

- Inconsistent status bar icon size

- Slide on statusbar to adjust brightness doesn't work

- "Lockscreen > Display music visualizer" rarely works

- Fingerprint unlock is significantly slower than stock MIUI

- "Wallpaper & Styles" menu is bare-bones and missing any customization

- Changing system font applies only for the Settings app

- When unlocking with fingerprint the whole screen goes full brightness instead of just the fingerprint part

Questions:

- How do I remove this annoying text in the quick settings panel?

I'll update this list If I find more stuff.

Looking forward for updates!
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] JayB1988:
Turn off developer mode.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] Benji_san:
Do you recommend this rom for daily use?

What is the most annoying bug you have found?
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] psydex:
Yes, It's totally fine for a daily driver. Installs easy, Runs great and battery life is better than stock MIUI. Also the Gcam in OP works amazing! Photos turn out absolutely stunning. Coming from stock MIUI feels like a brand new phone. Aside the bugs I listed above (which are mostly cosmetic) I mostly miss the face unlock because I used it a lot. Fingerprint is a bit finicky so I recommend adding same finger multiple times to improve speed.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] Benji_san:
Thanks, I'll try it.

Have you had any problems with calls?
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] game #1:
totally agree with you, as for me most annoying stuff is when u try to fingerprint unlock, screen goes max bright instead of fingerpint point.

no issues with phones calls, battery life is great. overall i recommend this rom instead of overwheighted miui.

and it would be great to have a feature double tap on screen to turn the screen off, not just status bar tapping,
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] psydex:
No, not at all.

If you use Nova Launcher you can go to Nova Settings > Gestures & Inputs > Double Tap and set it to Screen lock
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] tavoc:
Deleted today by accident my working stock Mi9SE and used it to install LineageOS19.1

Great work, seems to run good.

However I have noticed, that the display goes really bright, when I want to unlock with my finger. I am using at night more or less a really dark setting, and unlocking is like a beacon in the the night.

That does not happen, if I unlock it with a PIN. Do I miss a setting to adjust that behaviour?

Thx
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] buteo:
Only in settings page for me. In homescreen the widgets can use almost all space

not for me

If you mean the slider showing swiping down from the status bar, that works for me

I found it better than stock 12.5.1, a little worst than 12.5.4.

Maybe depends on firmware?

BTW, any way to access the service menu (#*... code does not work from dealer)? The fingerprint calibration made unlocking far better in stock MIUI and xiaomi.eu

​

@ All

How about battery? I find it much better than stock. Yesterday I had 13% remaining with about 6h SOT
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] psydex:
No. This option does not work

Also I just found that "Hey Google" voice match does not work on this ROM. IDK why.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] buteo:
"OK Google" works for me, along with voice match.

I clean installed Gapps from OP

Yes, sliding on the status bar has no effect
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] tavoc:
Did anyone tried Android Auto?

I installed nik android gapps core and android auto from the playstore

this results in Error 22 if I connect to my car.

I reinstalled everything (because I messed up a lot) and used nik android core and the android auto addon. Here I dont see the android App in my Apps, but If I connect the cable it asks if Android Auto should be started, by my car and phones says it will not work.

In between I gave it a try by addind nikcore full (but that messed up my phone (no launche) - here I get error 17 communication error for Android Auto

Do you have any Ideas? Is this a general problem of android 12?
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] buteo:
I also tried NikGapps to have a full featured system from the start, and I got initial config bootloops.

Then I cleaned all (formatting /system too) and started with the suggested MindTheGapps.

I had to install all apps (no need to explicity install Android Auto).

So far now Android Auto works pretty well, with Youtube music and Amazon music not accessing local files (but it seems an app's fault).
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] tavoc:
Thanks for your feedback. Can you tell me which mindthegapps file did you use exactly?

I did not expect that this makes a difference. Next time I will simply follow the howto in the first post to the letter
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] buteo:
The one and only in OP
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] Tom403:
This is wonderful, thank you for reviving this phone!
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] lawliet80:
I have notice a little bug. Sometimes when I grab my phone, it doesn't directly show the lock screen with the hours, notifications and fingerprint but it shows a screen without anything, just the wallpaper. I have to push the power button on/off so the hours, notifications and fingerprint is visible.

Does it happens to you?
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] tavoc:
No. Works here. Only issue I have is Android Auto,because I installed wrong gapps and I need to reinstall next week.

Other is phonecalls. I can speak to and hear the other side OK. If I geht a call it works also.

But if I do the call I do not hear the ringing sound or waiting or busy signal.

It is only silence, until I hear the other Party speaking.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] kyasu:
I uploaded the new build.

(True) Android security update date is 2022-04-05.

Fix the issue of the whole screen high brightness on FOD.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] psydex:
Thank you for the update and thank you for fixing fingerprint on screen off! ♥

Does TWRP provided supports decrypting or I should use OTG to update?

EDIT: Okay I did it through OTG but I forgot to flash gapps after update and something screw up so I'll start from the beginning but do I have to wipe something (system or/and data) along with formatting data?
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] JayB1988:
Just installed the update + new GApps via adb sideload. Booted fine so far. Thank you(!) for changing the font of the AOD to something that uses less pixels. Fingerprint reader works too for now. Gonna see about battery consumption and stability.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] buteo:
Can I dirty flash the new version over the previous one? Do I need reflashing gapps?
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] JayB1988:
That's what I did. Just booted into TWRP and loaded both files via adb sideload. No formatting of anything. All settings remained and so far no problems.

After further inspection I also like the new volume sliders. Closer to MIUI and more compact. @kyasu Great job!
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] chanhuyvn:
Actually I just need to flash only the ROM to update.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] Tomasan7:
Hi, I am kinda new to this, could someone please tell me, how do I update to the new version without losing any data? I use TWRP recovery.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] chanhuyvn:
Just use adb sideload in TWRP and flash only the rom.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] 5TFN:
I also just dirty flashed the lineage-19.1-20220410 (no wipe, format or anything) using adb sideload.

At first I only flashed Lineage and Magisk. Since in the log of the flash script it said that the google apps were backed up before flashing and then restored after. And for Magisk the script gave an error.

--> Boot loop

Then I flashed it again including GApps (in my case NikGApps core).

--> Booted successfully, on the first start I got a message that Google services stopped, but no issues after a second boot or anything else.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] tavoc:
@kyasu thank you very much.

I dirty flashed it over previous Version and flashed the mindthegapps.

FOD has the right brightness and Android auto works.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] buteo:
I have a different issue with phone calls: if a make or receive a call, the number/contact appears only after a few seconds (when ringing starts or the called answers), as shown in the screen recording attached.

I use google dealer app from the playstore (com.google.android.dialer 77.0.432472356), all permission granted.

I have two SIM inserted, from two telephone operators, and the behaviour is the same with both SIMs, and also with only one SIM inserted.

Someone else experiencing this?

@kyasu: could I take some logs to troubleshoot this issue? Let me know
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] kyasu:
Hi, I don't have these issues with one SIM. I can hear the ringing sound and the number/contact appears without delay.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] tavoc:
I had that issue as well with the lineages call app.

Installed today the google dialer, make it as standard and now it works in booth apps.

Maybe works for you as well. I hope it will work now for me.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] El_depp:
Hello. I'm using LOS 18.1. Do you suggest to 19.1? My principal concerns are about:

- battery performance

- Android auto

- Gpay

Thanks to who will answer and most of all to the developer of these 2 roms.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] lawliet80:
You can go without hesitation ;)
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] tavoc:
I was too early. Further calls today showed that I do not hear the ringing sound if I call someone.

For some reason it worked only for a few falls. Can not reproduce it
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] buteo:
Thanks for sharing.

I figured it out: "Assisted dialing" option in dialer was set on by default, and that caused the delay, either with one or two SIMs inserted.

I disabled it, and calls now work as expected.

Hard to see really annoying bugs so far.

Great work, @kyasu . It deserves to become an official LineageOS release. Think about it!
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] JayB1988:
I can confirm the missing beep when you're calling someone with the built in dialer app. I yet have to figure out if the Google dialer works better.

Speaking of dialers: is there a way like in MIUI to filter the contact list? I don't want my Telegram or Skype contacts to be in that list, only my normal phone book (which is Outlook in this case). Deactivating contact sync per account doesn't do anything except making the specific app itself complain about not being able to sync contacts.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] Tomasan7:
Hi guys, after I flashed the new version along with the newest MindTheGApps, no google apps work anymore. (crash) What should I do?
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] psydex:
When I tried it this way and flashed only the rom , google play services was gone and with it all the google apps , everything started to crash and i was forced to start over. I asume I should have flashed gapps again too
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] chanhuyvn:
Maybe I using MindTheGapps so it didn't break.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] haasta:
Still have security patch April 1 from 2021.

Any idea why?

I install last build from April 2022
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] tavoc:
It is stated in the first post. That this screen shows not the actual date, because of safetynet
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] buteo:
I spoke too soon: it worked for a few hours, than delay appeared again, not all the time now. Strange, need to watch the logs.

Anyone else here with Google dialer? Any way to clear dialer's cache?
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] tavoc:
I tried the google dialer and disabled the Option. But i noticed no improvement. No beep.

Wäre should I or can I search for the logfile?
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] buteo:
I DO hear the initial sound (a sort of dual-beep) starting a call, before waiting for connection. Is this the beep you refer to?

USB debugging on, adb logcat form a command line on the usb-connected PC.

OR, any logcat app from the store.

I find best the first way. I can easily save, search an filter the logs
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] tavoc:
Thank you. I will try the first Method

Normally if I wait for the other party to accept the connection there should a beep every 2 seconds.

With this ROM there is only silence until I hear the other party.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] psydex:
I've experienced such silence while I was still on MIUI so I doubt its rom issue
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] ansa1234:
i can confirm the problem with silence. With miui it was not so, there you could hear a beep every 2 seconds, until the other accepts the call.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] buteo:
I just tried three phones. Mine (Los 19.1) with Google dialer, a Redmi 8 with miui 12.5.3 stock, a Mi11 lite with miui 13 stock.

All behave the same: I start the call, then I can hear the network tone (ringing on the called side) until the other party answers.

BTW, for my own dialing issue (delay showing call details) I tried uninstalling and reinstalling Google dialer. So far now it works as expected (no more delay). Maybe an interference between aosp dialer installed with mindthegapps?
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] buteo:
Found in another ROM's support chat:

"There's at least one issue that has been in fluid roms and also proton: When you enable LTE for phone calls, then i do not get any ring tone when i am calling someone. If i disable LTE (i think call is initiated via GSM then?), then behaviour is as expected."

@ansa1234 do you think that relates to your issue?
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] tavoc:
Thank you. I disabled 4g calls in the settings of the simcard.

It seems to work. With default and Google dialer.

Awesome
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] liu-shuyuan:
I have the exact same empty lockscreen issue on the 20220320 build, glad to see I'm not the only one. I'll update today and see if it's been fixed.

Edit: tried 20220410, issue still present. The wallpaper and signal & battery icons are shown, but not the status bar clock / big clock / FOD icon / ...

Edit 2: seems fixed in 20220506.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] liu-shuyuan:
I tried Open Camera but could only switch between the front and main rear cameras; there was no "switch multi-camera" button described by the Open Camera Help page. In Settings -> About it says "No. of cameras: 2" and "Multi-camera?: false". Did you do anything special to get the other two lenses to work?

GCam works OK, but needs to restart (automatically) to switch between the rear lenses. If GCam is used with the screen still locked (brought up by double pushing the power button), it fails to come up again when restarting, meaning I have to unlock before switching lenses -- not convenient. If there's a workaround please let me know.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] JayB1988:
You're right, for some reason it's gone now. 🤔 Maybe a bug in a recent update. It definitely used to be there a week ago.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] dukeforever:
Thank you @kyasu for this amazing ROM. I was sick of seeing my Mi9 SE decay with all the crap that MIUI produces.

I want to also confirm some statement from @psydex, that is that the fingerprint sensor is slow, but also fairly inaccurate compared to stock. I'd also like to see face unlock but that's a minor annoyance.

Apart from that the ROM is butter smooth, lower battery consumption, better camera app ... I needed to wipe all the partitions since a simple data wipe wasn't sufficient but that is all.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] dertimi:
same here with 20220410
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] caubechandai:
hey @kyasu thank you for your amazing work. my phone is now fast again.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] haasta:
one week later

awesome rom/ best for mi9se right now

thanks @kyasu

only bug with android security patch but it`s safetynet thing

there is a chance that the security patch date will be displayed correctly?
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] buteo:
When I was on miui, both Xiaomi EU and stock, I found 12.5.4 firmware to be better in fingerprint handling. I didn't tried in LOS because @kyasu stated in OP that 12.5.1 was required. Maybe worth testing it?

Furthermore, I used to do make fingerprint calibration from the service menu *#*#6484#*#* and get better recognition. Now I can't from the dealer.

Anyone know if it is possible to reach the service menu in LOS 19.1?
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] dukeforever:
I was in 12.5.1 and the fingerprint reading was way faster and accurate.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] JayB1988:
How fast is fast for you? For me fingerprint reading takes only half a second, sometimes only a little longer but always less than a second, which is totally fine for me. But I have both of my thumbs registered twice each. I can't remember how long it took on MIUI.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] Fgmenezes:
Hello everything is fine?

I did the installation of the rom lineageos 19.1 on mi 9 se (grus), I noticed two things:

1 - When I force the application of dark mode in the developer options it does not apply to some applications and sometimes this option disables itself.

2 - Doesn't have the face look

Could anyone help me?
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] dukeforever:
Again it's not only the speed but the accuracy, if my finger is not perfectly dry it never works, it used to work on MIUI.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] tavoc:
Hi @kyasu , thanks for the ROM. I had a look at your repo. Could you give a short summary how to compile from that repo (as it is different from the lineageos howto).

Thank you very much.

The only problem with your ROM at the moment for me is, that I cant use my "normal" Wifi as it drops every second. Strange thing is, that the guest wifi (same devices) is stable. And I trying to understand what happens and if it is possible to add more logging.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] bartmz:
Hi, I just installed this rom on my mi 9se and so far it is pretty nice. There is only one problem, when i call someone, i don't hear a toot or anything, but the call arrives and can be answered and i can also speak normally then. But at the beginning I hear nothing... Any ideas?

Edit: Interesting... I just found out that i have this problem only with one sim card..

"Vodafone" works, "O2" does not. (Mobile network operator in Germany)