[ROM][8.1.0][OFFICIAL][WEEKLY] LineageOS 15.1 for S9 and S9+ (Exynos)

Search This thread

jesec

Inactive Recognized Developer / Contributor
Jan 29, 2015
804
6,236
SF Bay Area

Note: This is not a ROM based on the ROM shipped with your device. Exynos variants such as International (F), International Dual(Hybrid)-SIM (F/DS), Korean (N) ONLY. In NO way it is compatible with Snapdragon variants including but not limited to American(U/U1/A/T/P/V), Chinese(0/8/6), Hong Kong(0), Japanese(SC-*), Canadian(W) variants.

LineageOS is a free, community built, aftermarket firmware distribution of Android 8.1 (Oreo), which is designed to increase performance and reliability over stock Android for your device.

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

Features Overview:
https://www.xda-developers.com/lineageos-15-feature-list-overview-screenshots-video/

Screenshots:
View attachment 4491847View attachment 4491848View attachment 4491849 screen.jpg

Device Info:

What's working:
  • This build is an official LineageOS build. Compliance with our device support requirements is enforced and guaranteed. That means including but not limited to these hardwares will work:
  • Wi-Fi
  • Bluetooth
  • Mobile Network (Calling, Data, etc.)
  • Audio
  • USB
  • GPS
  • Camera
  • Fingerprint Sensor
  • NFC
  • Etc. Check device support requirements for more.

What's not working:
  • Applicable exceptions granted in device support requirements.
  • Obviously Samsung's own features such as Samsung Pay, KNOX, Theme Center, Game Launcher, etc. won't be ported to LineageOS. We may have our own implementation to similar functions, though.
  • Iris sensor does not work because AOSP upstream does not support that yet.
  • IMS services (VoLTE, VoWiFi, etc). Samsung has their own proprietary implementation. It is not really possible to easily port that to LineageOS.

Instructions:
  • Make sure TWRP has been installed and functional.
  • Download the latest build (and optionally gapps).
  • Reboot to recovery
  • Wipe data and cache (required if you switch from other ROMs)
  • Flash the latest build (and gapps)
  • Reboot
LineageOS updater will handle updates automatically (OTA).
If you upgrade manually from older official releases to newer releases, you don't need to wipe your data or reflash gapps.

Downloads:

Reporting Bugs:
  • https://wiki.lineageos.org/bugreport-howto.html
  • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
  • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
  • If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
  • If the problem disappears after running "setenforce 0" from a root shell, grab /proc/avc_msg.
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues.
Please use LineageOS BUG tracker to report BUGs. BUGs reported in the thread could be ignored due to large number of posts.

Channel and Group:
LineageOS Channel (News and Updates):
https://t.me/lineageos_star

AOSP-like ROMs (not limited to LineageOS) Group (Discussion, Quick Tech Support and Early Testing):
https://t.me/joinchat/DTrGs0ygFKxHhc3bb11YKw

XDA:DevDB Information
LineageOS for Galaxy S9 and S9+, ROM for the Samsung Galaxy S9

Contributors
jesec
Source Code: https://github.com/LineageOS/

ROM OS Version: 8.x Oreo
ROM Kernel: Linux 4.x

Version Information
Status: Stable

Created 2018-04-24
Last Updated 2018-05-05
 
Last edited:

jesec

Inactive Recognized Developer / Contributor
Jan 29, 2015
804
6,236
SF Bay Area
Changelog:

This post only includes important device-specific changes. It does NOT mean the LineageOS is not updated if this post is not updated as we frequently makes platform-wide changes which benefit all devices (not limited to this one). Check https://download.lineageos.org/ for global LineageOS changes.
For details (sources) of device-specific changes, watch these repos:
https://github.com/LineageOS/android_device_samsung_star-common
https://github.com/LineageOS/android_device_samsung_star2lte
https://github.com/LineageOS/android_device_samsung_starlte
https://github.com/LineageOS/android_kernel_samsung_universal9810
and/or follow me: https://github.com/jesec

May 15th, 2018:
  • Use Clang to compile kernel
  • Update kernel to Linux 4.9.99
  • Other optimizations for performance and battery life

May 7th, 2018:
  • Support stereo audio for dual speakers
  • Support haptic engine for vibration
  • Allow to use auto brightness while dozing (AOD, Ambient Display)
  • Add an option to invert navigation bar layout
    You can find the toggle at Settings -> System -> Buttons -> Buttons and layout.
    Samsung navbar layout is no longer default.
  • Enable charging LED
  • Fix USB accessory mode (Android Auto, etc)
  • Boost I/O performance
  • Allow device to enter deep sleep when AOD is on or when proximity sensor is blocked (eg. in pocket)
  • Decrease booting time
  • Update kernel to Linux 4.9.98
  • Other optimizations for performance and stability

May 1st, 2018:
  • Initial official LineageOS build
 
Last edited:

jesec

Inactive Recognized Developer / Contributor
Jan 29, 2015
804
6,236
SF Bay Area
Troubleshooting and Frequently Asked Questions:

Critical hardwares (Wi-Fi, BT, Mobile Network, etc.) not working for you:
Developer has thoroughly tested hardwares guaranteed to work by official device support requirements.
It is highly unlikely this ROM itself has BUGs which make these hardwares unavailable to you.
If one or more of these critical hardwares are not working for you, there are several possible causes:
1. Vendor files or firmware on your device have been modified in an unexpected way (other ROMs may do those modifications).
In this case, please use Odin or other means to restore your phone to stock and then flash again.
2. Vendor files or firmware on your device is too old to be compatible.
In this case, please update the vendor files or firmware to the latest version.
3. Vendor files or firmware on your device is too new to be compatible.
LineageOS is actively maintained. It is unlikely that you will be faster than the developer in catching updates but this did happen sometimes. In this case, please file a formal BUG report.
4. There are BUGs with ROM but only limited to some devices.
If you believe this is the case, please file a formal BUG report.

Note that vendor firmware is NOT only the baseband and bootloader.
(Tip: Size of adequate vendor firmware package (contains bootloader, baseband AND vendor) should be at least 200MB.)
You can download vendor firmware package from https://www.androidfilehost.com/?w=files&flid=272468 and then flash it via Odin.
These files only contain necessary vendor firmwares. You won't lose your data when you flash them.

How's the camera?
Well. Given the hardware support is there, the camera is pretty much stable but the image quality can not be guaranteed as OEMs like Samsung use proprietary post processing algorithms which can't be made available to this ROM.
If you only use Camera to scan QR code or you don't really care about quality, you are good to go with built-in Camera.
If you want general good quality images and you don't rely on Samsung's features like 960fps slow-mo, you can try to use Google Camera port which can produce pretty decent images. (Optional: After install GCam, you can disable built-in camera so the system will default to GCam)
If you heavily rely on Samsung's camera features, unfortunately this ROM can not give you those features now and in the future.

Note: LineageOS does not provide technical support to GCam ports. Use at your own risk. DO NOT file BUG report of GCam.

How's the audio?
Speakers, earpieces, wired headphones, in-call audios, Bluetooth audio devices. Pretty much all audio hardware supports are there. But here are several things you should know:
1. Dual speaker is working but not perfect. I mean it is functional but it it not "tuned by AKG". Some apps have compatibility issues with dual speakers. If you met apps which don't use two speakers, a workaround is go to Settings -> Accessibility and then toggle "Mono audio" on and off.
2. Samsung's audio addons like Soundlive or Dolby Atmos are not available and they will not be available in the future.

Why some apps don't scale to full screen?
To ensure maximum compatibility, Google defaults max aspect ratio of old apps to 1.86 (roughly 16:9).
This is more of the app's problem instead of system's. If you found new commercial apps that are not compatible with longer screens, you can go to their Play Store page, write a review to demand support.
If you want to force apps to use full screen aspect ratio, go to Settings -> Display -> Full screen apps and choose which apps you want to use in full screen.

VoLTE, VoWiFi?
NO. It is not available now and it will not be available in the future.
Please do not spam the thread with any VoLTE, VoWiFi related requests/questions.
 
Last edited:

jesec

Inactive Recognized Developer / Contributor
Jan 29, 2015
804
6,236
SF Bay Area
Is there any possibility of Volte working in near future? Also, Volte not working means data over LTE will work right?
No. Do not expect VoLTE to work in any future version. No development effort will be put into that.
Your LTE mobile data will work fine.

All the main link are nonexistent: even the pre-release ones

""""Whoops - this page doesn't exist
This device has no available builds. Please select another device."""

I accidentally put links of AFH developer console. The thread has been updated with new links.
 

MidnightDevil

Senior Member
Apr 2, 2012
3,135
1,252
London
Redmi Note 9
Google Pixel 6 Pro
Last edited:

InteliDroid

Senior Member
Dec 12, 2013
712
232
Sydney
Thank you @jesec ! Had the S8, Note 8, and had no Lineage or AOSP support. Glad now with my S9+ there is proper support!

Is there anywhere I can make a small donation towards your development of this?
 

Exelios

Senior Member
Jul 3, 2014
513
591
Berlin
Magisk does not work, not even on LOS, causes bootloop.

Camera is quite bad, seems like there is no image processing at all, variable aperture and second lens not supported at all.
 
Last edited:

Swarai

Senior Member
Nov 4, 2013
256
29
I flashed the addonsu-15.1-arm64-signed.zip but I still don't get root. Magisk and supersu don't work either. Is there something I missed?
 

