• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][S9+/S9][UNOFFICIAL][LineageOS 18.1][Weekly]

Search This thread

Neurotical

Senior Member
Feb 7, 2011
119
137
FYI I noticed Basebands for the S9 and S9+ can be updated per the thread here. I just finished updating my baseband firmware from G960FXXSBETH2_19.08.2020 to G960FXXUFFUE1_10.05.2021 for my G960F.

Steps I took were
  1. Install Samsung USB drivers
  2. Install Odin 3.14 (or later)
  3. Download updated baseband firmware from the XDA thread for your model phone.
  4. Unzip and re-pack "modem.bin" into a .tar file such as "modem.tar"
  5. Reboot phone into download mode
  6. Open Odin
  7. Load your modem.tar file into CP in Odin
  8. Start flash
  9. Reboot
I hope this helps those who are looking for it 😊
 
Last edited:

philipp.haus

Member
May 13, 2014
11
1
Munich
Hi thanks for your great rom Neurotical!
Really appreciate your good support, too!
I managed to install microg, but had to use the xposed framework and FakeGapps.
Is there any possibility you could include signature spoofing into the linage build?
Have a nice day!
 
Last edited:
  • Like
Reactions: Mort3n

Neurotical

Senior Member
Feb 7, 2011
119
137
anything on the bt issue?

Hi tommyvirus. I can only suggest updating the Baseband, as that may help improve modem functionality, which may include bluetooth quality. I put some instructions and links on how to do that in the OP for your convenience.

As for poking around in the code and trying to tweak the bluetooth settings, I have not tried this yet and would have to devote some time to learn how to do it. I will try and explore this when I have some free time :)
 

tommyvirus

Member
Dec 8, 2010
26
1
Samsung Galaxy S9+
thank you for your reply, tried every bt setting in dev
aptx hd is on, sound/music quality is perfect, only voice nearly unusable
other custom roms like rr, crdroid, arrow or dotos have exact same issue, only stock rom has perfect voice quality

right now im on stock vendor, twrp 3.5.2 9.0 and of course your great rom :)
baseband is uptodate too, it seems to be a general issue in los and other roms based los
i have this problem for more than a year and already tried everything from user side :(
 
Oct 10, 2006
5
1
Successfully installed the ROM (+Magisk 23) and also OTA update works. The problem I'm facing now that I don't see my mounted storage. In TWRP everything is visible. Any idea's?

Edit:

Did a full wipe and reinstalled the ROM. Works now, let's hope it stays that way.
 
Last edited:

Neurotical

Senior Member
Feb 7, 2011
119
137
Does this rom support high touch sensitivity option to use with screen protectors?
Yes 👍
Screenshot_20210807-174432_Settings.png
 

ecnanossA

Member
Aug 2, 2021
9
1
Is there a specific model to get in order for the bootloader to be able to be unlocked and have twrp put on it?

I ask because I have an s8 that is bootloader locked and I don't wanna buy an s9 and have it also locked so that I can't put whatever ROM I wanna put on it.
 

Neurotical

Senior Member
Feb 7, 2011
119
137
Is there a specific model to get in order for the bootloader to be able to be unlocked and have twrp put on it?

I ask because I have an s8 that is bootloader locked and I don't wanna buy an s9 and have it also locked so that I can't put whatever ROM I wanna put on it.
The G960F is the international Exynos version. This can be fully unlocked.

The Snapdragon version made available in the US cannot be unlocked. Do not buy it.
 

Rebel25

Senior Member
Jun 22, 2010
184
39
Has anyone had issue after upgrading to the latest where you're sim card isn't recognized anymore? I upgraded yesterday and after booting up again my device says no sim.

-- EDIT --

NVM, I restored to the default Samsung OS and everything seems fine now. I think what happened is I update the modem and bootloader and then it all went sideways on me.
 
Last edited:

Neurotical

Senior Member
Feb 7, 2011
119
137
Hi Neurotical,

thanks for your great work. On my phone the OTA doesn't work. Any suggestions?
What version do you have? S9 or S9+?
I made some fixes to the OTA code for the S9+ in the last compile.

So if you install the most recent one via ADB, the future OTA updates should work.

I'll be posting a new update for kernel 4.9.279 later today, so you can try OTA soon and let me know if it's working. :)
 
