yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S9 & S9+ Cross Device Development] Olangu:
Is there any work ongoing for getting this rom/device to be officially supported by lineageos again? There's some downstream projects that build on top of the official releases that I have personal interest in (namely the microg-linage).

Is there anything I could help out with to get this officially supported?
[Samsung Galaxy S9 & S9+ Cross Device Development] gnarf49:
Building for MicroG is easy, I put it into my semi-script somewhere in the original Synt4x thread but can't find it anymore.

Copying it again below.

The MicroG stuff is in two places, 1. copy patches in env preparation and 2. applying patches in building section. The patches will enable signature spoofing in your build. With this, you can simply install MicroG from FDroid.

# ---------------- Env preparation, first time only

# prep folders

mkdir -p ~/bin

mkdir -p ~/android/lineage

# I keep the device-specific stuff on my Nextcloud, please replace with your locations.

# You'll find the MicroG patches on the MicroG Git and roomservice.xml locations in Synt4x or Neurotical threads

# copy roomservice.xml for target device and MicroG patches

# cp ~/Nextcloud/Install/Android/BuildStarlte/lineage/ ~/android/ -r

# add private ~/bin to path if it exists

if [ -d "$HOME/bin" ] ; then

PATH="$HOME/bin:$PATH"

fi

source ~/.profile

# configure git

git config --global user.email "yourmailhere"

git config --global user.name "yournamehere"

# enable caching

export USE_CCACHE=1

export CCACHE_EXEC=/usr/bin/ccache

ccache -M 50G

# init repo

cd ~/android/lineage

repo init -u https://github.com/LineageOS/android.git -b lineage-18.1

# ---------------- env preparation complete. From here for rebuilds

# --force-sync only needed if issues in repo sync or build

repo sync --fail-fast --force-sync

# apply signature spoofing patches for MicroG

cd ~/android/lineage/frameworks/base

patch -p1 -i android_frameworks_base-R.patch

git commit -a

cd ~/android/lineage

source build/envsetup.sh

# choose correct target (e.g. 33-starlte user)

brunch

# ------------------ NOTEs

# NOTE01: If build fails due to out of system resources issues,

# run 1. lunch 2. mka bacon -j 4 (or -j something smaller)

# NOTE02: In case of ckati error 1 "overriding commands..." add flag

# "BUILD_BROKEN_DUP_RULES := true" to BoardConfig.mk file
[Samsung Galaxy S9 & S9+ Cross Device Development] User-xdadevelopers:
Hi Neurotical,

thank you also from my side for your time and involvent for this ROM.

After several OTA updates I recognized that the build time is every time after a restart/reboot been used and tested with the current release if this changes when I manually set the time via settings. But neither manually changing it nor syncing it via NTP (ru.org.amip.ClockSync) the time is after every reboot on build time. Currently 0:15 UTC+2.

Via # date 16:30 Set it is also on build time after reboot

# date

Fri Sep 17 00:15:35 CEST 2021

Build time Thu Sep 16 18:15:08 EDT 2021

What would be a solution and how can be this debugged more.

Best,

Tobias
[Samsung Galaxy S9 & S9+ Cross Device Development] Olangu:
Thank you.

It's really appreciated, but for a lot of people, including myself, there's no time to build your own image.

Having it official would make a world of difference, and I'd be happy to support a bit of time, effort or money to get there.
[Samsung Galaxy S9 & S9+ Cross Device Development] SymbionTT:
Even an older one like lineage-16.0-20191027-UNOFFICIAL-starlte.zip or the one before that?
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
Oh, that's kind of old. I don't know if it would work properly... I would suggest backing up all your stuff just in case.
[Samsung Galaxy S9 & S9+ Cross Device Development] SymbionTT:
Thank you Neurotical. I've been away a while from the flashing scene.

1. What kind of backup do you recommend?

2. If the new ROM fails, how do i get to your ROM succesfully?
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
I am not familiar with any backup tools. To backup my phone, I:

Write down what apps I have and reinstall them;

Copy any important files to my PC before wiping;

If your dirty flash fails, you can use the most recent ROM by installing the latest Lineage recovery, then sideload the ROM in recovery.
[Samsung Galaxy S9 & S9+ Cross Device Development] Klaus20:
@ SymbionTT - Backup

I work since years with MyBackup Pro.

The app restored back the secured apps (apk and data) flawlessly.

