[ROM][UNOFFICIAL][12]LineageOS 19.1 for Galaxy S20/S20+/S20 Ultra Exynos

Search This thread

josip-k

Senior Member
Feb 20, 2011
3,919
2,719
25
Jastrebarsko
Samsung Galaxy S20
ASUS ZenFone 8
1607247455067.png


LineageOS is a free, community built, aftermarket firmware distribution of Android 12, 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.

Instructions:
  • Follow the instructions here

Downloads:

Reporting Bugs
  • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
  • DO NOT Report bugs if you're using TWRP
  • 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 /data/misc/audit/audit.log

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. Any bug not reported in the bug report format below may be ignored.

Code:
What is your--
LineageOS version:
LineageOS Download url:
Gapps version:

Did you--
wipe:
restore with titanium backup:
reboot after having the issue:

Are you using--
a task killer:
a non-stock kernel:
other modifications:

Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:


Support
Telegram group

Contributors
DeHuMaNiZeD
Linux4
Synt4x.93
Alastor89

Device tree and kernel source code:
Exynoobs github
 
Last edited:

josip-k

Senior Member
Feb 20, 2011
3,919
2,719
25
Jastrebarsko
Samsung Galaxy S20
ASUS ZenFone 8
Requirements:
  • S based firmware (OneUI4)

Pre-Install Instructions

Warning: The following instructions will unlock the bootloader and wipe all userdata on the device.

  1. Connect the device to a Wi-Fi network.
  2. Enable Developer Options by pressing the “Build Number” option in the “Settings” app within the “About” menu
    • From within the Developer options menu, enable OEM unlock.
  3. Power off the device, and boot it into download mode:
    • With the device powered off, hold Volume Down + Volume Up and connect USB cable to PC.
    • Now, click the button that the onscren instructions coorelate to “Continue” and/or “Unlock Bootloader”.
  4. Your device will reboot, you may now unplug the USB cable from your device.
  5. The device will demand you format userdata, please follow the onscreen instructions to do so.
  6. Run through Android Setup skipping everything you can, then connect the device to a Wi-Fi network.
  7. Re-enable Development settings by clicking the “Build Number” option 10 times, in the “Settings” app within the “About” menu, and verify that “OEM Unlock” is still enabled in the “Developer options” menu.

Installing LineageOS for the first time
  1. Flash lineage recovery
    Only the provided lineage recovery will be supported,
    using TWRP might result in a possible data loss!!

    If using Odin rename the lineage recovery image for your model to recovery.img and add it to a .tar archive using e.g 7zip.
    If using Heimdall use: heimdall flash --RECOVERY recovery.img --no-reboot
  2. Boot lineage recovery
    IMPORTANT: Do not boot into system again before booting recovery, or system will restore stock recovery!
    If using Odin untick auto-reboot before flashing.
    After flashing reboot by pressing Volume Down and Power for approximately 7 seconds,
    immediately hold Volume Up and Power to boot recovery
    IMPORTANT: As of OneUI 3 your device needs to be connected to a PC via USB cable in order to be able to
    boot recovery via Volume Up and Power.
  3. Factory reset using Factory reset -> Format data/factory reset
    Warning: Unlike TWRP this will also erase internal storage!
  4. Sideload LineageOS by enabling sideload via Apply Update -> Apply from ADB
    Then run adb sideload <path to your lineage.zip> on your PC
    Optional:
  5. Sideload GApps and magisk by repeating above step
    with their zip/apk
 

flunkyball

Senior Member
May 20, 2019
111
74
Nice ! Thank you so much for the great work and effort put into this (y)

Two questions:
1. Is 5G working as it is not anymore in the "known issues" section ?
2. When using the latest S firmware is a dirty flash from LOS 18.1 possible ?

Cheers !
 

josip-k

Senior Member
Feb 20, 2011
3,919
2,719
25
Jastrebarsko
Samsung Galaxy S20
ASUS ZenFone 8
Nice ! Thank you so much for the great work and effort put into this (y)

Two questions:
1. Is 5G working as it is not anymore in the "known issues" section ?
2. When using the latest S firmware is a dirty flash from LOS 18.1 possible ?

Cheers !
I am not sure about 5G as i only have a 4G device. Otherwise the devices are same

about 2. Dirty flashing could Theoretically work but i really cannot guarantee it. You can always try updating only the firmware for your device by going here https://github.com/Linux4/firmware-update/releases and finding your device and flashing everything with heimdall with the provided command, then try dirty flashing without wiping.
 

seujo

Member
Nov 15, 2018
38
16
Paris
Firmware upgrade instructions:
  • Get the latest firmware for your device here
  • Follow the provided instruction for flashing with Heimdall

Thanks again to the team for your work.

I'm on G980FXXSCDUJ5 (S20 4G - x1s).

I was trying to upgrade to latest firmware G980FXXSCEUL9 before to load your 'lineage-19.0-20220111-UNOFFICIAL-x1s' but I have a problem.

