yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S9 & S9+ Cross Device Development] king1990:
LineageOS is a free, community built, aftermarket firmware distribution of Android 12, which is designed to increase performance and reliability over stock Android for your device.

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

Instructions:

Follow the instructions S9 and S9+

Downloads:

Builds: S9 / S9+

GApps: MindTheGapps - (Choose MindTheGapps-13.0.0-arm64 version)

Reporting Bugs

DO NOT Report bugs if you're running a custom kernel or you installed Xposed

DO NOT Report bugs if you're using TWRP

Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)

If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)

If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log

Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.

Contributors

josip-k

Linux4

Synt4x.93

king1990

dylanneve1

Kernel source: https://github.com/LineageOS/android_kernel_samsung_exynos9810
[Samsung Galaxy S9 & S9+ Cross Device Development] l4jos:
I've been waiting for this
[Samsung Galaxy S9 & S9+ Cross Device Development] yassine78:
me too
[Samsung Galaxy S9 & S9+ Cross Device Development] zpunout:
It's exciting to see this device appear on the LineageOS website. Congrats.

Just confirming: As with all Samsung phones running a custom OS these days, no VoLTE support right? Just asking as my country (Australia) no longer has 2G since 2018 and 3G will be shut down at the end of this year.
[Samsung Galaxy S9 & S9+ Cross Device Development] king1990:
Yes , volte will never work on none oneui ROM
[Samsung Galaxy S9 & S9+ Cross Device Development] l4jos:
I like the ROM.

For those who experiencing a big camera photo save delay, which is very noticable if I am making selfies and switching to the gallery app to remove a few one by one. Sometimes the camera freezes as well and I didn't see the connection between. But I fixed this by installing another gallery app: com.simplemobiletools.gallery.pro from f-droid

The default gallery app obstructs the camera app from saving photos immediately, makes the camera crash as well, but this app is legacy and isn't being replaced by mindthegapps. So there is the cause. 🙂
[Samsung Galaxy S9 & S9+ Cross Device Development] ghnue:
Hi,

Many thanks for the ROM.

Bringing some bug reports; using lineage-20.0-20230417-nightly-starlte-signed with clean userdata.

- BT GATT seems NOK. Scan working but "connecting" doesn't seem to work.

- NFC doesn't seem to work.

- LiveDisplay (day/night) has colors all messed up with blues being way oversaturated in the night.

Other than that nothing to complain about. Thanks again :)
[Samsung Galaxy S9 & S9+ Cross Device Development] Jokel2:
I'm aware that dirty flash is not officially supported but I'll take the chance to report anyway.

I did a dirty flash coming from lineage os 19.1. Backups were prepared to restore my date. But that wasn't necessary because the device booted successfully, device is working nicely and it's used as a daily driver.

I tried some gcam versions without success. So, I'll give the new lineage os camera a chance. At least both cameras are working in general. Even the flash seems to be functional.

Big thanks for supporting this device!!!
[Samsung Galaxy S9 & S9+ Cross Device Development] king1990:
-I'm looking into BT issue, some devices will work fine while others don't

-for NFC it should work fine but if you try to use it with google pay you need to pass safetynet first
[Samsung Galaxy S9 & S9+ Cross Device Development] moe61:
Hi,

many thanks for this ROM!

I'm using the version lineage-20.0-20230427-nightly-star2lte-signed.zip and so far nearly everything works without problems. Awesome work!

Only the bluetooth connection problems I can confirm. I got some headsets to work but my omron medical device will not pair.
[Samsung Galaxy S9 & S9+ Cross Device Development] thoastbrot:
can also confirm a working starlte.
[Samsung Galaxy S9 & S9+ Cross Device Development] JeanneD4RK_:
Thanks for the hard work.

Is there an option to encrypt the SD card? Thanks
[Samsung Galaxy S9 & S9+ Cross Device Development] Jokel2:
Unfortunately, I have to report a bug.

Using threema, the camera stops working after a video call of approx. 10 minutes. Afterwards also the camera app does only a black screen.

Any logs to provide?
[Samsung Galaxy S9 & S9+ Cross Device Development] aureljared:
Nice ROM so far! I was coming from Noble ROM which required a repartition so this wouldn't install at first, but I repartitioned with Odin and Lineage Recovery was happy after that.