I always do the following is something awkward but certainly:

1. Backup with MyBackup Pro

2. Restart to Recovery Menu, Wipe and Installation of Rome and Gapps

3. restart into the system to see if everything works

4. Restart to Recovery Menu - installation of the magisk.zip (so I can restore the APK's and data in MyBackup).

5. Restart into the system and installation of MyBackup Pro

6. Restore the APK's and data with MBP.

This has been working on all Android phones and tablets
[Samsung Galaxy S9 & S9+ Cross Device Development] 4timepi:
Great ROM. Thank you. Anyway I struggeling with 2 problems since I started to use it.

1. Audio (multimedia) is not always routed via bluetooth to headphones or car-audio. Connecting is always fine, also calls works fine, but multimedia works only sometimes. Temporary solution is to go to Developer settings and change "Bluetooth Audio Channel Mode" to other value. It's going to start route audio, but ofter some time I'm getting into same problems.

2. Wifi stops working after some time. It's not connecting to saved network and not finding any networks. Reboot resolve problem but again only for some time.

I already tried to factory reset networking settings (bluetooth and wireless lan) and upgrade to 12/09 build but no luck. Any one have similar problems?
[Samsung Galaxy S9 & S9+ Cross Device Development] yoshkapundrick:
Sorry for the S9+ novice question.

Would this rom work on a G965N Exnyos Korean model?
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
I only know that this ROM is designed for the S9 Exynos and S9+ Exynos. Snapdragon is not compatible.
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
FYI:

New kernel 4.9.283 now available!

Please update via OTA or download ROM via OP.

Have a nice day!

:):coffee::geek:
[Samsung Galaxy S9 & S9+ Cross Device Development] ElPakoTech:
Hi Neurotical, have you seen the last updated sources from synt4x93 ? I just let you know to be careful if you want to try it, backup everything, I made my own build but it break my encryption when I installed it, I lost all my data.

And from now, it still do not start properly even with a clean cache/data reset. I will reinstall my phone later with my previous version.
[Samsung Galaxy S9 & S9+ Cross Device Development] M45s3rD0g3:
Hi, I have todays release update installed. However, I do not see any wireguard settings or menus. Have I missed something?
[Samsung Galaxy S9 & S9+ Cross Device Development] dwarisz:
You have to install the Wireguard app. There you will see that the kernel module is installed.
[Samsung Galaxy S9 & S9+ Cross Device Development] M45s3rD0g3:
Does it matter where it's installed from? FDroid or Google Play?
[Samsung Galaxy S9 & S9+ Cross Device Development] EddoWagt:
Can anybody tell me why I'm running the February 5th 2020 security update? Running the latest build, have never seen something like this. Other roms were always up to date. Could it be my Gapps?
[Samsung Galaxy S9 & S9+ Cross Device Development] francoism90:
Anyone else having issues with rising temperature? I was watching some series using VLC and after a couple of hours (I usually fall asleep) my phone was really hot.

Could it be a CPU boosting issue?

---

Seems https://github.com/synt4x93 created some new repo's, maybe they are useful @Neurotical?
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
That is quite an outdated Security update. Can you verify which version of the ROM you are running? To check this, please navigate:

Settings > About Phone > Android Version

Your screen should look like this below:
[Samsung Galaxy S9 & S9+ Cross Device Development] murtzsch:
HI

I just encountered this issue, my phone wasn't encrypted.

Hopefully I did not lose my data, just had to flash an old build.
[Samsung Galaxy S9 & S9+ Cross Device Development] EddoWagt:
Running the previous build I guess, which is only 2 weeks old
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
Hey Francois, ,glad you are enjoying the ROM :)

I will try and watch an HD movie on my S9 to see if I can experience what you are experiencing. For reference though, if you are watching several hours of video playback on VLC on your phone, heating up could be normal for any phone, especially if there is a case over it.

One reputable tool I find quite useful when trying to control for battery life and heat generation is "Root Booster", which can be found in the play store. Give that a try and let us know if it helps you.
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
This is quite intriguing!

The Lineage team are the ones who roll the AOSP updates into the ROM every month and then update the flag for the new version. See this link to the LOS 18.1 code.

