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

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

Search This thread

zeyaan

Senior Member
Jun 11, 2012
913
643
Bangalore
OnePlus 5T
OnePlus 6
Sorry to bother the community with noob question. It's been ages since I used a galaxy and I still feel I made a mistake by buying a s9+.

I am currently on one i oie, rooted, magisksu & TWRP INSTALLED.

I am looking to switch to mokeedev Rom or CM15.1 as that's the most stable custom ROM yet.

My question here is. What special procedure do I follow to downgrade from 9.0 to 8.1? Vendor image something something .. any guide with complwt instructions will be really helpful. Also how is the battery performance? I get 4hrs SOT ON STOCK.
 

geronimoge

Senior Member
Aug 4, 2016
514
124
We still have Mokee (Lineage OS based but focused for chinese users) , i have used it since my redmi2 (now i have Mi 9 , sold S9). I´ll share the link for those that never heard of it or want to try.
Mokee Official Downloads link

If Mokee is based on LOS and LOS for S9(+) isn't developed anymore, what kind of advantage does Mokee offer?
 

zeyaan

Senior Member
Jun 11, 2012
913
643
Bangalore
OnePlus 5T
OnePlus 6
If Mokee is based on LOS and LOS for S9(+) isn't developed anymore, what kind of advantage does Mokee offer?

Most recent security patch is the added advantage over LOS. Mokee is on auto mode. I normally run a anti malware scan post fresh install and remove any and every chinese stuff.

---------- Post added at 08:52 PM ---------- Previous post was at 08:51 PM ----------

Sorry to bother the community with noob question. It's been ages since I used a galaxy and I still feel I made a mistake by buying a s9+.

I am currently on one i oie, rooted, magisksu & TWRP INSTALLED.

I am looking to switch to mokeedev Rom or CM15.1 as that's the most stable custom ROM yet.

My question here is. What special procedure do I follow to downgrade from 9.0 to 8.1? Vendor image something something .. any guide with complwt instructions will be really helpful. Also how is the battery performance? I get 4hrs SOT ON STOCK.

anyone who could guide me?
 

vomad

Senior Member
Jun 8, 2017
117
44
Volgograd
anyone who could guide me?
I can help you man :) Go to the unofficial LOS 15.1 topic, download the last 07.05.2019 ROM, BSB1 latest oreo vendor, gapps and magisk. Then make format data, reboot to twrp, wipe data, cache and system. Place the rom itself, vendor, gapps, magisk to internal storage. Install vendor as image in twrp, flash rom-gapps-magisk. People says it works with latest PIE baseband. Do not try to flash previous baseband cause april pie bootloader version is higher, than oreo (you will lost RIL and more). I flashed yesterday this unofficial build, all is fine - even fingerptint reader works faster.
 
  • Like
Reactions: zeyaan

zeyaan

Senior Member
Jun 11, 2012
913
643
Bangalore
OnePlus 5T
OnePlus 6
I can help you man :) Go to the unofficial LOS 15.1 topic, download the last 07.05.2019 ROM, BSB1 latest oreo vendor, gapps and magisk. Then make format data, reboot to twrp, wipe data, cache and system. Place the rom itself, vendor, gapps, magisk to internal storage. Install vendor as image in twrp, flash rom-gapps-magisk. People says it works with latest PIE baseband. Do not try to flash previous baseband cause april pie bootloader version is higher, than oreo (you will lost RIL and more). I flashed yesterday this unofficial build, all is fine - even fingerptint reader works faster.
Appreciate your help. So just to understand this correctly, I would need Oreo vendor image as stated (BSB1) in order to not screw up now RIL as pir has a higher version bootloader?
 

vomad

Senior Member
Jun 8, 2017
117
44
Volgograd
Appreciate your help. So just to understand this correctly, I would need Oreo vendor image as stated (BSB1) in order to not screw up now RIL as pir has a higher version bootloader?
Yes, just look at this topic:
https://forum.xda-developers.com/ga...-s9--s9-cross-device-development/rom-t3927314
It's based on the latest LOS 15.1 official build (And I think THE LAST ONE we will ever see) and BSB1 latest oreo vendor that Samsung gave to community. Just follow the guide, this ROM works fine for everyone.
 
  • Like
Reactions: zeyaan

zeyaan

