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

Search This thread

Neurotical

Senior Member
Feb 7, 2011
242
395
Thanks HQWarp and Speedmatze. I am glad that the ROM is performing well enough for your needs!
As you probably know already, I do my best to promptly add in any additional features as requested that make your experience better :) Added on top of that, we get the latest kernel patches right from the LTS team, LOS patches from the LOS team, and monthly security patches form AOSP. Pretty nice package for a great phone and even better community :)
 
Last edited:

Speedmatze

Senior Member
Apr 25, 2009
89
44
Hello @Neurotical , how can we get gps accuracy without gapps ?
Hello @noufal_pp, there is a package called MicroG (see here). It emulates the neccessary components of gapps like cloud messaging, safetynet, location services, etc. with the least possible amount of data leakage.
You can install it with a Magisk module or with recovery packages. There are handlers for the location service using different providers (Mozilla, Apple, DeJaVu, CellLocation,...) available in the F-Droid store. With those you can improve your GPS accuracy.
 
  • Like
Reactions: noufal_pp

Neurotical

Senior Member
Feb 7, 2011
242
395
Signature spoofing has been enabled as of the last update. Be sure to check your OTA for an update.

As gnarf49 described, microG can be installed from the F-Droid store after adding in the appropriate repo (https://microg.org/fdroid/repo) per the official instructions here: https://microg.org/fdroid.html

You'll want to do the following, in this order:
  1. microG services core (F-Droid)
  2. microG services framework proxy (F-Droid)
  3. NLP backend, such as Mozilla location (F-Droid) or GSM Location (F-Droid)​
  4. Google Play Store (APK mirror) or FakeStore (F-Droid)​
  5. microG settings -> self check -> enable all features​
  6. microG settings -> location modules -> enable Mozilla Location Service​
  7. For background location permission go to your system settings and allow microG services core and your Mozilla NLP to access location all the time.
  8. For full notification support got to microG settings -> enable Google device registration, cloud messaging, and Google safety net.
Although all features for microG can be enabled, I still can't get the Google play store or the official YouTube app to open. They just launch and then close right away. However other apps like Snapchat that won't launch without Google services works perfectly with microG. This is normal, right?
 
Last edited:

gnarf49

Member
Jan 21, 2013
48
30
One great thing about MicroG is that you can use _better_ replacements:
Aurora Store allows to download apps from Playstore, either anonymous (free apps only) or with your Google account for paid apps.
Instead of Youtube try Newpipe.
 

Neurotical

Senior Member
Feb 7, 2011
242
395
I agree 100%! Aurora Store is amazing and NewPipe is a great and functional alternative to YouTube app.
 

Neurotical

Senior Member
Feb 7, 2011
242
395
@Neurotical thanks for your great work!

One question, will Android 12 come from you?

Thanks for your question Kalsarikannit.

Right now I don't have the time or resources to troubleshoot the roomservice repos and branches to make the Lineage 19 compile work properly, sorry I am only one person 😕

But if the community here can share with me the roomservice repos and branches they use to get Lineage 19 compile working for the S9/S9+ I can compile it as often as I am doing Lineage 18.1 and make a regular release for the community.

In the meantime, I will continue compiling and making available the Lineage 18.1 ROM for the S9/S9+ community with all the AOSP monthly security updates, Linux Kernel updates, and wire guard updates. I can assure you no functionality or security will be lost by staying with Lineage 18.1 while I am providing these regular updates.

Of note, however, the signature spoofing patches provided by microg only go up to Android 11, so I don't think microg would work on Lineage 19 right now anyways. Currently the Lineage 18.1 I am maintaining includes this patch and does support microg if the end user wants to use it.
 
Last edited:

Neurotical

Senior Member
Feb 7, 2011
242
395
FYI:
  • ROM support for Samsung Note 9 now available via OP (OTA support is available for updates).
  • I also posted the ROM in the Note 9 forum.
  • Remember: Lineage recovery (also available via OP) is strongly recommended for best user experience.
Have a great day!
 
Last edited:

itspuk

New member
Feb 2, 2022
3
1
Hi, thanks for your great work in keeping this device alive! For some reason I installed synt4x.93 version (march 21) and nikgapps via twrp on my starlte. Everything works great and I've set everything up. Even managed to get online banking to work. Is there a way to get your updates ota? If not, can I install your updates in twrp? If yes, which files would I have to flash? Can these changes screw with the banking app? Please excuse if these are dumb questions.
 

Neurotical

Senior Member
Feb 7, 2011
242
395
Hi, thanks for your great work in keeping this device alive! For some reason I installed synt4x.93 version (march 21) and nikgapps via twrp on my starlte. Everything works great and I've set everything up. Even managed to get online banking to work. Is there a way to get your updates ota? If not, can I install your updates in twrp? If yes, which files would I have to flash? Can these changes screw with the banking app? Please excuse if these are dumb questions.
You should be able to flash right over your ROM with the most recent one using ADB sideload and keep your apps and data. A lot of people have done it without issue. Once done you will have OTA updates available. In your case, there is no other way to get OTA updates working without installing the most recent ROM build.

Just be sure to back up your stuff as a measure of good habit.

:)
 
Last edited:
  • Like
Reactions: itspuk

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    FYI new update includes:
    • Kernel update 4.9.316 -> 4.9.317
    Now available via OTA or OP.

    Have a great day!

    🤩🥳👍🐸🐅🌟
    4
    FYI new update includes:
    • Kernel update 4.9.317 -> 4.9.318
    • June AOSP security update
    Now available via OTA or OP.

    Have a great day!

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

    MICROG INSTALL INSTRUCTIONS:
    • In the F-Droid store add in the appropriate repo: https://microg.org/fdroid/repo per the official instructions.
    • Do the following, in this order:
      1. Install microG services core (F-Droid)
      2. Install microG services framework proxy (F-Droid)
      3. Install NLP backend, such as Mozilla location (F-Droid) or GSM Location (F-Droid)​
      4. Install Google Play Store (APK mirror) or FakeStore (F-Droid)​
      5. microG settings -> self check -> enable all features​
      6. microG settings -> location modules -> enable Mozilla Location Service​
      7. For background location permission go to your system settings and allow microG services core and your Mozilla NLP to access location all the time.
      8. For full notification support got to microG settings -> enable Google device registration, cloud messaging, and Google safety net.

    WORKING FEATURES:

    • 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
    • Signature Spoofing
    • Wireguard (via kernel)

    NOT WORKING FEATURES:

    • Iris Scanner
    • VoLTE

    CONTRIBUTORS:


    SOURCE CODE:

    REFERENCES:

    REQUIREMENTS:

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

    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.
    13
    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 :)
    12
    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!
    9
    Why don't You Maintain The ROM Officially ?.Love This ROM Very Much Hope it Gets Lineage OS 19
    I would love to maintain it officially. In fact I reached out to the Lineage team about doing just that in September last year.

    They responded back outlining how there are a lot of procedures to follow, including needing a team to manage the device tree and other repos. There were also some things that me not being a programmer just can't provide like being able to independently bug fix compile errors when changes are made by the LOS team that are incompatible with the S90/S9+. Right now I rely on the community to help with these fixes and I just copy them. It's worked so far because there are, humbly, more knowledgeable people maintaining device trees than I.

    That leaves me in a position where I am learning from the experts and this wonderful community in a collaborative effort to keep the LOS 18.1 going for the S9 and S9+ :)
    8
    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.