[ROM][UNOFFICIAL][RAMDISK][11] LineageOS 18.1 for Galaxy S10e/S10/S10+/S10 5G Exynos

Search This thread

Linux4

Senior Member
1607247455067.png


LineageOS is a free, community built, aftermarket firmware distribution of Android 11, 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
Linux4
Source Code: https://github.com/exynos9820-dev
 
Last edited:

Linux4

Senior Member
Requirements:
  • Any Q or R 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 and a disabled vbmeta image
    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
    together with a disabled vbmeta image.
    If using Heimdall use: heimdall flash --RECOVERY recovery.img --VBMETA vbmeta.img --no-reboot
    You can find a disabled vbmeta image attached to this post.
  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 magisk 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!
 

Attachments

  • vbmeta.img
    4 KB · Views: 234
Last edited:

mcgi5sr2

Senior Member
Oct 15, 2012
1,052
1,806
Sheffield
Thanks for providing sources and the doing the hardwork to bring up the device, could you also provide what firmware version is required?

Also a simple guide for flashing firmware, would be helpful.
 

DerSteppo

Senior Member
Aug 10, 2017
174
38
Frankfurt
Thank you so much for your work!

Can you provide a little more information about what's working and what bugs people might expect? I believe many are wondering about SELinux status and camera (quality and if all are usable).
 

Linux4

Senior Member
Thank you so much for your work!

Can you provide a little more information about what's working and what bugs people might expect? I believe many are wondering about SELinux status and camera (quality and if all are usable).
Sure I can add that too, SELinux is enforcing and all cameras are working (on beyond1lte at least)
 
  • Like
Reactions: DerSteppo

hi_s10e

New member
Apr 14, 2021
2
0
is it possible to use samsung camera on aosp roms? i have s10e unfortunately can't focus on zgcam and it has color shifts in some cases. i want to flash aosp but cant find a proper camera app
 

wora92

Senior Member
Sep 19, 2019
61
27
@Linux4 Thanks for you nice work, really appreciate it.

I was waiting for an update on Modpunks 17.1 version. Now it seams it is dead and no official LineageOS builds exist to regularly update that version. It's a bit annoying to format and set up the OS all over again every half a year or so. So do you intend to push your work to become an official version?
 

Linux4

Senior Member
@Linux4 Thanks for you nice work, really appreciate it.

I was waiting for an update on Modpunks 17.1 version. Now it seams it is dead and no official LineageOS builds exist to regularly update that version. It's a bit annoying to format and set up the OS all over again every half a year or so. So do you intend to push your work to become an official version?
I'm thinking about doing it in the future, but can't promise anything
 

Top Liked Posts

  • There are no posts matching your filters.
  • 7
    LOS 18.1 for our S10 device? SELinux enforcing? FBE? Open-source device tree? Where can I donate for this awesome work?
    6
    Update on feedback on the ROM, its been a couple of days, and this is easily my daily driver. Only issue I encountered was through Gapps not having the dialer app set as the default. Bizarrely the dialer was still semi functional. The finger print sensor is now fixed as well.

    This is a an easy successor to ModPunks great work, and I hope that Linux4 finds the time to become a maintainer for our device. Thanks for the great work
    4
    I managed to patch the system in order to enable signature spoofing for MicroG by following this guide. Here is a zip file I created for my s10e with a patched services.jar one must flash via Magisk.
    3
    I managed to patch the system in order to enable signature spoofing for MicroG. For this, I followed this guide. Here is a zip file I created for my s10e with a patched services.jar one can flash via Magisk.

    It's working great thx !

    @Linux4 Could you add it to the rom ?
    3
    Hi, new user here.

    I'm new to LineageOS and I'd like to give this ROM a try.

    I have an S10 straight out of the box with factory defaults, running stock android 11, One UI 3.1 and firmware G973FXXU9FUBD.

    I'm on Ubuntu so I don't have Odin. I have heimdall installed but have no idea how to use it. I also have downloaded the three files instructed in the first posts (the vbmeta.img, recovery.img and the actual LineageOS.zip) onto my laptop but again I'm not familiar with flashing recovery files or even sideloading the actual ROM.

    Are there any step-by-step instructions available how to do a complete first time installation of this ROM without Odin and on Ubuntu? By this I really mean intstructions on when to press which button on the phone, when to connect and disconnect the usb cable, when to perform the factory resets and data wiping and the complete commands needed and all this in the right sequence.

    I was able to complete the pre-install instructions so the OEM is unlocked :)

    Thanks, and thanks for the work on a secure ROM.
    1) put phone into download mode
    For this, press Volume Down + Bixby Button while plugging in a USB cable between your Laptop and your Phone. When the phone has booted into download mode, press volume up to allow flashing.

    2) flash recovery
    Run this command on your laptop: sudo heimdall flash --RECOVERY recovery.img --VBMETA vbmeta.img --no-reboot

    Note: the --no-reboot flag is important, so you have the chance to manually reboot your phone into recovery mode after flashing, otherwise, the system restores the original recovery.

    3) manually reboot into recovery (this is a little bit tricky)
    When flashing has finished, remove the USB cable. Next, hold Volume Down + Bixby + Power Button to reboot the device. When the device shuts down, hold Volume Up + Bixby while plugging back in the USB cable. When the device turns on, release the buttons, and wait for the device to go into the Lineage OS recovery.

    4) follow the remaining instructions as shown in the second post on this thread
    To perform a side load, run adb sideload the-zip-you-want-to-install.zip
  • 24
    1607247455067.png


    LineageOS is a free, community built, aftermarket firmware distribution of Android 11, 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
    Linux4
    Source Code: https://github.com/exynos9820-dev
    11
    Features

    • SELinux enforcing
    • AES-256-XTS FBE encryption
    • Latest Linux 4.14.x kernel
    • All cameras are working
    • Ramdisk is working

    Known issues

    • Miracast not working (Google removed it in AOSP Pie)
    • VoLTE/VoWiFi
    • You tell me
    7
    Requirements:
    • Any Q or R 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 and a disabled vbmeta image
      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
      together with a disabled vbmeta image.
      If using Heimdall use: heimdall flash --RECOVERY recovery.img --VBMETA vbmeta.img --no-reboot
      You can find a disabled vbmeta image attached to this post.
    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 magisk 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!
    7
    LOS 18.1 for our S10 device? SELinux enforcing? FBE? Open-source device tree? Where can I donate for this awesome work?
    6
    Update on feedback on the ROM, its been a couple of days, and this is easily my daily driver. Only issue I encountered was through Gapps not having the dialer app set as the default. Bizarrely the dialer was still semi functional. The finger print sensor is now fixed as well.

    This is a an easy successor to ModPunks great work, and I hope that Linux4 finds the time to become a maintainer for our device. Thanks for the great work
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone