yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S9 & S9+ Cross Device Development] Monvigliero:
+1 for the same GCam app. This is the best so far. Way better than Open Camera. (Altough pain in the *ss to install, set up front camera/gallery, find the proper config file, and block it's trackers (3 libraries)).

Which one U use exactly? I would gladly try. Why "Scan3d" or "Ruler" is better?

Should our device still be considered as Samsung with LineageOS or just a general android device (because I use MGC, but I would gladly try a better working option)?

Do you use a special config file (I downloaded all four that I had found in their Telegram feed.)?

The photo quality is already OK, but having an S9 PLUS, I lost the 2nd rear "Tele Camera", and I am quite sad about it, I would be happy to find an option to make it work again.
[Samsung Galaxy S9 & S9+ Cross Device Development] citizenserious:
That's probably it! My device is encrypted too. Thank you (; I'll keep reflashing than. It's not a big deal, I was just wondering if I did something wrong.
[Samsung Galaxy S9 & S9+ Cross Device Development] Galaxy9plus-support:
Cudos to the latest build, OTA on encrypted phone ( no Magisk ) is seemless. Super happy at the speed the builds are available every time a kernel / security / LOS update is ready.

5 stars

⭐️⭐️⭐️⭐️⭐️
[Samsung Galaxy S9 & S9+ Cross Device Development] ptuner:
Hello, curious here what is the difference of this and

[ROM][S9+/S9][UNOFFICIAL][LineageOS 18.1][21-03-2021]?​

Also I notice it says some "formatting" is required for the install, coming from other devices using TWRP to install roms not familiar with this, is there an explanation/ tutorial somewhere? Any ecryption, LTE problems? Also do you need to be careful what version S9 you get or you cant flash TWRP and this?

Thanks.
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
This is a branch of that one. It used the same repos, but the original developer made a lot of changes of his own over the past few months, including f2fs.

Yes you should use the Lineage recovery because TWRP has had issues for some people. I think it has something to do with encryption.

The ROM will work on S9 and S9+ :)
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
FYI:

New kernel 4.9.288

Now available via OTA or OP

Have a nice day! :coffee: :geek:
[Samsung Galaxy S9 & S9+ Cross Device Development] citizenserious:
Is there a way to support this work? Unfortunately I am not a programmer. But willing to learn stuff.
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
Thanks for the interest!

I suppose the first step would be learning how to compile the Lineage 18.1 ROM using my repos in a roomservice.xml. There are lots of tutorials on how to do this. Once done, I would benefit from help learning how to add in some programs to the ROM build. I think the community can perhaps vote on which, if any, programs could be included in the ROM, like Aurora Store, F-Droid, and the like.
[Samsung Galaxy S9 & S9+ Cross Device Development] gnarf49:
I would vote to remove stuff rather than add and keep the system image as tidy as possible, to save space/battery, avoid duplicates and keep security risks low. Possibly not required here currently, Lineage seems already very much debloated.

And then have a best-of/where-to-get-them list for must-have apps like email/browser/camera/calendar/etc.for getting started, in case there are no preferences already.
[Samsung Galaxy S9 & S9+ Cross Device Development] HQwarp:
Thank you for compiling this rom!

I am trying to use your rom with MicroG. Installing the MicroG ended up with error that the system need to be patch for spoofing signature.

With the previous lineage I use NanoDroid-patcher-23.1.2.20210117.zip to make the necessary steps to install MicroG.

The script is running fine on Lineage 18 on other devices. This file is unable to run on this rom.

Can you check it out?

Thanks!!
[Samsung Galaxy S9 & S9+ Cross Device Development] citizenserious:
You can use Magisk with "Riru" and "Riru - LSPosed" for spoofing and the "microG Installer Revived". This worked for me.

Please read the documentation for spoofing on Android 11 for more information.

To my knowledge, Nanodroid does not support Android 11.

Spoofing information: https://github.com/microg/GmsCore/wiki/Signature-Spoofing

Xposed solution for android 11 and 12 consists of the magisk modules "Riru" and "Riru - LSPosed" and FakeGApps fork by whew-inc
[Samsung Galaxy S9 & S9+ Cross Device Development] gnarf49:
I have tried some of the above to enable signature spoofing for MicroG but without success, this was the main reason to start my own builds.

Signature spoofing while building is very easy (link in above post, apply patch from MicroG website before the "brunch" step). The patched ROM allows to simply install and update MicroG from the MicroG FDroid repo.