Senior Member
Jun 11, 2012
913
643
Bangalore
OnePlus 5T
OnePlus 6
Yes, just look at this topic:
https://forum.xda-developers.com/ga...-s9--s9-cross-device-development/rom-t3927314
It's based on the latest LOS 15.1 official build (And I think THE LAST ONE we will ever see) and BSB1 latest oreo vendor that Samsung gave to community. Just follow the guide, this ROM works fine for everyone.

Thanks. Installed last night and been using it. Security patch is from April though. Seems smooth. Gcam ain't working. But it's still better than official. I wasn't able to flash official as it was throwing vendor error. Thanks mate.

Side note: did you try mokee? It throws the same error
 

kelusia

Member
Jul 19, 2017
6
10
I have found another ROM , its MicroG based and privacy focused , its called /e/ . More info here : Info and Downloads ( Needs ARI9 vendor )

Since Lineage for starlte is dead at the moment and does not receive security updates anymore, I just wanted to share my experience with /e/.

It’s a great rom for everybody who was running a google-free Lineage/Microg environment. It’s a fork of Lineage and already comes bundled with microg and other useful stuff like an AppStore. The focus of /e/ is mainly on data privacy and avoiding google stuff. Like Lineage it also depends on ARI9, so if you were running the official build so far you do not have to change anything. Just download, install and go.

If you don’t like the launcher simply install e.g. Nova Launcher. It is maintained and contains the latest security patches from Google. The S9 is an official phone of /e/, they even sell it bundled with preinstalled OS, so they will not drop it anytime soon (see forum: https://community.e.foundation/t/support-cycle-for-samsung-galaxy-s9-starlte-eol-soon/4689). They even offer a Cloud based on OwnCloud to sync your Calendar an Contacts to if you don’t want to install your own.

So I would highly recommend to install it cause its patched and updated regularly.
https://e.foundation/
 
Last edited:
  • Like
Reactions: czmasterlp

vomad

Senior Member
Jun 8, 2017
117
44
Volgograd
Gcam works perfect with Idan's build 4.1 for rooted users + you need to flash oreo libs (twrp zip file). HDR+ works on both cameras (front and back). Just look for gcam exynos topic on XDA.

---------- Post added at 07:34 PM ---------- Previous post was at 07:29 PM ----------

Since Lineage for starlte is dead at the moment
No. Lineage for starlte is NOT dead because of independent developers' work. There's a telegram group and new XDA's topic for Lineage 16.
 

madhatter0

New member
Jul 16, 2019
1
0
No. Lineage for starlte is NOT dead because of independent developers' work. There's a telegram group and new XDA's topic for Lineage 16.

That's great to hear, as I bought a pair of S9s less than five months ago specifically to run LOS, and am unwilling to throw a grand out the window. But it can be hard to find these resources; any chance you could link to the XDA topic to which you refer? And if at all possible a pointer to the Telegram group would be appreciated.

I'm still trying to work out whether to stick with unofficial LOS in the hope that it makes it back to mainstream, or to jump ship to, eg, /e/. I don't really care whether I'm running Android 8 or 9, as long as I'm getting security patches (at the very least) monthly.. Any pointers would be most gratefully received.
 

challenger5

New member
Aug 5, 2019
3
0
I had a working self-built (may 2018) LineageOS 15.1 on my S9.
I tried to sideload an updated version of it (august 2019) with TWRP, but it said it was incompatible and required vendor 27
I installed a vendor 27 zip, wiped the phone and tried to load the new LineageOS.
It installed successfully, but now fails to start, getting stuck at the starting screen (samsung galaxy s9 secured by knox powered by android)
I can still boot into TWRP by holding the power and volume buttons and then holding the power, volume up and bixby button).
Installing the previous version that worked until now, leads to the same result.
Getting desperate, any ideas how to fix this?

UPDATE: by installing the BRE5 vendor again, I was able to install the old rom again (camera does not work anymore though). I also read that I should install the vendor 27, LineageOS and opengapps at the same time, but this did not help.
 
Last edited:

challenger5

New member
Aug 5, 2019
3
0
You should install BSB1 (latest oreo vendor) first.
Ok, I tried to install BSB1 from an image file found in this thread: https://forum.xda-developers.com/ga...-s9--s9-cross-device-development/rom-t3927314
With the old ROM this lead to getting stuck on the boot screen, new ROM still said it required VENDOR 27.
If I then install VENDOR 27 ARI9, and the new ROM + gapps, I get stuck on the boot screen again.