According to me, two firmwares on your GitHub link are not corresponding to their designation:
-firmware-SM-G980F-G980FXXSCEUL9
-firmware-SM-G980F-G980FXXSCEUL7
(after download, sha256 hash controls are ok)

I've flashed these firmwares and the result for both is:
-G980FXXUCEUL6
-bootloader relocked
-On Download Mode screen, additional Japanese texts appear

Screenshot_20220126-191606_Settings.png


I loaded back G980FXXSCDUJ5 from my datas.

Can you have a look ?
Thanks
 

josip-k

Senior Member
Feb 20, 2011
3,919
2,719
25
Jastrebarsko
Samsung Galaxy S20
ASUS ZenFone 8
Thanks again to the team for your work.

I'm on G980FXXSCDUJ5 (S20 4G - x1s).

I was trying to upgrade to latest firmware G980FXXSCEUL9 before to load your 'lineage-19.0-20220111-UNOFFICIAL-x1s' but I have a problem.

According to me, two firmwares on your GitHub link are not corresponding to their designation:
-firmware-SM-G980F-G980FXXSCEUL9
-firmware-SM-G980F-G980FXXSCEUL7
(after download, sha256 hash controls are ok)

I've flashed these firmwares and the result for both is:
-G980FXXUCEUL6
-bootloader relocked
-On Download Mode screen, additional Japanese texts appear

View attachment 5519777

I loaded back G980FXXSCDUJ5 from my datas.

Can you have a look ?
Thanks
Baseband version does not correspond to firmware upgrades. That means it doesnt need to be same as the firmware you flashed
 
  • Like
