[ROM][UNOFFICIAL][13.0][OTA][Signature Spoofing][Open Source][Encryption] LineageOS 20 for Galaxy S10e/S10/S10+/S10 5G Exynos

Search This thread

Linux4

Recognized Developer
1607247455067.png


LineageOS is a free, community built, aftermarket firmware distribution of Android 13, 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
  • DO NOT Report bugs while having Magisk installed (especially with Zygisk enabled)
  • 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
Linux4
Source Code: https://github.com/LineageOS
Kernel source: https://github.com/Linux4/android_kernel_samsung_exynos9820/tree/lineage-20.0
 
Last edited:

Linux4

Recognized Developer
Requirements:
  • Any Q, R or S based firmware installed on your device.

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 + Bixby 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, Bixby 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, Bixby 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 Lygisk by repeating above step
    with their zip/apk

Magisk
As this ROM has a working ramdisk sideloading the magisk apk is enough, just as it is
on every other device, no bootimage with magisk included or installing to recovery is needed!
I also strongly recommend to use Lygisk instead,
which is a fork of Magisk that aims to improve support for devices with FBE that can't (and shouldn't anyways!) decrypt userdata in recovery,
this will also fix OTAs getting stuck while having installed Magisk.
 
Last edited:

ZmisiS

Senior Member
Dec 23, 2011
2,872
674
59
Livno
My English is not very good, so I don't understand some things. My phone is Samsung Galaxy S10 (SM-G973F), Android 12, (HVG4). The bootloader is unlocked. I am confused by these instructions, and I would like to try this.
 

ZmisiS

Senior Member
Dec 23, 2011
2,872
674
59
Livno
I don't understand:

  • Any Q, R or S based firmware installed on your device.
  • Flash lineage recovery (Get from here)
  • 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.
  • Sideload LineageOS by enabling sideload via Apply Update -> Apply from ADB
    Then run adb sideload <path to your lineage.zip> on your PC
  • I also strongly recommend to use Lygisk instead,
    which is a fork of Magisk that aims to improve support for devices with FBE that can't (and shouldn't anyways!) decrypt userdata in recovery,
 

ZmisiS

Senior Member
Dec 23, 2011
2,872
674
59
Livno
Has anyone installed this ROM? If it is, please write something about it for those of us who intend to install it. I hope that's not a problem?
 

ZmisiS

Senior Member
Dec 23, 2011
2,872
674
59
Livno
I installed this and I need some samsung apps as well as google apps. I installed Gaaps 12.1. I don't have Google Play Store.
 

Top Liked Posts

  • 1
    Can I Android from the version of Lineage OS from 1.10.2022. return to the version of 9/25/2022? If so, how? I don't think I need to delete anything I installed.

    No need to do so, will upload a fixed build a bit later, sorry for that, it's caused by a kernel commit I picked that was seemingly unrelated to camera.
    1
    1) Enable "Zygisk" option (in Lygisk/Magisk app)
    2) Reboot your device
    3) Enable "Enforce DenyList" option
    4) Go in "Configure DenyList"
    5) Tap on the Magnifying Glass button
    6) Enable "Show system apps" option then search 'Google Play Services' and tap on it (but NOT on the tick box!) to expand activities
    7) Enable both "com.google.android.gms" & "com.google.android.gms.unstable"
    8) install MagiskHide Props Config(Magisk module)
    9) Open the terminal
    10) su
    11) Type "props"
    12) Edit 1 fingerprint of the device
    13) Choose a certified fingerprint
    14) 7 Google
    15) Find an Android 11/12 device (Pixel 5 = 26 and 1/ 2)
    16) Follow the instructions
    17) Restart
    18) Clear Google Play Store Data
    19) Check SafetyNet (should pass)
    20) Open DenyList
    21) Check all apps that do not require root privileges
    You're a godsend. Thank you so much.
    1
    Bluetooth calls not working, is there any way to make it work or will you add the patch soon? The truth is that I'm lazy to go back to another rom xd. Thank you very much for the tremendous work you do.

    Works without problems with latest build on s10+ here...
  • 7
    Updated with September securitypatch and more lineage features
    3
    Was this not the AOSP thread lol , I was looking for it , but my video brought me here , Congratulations on the very first LineageOS20 for S10 !!! BOEM !!

    This was, but in OP I wrote it'd eventually be replaced by lineage ASAP.
    User experience on pure AOSP isn't really good, so I don't see why you would prefer that over lineage :p
    2
    Hi,

    Flashed this ROM on my s10e from scratch, with no gapps. So far so good, no issue until now. Lygisk is working. Currently flashing today's version.

    Quick question : is it safe to sideload from a sdcard instead of the USB cable ? my USB port is flappy ...

    THanks Linux4, very nice work !

    Bye.
    2
    This was, but in OP I wrote it'd eventually be replaced by lineage ASAP.
    User experience on pure AOSP isn't really good, so I don't see why you would prefer that over lineage :p
    I use Lineage OS 20 Unofficial on my Galaxy S10. Considering that it is in the development phase, I am very satisfied. Mostly everything works except for some little things I mentioned here. I used Google Contacts to import the address book and it worked for me. Now the contacts that come with Lineage OS have the contacts I imported. Thank you.
    2
    Thx it works fine!! Lygisk works and the gapps too. but the Recovery works as if i flashed the boot.img & dtb.img from "lineage-20.0-20220907-UNOFFICIAL-beyond1lte.zip" with Heimdall in Linux, bevor that it shows me Error and i have flashed the vbmeta_disabler before the recovery!!!and its starts LineageOS 20 Recovery and i have via sideload flash the LineageOS20 and the Gapps13 and all fine,than i have install Lygisk and copy the boot.img vom the "lineage-20.0-20220907-UNOFFICIAL-beyond1lte.zip" and copy it to sdcard and patch it with lygisk and copy the patched_boot.img to PC and renamed it to boot.img and packed it with 7zip to boot.tar and flash it with odin!!
  • 14
    1607247455067.png


    LineageOS is a free, community built, aftermarket firmware distribution of Android 13, 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
    • DO NOT Report bugs while having Magisk installed (especially with Zygisk enabled)
    • 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
    Linux4
    Source Code: https://github.com/LineageOS
    Kernel source: https://github.com/Linux4/android_kernel_samsung_exynos9820/tree/lineage-20.0
    10
    Requirements:
    • Any Q, R or S based firmware installed on your device.

    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 + Bixby 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, Bixby 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, Bixby 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 Lygisk by repeating above step
      with their zip/apk

    Magisk
    As this ROM has a working ramdisk sideloading the magisk apk is enough, just as it is
    on every other device, no bootimage with magisk included or installing to recovery is needed!
    I also strongly recommend to use Lygisk instead,
    which is a fork of Magisk that aims to improve support for devices with FBE that can't (and shouldn't anyways!) decrypt userdata in recovery,
    this will also fix OTAs getting stuck while having installed Magisk.
    7
    Features

    • SELinux enforcing
    • AES-256-XTS FBE encryption
    • All cameras are working
    • Ramdisk is working

    Known issues

    • VoLTE/VoWiFi
    • You tell me
    • Likely more
    7
    Updated with September securitypatch and more lineage features
    3
    Was this not the AOSP thread lol , I was looking for it , but my video brought me here , Congratulations on the very first LineageOS20 for S10 !!! BOEM !!

    This was, but in OP I wrote it'd eventually be replaced by lineage ASAP.
    User experience on pure AOSP isn't really good, so I don't see why you would prefer that over lineage :p