• 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
136
160
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
136
160
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
136
160
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
136
160
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
136
160
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

  • 1
    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 :)

    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 :)
  • 6
    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!
    3
    FYI:

    New kernel 4.9.284 now available!
    Please update via OTA or download ROM via OP.

    Have a nice day!
    2
    FYI:

    New kernel 4.9.283 now available!
    Please update via OTA or download ROM via OP.
    Have a nice day!

    :):coffee::geek:
    2
    Hi, I have todays release update installed. However, I do not see any wireguard settings or menus. Have I missed something?
    You have to install the Wireguard app. There you will see that the kernel module is installed.
    1
    Sorry for the S9+ novice question.
    Would this rom work on a G965N Exnyos Korean model?
    I only know that this ROM is designed for the S9 Exynos and S9+ Exynos. Snapdragon is not compatible.
  • 14
    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

    My work will always be free for everyone to use and I will never hide anything behind a paywall.

    * 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.
    * Your warranty will likely be voided by installing custom ROMs.
    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
    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.
    7
    FYI:
    • Updated kernel 4.9.277
    • Wireguard kernel access persists through ROM update :)
    • Root with Magisk v23 persists through ROM update :)
    Enjoy!
    6
    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!