Sorry I don't have a public git or suchlike, if someone is interested and provides a link I can upload the ROM. The complete build process is some pages up: https://xdaforums.com/t/rom-s9-s9-unofficial-lineageos-18-1-weekly.4302901/post-85645889
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
Hello everyone! I would like to ask the community for some help with a minor tweak that could add value to the build.

I would like to change the default Bluetooth audio codec channel mode from "stereo" to "dual channel". The audio quality is really good with dual channel, and it seems to be supported on a lot of devices, but it's a hassle to get to the setting every time.

I tried searching my repos for these keywords:

Build software better, together

GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 420 million projects.

github.com

The best I can come up with are these files and lines, which appear to set an indicator for "dual_channel":

android_kernel_samsung_universal9810/sound/pci/asihpi/hpi.h at acf61e7917d7ffc2f412ce4940c6db11b2b827e2 · Geoknyda/android_kernel_samsung_universal9810

Contribute to Geoknyda/android_kernel_samsung_universal9810 development by creating an account on GitHub.

github.com

android_kernel_samsung_universal9810/sound/soc/intel/boards/bxt_da7219_max98357a.c at acf61e7917d7ffc2f412ce4940c6db11b2b827e2 · Geoknyda/android_kernel_samsung_universal9810

Contribute to Geoknyda/android_kernel_samsung_universal9810 development by creating an account on GitHub.

github.com

However, I don't know what to do or change :( Any help would really be appreciated!

Thanks :)
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
FYI:

New Kernel 4.9.289

Available via OTA or OP

Have a great day!
[Samsung Galaxy S9 & S9+ Cross Device Development] jamy015:
Hi folks, my old Galaxy S9 is getting a bit long in the tooth, and I'm considering either replacing it with a new phone, or having the battery & display replaced and installing this ROM. However, though I used fastboot, TWRP and adb to root my old Nexus 5X before, I'm a total noob when it comes to custom ROMs and/or Samsung. Therefore, I have some noob questions when it comes to the ROM - please bear with me.

How stable is this ROM? My S9 is my only phone, so I need it to 'just work' and not break.

Is it even possible to install it? In some other threads, I read some conflicting messages about whether Samsung has permanently locked the bootloader alongside some security update. How can I check this?

In some other threads I read that with custom ROMs, there can be issues with the sound and brightness compared to Samsung stock. Is that the case for this ROM, and if so, are there any solutions to that?

I also read that when it comes to the camera, you need to install a third-party camera (OpenCamera or GCam) -- how stable are these solutions and are the photos of reasonable quality?

If I install GApps and don't root, will the phone still pass SafetyNet? How stable are the various GApps packages?

Thanks.
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
Hi Jamy.

The ROM is stable. I have an S9 as a daily driver and use the ROM I share weekly in this thread; it has to be stable for me to have a phone.

Yes, you can install it. Make sure you have the Exynos version (international) of your S9; the Snapdragon (US) is locked.

There are no problems with sound or brightness. This is LineageOS which is a very large, trusted, and bug-free ROM.

The stock Lineage camera is okay, but Opencamera has better features.

I don't know much about Gapps, sorry.
[Samsung Galaxy S9 & S9+ Cross Device Development] jamy015:
Thanks for taking the time to answer my questions! I do indeed have the Exynos model -- at least, I assume so (my phone is coded for the Swiss market). It's good to hear that the ROM is stable and has no issues!

There's one more important (to me) question I forgot to ask: does Always On Display work? I tend to have trouble with time perception, so the AOD clock is essential to me.

Finally, is there anything else I should know as someone who would be coming from the stock Samsung OneUI, and who hasn't used custom ROMs before?
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
Okay! So it sounds like you're good to go.

The one important thing I would suggest is to make sure to use the accompanying Recovery with the ROM, not anything else like TWRP, because that gives some people problems. These recoveries are in the download section of the OP and are released every week with the ROM. Once installed all you have to do is run the OTA update service inside the ROM. I try to release kernel updates weekly and the AOSP updates monthly.

Regarding the always on display, you can see below the setting exists and I can confirm it works.
[Samsung Galaxy S9 & S9+ Cross Device Development] yeahman45:
work on exynos?
[Samsung Galaxy S9 & S9+ Cross Device Development] Isovitisgr:
Of course it does. I have it installed in my S9+ Exynos!
[Samsung Galaxy S9 & S9+ Cross Device Development] aureljared:
Hi, adding to Neurotical's answer above:

Very stable! Though the definition of "just work" might vary between us - VoLTE is not present in this ROM for example, but as I do not use VoLTE, I'm not too bothered.

Yes, it's a bit more involved than installing ROMs on Nexuses, but definitely doable as long as your phone is not carrier locked.

Sound works, but there is a definite decrease in loudspeaker audio quality through Lineage. Definitely less bassy and more hollow, but if you listen through Bluetooth or 3.5mm it won't matter anyway. Brightness also works, along with auto brightness, but I find that the minimum brightness on Lineage is a bit brighter than the minimum brightness on Samsung One UI.

The photos on Lineage will never be as good as on One UI because Samsung's camera magic is proprietary. That doesn't mean the photos are bad - they're definitely still usable! OpenCamera will give you a lot more options than what the Lineage default camera app can offer, while GCam is a whole can of worms I'm not even willing to open as making it work on a non-Snapdragon device is tedious.

I'm personally on the pico variant of OpenGapps and it works great. SafetyNet will not pass by default on a modified device, but I got SafetyNet to pass using a combination of Magisk, MagiskHide, LSPosed, and XPrivacyLua. Rather tedious process that was, involving a couple of reboots, but at least my banking apps are none the wiser :)
[Samsung Galaxy S9 & S9+ Cross Device Development] aureljared:
This got me curious, so I tried out the option myself and there is indeed a subtle but definite increase in audio quality with Dual Channel enabled. Apparently it was a user-facing feature in Lineage 15.1 (source), but got shelved as a developer-only option sometime after that as the original feature author no longer had a device to work with (source).

The Lineage blog entry (link) mentions the system property

persist.bluetooth.sbc_hd_higher_bitrate

which, when set to 1, apparently tells Android to try and use a higher bitrate over SBC, but it's unclear to me if this requires Dual Channel to be explicitly enabled beforehand.

Either way it's a shame this neat little feature isn't getting enough love, and I'm afraid I don't know the inner workings of Android enough to discover how to make a device tree overlay to make Dual Channel the default.
[Samsung Galaxy S9 & S9+ Cross Device Development] francoism90:
Wouldn't be possible to make this into a Magisk module instead? :)

I'm not a developer, just trying to point out modules that patch audio exists.
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
FYI:

November AOSP Security Update now available via OTA or OP

Have a nice day!
[Samsung Galaxy S9 & S9+ Cross Device Development] neves4:
Hi there!

@Neurotical I have my SM-G9600 fully unlocked. Is this ROM going to work?

I'm currently on DotOS and would like to try something new...
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
I would say no, because it is a Snapdragon variant.
[Samsung Galaxy S9 & S9+ Cross Device Development] oli231:
Nice ROM bro!
[Samsung Galaxy S9 & S9+ Cross Device Development] jamy015:
Thanks both for the detailed replies!

