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

Search This thread

darkchmatak

Senior Member
Jan 25, 2009
61
6
Hi Iam having problem finding option that would disable home button hard press to wake or disable it in pocket. Is there any option I missed? Thank you for answer :)

Running latest update from this thread. Freshly installed this morning after few years on one UI.


//never mind my S9 amoled panel died after 4,5 years of service. RIP
 
Last edited:

breversa

Senior Member
Mar 21, 2012
517
154
LG G4
Fairphone 2
Hello!
This is a silly question, but how do you install LineageOS recovery from stock ROM?

Can you flash .img files from Odin?
Otherwise, I would first flash TWRP (in .tar format) with Odin, then LineageOS recovery (in .img format) from TWRP, but I guess there's a more direct way?
 
Last edited:

Neurotical

Senior Member
Feb 7, 2011
264
433

l4jos

Member
Dec 30, 2019
48
8
Groningen
Samsung Galaxy S9+
You're aware you're posting this in the LOS 18.1 thread right? You're on 19.1, so "updating" to 18.1 won't ever be a thing.
Thats not true. I have done it before! Damn, that was a struggle. :)
Edit: and tbh, I don't know what exactly nailed it.
Edit2: just installed this ROM, (from Android 12). @Neurotical awesome it works lol
 
Last edited:
  • Like
Reactions: Neurotical

l4jos

Member
Dec 30, 2019
48
8
Groningen
Samsung Galaxy S9+
I especially searched this thread for "android 12" about downgrading for some clarification. His reply is about downgrade, thats a struggle. But reflashing with manufacturer firmware package worked. Afterwards repeat the whole Lineageos 18.1 install process (android 11). Downgrade just works this way. :D
 

cybermcm

Member
Oct 16, 2009
38
6
Downgrading: just my 2 cents (struggled a few days ago with this and cost me hours to fix it). Tried this image, wanted to revert to 18.1 with original image as side step, but then stuck with KG STATE : Prenormal FRP LOCK : OFF OEM LOCK : OFF (Download screen).
Problem: You can't install TWRP anymore to go further, installation via Odin fails.
My "recovery procedure" (found in another thread):
Code:
Disable internet (wi-fi and eject sim cards) or just don't connect to internet if your phone is straight after factory reset
Disable automatic date & time and set date 1-2 months back
Reboot
Enable internet (insert sim or enable wi-fi)
Go to settings and check for updates (date of last update check must show that fixed date after that)
Disable internet and eject sim
Reboot
Set current date again
Enable wi-fi and insert sim
Go to settings, check for updates (it now have to show current date as last checked)
Reboot
Go to Developer options and check if your "OEM Unlock" button is present. If it's present then just check if it is enabled and has text "Bootloader already unlocked". If OEM Unlock toggle doesn't show, then go back, and go again to Developer Options, and again back, and again to Developer options, and again back - you have to force it that way sometimes to show.
When your "OEM Unlock" toggle shows "Bootloader already unlocked", then KG State should be now "Checking" or whole KG State line in download mode should disappear.
 

l4jos

Member
Dec 30, 2019
48
8
Groningen
Samsung Galaxy S9+
Downgrading: just my 2 cents (struggled a few days ago with this and cost me hours to fix it). Tried this image, wanted to revert to 18.1 with original image as side step, but then stuck with KG STATE : Prenormal FRP LOCK : OFF OEM LOCK : OFF (Download screen).
Problem: You can't install TWRP anymore to go further, installation via Odin fails.
My "recovery procedure" (found in another thread):
Code:
Disable internet (wi-fi and eject sim cards) or just don't connect to internet if your phone is straight after factory reset
Disable automatic date & time and set date 1-2 months back
Reboot
Enable internet (insert sim or enable wi-fi)
Go to settings and check for updates (date of last update check must show that fixed date after that)
Disable internet and eject sim
Reboot
Set current date again
Enable wi-fi and insert sim
Go to settings, check for updates (it now have to show current date as last checked)
Reboot
Go to Developer options and check if your "OEM Unlock" button is present. If it's present then just check if it is enabled and has text "Bootloader already unlocked". If OEM Unlock toggle doesn't show, then go back, and go again to Developer Options, and again back, and again to Developer options, and again back - you have to force it that way sometimes to show.
When your "OEM Unlock" toggle shows "Bootloader already unlocked", then KG State should be now "Checking" or whole KG State line in download mode should disappear.
Thats a struggle more
Edit: a very big struggle
 
Last edited:
  • Like
Reactions: cybermcm

Neurotical

Senior Member
Feb 7, 2011
264
433
Hey everyone! I hope you've been enjoying the releases of 18.1 so far 😊

I'd like to let you all know that I have been able to successfully compile 19.1 and am now test driving it for a little while.

So far, the 19.1 rom is much much faster and more feature rich than 18.1. Kernel and AOSP updates are as seamless as the 18.1 releases so far, so that's more good news. I'll keep test driving this for now, and in the meantime if you want to give it a go, please feel free to download it here. I created a new Github account (called Repository44) specifically for 19.1 as it would get pretty messy having 18.1 and 19.1 under the same account.

I'll be putting the 18.1 releases on hold while I explore the reliability of 19.1 and consider it for release as an upgrade. As always, your thoughts and suggestions are always welcome!

P. S. if you would like to compile your own version, I have updated the roomservice.xml in the repo (Repository44) for your convenience :)
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    FYI new update includes:
    • Kernel update 4.9.323 -> 4.9.324
    Now available via OTA or OP.

    Have a great day!


    :coffee::unsure::giggle::cool::cool:
    4
    Hey everyone! I hope you've been enjoying the releases of 18.1 so far 😊

    I'd like to let you all know that I have been able to successfully compile 19.1 and am now test driving it for a little while.

    So far, the 19.1 rom is much much faster and more feature rich than 18.1. Kernel and AOSP updates are as seamless as the 18.1 releases so far, so that's more good news. I'll keep test driving this for now, and in the meantime if you want to give it a go, please feel free to download it here. I created a new Github account (called Repository44) specifically for 19.1 as it would get pretty messy having 18.1 and 19.1 under the same account.

    I'll be putting the 18.1 releases on hold while I explore the reliability of 19.1 and consider it for release as an upgrade. As always, your thoughts and suggestions are always welcome!

    P. S. if you would like to compile your own version, I have updated the roomservice.xml in the repo (Repository44) for your convenience :)
    3
    FYI new update includes:
    • Kernel update 4.9.321 -> 4.9.322
    Now available via OTA or OP.

    Have a great day!


    :):):)
    3
    FYI new update includes:
    • Kernel update 4.9.322 -> 4.9.323
    Now available via OTA or OP.

    Have a great day!


    :geek::geek::geek:
    2
    FYI new update includes:
    • Kernel update: 4.9.324 -> 4.9.325
    Now available via OTA or OP.

    Have a great day!

    (y):geek::coffee::coffee:🐱🐺💡
  • 26
    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 or Github)
      2. Install microG services framework proxy (F-Droid or Github)
      3. Install NLP backends Mozilla location (F-Droid) and GSM Location (F-Droid)​
      4. Install Google Play Store (APK mirror) or FakeStore (F-Droid or Github)​
      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.