Perhaps someone on this thread with an S9+ can confirm the security version they are on by checking Settings > About Phone > Android Version? This would be helpful to determine if it's a tweak needed in the star2lte repo or not.
[Samsung Galaxy S9 & S9+ Cross Device Development] EddoWagt:
It is weird isn't it! I can't quite remember for sure, but I think I was on the January 2020 patch before updating to the latest release, so something is working, but incorrectly
[Samsung Galaxy S9 & S9+ Cross Device Development] Isovitisgr:
This is from my s9+ running the latest version you have uploaded
[Samsung Galaxy S9 & S9+ Cross Device Development] EddoWagt:
What Gapps are you using?
[Samsung Galaxy S9 & S9+ Cross Device Development] Isovitisgr:
OpenGapps
[Samsung Galaxy S9 & S9+ Cross Device Development] User-xdadevelopers:
Hi @Neurotical

I found some related bug and this was solved.

Might this have to be added for this ROM too?

The date and time are not correct after restarting with disabled internet access on LineageOS 17.1. Clock shows LineageOS 17.1 image build time after reboot for a short while on a OnePlus One (bacon) (#2433) · Issues · LineageOS / issues / android ·

Expected Behavior After reboot the system time should be set correct, within using the timezone I'm in.

gitlab.com

Osprey: Date/time wrong after reboot without SIM and WIFI (#2236) · Issues · LineageOS / issues / android · GitLab

<! -- INSTRUCTIONS What not to report Bugs in unofficial builds or anything not downloaded from our official portal Missing Builds Problems...

gitlab.com

I am using a SIM card with a PIN and a lock pattern.

TWRP shows the correct time.

Using automatic or manual time does not help.

Best regards,

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

New kernel 4.9.284 now available!

Please update via OTA or download ROM via OP.

Have a nice day!
[Samsung Galaxy S9 & S9+ Cross Device Development] abra-kadabra:
Does ok google ?
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
There is no Google framework in Lineage OS. Nothing Google will work in this ROM.
[Samsung Galaxy S9 & S9+ Cross Device Development] Gueste4555:
J'aimerais savoir quels gapps vous me recommandez. J'ai un s9 plus exynos pour information. (désolé pour mon anglais j'utilise un traducteur)

Translated by GT: I would like to know which gapps you recommend to me. I have an s9 plus exynos for information. (sorry for my english i use a translator)
[Samsung Galaxy S9 & S9+ Cross Device Development] abra-kadabra:
Any idea for this to work?
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
There is no Google in this rom.

Google will not work without a 3rd party framework installed by you.
[Samsung Galaxy S9 & S9+ Cross Device Development] dwarisz:
https://nikgapps.com/ is what I use and it works great. No issues so far.
[Samsung Galaxy S9 & S9+ Cross Device Development] ElPakoTech:
J'utilise Opengapps version 11 nano (https://opengapps.org/) et ça marche très bien. J'ai vu que des personnes qui utilisent "google pay" ont raporté des problèmes avec Opengapps (perso j'ai pas testé). Il semble que ça marche mieux avec Nickgapps .
[Samsung Galaxy S9 & S9+ Cross Device Development] nasdaq0:
Hello, i have the feeling, that the battery dries very quickly since a couple of builds (1-2 months).

I updated from github

pls help

i have a S9.

anybody else with this feeling?

Especially when not used, the mobile does appear to still require a similar amount of battery comp. to usage. i see that in the battery usage graph

PS Tremendous work apart from this issue
[Samsung Galaxy S9 & S9+ Cross Device Development] Bertonumber1:
Hi @Neurotical Must say this is the only custom rom I've had boot on my s9+ every other ROM would boot to download mode .

I'm liking this ROM so far , smooth transition and havent noticed anything major .

It was raining yesterday and a couple of splashes went on screen and all hell broke loose (dunno if there is a sensitivity issue in settings )

Is there a way to return the normal navigation buttons also ? I am not a fan of the on screen nav buttons .

Apart from that you've done an amazing rom here my friend and I'd like to thank you for that . look forward to the weekly updates .

Expect a donation shortly , really appreciated, cheers

Regard
[Samsung Galaxy S9 & S9+ Cross Device Development] diuksnm:
Hi, i want to try this rom but i have a few questions, i have an S9+ (exynos) with stock rom.

It is neccesary to update the baseband?

It is neccesary to use odin to flash a recovery? Or maybe can i use : adb boot recovery.img ? (I used to do this with a xiaomi A2 and work)

once in recovery, just flash the rom zip? i have to copy the rom zip to an sdcard?

I want to install gapps also, i have to flash it before first boot or something?

In the stock rom i have a few problems with audio output trought headphones, it seems like samsung made some eq modifications, a workaround is to set the eq to -2b in every band

reference and also is this fixed on this rom?

And finally, there is a easy way to re-map the bixby button?

Thanks and sorry :)
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
Hi, thanks for the feedback. I do not know how to change the nav buttons because I think Lineage controls all that. Sorry I can't help any more than that.

As for the donation, the thought is very kind, but please do not feel the need. I really believe this ROM work should remain free for all and transparent. Its a good learning experience for newcomers to the custom ROM world and that is what is worth the most. If you want to give back somehow, please feel free to share your learnings here for others to benefit 👍

No, but it is recommended for performance and security features.

You do not need Odin to flash a recovery, but it is recommended to use the Lineage recovery. ADB Sideload for the recovery works fine.

You don't have to. You can install the ROM with adb Sideload in the Lineage recovery. Afterwards, you can just update via OTA.

I do not know about gapps install procedure, sorry.

This is new to me! I did not know about the sound decibel tweak. I will try it out, thanks! As for working it into the ROM, I don't think I can do that.

Not really... I did try several functions for it, but the only one that worked was the MENU function. Everything else didn't work. You can see the actual code that changes the function of the Bixby button (key 703) here: https://github.com/Geoknyda/android...3cede7f3af777fcfc5/keylayout/gpio_keys.kl#L20

Cool, eh?!

Thank YOU for providing feedback and helping the community grow 👍
[Samsung Galaxy S9 & S9+ Cross Device Development] diuksnm:
Ready! everything seems to work, just i dont see netflix app on Google Play, do i need to flash something to have it? I dont flashed magisk, just Los and opengapps

Edit: rear camera not working, in any app, front camera works nice but the rear one no (for example in instagram), the Los camera app don't open and gives and error saying "can't connect to camera" or something like that, it closes instantly.

Edit2: Im stupid. I flashed the starlte and i have an s9+ , made all the process again but with the correct file and now works :)
[Samsung Galaxy S9 & S9+ Cross Device Development] Bertonumber1:
@Neurotical

Wow you are a proper dev much respect to you my friend.

Ok I used latest TWRP as i wasnt sure how to flash NikGapps (recommended Gapps for Android R) followed by Magisk in the Lineage os recovery.

Everything went as expected and boot was quick an smooth.

I use the Lineage 18.1 by Taluatxda on a Samsung T580 tablet so just followed same procedure. As i said no other rom would boot on my S9+ so hats off to you mate . Cheers.

Regards
[Samsung Galaxy S9 & S9+ Cross Device Development] reon_todd:
used it for almost 2 week battery timing had been awesome can last for a day but the reason i revert back to stock rom is because of volte and stock camera had installed gcam but camera result improved little bit and in night even gcam was giving worst result and volte issue is biggest reason i had to go back to stock rom.
[Samsung Galaxy S9 & S9+ Cross Device Development] nasdaq0:
guys, my batteriy issue is severe. Where can i find older builds? from July or August?
[Samsung Galaxy S9 & S9+ Cross Device Development] Monvigliero:
I had similar issues. Because all the Neurotical Lineage Bilds seems perfect, the problems are on our side. I hope you mean the build from the 1st page of this feed.

I experienced high drain even during night/stand by hours: 3%+/hr with Wifi and phone on. Of course same during the day, but it was harder to notice. (The optimal is under 0,5%/hr on stand by. You can try if airplane mode but wifi on helps to reduce drainage (practically with mobile services off). If yes U face the same issue.)

My issue was the incorrect APN (Mobile Networks > Access Point Names) settings. Same to my friend in different country, different provider, but exact same Build.

The default APN settings are usually not good. Delete ALL the APNs, check your mobile provider's website, and set them manually.

I also keep Settings > Accounts > Automatically sync app data off (only the necessary on).

Developer options > Mobile data always active (even when Wi-Fi is active) could be also turned OFF (unfortunately it turns back on sometimes with restarts).
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
FYI, new build available via OTA and OP includes:

New kernel 4.9.286

AOSP October 2021 security update

Power and charger enhancements

Full 4G set as default network protocol

Enjoy!
[Samsung Galaxy S9 & S9+ Cross Device Development] Galaxy9plus-support:
Neurotical, can you upload your roomservice.xml to your github pls.​

I'm frankensteining my roomservice between your kernel, Lineage and Synt4x.93 and todays build went thru ok, but install gave the dreaded

thanks :)

--=== UPDATE ===--

the roomservice manifest can no longer use the original synt4x93 repos without building successfully and getting this error on install. Building from neurotical + LOS manifest will work and install fine.

Built new image, dirty flashed right over the top of my build from synt4x93 repos / neurotical kernel and LOS with previous security patch ( last month ) and installed as normal on 9+. Kernel 286, + 1st Oct patch = YAY !!!

Massive thanks to neurotical and ElPakoTech

⭐️⭐️⭐️⭐️⭐️

👍

Feel like squid player 456 now :O
[Samsung Galaxy S9 & S9+ Cross Device Development] Splendid Angharad:
Hi, I am a somewhat newb in the process of installing this. First of all thank you for working on this project, I was a bit bummed to see that there is no official Lineage support for S9 anymore but your build is an excellent alternative.

I would like to add MicroG to my installation, but I'm not sure how best to do this. I know it requires signature spoofing; is this possible with this build? If so, how would I best go about including MicroG with my installation?

Thank you
[Samsung Galaxy S9 & S9+ Cross Device Development] pumori:
Battery life improved dramatically on my device with the last build, almost 2 days, Great ROM!!
[Samsung Galaxy S9 & S9+ Cross Device Development] squinzia:
Thanks to the developers, got my hands on a s9 and installed this and it seems great.

Also I've installed pico open gapps and had no problems

Any reccomendations on best camera app? maybe a link? s9 exynos version
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
This is absolutely amazing! I am so happy the ROM is working as intended. Thanks for your interest, feedback and support!

I use Open Camera. It gets the job done with a modest amount of features.
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
FYI

New kernel 4.9.287

Available via OTA or OP

:)
[Samsung Galaxy S9 & S9+ Cross Device Development] citizenserious:
Thanks a lot for the new update :)