Works well with Magisk. Just had to flash a couple modules for Galaxy Wearable to work. Netflix also works albeit in Widevine L3, but that is expected. Great to see official Lineage for starlte, thanks devs 👍
[Samsung Galaxy S9 & S9+ Cross Device Development] l4jos:
Thanks again
[Samsung Galaxy S9 & S9+ Cross Device Development] l4jos:
I have a problem and its really hard to identify the cause: the faster I type on any keyboard, the more characters it skips. And I am hestitating if its because my hands are moist but this typing driving me wild anyway, because even if my hands are moist, issue is gone for a while. So could almost say that this is not the cause. If anyone knows a solution or the cause, please let me know. Im not sure whether its a bug or not, and/or if others having the same struggle.

Anyway I am happy about the official LOS for S9+. Very happy. 🙂
[Samsung Galaxy S9 & S9+ Cross Device Development] zpunout:
You might see what's happening with your touchscreen if you activate "Show visual feedback for taps" in Developer Options.

Hope that helps
[Samsung Galaxy S9 & S9+ Cross Device Development] Ronak Chamudia:
For Installation Guide 🔗
[Samsung Galaxy S9 & S9+ Cross Device Development] KackBarton:
Hi guys, the camera don't save photos on external memory, is there any mode to change? Thanks
[Samsung Galaxy S9 & S9+ Cross Device Development] l4jos:
How can I make mobile payments work?

It's possible with some other ROM's without root, but it's not working on LineageOS even without root?
[Samsung Galaxy S9 & S9+ Cross Device Development] ghnue:
There were already some issues saving photos on the 8.1 build of lineage, for example from the front camera. I have also seen some silent failures to save with this version.

Magisk + safetynet-fix mod by displax version v2.3.1-MOD_2.1 and you should pass safetynet basic and cts. v2.4.0-MOD_1.2 broken for me. Don't know about play integrity.

But NFC isn't working for me. Only got it to work like two times at random.

A related issue has been created : https://gitlab.com/LineageOS/issues/android/-/issues/5799
[Samsung Galaxy S9 & S9+ Cross Device Development] bmt50:
Hi Everyone,

I would like to ask, that Gcam app works under Lineage OS? Can anyone share his experience (eg. pictures quality, etc.)?

Nevertheless it must be noted, that the "Changelog" link is dead in the first post.
[Samsung Galaxy S9 & S9+ Cross Device Development] EddoWagt:
If I only use magisk with the denylist, hidden app and that safetynet fix I pass basic integrity, but fail CTS. Did you do anything else like using props configs?

Edit: I didn't download the safetynet-fix-MOD version (Download here: https://github.com/Displax/safetynet-fix)

Version 2.4.0 works fine for me
[Samsung Galaxy S9 & S9+ Cross Device Development] zpunout:
There's a modded GCam thread on XDA which you could try searching "S9" in. https://xdaforums.com/t/gcam-discussion-thread.4250343/page-182
[Samsung Galaxy S9 & S9+ Cross Device Development] l4jos:
Confirm it worked for mobile payments using mentioned version.
[Samsung Galaxy S9 & S9+ Cross Device Development] fantasio72:
Hi,

during video calls the camera stops working after some minutes. Tried it with different apps but with same result. Anyone a good solution?
[Samsung Galaxy S9 & S9+ Cross Device Development] Seorzan:
first custom rom on my S9+ and i loved it, sadly the nfc doesnt work... does the nfc work in version 19??
[Samsung Galaxy S9 & S9+ Cross Device Development] icewind1991:
NFC works for me (S9) with this version
[Samsung Galaxy S9 & S9+ Cross Device Development] Seorzan:
los 20? what build do you use...
[Samsung Galaxy S9 & S9+ Cross Device Development] Wiryfuture:
Hello, there's a bug where on the first boot after flashing the homescreen gesture doesnt work or the notification menu swipe down gesture, and if you switch to button navigation, the home and running app selection buttons don't appear.

This also happens if i manually start org.lineageos.setupwizard.backup.RestoreIntroActivity,

This resolves itself after a reboot.
[Samsung Galaxy S9 & S9+ Cross Device Development] l4jos:
Is it best to update every new OTA build? Or will it make things worse?