Reactions: seujo

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    After a lot of tinkering around, finally EVERYTHING works flawlessly - in some regards much better that the stock firmware.

    I've never cared about VoLTE or Wi-Fi calling, so these "shortcomings" don't affect me at all. If anything, I have had 6 things to gripe about:
    1. Camera was definitely one of them however, after extensive testing I've settled for Open Camera which works quite well. In fact, other than somewhat excessive noise in low light (which can easily be corrected with Snapseed), and a buggy panoramic mode, everything works just fine. GCam just doesn't work for me, so please don't bother suggesting it. I know some people swear by it but for me it's a no, no. Other camera apps that would be worth trying: Secure Camera (Graphene OS), Libre Camera and Simple Camera.
    2. [Edited - Solved :)] Additional touch / About 50% of time, the app on the main screen, directly behind the fingerprint sensor would get launched when the screen gets unlocked - which was hellishly frustrating. In other words, the fingerprint reader registers an additional touch immediately after the screen gets unlocked. The fingerprint reader works wonders and it's definitely faster than the stock ROM however, this bug must be addressed asap. (Edit) I've created a simple task in Tasker, for an overlay scene to obscure (mask) the area on the screen directly behind the fingerprint reader, which gets destroyed 600 ms after unlocking the screen. The described issue is specific to Nova. Trebuchet, the build-in launcher doesn't seem to have this issue.
    3. [Edited - Solved :)] TWRP / While the developers may very well have their own technical reasons for adopting a proprietary recovery, not having the ability to create a nandroid (full image of all partitions) that could be saved, transferred and later reinstalled after a full wipe (or two weeks of configurations), in itself, would have been a deal breaker for me. The built-in SeedVault backup is a joke by comparison since none of the system-level configurations (root, Magisk modules, LSPosed, device-protected data, external data, obb, etc.) can be saved through the built-in backup. (Edit) Although I haven't yet restored a nandroid backup, it seems that flashing the appropriate TWRP through Odin works just fine - that's true ONLY after doing a full data wipe and manually installing, configuring and customizing the ROM - while using Lineage recovery.
    4. [Edited - Solved :)] The partial-screenshot implementation is awful and yet another reason for frustration. While I do understand the privacy concerns behind this idea, the implementation is horrible, even for someone with high technical skills. 90% of users trying this feature would probably end up throwing the phone out the window. (Edit) You can get unrestricted screenshots, theming, UI customizations and much more through a Magisk/LSPosed module called AOSPMods
    5. [Edited - Solved :)] The screen casting no longer works directly, as it was the case with Smart View on stock Android. The phone needs to be paired with a smart TV through WiFi Direct and then the screen cast itself is taken care of by a nice (paid) app called BubbleUPnP. Once the setup was completed, subsequent casting is a breeze and it's better that the stock Smart View.
    6. If you're like me and you're bothered by the nonsensical privacy Location indicators that keep on showing a green "Location" button alongside the green indicator in the right corner of the status bar every single time an app or service is accessing location in the background (overly annoying once you notice it), you can re enable the on/off switch in Developer Options (inexplicably removed by the developers of this ROM) with the following adb command:
      Code:
      adb shell cmd device_config put privacy location_indicator_settings_enabled true default
      The option needs to be disabled after each reboot as it'll turns back on automatically. Bump! 😬
    In conclusion:
    • The ROM is very stable,
    • Rooted (Magisk adb sideload) without any hickups,
    • MicroG works perfectly fine.
    • All (tried) Magisk modules worked without any problems and yes,
    • Even LSPosed (XPosed) works just fine (I know I just opened up Pandora's box but I wanted to share with the community that it does work, apparently without causing any exctinction-level events. 😉
    So, can this Lineage release be a very satisfying daily driver? I should say yes, but with some slight reservations. The amount of customization and tweaks needed for the ROM to work flawlessly are quite extensive - some users might just be put off by all this "extra" work however, the final result is quite satisfying. The ROM is very stable & fully featured, it played nicely with every single app I've installed, it's very responsive, snappy I should say, and it's definitely far better than stock in regards to privacy and security.

    Below is a list of suggestions & features that didn't work for me (to be continually updated):
    • Screen Cast (doesn't work on newer TVs however, it does work with Roku) - see the solution above
    • WI-Fi Direct (hit & miss)
    • Aps with embedded (web view) Google Maps won't be able to display the map - although a solution does exist to that too 😎.
    • The Alarm displayed on AOD is always wrong, thus meaningless. I would suggest either removing it altogether, or provide ways to toggle the notification (especially when the native alarm/clock is not being used).
    • Native UI customization from Lineage 17 were inexplicably removed - although the above solution works, it forces users to install LSPosed.

    This ROM is now my daily driver and honestly, I can't wait for the Lineage 20 release - especially given the tons of added features, including new native camera.

    A big thank you to the developers and all contributors for such a great ROM. 👍
    1
    Appreciate the detailed reply!

    Thank you very much 😁
    1
    Is there an estimated release date for Samsung S20 (x1s) with Lineage 20? Cant wait to test :)
  • 8
    1607247455067.png


    LineageOS is a free, community built, aftermarket firmware distribution of Android 12, 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.

    Instructions:
    • Follow the instructions here

    Downloads:

    Reporting Bugs
    • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
    • DO NOT Report bugs if you're using TWRP
    • 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 /data/misc/audit/audit.log

    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. Any bug not reported in the bug report format below may be ignored.

    Code:
    What is your--
    LineageOS version:
    LineageOS Download url:
    Gapps version:
    
    Did you--
    wipe:
    restore with titanium backup:
    reboot after having the issue:
    
    Are you using--
    a task killer:
    a non-stock kernel:
    other modifications:
    
    Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:


    Support
    Telegram group

    Contributors
    DeHuMaNiZeD
    Linux4
    Synt4x.93
    Alastor89

    Device tree and kernel source code:
    Exynoobs github
    6
    Requirements:
    • S based firmware (OneUI4)

    Pre-Install Instructions

    Warning: The following instructions will unlock the bootloader and wipe all userdata on the device.

    1. Connect the device to a Wi-Fi network.
    2. Enable Developer Options by pressing the “Build Number” option in the “Settings” app within the “About” menu
      • From within the Developer options menu, enable OEM unlock.
    3. Power off the device, and boot it into download mode:
      • With the device powered off, hold Volume Down + Volume Up and connect USB cable to PC.
      • Now, click the button that the onscren instructions coorelate to “Continue” and/or “Unlock Bootloader”.
    4. Your device will reboot, you may now unplug the USB cable from your device.
    5. The device will demand you format userdata, please follow the onscreen instructions to do so.
    6. Run through Android Setup skipping everything you can, then connect the device to a Wi-Fi network.
    7. Re-enable Development settings by clicking the “Build Number” option 10 times, in the “Settings” app within the “About” menu, and verify that “OEM Unlock” is still enabled in the “Developer options” menu.

    Installing LineageOS for the first time
    1. Flash lineage recovery
      Only the provided lineage recovery will be supported,
      using TWRP might result in a possible data loss!!

      If using Odin rename the lineage recovery image for your model to recovery.img and add it to a .tar archive using e.g 7zip.
      If using Heimdall use: heimdall flash --RECOVERY recovery.img --no-reboot
    2. Boot lineage recovery
      IMPORTANT: Do not boot into system again before booting recovery, or system will restore stock recovery!
      If using Odin untick auto-reboot before flashing.
      After flashing reboot by pressing Volume Down and Power for approximately 7 seconds,
      immediately hold Volume Up and Power to boot recovery
      IMPORTANT: As of OneUI 3 your device needs to be connected to a PC via USB cable in order to be able to
      boot recovery via Volume Up and Power.
    3. Factory reset using Factory reset -> Format data/factory reset
      Warning: Unlike TWRP this will also erase internal storage!
    4. Sideload LineageOS by enabling sideload via Apply Update -> Apply from ADB
      Then run adb sideload <path to your lineage.zip> on your PC
      Optional:
    5. Sideload GApps and magisk by repeating above step
      with their zip/apk
    5
    Known issues:
    • VoLTE/VoWiFi
    • Google maps

    Firmware upgrade instructions:
    • Get the latest firmware for your device here
    • Follow the provided instruction for flashing with Heimdall
    4
    New builds are up, there were alot of changes, please read the changelog on https://exynoobs.github.io/OTA and enjoy. :)
    2
    UP!

    i am interested in MicroG too
    Yup. I installed twrp flashed microg. Microg and everything works perfectly. Very stable. But no signature spoofing. Keeping it as my daily driver.