Hmm, the GApps situation definitely sounds less than ideal. I also saw in other places on the internet that the clock on the LineageOS AOD is a lot smaller than in Samsung's AOD, which is another sacrifice I'd have to make. (I know this sounds like a huge nitpick, but like I said, my time perception unfortunately isn't the best, so clocks are a very important tool to me :) )

I'll think it over a bit more, and if I do end up installing the ROM I will post here again to let you guys know how it went. Even if I end up replacing the phone, I might install the ROM anyway just to try out LOS :)
[Samsung Galaxy S9 & S9+ Cross Device Development] ptuner:
Thanks so this one is a more custom one then. Dumb question: when flashing via Lineage Recovery is the finished system encrypted?
[Samsung Galaxy S9 & S9+ Cross Device Development] aureljared:
It's not encrypted out of the box, however if you skip initial setup and encrypt the phone from the Settings app, it will be encrypted and remain so throughout updates from within the recovery. I've not been able to make encryption work after setting up the phone with a Google account and everything, so it seems skipping initial setup is crucial.
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
FYI:

New kernel 4.9.290 released.

Now available via OTA or OP.

Have a nice day! :coffee:(y):geek:
[Samsung Galaxy S9 & S9+ Cross Device Development] gusnz:
Thanks Neurotical! One suggestion: revert b729c703 . Setting the side button to "Menu" works, but if you leave it as "Search" then the Settings -> System -> Buttons options allow you to change it to whatever you want.
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
Thanks and done. It'll be in the next build :)
[Samsung Galaxy S9 & S9+ Cross Device Development] lewmur:
When I try to install this on my SM-G960U1, it fails saying it is starqlte instead of starlte. What's the difference?

oops!! Posted in wrong thread.
[Samsung Galaxy S9 & S9+ Cross Device Development] teamacc:
Thats the snapdragon variant. The rom in this thread is for the exynos variety.
[Samsung Galaxy S9 & S9+ Cross Device Development] stts44444:
In a few weeks when 3g is shut down, all these phones on Lineage will stop taking phone calls. Because Lineage cant do Volte. So only stock ROM 4g and 5g phones will be working in a matter of weeks. So all these 4g Lineage threads are obsolete. Lets all start Lineage TV threads instead. Maybe even lineage car stereo threads too. Both are buggy bloated spyware infestations.
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
Thank you for the info. I hope the Lineage team finds a way to enable VoLTE soon. In the meantime, perhaps those in affected areas should practice running stock ROM on the S9/S9+.
[Samsung Galaxy S9 & S9+ Cross Device Development] gnarf49:
AFAIK fallback mode for voicecalls is 2G, not 3G...
[Samsung Galaxy S9 & S9+ Cross Device Development] stts44444:
Hah. 2G is being shut down too. Only 4G is being kept as a backup to 5g. The shutdown thing is accelerating now that Sprint was gobbled up. They need the bandwidth to flesh out 5g as its usage skyrockets. I doubt that teams ever figure out Volte. Its not public access code and they got no way to see how OEMs do it.
[Samsung Galaxy S9 & S9+ Cross Device Development] l4jos:
The rom works very good 9,8/10, I use BiTGApps and overall it's not drain as much power as other ROM's. Thanks
[Samsung Galaxy S9 & S9+ Cross Device Development] citizenserious:
I had read ones that VoLTE is not an international standard, so 2G is still needed for roaming. So I hope they will not shutdown 2G yet? I planed to use this rom for a while :eek:
[Samsung Galaxy S9 & S9+ Cross Device Development] stts44444:
Yea in the USA the low Gs are being shut down now. I keep getting messages from my MVNO to get another phone NOW. Shutoff of calling is imminent. I hear they will still connect to the internet though. But thats pretty useless without a calling connection. Voip apps have been more trouble than they are worth. I just landed a snapdragon s10plus for $135. I am playing with it to set it up and it really blows away my s5 in performance. Volte will be around for many years so I will get great use out of my new old phone as 5g phones come down in price. I will miss LOS though. I hate haveing all that bloatware to wade thru. Maybe Ill use a custom launcher that will hide the crap. The phone seems fast enough not to be bogged down by it.
[Samsung Galaxy S9 & S9+ Cross Device Development] citizenserious:
Deleted (This post of me was stupid)
[Samsung Galaxy S9 & S9+ Cross Device Development] francoism90:
Hey, it doesn't seem to update weekly updates anymore? :)
[Samsung Galaxy S9 & S9+ Cross Device Development] BIatu:
I'm attempting to build LineageOS for star2lte. Following the official guide is useless and ends with tons of depfile errors, and the discord isn't very helpful. How do you go about building this?
[Samsung Galaxy S9 & S9+ Cross Device Development] gnarf49:
Hi Blatu, you may be missing the roomservice part, AFAIR it is not in the official guide.

You can try my (semi-) script in post209 in this thread. Works fine using Geoknyda's git for roomservice XML.

https://xdaforums.com/t/rom-s9-s9-unofficial-lineageos-18-1-exynos-weekly.4302901/post-85645889
[Samsung Galaxy S9 & S9+ Cross Device Development] pumori:
Did we lose our mantainer...?
[Samsung Galaxy S9 & S9+ Cross Device Development] Guilliman:
Hi, I am very new to the custom ROM scene and unfortunately, I am quite confused. Currently, I am trying to install TWRP and it does not seem to be working? I have installed Odin, and unlocked the bootloader but when I try to install TWRP it always says "only official binaries are allowed to be flashed", could anyone help getting past this?
[Samsung Galaxy S9 & S9+ Cross Device Development] headzy:
Did you use the twrp for this phone?
[Samsung Galaxy S9 & S9+ Cross Device Development] Guilliman:
Download TWRP for starlte

Download TWRP Open Recovery for starlte

dl.twrp.me

I believe I am, I downloaded it from that link?
[Samsung Galaxy S9 & S9+ Cross Device Development] headzy:
Not sure then if you have unlocked the bootloader in developer option it should be fine.

I take it you put the phone into download mode before flashing?
[Samsung Galaxy S9 & S9+ Cross Device Development] l4jos:
You need to enable OEM unlock in settings and USB Debugging from stock OS. And then try again flashing TRWP for your device (star2lte for S9+ or starlte for S9). Always verify any binary, rom, recovery etc. it should belong to your phone model.
[Samsung Galaxy S9 & S9+ Cross Device Development] Guilliman:
Yup, it's in download mode already. I think it may the RRM thing? I have looked around and mine says that it is not yet authorized ( I forgot the exact phrasing).
[Samsung Galaxy S9 & S9+ Cross Device Development] headzy:
Can you connect to the internet over wifi? if so then try to update the software over OTA, then retry, this is where my knowledge ends, if this does not work then maybe someone else can come to the rescue and help solve this annoying problem.
[Samsung Galaxy S9 & S9+ Cross Device Development] Guilliman:
Yeah, I am still trying to solve it. Thank you so much though!
[Samsung Galaxy S9 & S9+ Cross Device Development] Isovitisgr:
Hello guys!

Has development of this ROM stopped? Should we start looking for an alternative again? It was a really stable and fast one so that's a pity..
[Samsung Galaxy S9 & S9+ Cross Device Development] Pierfranc:
Hello I need to ask something. I have a problem with RAM on my galaxy s9 custom ROM OneUi based. Everything works fine and I like almost everything but since I use a lot of multitasking, many apps get force-closed. I ask if this Lineage ROM is noticeably better to manage RAM and has more free usable ones.

Also I want know if the camera is better or the same and which is the best alternative because I don't want lose quality and slow motion. Thanks.
[Samsung Galaxy S9 & S9+ Cross Device Development] Pierfranc:
I wanted to try this ROM but my Samsung Sd card 256 GB says is not supported. How to get it working? It was working with oneui and it s recognized in twrp.
[Samsung Galaxy S9 & S9+ Cross Device Development] Nicholas1987:
can anyone help me, i'm having much of a problem while installing this rom. i flash twrp using odin 3 v3.14 and flash this latest rom and already tried to use opengapps, nikgapps and all of them stuck in the google login at the beginning. either black screen when its going to show the login screen or stuck in a loop when preparing device. this are my problem if anyone can help me im gonna

1. I cant install any other gapps except the opengapps nano one. If i install the stock gapps, when it fresh start it will stuck in loop checking info.

2. if i use opengapps nano and got into the main screen, this rom on my device didn't detect my internal storage so i cant install apps from appstore or even screenshot and when i open file manager it didnt show the internal storage only the sd card.

3. I tried to install stock rom from sammobile and after the preparing apps then all apps are not responding so i cant even get into the welcome screen. Any solution? Please help me i got no other phone :')

edit : i already found the solution for no. 3 by factory reset from the stock bootloader so if u guys can help me installing this rom i would be so appreciate it. sorry for my bad english

edit2 : fixed! after i reinstall the factory rom i tried to flash twrp once more and follow the instruction to install this rom and worked fine! before that i format internal storage also maybe thats the problem
[Samsung Galaxy S9 & S9+ Cross Device Development] WindowsPhone8.1User:
Anyone know a camera app that will let me do an exposure greater than 1/10s? I've tried the default, open camera, and proshot, none of them do it
[Samsung Galaxy S9 & S9+ Cross Device Development] Johndoe8585:
what program is being used for that network traffic monitor?
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
Good day everyone!

I have returned from a small vacation and time off caring for my newborn baby! He is healthy and well.

I apologize for the brief hiatus, but I am back to continue providing updated kernels, security patches, and Lineage OS 18.1 for you all!

What's new since the latest version:

Kernel: 4.9.290 -> 4.9.297

Security patch: November 5, 2021 -> December 5, 2021 (January 5, 2022 should be out soon)

Now available via OTA or OP, as usual :)

Have a great day!
[Samsung Galaxy S9 & S9+ Cross Device Development] gnarf49:
Congratulations! A very valid reason for shift in priorities :)
[Samsung Galaxy S9 & S9+ Cross Device Development] Dark Repear:
Why don't You Maintain The ROM Officially ?.Love This ROM Very Much Hope it Gets Lineage OS 19