Edit: My phone gets hot :(
[Samsung Galaxy S9 & S9+ Cross Device Development] mrdeadb:
nfc work on lineage-20.0-20230622-nightly-star2lte-signed.zip but i installed

lineage-20.0-20230629-nightly-star2lte-signed.zip now nfc dont work any tip how to fix and not reinstall..
[Samsung Galaxy S9 & S9+ Cross Device Development] mrdeadb:
it not working on lineage-20.0-20230622-nightly-star2lte-signed.zip ideer. Only google pay, I can't scan my passport i dont know why as pay works whit nfc i run MatLog but i cant find any problem
[Samsung Galaxy S9 & S9+ Cross Device Development] orgler:
hi,

the rom works great, but is there any way to pass safetynet without (!) rooting? I tried https://github.com/althafvly/ih8sn but I still only pass basic cts and cannot use google wallet
[Samsung Galaxy S9 & S9+ Cross Device Development] mrdeadb:
i use root and have google pay
[Samsung Galaxy S9 & S9+ Cross Device Development] mrdeadb:
you need universal safetynet fix
[Samsung Galaxy S9 & S9+ Cross Device Development] mrdeadb:
I've had so much trouble getting nfc to the passport to work, Google pay works but not to blip the passport. I'm going crazy, anyone know a fix for nfc?
[Samsung Galaxy S9 & S9+ Cross Device Development] orgler:
Yes, that is what I'm doing now and what works fine, I'd prefer though to have as much untouched and non-root lineageos as possible. I don't need any sort of root...
[Samsung Galaxy S9 & S9+ Cross Device Development] mrdeadb:
****, it's dead here, I really want to get nfc up and running, To be able to blip the passport, I've been messing around for days but I can't ****ing solve it, Someone must be knowledgeable?
[Samsung Galaxy S9 & S9+ Cross Device Development] ghnue:
Mifare Classic tags crash NFC (#5799) · Issues · LineageOS / issues / android · GitLab

Expected Behavior Tapping various NFC-enabled cards to the back of the device should result in the device recognizing the tag and...

gitlab.com

Mifare is not working.
[Samsung Galaxy S9 & S9+ Cross Device Development] mrdeadb:
It's a damn shame because clearly the best rom you can run on s9+ ,But someone has to be able to fix this right?
[Samsung Galaxy S9 & S9+ Cross Device Development] testdriver2:
First of all NFC works for me (20-20230626-nightly-starlte)

But I have a problem with message led, does not work with notifications.

I tried with mail.

Control of led works in settings menu, so driver should be ok.
[Samsung Galaxy S9 & S9+ Cross Device Development] Bork Bork:
Can anyone here check if Night Light quick toggle is missing? As it seems the iode team decided to remove it from this device because reasons. I can't see see any commit on the Lineage OS gerrit regarding this hence why I'm asking and having to switch ROM is kinda bothersome. But if it's indeed there then I'll switch pronto and just deal with it.
[Samsung Galaxy S9 & S9+ Cross Device Development] testdriver2:
I can not see this toggle, only a setting in settings menu.
[Samsung Galaxy S9 & S9+ Cross Device Development] Bork Bork:
This means that it was removed between 20230401-20230629 seeing at it was still on iodéOS 4.1 and most likely LOS from that time. Would be nice to know what commit it was so I can fork this and not bother with devs who remove things that are still there on other devices (i.e XZ2 in my case).

I have a Xperia 10 V and plan on getting Xperia 5 V as well so I wanna at least keep this function going and share this commit so others who actually use this function can keep it because of reasons unknown on why it was removed. I mean why not remove all other toggles found in the settings?
[Samsung Galaxy S9 & S9+ Cross Device Development] testdriver2:
toggle is now there!!
[Samsung Galaxy S9 & S9+ Cross Device Development] Bork Bork:
If that is indeed true then the iode team just did a dirty. Or at least one of the devs did.
[Samsung Galaxy S9 & S9+ Cross Device Development] testdriver2:
This is true for my phone.

But I have forgotten to tell this toggle is named "extra dim"
[Samsung Galaxy S9 & S9+ Cross Device Development] king1990:
Aosp night light does not work correctly with exynos devices, use night mode under livedisplay for alternative
[Samsung Galaxy S9 & S9+ Cross Device Development] Bork Bork:
Thank you for the clarification. Would it be possible to add that specific toggle via adb or via future code update? I mainly use this device to read during late hours.
[Samsung Galaxy S9 & S9+ Cross Device Development] king1990:
Not possible. Why you don't use livedisplay night mode ? Go to settings , display , livedisplay , display mode , and choose night.
[Samsung Galaxy S9 & S9+ Cross Device Development] xifience:
do you use google apps? my phone was also getting hot and getting above of 70 Celsius on idle because of them, got it removed and I don't have any these problems now.
[Samsung Galaxy S9 & S9+ Cross Device Development] ghnue:
Tested today with 20230710-starlte. EMV OK. As soon as you try Mifare it breaks. Can you reproduce ?

Led works fine for me.

Night mode still broken for me. Blues are oversaturated.

While I'm at it. Would it be possible to tweak and increase the poll rate of the light sensor ? First versions of lineage 8.1 for this device had the same issue where when just out of pocket or with sudden light change the screen would take a noticeable amount of time to adjust.

One more thing : WPA3 seems disabled. Is something broken ?

Thanks again for the ROM :)
[Samsung Galaxy S9 & S9+ Cross Device Development] testdriver2:
I am using 20230710 too. Low battery warning works, but no other notification.
[Samsung Galaxy S9 & S9+ Cross Device Development] l4jos:
Yes. Still, I would like to use it for ease. So I have to deal with it and so it gets hot?
[Samsung Galaxy S9 & S9+ Cross Device Development] kailin27:
The zip files seem to be missing for lineageos + microg (link).

For starl2te the folder is completely empty 🤔

Can those be added? I'd really like to upgrade!

Edit: The files have been added, thank you!
[Samsung Galaxy S9 & S9+ Cross Device Development] stragies:
Hi, I would like to use [Magisk + Isodrive](https://github.com/Magisk-Modules-Alt-Repo/isodrive) to mount a FILE "as a bootable device using configfs" to present my phone as a Mass-Storage device to another (USB-Host) device, like I successfully do on my LG G5.

This seems to require a kernel usb gadget to be enabled:

CONFIG_USB_CONFIGFS_MASS_STORAGE

The https://f-droid.org/de/packages/net.tjado.usbgadget/ tool show this option to be set enabled on the LG G5, where `isodrive` can successfully start the USB mass storage gadget, but not on the S9 startlte.

Having a bunch of ready bootable installers/systems on your phone is very useful.

Is there any chance, this option could be enabled for the next nightly? (Lots of other USB gadget functions ARE enabled, so this doesn't seem like a big change)
[Samsung Galaxy S9 & S9+ Cross Device Development] Olangu:
I've unfourtunatly not been able to dirty flash this (or the microg equivalent) on top of my 17.1 from 2021.

It never asks for the password to unlock data... And hangs on loading screen.

Of course I forgot to backup and could not find my old installation files. I have however successfully located latest lineage-17.1 and am currently back in the system.

Im now kindly asking if anyone is sitting on the latest lineageos4microg .zip, it might be 20210118 or perhaps 25.

Also any ideas on how to manage this dirty flash is greatly appreciated.
[Samsung Galaxy S9 & S9+ Cross Device Development] xifience:
I can suggest you using microG if you don't often use Google services
[Samsung Galaxy S9 & S9+ Cross Device Development] Olangu:
Anyone else having problem with extremely low volume in the phone built in earpiece?
[Samsung Galaxy S9 & S9+ Cross Device Development] orgler:
I had this in two ways. Partially it was just dirt in the earpiece, there are tons of manuals how to fix this e.g. with a tooth brush and iso propanol.

But partially I think it is also a software issue. I think it got better after restoring stock completely and then migrating to lineageos.
[Samsung Galaxy S9 & S9+ Cross Device Development] Walterkom:
Freezing display after Last update.
[Samsung Galaxy S9 & S9+ Cross Device Development] Jackychans:
I just used Play Integrity API Checker app to check

only MEETS_BASIC_INTEGRITY has been met, MEETS_DEVICE_INTEGRITY & MEETS_STRONG_INTEGRITY failed

Is there a way I can pass MEETS_DEVICE_INTEGRITY ?
[Samsung Galaxy S9 & S9+ Cross Device Development] ramazan şahin:
If you have a screen recording, does the recording look green and blurry lines appear on the side while shooting 4k video, I would appreciate it if you reply.
[Samsung Galaxy S9 & S9+ Cross Device Development] bu5hm4573r:
My camera also fails during video calls. I have to spam the enable camera until it re enables itself.

I was using twrp to reinstall magisk and safteynet after each update until lineage recovery frustratingly installed itself some how.

The rom is good but please fix the camera issue
[Samsung Galaxy S9 & S9+ Cross Device Development] Pierfranc:
How is the camera on this ROM? Are there alternatives if it doesn't work? This is the only thing for I which I doubt to install the rom. I won't lose the quality and resolution for photo and videos of the Samsung camera. If there are other apps it's good. I need this ROM for a better battery autonomy and for a lighter resources usage
[Samsung Galaxy S9 & S9+ Cross Device Development] karimin:
what a great idea i forgot it existed for years thx for reminding me about it.

i am also interested in knowing about this. will let u know if i found about it

most of the camera pics quality come form the hardware but some of it comes from the enhanced app algorithms. idk about the s9 custom roms yet but will let u know after testing some roms this week.

if any one know the answer plz give us ur info. thx
[Samsung Galaxy S9 & S9+ Cross Device Development] JustinBu:
hi i cant set password or fingerprint, no security is avaible. samsung s9 lineage-20.0-20230918-nightly-starlte-signed.zip.

which version is stable?
[Samsung Galaxy S9 & S9+ Cross Device Development] l4jos:
I use grapheneos secure camera and I am very happy with it
[Samsung Galaxy S9 & S9+ Cross Device Development] fhteagle:
... disregard...
[Samsung Galaxy S9 & S9+ Cross Device Development] kot7k:
Hi,

Thank you for keeping our devices alive.

Just installed this, and it's great. Wanted to ask about face unlock. I don't see the option there, but other roms like pixelexperience has it. Isn't the developer of pixelexperience involved in this rom too? How comes lineage dont have that option? Would it be possible to add it?
[Samsung Galaxy S9 & S9+ Cross Device Development] Walterkom:
Its not secure on android. Only iPhone has secure face unlock.
[Samsung Galaxy S9 & S9+ Cross Device Development] l4jos:
Is there a chance of fixing the camera api so it won't freeze at some time? I've read Samsung has a bad camera intergration, so does it happen on all samsung devices with a custom ROM? Beside this, I am still happy with the LOS 20 release for this device.
[Samsung Galaxy S9 & S9+ Cross Device Development] Walterkom:
No works perfectly, im using LOS camera pre-installed app, build 20231009, i go to settings and cancel sharpening, denoising, all correction settings results are better than stock, fast stable. Takes better photos than an iPhone 12. The results are perfect. The only thing that's wrong is the web browser. otherwise perfect overall.
[Samsung Galaxy S9 & S9+ Cross Device Development] xifience:
Only first frame of screen record becames green which is not a big problem, I didn't tested camera video recording.
[Samsung Galaxy S9 & S9+ Cross Device Development] yigitqweqew:
Please LinageOS 21 for starlte
[Samsung Galaxy S9 & S9+ Cross Device Development] l4jos:
I am satisfied with 20. And 21 would be cool indeed.
[Samsung Galaxy S9 & S9+ Cross Device Development] l4jos:
I found some kind of an animation bug when using other launchers. Try another launcher and go back in some app using the back button, and you see an ugly transition downwards, which is ugly and pretty disturbing (to me). If you can solve this final touch that would be nice!
[Samsung Galaxy S9 & S9+ Cross Device Development] erpl:
Is VoLTE supported on this ROM?
[Samsung Galaxy S9 & S9+ Cross Device Development] soYex:
It is not. No one support it, apart from the ones based on the stock rom (oneui)
[Samsung Galaxy S9 & S9+ Cross Device Development] OddwFr:
Hi, lot of thanks to this official LineageOS for ur S9.

I passed to this from Unofficial 19.1 very simply.

Is somebody know a way to have 60FPS mode on camera app ?

This is the one thing that miss me until I deleted sotck ROM.

Nice day,
[Samsung Galaxy S9 & S9+ Cross Device Development] l4jos:
Im still not sure if this is a bug or a hardware fault.

Camera frozen

Microphone issue when calling on speaker

I don't expect this is going to be solved, because "samsung implementation" I read somewhere.

But the microphone issue is gone when installing opencamera and change the microphone input to "default". I noticed no issue afterwards when calling on speaker, but I couldn't test it very long to be sure. Try by yourself.

I just want to be sure about the camera issue, is not a hardware fault? Thanks in advance.
[Samsung Galaxy S9 & S9+ Cross Device Development] RayLen:
Just tried the latest LineageOS on my Samsung Galaxy 9. Didnt use this ROM for ages now. But what happened to its design? I dont like it at all. Can it be changed?
[Samsung Galaxy S9 & S9+ Cross Device Development] l4jos:
No, the design is not going to change.
[Samsung Galaxy S9 & S9+ Cross Device Development] alunmatt:
Up till date, no custom rom based on android 14 for the s9 and note 9 series. No more support for these devices?
[Samsung Galaxy S9 & S9+ Cross Device Development] soYex:
Well, I didn't tried it because I like the design, but what about installing a launcher?
[Samsung Galaxy S9 & S9+ Cross Device Development] RayLen:
I have immediately changed to Flyod. Especially because LineageOS breaks the camera (just as usual). I know its not their guilt but only if you are an extreme person who wants the cleanest OS there is no sense for me to use it.
[Samsung Galaxy S9 & S9+ Cross Device Development] l4jos:
LineageOS is still my fav. ROM and you should be thankful to the developer who keeps the device usable in 2024
[Samsung Galaxy S9 & S9+ Cross Device Development] yeswap:
Official LineageOS 21 (Android 14) has not been released for ANY devices yet. It will probably start rolling out soon.