I have two quick generally question.

1. When I update over OTA my recovery does not get updated, I have to manually load it over Heimdall. Is this normal? In the Updater preferences the "Update recovery" is checked.

2. After every update over OTA I have to reflash Magisk because root is then gone, is this also normal?

Sorry if the questions are a bit dump :D I hope you guys are not mad with me.

I would be very happy for a short classification. Thank you very much :)
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
1. I haven't updated my recovery for quite some time, so it's not necessary to reinstall the recovery each time.

2. If you have to reflash Magisk v23 each time, that is not normal. Every time I update via OTA, my root access and Magisk v23 stays.

No worries on the questions :) They help the community learn :)
[Samsung Galaxy S9 & S9+ Cross Device Development] citizenserious:
Actually there is, you can use the app "Key Mapper" from the F-Droid Store as a "workaround" :)

It works fine for me, the majority of the functions of the app even works without root, if you do not have one.

The app also has a wider range of functions than the LOS would have. And it does not even appear in the battery usage stats, because of its efficiency.

It is worth a look: https://f-droid.org/de/packages/io.github.sds100.keymapper/

It's also available in the PlayStore (Aurora Store).
[Samsung Galaxy S9 & S9+ Cross Device Development] citizenserious:
Thanks a lot for the fast answer (:

Hmm.. maybe it is because I flash Magisk over the zip file. I'll try to investigate this phenomenon and keep the community posted about my findings (y)
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
Good idea! I do think perhaps Magisk is reinstalled because you updated the recovery. It is not necessary to update recovery each time.
[Samsung Galaxy S9 & S9+ Cross Device Development] citizenserious:
It is definitely independent from the recovery update. I do not update the recovery all the time, but from time to time. I somehow like to know that its on a recent version, even if I know that it doesn't matter :D
[Samsung Galaxy S9 & S9+ Cross Device Development] geronimoge:
I'd give this GCam Port a try. For Samsung use "Scan3d" or "Ruler" apk.

Right now I'm using an older version (v8.1.101.345618084) and I think the photo quality is still better than from other camera apps.

But if someone knows something better I'd be happy to hear that since it's pretty slow and sometimes I'm experiencing bugs.
[Samsung Galaxy S9 & S9+ Cross Device Development] Monvigliero:
I had to reflash Magisk every time when my device was encrypted. (Storage mount issues.) Without encryption it works perfectly without reflashing. Maybe this is the case with you too. (I did the flash with zip too, so that is not the problem.)