Last edited:
  • Like
Reactions: sinnl0s

Top Liked Posts

  • There are no posts matching your filters.
  • 12
    Good day,

    I just want to take a moment to say thank you to everyone who has tried this ROM, given feedback, and even helped out along the way! It is with all of your help that I can keep the builds coming and I look forward to doing this for as long as I can for the S9 and the S9+ :) Our community deserves the best and that only happens when we all work together :)

    Have a great day, and thank you again to everyone in this community :)
    5
    A couple of questions as I am somewhat new:
    1. Why is this build unofficial resp. what is preventing this build to become official again (as starlte official was discontinued after LOS 17.1)?
    2. How trustworthy is an unofficial build compared to an official build?
    With regards to safety and trustworthiness:
    • Everything is open source so anyone can see what is going into the all the builds. This includes the kernel, Lineage OS, and Samsung device trees. These links are in the OP.
    • I don't make any changes of my own because I am not knowledgeable enough to do that, but I do copy kernel patches from the Linux Long-term Maintenance team run by Linus and Greg for the 4.9y branch; I can at least bug-test and roll them into the weekly ROM builds. Linus & Greg pretty much head up Linux entirely, so the patches they approve are as trustworthy as you can get :D
    • I also got the Wireguard kernel patch into this build, which is pretty awesome, but without the help of the contributors in the OP, I really wouldn't have been able to do it on my own.
    With regards to making it official:
    • I was using the official Lineage OS, but when the support for official status was dropped, I started learning how to build Lineage for unsupported devices. Then I came across Synt4x's repos, which gave me all the resources needed to build Lineage 18.1 for the S9 and S9+. I simply maintain kernel patches that come out weekly by the Linux Long-term Maintenance team (Linus & Greg et al.), work with the community here to maintain the device trees, and then compile the builds as often as needed.
    • After I got the hang of all this, I figured everyone who has an S9 or S9+ should be able to benefit form Lineage OS 18.1 support. These phones have great hardware and I think it a shame not to allow users the option to de-google it or take full control of it so soon after it has been released. Besides, the 4.9y kernel is going to be maintained until 2023. So I upgraded from a 3600 to a 5900x and 16gb RAM to 32gb RAM to speed up the builds (each build is only about 8 minutes now) and support the community!
    • I would like to see an official build, but I can't maintain it all by myself. I am not a programmer, and most of the code I look at is jibberish to me; I just trust the Linux team and Lineage OS team. So we need the community here to help me with build errors when the Lineage team makes changes to their OS; I'm not knowledgeable enough yet to tackle those problems on my own. But I am learning, and have successfully tackled two compile errors so far with the help of the community, and I've learned from them :D
    What you will get with this build, even though it is unofficial is:
    • Kernel updates straight from the Linux Long-term Maintenance team; this is very official and safe;
    • AOSP security patches straight from the Lineage group; this is very official and safe;
    • Lineage OS updates as they roll out; this is very official and safe;
    I literally can't do anything else because of my limited skillset.
    4
    A big thanks to you keeping this ROM up-to-date and my phone running :).

    Question are you planning or working towards making this ROM an official LineageOS ROM? See https://wiki.lineageos.org/submitting_device.html
    Thanks for the feedback! I would really enjoy seeing an official release for the S9 and the S9+ especially since these devices really are still relatively new and powerful. Also the 4.9y kernel will be maintained by Linus and Greg until January 2023, so security and performance can only get better!

    While I can run these ROM builds weekly or even daily, roll the Linux long-term maintenance patches into the build, do the same for the wireguard patches, I am still learning. When build errors occur I rely on the community here to help find solutions that fix it. There already have been a couple of issues with the build that I was unable to resolve on my own, but was able to fix quickly with the help of the community. They had to do with maintaining the "device tree", which I am becoming more familiar with. I think I need to come across more errors to build my skillset to a level that would warrant "official" status. I'm just guessing about that, so if I am way off base and there's even better support for these kind of things when the build goes "official" maybe I'll go ahead and do that!

    I would also highlight that Synt4x is the original creator of this ROM and I wouldn't want to take any credit away from that individual's hard work. I started by cloning his repos, not from scratch, then updating them accordingly. The kernel was a big one to update... something like 3,500 patches to get it all up to date with the 4.9y Linux long-term support team. Anyways, I think I would have to get blessing from Synt4x before I consider making it official, just out of respect.

    On a compromise note, I can be part of an official team, where I can keep updating the kernel, run the builds, and update the OTA, while another member who is more experienced could help with the troubleshooting or something.
    3
    FYI:

    Updated August 25th build :)
    Feel free to update via OTA or OP.
    No new kernel patches yet.

    Have a nice day!
    3
    @Neurotical: Is there any detailed changelog for your builds available?
    By the way clean&fast ROM, thanks for compiling.
    Yes absolutely! In the OP you can click on the links to get the changelog for the kernel. The section in the OP is at the beginning and looks like this:
    For example, if you click on the kernel date you'll get the changelog from the Lineage LTS maintainer team. If you click on the kernel version you'll get the changelog for the kernel in my repo. I just roll their patches into my kernel as soon as they are released, or shortly after.

    I don't maintain my own separate repo for Lineage, so any changes to that would be found here: https://www.lineageoslog.com/18.1
    I guess it wouldn't be a bad idea to add that into the OP along with the kernel, AOSP security patches and wireguard changes. Good idea, Thanks!
  • 12
    2okPze5.png


    ROM DOWNLOADS:

    ROM INSTALL INSTRUCTIONS:
    • From OEM:
      • Lineage Recovery
      • Format /system + /data + /cache
      • Flash
      • Reboot
      • Root is not included. To root, install Magisk yourself.
    • From existing Unofficial weekly:
      • Use OTA, or
      • Sideload via ADB in recovery

    BASEBAND UPDATING:
    1. Install Samsung USB drivers
    2. Install Odin 3.14 (or later)
    3. Download updated baseband firmware from the XDA thread for your model phone.
    4. Unzip and re-pack "modem.bin" into a .tar file such as "modem.tar"
    5. Reboot phone into download mode
    6. Open Odin
    7. Load your modem.tar file into CP in Odin
    8. Start flash
    9. Reboot

    CONTRIBUTORS:

    SOURCE CODE:

    REFERENCES:

    REQUIREMENTS:
    • Stock Samsung Oneui 2 - 2.5 (Android 10) Firmware. (Bootloader + Vendor)

    WORKING:
    • GPS
    • NFC
    • Wi-Fi
    • Audio
    • HDMI
    • Camera
    • Ethernet
    • Bluetooth
    • MTP/ADB
    • Encryption
    • Glove Mode
    • Android Auto
    • OTA Updates
    • Call Recording
    • Mobile Network
    • SELinux Enforcing
    • Fingerprint Sensor
    • Wireguard (via kernel)

    BROKEN:
    • Iris Scanner
    • VoLTE

    XDA DevDB Information
    • LineageOS 18.1, ROM for the Samsung Galaxy S9

    Version Information
    • Status: Stable
    • ROM Firmware Required: Oneui 2 - 2.5

    * Your warranty is now void.
    * We are not responsible for anything that may happen to your phone by installing custom ROMs/kernels.
    * You do it at your own risk. You take responsibility upon yourself and are not to blame us or XDA.
    12
    Good day,

    I just want to take a moment to say thank you to everyone who has tried this ROM, given feedback, and even helped out along the way! It is with all of your help that I can keep the builds coming and I look forward to doing this for as long as I can for the S9 and the S9+ :) Our community deserves the best and that only happens when we all work together :)

    Have a great day, and thank you again to everyone in this community :)
    7
    FYI:
    • Updated kernel 4.9.277
    • Wireguard kernel access persists through ROM update :)
    • Root with Magisk v23 persists through ROM update :)
    Enjoy!
    5
    Update:
    The kernel is now fully patched and up to date. I will be maintaining additional kernel updates as they are released by the Linux Long-Term Support kernel team for the 4.9y branch until 2023, which is EOL for that branch. These updates will be merged into the weekly builds as well. Enjoy!
    5
    FYI:

    Development has been halted due to a bug that Lineage team does not have the resources to fix:


    I would like to help, but I do not know how to maintain a device tree :(

    I am truly sorry that I cannot help the community any further, but if someone can teach me how to maintain this device tree, I would definitely commit myself to continuing to maintain this build.
    pick this and it will fix this problem