Which vendors need to be installed, in which order?

UPDATE: BSB1 did work with the image found in the same thread.
I think my latest build didn't work, because of other reasons.
The build guide says to extract the blobs from the ~/android/lineage/device/samsung/starlte directory https://wiki.lineageos.org/devices/starlte/build#extract-proprietary-blobs
However, this folder does not contain the extract-files.sh
~/android/lineage/device/samsung/ also contains two folders: common-starlte and universal9810-common, which both have an extract-files.sh script.
When running brunch starlte, it shows the error 'device/samsung/universal9810-common/audio: MODULE.TARGET.SHARED_LIBRARIES.libshim_audio_32 already defined by device/samsung/star-common/audio'

With this out of the way, I also wonder how to extract the files from a latest build, since I cannot find the latest builds anymore (because it is no longer officially supported?)
 
Last edited:

murtzsch

Member
May 10, 2014
36
20
not opensource => not lineageos

Gcam works perfect with Idan's build 4.1 for rooted users + you need to flash oreo libs (twrp zip file). HDR+ works on both cameras (front and back). Just look for gcam exynos topic on XDA.

---------- Post added at 07:34 PM ---------- Previous post was at 07:29 PM ----------

No. Lineage for starlte is NOT dead because of independent developers' work. There's a telegram group and new XDA's topic for Lineage 16.

lineage for star*lte is dead, most customs roms are closed source.
That's a pretty bad regression, the selfish hackers behind those roms don't share their work, that's the opposite of what the lineageos project is, it's even worst when the closed source roms are based on LOS.
Those one-man roms and whatever they've managed to achieve will die as soon as the hacker decides to do something else.
What a shame !
The worst thing with those supposedly hype custom roms: instead of educating users about malwares and being careful about what they download and install, they invite users to blindly download and install things from unknown sources and unknown hackers, and that without any signature, changelog and everything you find in opensource projects.
And that's also the opposite of what forums are for, people kindly give time to help, explain and share tricks and solutions.
 

EagleSoldier

Senior Member
May 14, 2016
411
139
lineage for star*lte is dead, most customs roms are closed source.
That's a pretty bad regression, the selfish hackers behind those roms don't share their work, that's the opposite of what the lineageos project is, it's even worst when the closed source roms are based on LOS.
Those one-man roms and whatever they've managed to achieve will die as soon as the hacker decides to do something else.
What a shame !
The worst thing with those supposedly hype custom roms: instead of educating users about malwares and being careful about what they download and install, they invite users to blindly download and install things from unknown sources and unknown hackers, and that without any signature, changelog and everything you find in opensource projects.
And that's also the opposite of what forums are for, people kindly give time to help, explain and share tricks and solutions.
Good words bro.

Im completely with you.

My solution, custom TW rom like Light Rom or ultimate rom.

Best regards
 

challenger5

New member
Aug 5, 2019
3
0
star-common was renamed to universal9810 common see on github: LineageOS/android_device_samsung_starlte/commit/6fbf94b8848e7f29cd8597c70e3f3948710912b2
if I remove star-common it complains that it is missing it, however if I init the repo from scratch it is not missing
I do see the following error though:

Code:
build/core/product_config.mk:243: *** _nic.PRODUCTS.[[device/samsung/starlte/lineage.mk]]: "vendor/samsung/universal9810-common/universal9810-common-vendor.mk" does not exist.  Stop.
build/core/product_config.mk:243: *** _nic.PRODUCTS.[[device/samsung/starlte/lineage.mk]]: "vendor/samsung/universal9810-common/universal9810-common-vendor.mk" does not exist.  Stop.

** Don't have a product spec for: 'lineage_starlte'
** Do you have the right repo manifest?

Perhaps I first need to extract the proprietary blobs before breakfast?
But where can I find a working version, since it is no longer listed on the lineageos website?
 

Filipp.Frizzy

New member
Sep 25, 2019
1
0
You can find samsung vendor on github: jesec/proprietary_vendor_samsung/tree/lineage-15.1/universal9810-common
I builded lineage 15.1 with it few days ago, but don't test it yet
 

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 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
    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.