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

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

Search This thread

Neurotical

Senior Member
Feb 7, 2011
168
236
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:
  • Like
Reactions: Speedmatze

Speedmatze

Senior Member
Apr 25, 2009
82
39
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
168
236
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.
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:
  • Like
Reactions: noufal_pp

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.
 

Top Liked Posts

  • 2
    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.
    1
    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.
    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?
    1
    I heard that Google will permanently blacklist the account if we use it with Aurora store, is that true?
    I don't know if they do that, but I do know you don't need to use any account to access the Aurora Store.
    1
    I heard that Google will permanently blacklist the account if we use it with Aurora store, is that true?
    Aurora warns that this might happen (probably a liability precaution).
    I am using it mostly without an account. I just occasionally log in with my account to update some bought apps. So far no problems there...
    1
    I heard that Google will permanently blacklist the account if we use it with Aurora store, is that true?
    I am using the Aurora Store with an account for years now, I am not blocked yet :)

    But without microG since it registers your phone at googles servers for push notifications.
  • 10
    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!
    6
    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+ :)
    4
    FYI weekly update includes:
    • Security patch updated to January 5, 2022.
    • MS Exchange feature added.
    • Legacy LOS 17.1 e-mail app added.
    Now available via OTA or OP.

    Have a nice day :)
    3
    FYI January 15 update:

    New Wireguard kernel patch upgrade:
    20210606 (June 6, 2021) -> 20211208 (December 8, 2021)
    Available via OTA or OP.

    Have a great day!
    :coffee::)
    3
    At first, congratulations on the new born son, I am glad to hear he is well and so are you, nice to have you back :)

    I have not forgotten about the post above, and still willing to help.
    But I kind of stuck, I could not figure out what you meant exactly with your repos and the "roomservice.xml". And also could you recommend a tutorial? I have a dual boot computer with Windows and Linux, so I think it would be better to try it directly on Linux. I am not sure which tutorial I should follow exactly, would be nice if you could give me a hint where to start best :)
    Thanks so much! He's a happy baby and we are happy parents :)

    Your question is a big one, so I'll start at the beginning and we can move on from there one step at a time.

    I am only familiar with running Linux (Ubuntu) in a Windows virtual environment. The first step would be to install that using this guide: https://docs.microsoft.com/en-us/windows/wsl/install. The next step would be to build LOS using this official guide here: https://wiki.lineageos.org/devices/starlte/build.

    When you get to the part about extracting proprietary blobs, you can skip that and instead use a 'roomservice.xml' file. You will see that I created a 'local_manifests' repo on my Github account that houses the xml file you'll need. Download it and place it in the ~/android/lineage/.repo/local_manifests directory of your Ubuntu system. Then you should be able to start the build.

    If you have any issues, please let me know and I'll do my best to share and help :)
  • 22
    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
    • Signature Spoofing
    • 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.

    Donations welcome!
    Bitcoin address: bc1q20p3vj9jk3fx36d23453ghcxvaxf5v3ack288g

    * 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 :)
    10
    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!
    7
    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!
    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.