InteliDroid

Senior Member
Dec 12, 2013
712
232
Sydney
ROM works great but there were a few annoying app glitches (Spotify transition freezing), NFS stutter/geo-tilt freezing etc... With in time it should get better. Back to TouchWiz I go for the time being. :)
 
  • Like
Reactions: Vmb265

Top Liked Posts

  • There are no posts matching your filters.
  • 81

    Note: This is not a ROM based on the ROM shipped with your device. Exynos variants such as International (F), International Dual(Hybrid)-SIM (F/DS), Korean (N) ONLY. In NO way it is compatible with Snapdragon variants including but not limited to American(U/U1/A/T/P/V), Chinese(0/8/6), Hong Kong(0), Japanese(SC-*), Canadian(W) variants.

    LineageOS is a free, community built, aftermarket firmware distribution of Android 8.1 (Oreo), which is designed to increase performance and reliability over stock Android for your device.

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

    Features Overview:
    https://www.xda-developers.com/lineageos-15-feature-list-overview-screenshots-video/

    Screenshots:
    View attachment 4491847View attachment 4491848View attachment 4491849screen.jpg

    Device Info:

    What's working:
    • This build is an official LineageOS build. Compliance with our device support requirements is enforced and guaranteed. That means including but not limited to these hardwares will work:
    • Wi-Fi
    • Bluetooth
    • Mobile Network (Calling, Data, etc.)
    • Audio
    • USB
    • GPS
    • Camera
    • Fingerprint Sensor
    • NFC
    • Etc. Check device support requirements for more.

    What's not working:
    • Applicable exceptions granted in device support requirements.
    • Obviously Samsung's own features such as Samsung Pay, KNOX, Theme Center, Game Launcher, etc. won't be ported to LineageOS. We may have our own implementation to similar functions, though.
    • Iris sensor does not work because AOSP upstream does not support that yet.
    • IMS services (VoLTE, VoWiFi, etc). Samsung has their own proprietary implementation. It is not really possible to easily port that to LineageOS.

    Instructions:
    • Make sure TWRP has been installed and functional.
    • Download the latest build (and optionally gapps).
    • Reboot to recovery
    • Wipe data and cache (required if you switch from other ROMs)
    • Flash the latest build (and gapps)
    • Reboot
    LineageOS updater will handle updates automatically (OTA).
    If you upgrade manually from older official releases to newer releases, you don't need to wipe your data or reflash gapps.

    Downloads:

    Reporting Bugs:
    • https://wiki.lineageos.org/bugreport-howto.html
    • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
    • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
    • If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
    • If the problem disappears after running "setenforce 0" from a root shell, grab /proc/avc_msg.
    Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues.
    Please use LineageOS BUG tracker to report BUGs. BUGs reported in the thread could be ignored due to large number of posts.

    Channel and Group:
    LineageOS Channel (News and Updates):
    https://t.me/lineageos_star

    AOSP-like ROMs (not limited to LineageOS) Group (Discussion, Quick Tech Support and Early Testing):
    https://t.me/joinchat/DTrGs0ygFKxHhc3bb11YKw

    XDA:DevDB Information
    LineageOS for Galaxy S9 and S9+, ROM for the Samsung Galaxy S9

    Contributors
    jesec
    Source Code: https://github.com/LineageOS/

    ROM OS Version: 8.x Oreo
    ROM Kernel: Linux 4.x

    Version Information
    Status: Stable

    Created 2018-04-24
    Last Updated 2018-05-05
    26
    Changelog:

    This post only includes important device-specific changes. It does NOT mean the LineageOS is not updated if this post is not updated as we frequently makes platform-wide changes which benefit all devices (not limited to this one). Check https://download.lineageos.org/ for global LineageOS changes.
    For details (sources) of device-specific changes, watch these repos:
    https://github.com/LineageOS/android_device_samsung_star-common
    https://github.com/LineageOS/android_device_samsung_star2lte
    https://github.com/LineageOS/android_device_samsung_starlte
    https://github.com/LineageOS/android_kernel_samsung_universal9810
    and/or follow me: https://github.com/jesec

    May 15th, 2018:
    • Use Clang to compile kernel
    • Update kernel to Linux 4.9.99
    • Other optimizations for performance and battery life

    May 7th, 2018:
    • Support stereo audio for dual speakers
    • Support haptic engine for vibration
    • Allow to use auto brightness while dozing (AOD, Ambient Display)
    • Add an option to invert navigation bar layout
      You can find the toggle at Settings -> System -> Buttons -> Buttons and layout.
      Samsung navbar layout is no longer default.
    • Enable charging LED
    • Fix USB accessory mode (Android Auto, etc)
    • Boost I/O performance
    • Allow device to enter deep sleep when AOD is on or when proximity sensor is blocked (eg. in pocket)
    • Decrease booting time
    • Update kernel to Linux 4.9.98
    • Other optimizations for performance and stability

    May 1st, 2018:
    • Initial official LineageOS build
    24
    Changelog - May 7th, 2018:

    • Support stereo audio for dual speakers
    • Support haptic engine for vibration
    • Allow to use auto brightness while dozing (AOD, Ambient Display)
    • Add an option to invert navigation bar layout
      You can find the toggle at Settings -> System -> Buttons -> Buttons and layout.
      Samsung navbar layout is no longer default.
    • Enable charging LED
    • Fix USB accessory mode (Android Auto, etc)
    • Boost I/O performance
    • Allow device to enter deep sleep when AOD is on or when proximity sensor is blocked (eg. in pocket)
    • Decrease booting time
    • Update kernel to Linux 4.9.98
    • Other optimizations for performance and stability
    LineageOS updater will handle updates automatically (OTA).
    If you upgrade manually from older official releases to newer releases, you don't need to wipe your data or reflash gapps.
    17
    Okay I just started recreating the device tree based on newer guidelines from LineageOS. I will also include different cherry picks that haven't been implemented for the past inactive months of the developer and build the HALs directly from hardware/samsung instead of cloning them locally as every new commit needs to get manually picked which wasn't done too and results in outdated HALs. I will directly create a pie device tree.
    It will take some more time and even if I am done it could need even more time to test everything and ensure if it works. :laugh:
    15
    Troubleshooting and Frequently Asked Questions:

    Critical hardwares (Wi-Fi, BT, Mobile Network, etc.) not working for you:
    Developer has thoroughly tested hardwares guaranteed to work by official device support requirements.
    It is highly unlikely this ROM itself has BUGs which make these hardwares unavailable to you.
    If one or more of these critical hardwares are not working for you, there are several possible causes:
    1. Vendor files or firmware on your device have been modified in an unexpected way (other ROMs may do those modifications).
    In this case, please use Odin or other means to restore your phone to stock and then flash again.
    2. Vendor files or firmware on your device is too old to be compatible.
    In this case, please update the vendor files or firmware to the latest version.
    3. Vendor files or firmware on your device is too new to be compatible.
    LineageOS is actively maintained. It is unlikely that you will be faster than the developer in catching updates but this did happen sometimes. In this case, please file a formal BUG report.
    4. There are BUGs with ROM but only limited to some devices.
    If you believe this is the case, please file a formal BUG report.

    Note that vendor firmware is NOT only the baseband and bootloader.
    (Tip: Size of adequate vendor firmware package (contains bootloader, baseband AND vendor) should be at least 200MB.)
    You can download vendor firmware package from https://www.androidfilehost.com/?w=files&flid=272468 and then flash it via Odin.
    These files only contain necessary vendor firmwares. You won't lose your data when you flash them.

    How's the camera?
    Well. Given the hardware support is there, the camera is pretty much stable but the image quality can not be guaranteed as OEMs like Samsung use proprietary post processing algorithms which can't be made available to this ROM.
    If you only use Camera to scan QR code or you don't really care about quality, you are good to go with built-in Camera.
    If you want general good quality images and you don't rely on Samsung's features like 960fps slow-mo, you can try to use Google Camera port which can produce pretty decent images. (Optional: After install GCam, you can disable built-in camera so the system will default to GCam)
    If you heavily rely on Samsung's camera features, unfortunately this ROM can not give you those features now and in the future.

    Note: LineageOS does not provide technical support to GCam ports. Use at your own risk. DO NOT file BUG report of GCam.

    How's the audio?
    Speakers, earpieces, wired headphones, in-call audios, Bluetooth audio devices. Pretty much all audio hardware supports are there. But here are several things you should know:
    1. Dual speaker is working but not perfect. I mean it is functional but it it not "tuned by AKG". Some apps have compatibility issues with dual speakers. If you met apps which don't use two speakers, a workaround is go to Settings -> Accessibility and then toggle "Mono audio" on and off.
    2. Samsung's audio addons like Soundlive or Dolby Atmos are not available and they will not be available in the future.

    Why some apps don't scale to full screen?
    To ensure maximum compatibility, Google defaults max aspect ratio of old apps to 1.86 (roughly 16:9).
    This is more of the app's problem instead of system's. If you found new commercial apps that are not compatible with longer screens, you can go to their Play Store page, write a review to demand support.
    If you want to force apps to use full screen aspect ratio, go to Settings -> Display -> Full screen apps and choose which apps you want to use in full screen.

    VoLTE, VoWiFi?
    NO. It is not available now and it will not be available in the future.
    Please do not spam the thread with any VoLTE, VoWiFi related requests/questions.