[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
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
3,436
809
60
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
3,436
809
60
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
3,436
809
60
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
3,436
809
60
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

  • There are no posts matching your filters.
  • 1
    If anybody is interested: To my great surprise, I did not need to wipe anything when adb sideloading from this inofficial rom to the official, maintained one. I won't give any guarantees, however ;-) !
    Same thing here : upgraded from this unofficial to the official without any wipe, and no issue so far.
    I advise anyone to do the same, because this one will not be updated anymore I think, and the official one has one update every week (I've done at least 5 or 6 OTA upgrades without any issue)
  • 26
    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
    17
    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.
    11
    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
    6
    For everyone who upgraded to HVJ1 firmware, for all models there's a HVI4 build that has binary version 'G' too, at least for some CSCs, you should be able to downgrade to that and have it working again.
    I'd recommend to use samfw.com over sammobile tho since that one has faster free download.
    FYI that problem cannot be resolved without first getting new kernel sources from samsung... and next time: Don't update your firmware manually anymore, I will take care of it on 20.