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

Search This thread

wdevil12

Senior Member
Oct 30, 2013
342
208
Samsung Galaxy S10e
I DID IT!:
1 Download and install Twrp(official)+vbmeta.img (with Verify Boot disabled) + Rom + Multidisabler + Magisk apk (install it from Twrp)...
and you will get Twrp+Root+SELinuxEnforcing!
Obviously make a backup of your data(you need to format Data partition on Twrp if it is encrypted!)
Multidisabler seems to be the main reason why I succeeded in booting it up. Without flashing it, it gave me bootloop on logo.
 

Linux4

Senior Member
Multidisabler seems to be the main reason why I succeeded in booting it up. Without flashing it, it gave me bootloop on logo.
This won't be supported here tho, that's caused by ****ty TWRP not correctly wiping everything on /data on "wipe"
Multidisabler then disables encryption which makes it work even tho it wasn't fully wiped ...
As I said if you do that you won't get any support from my side.
 
  • Like
Reactions: arcatarc
what is the default resolution? is it possible to change the resolution?

You can't change the resolution, but there is a scaling feature, that can adjust the size of UI elements. You can access this from Developer options > Smallest width. Then adjust the font size if necessary. I do this on every device, as the best looking UI is neither too small nor too large.

Usability test:
- Pull down notifications to reveal Quick tile icons
- Quick tile icons should match the size of your finger
- Then reduce DP size so the icon is slightly smaller, but not much
 
  • Like
Reactions: kriz_ and Keule-Tm

Linux4

Senior Member
You can't change the resolution, but there is a scaling feature, that can adjust the size of UI elements. You can access this from Developer options > Smallest width. Then adjust the font size if necessary. I do this on every device, as the best looking UI is neither too small nor too large.

Usability test:
- Pull down notifications to reveal Quick tile icons
- Quick tile icons should match the size of your finger
- Then reduce DP size so the icon is slightly smaller, but not much

Better use Settings -> Display -> Display size maybe ...
 
  • Like
Reactions: kriz_

wora92

Senior Member
Sep 19, 2019
72
28
@Linux4 Thank you for keeping that project going.

I'd like to take your sources to build the rom for myself. Would you provide an how-to for building the rom with your sources?

That would be great.
Thanks a lot.
 
I did some testing. USB-C out for connecting to an external display is not working correctly.

  • When set selinux to permissive, output to monitor works.
  • Monitor does not automatically detect device.
    - It first requires turning off monitor while device is connected
    - then turning it back on. (when selinux is set to permissive).
I will post a logcat soon.
 
  • Like
Reactions: Keule-Tm

7hr08ik

Senior Member
Oct 8, 2011
258
95
Hey guys,

After yesterdays update, Magisk is a Lil bit broken. I have lost all root functionality

Screenshot_20210511-102514_Magisk.png


Running plain S10.
I have rebooted a couple of times. I think I just need to re-sideload Magisk, but I wanted to check first.
 

7hr08ik

Senior Member
Oct 8, 2011
258
95
OK, so it worked. Sideloading the apk again, has re-enabled root functionality.

I checked the OP, and I can't see anything about having to re-sideload the apk. Is this a bug or a feature? :p

I was just thinking if its a feature, a warning/message about this on the OP would be helpful

Thanks
 

Linux4

Senior Member
OK, so it worked. Sideloading the apk again, has re-enabled root functionality.

I checked the OP, and I can't see anything about having to re-sideload the apk. Is this a bug or a feature? :p

I was just thinking if its a feature, a warning/message about this on the OP would be helpful

Thanks
It is a bug in magisk, however topjohnwu is not willing to fix it, see here:


Go blame him if anyone at all.
 
  • Like
Reactions: bertino

Nosepull

Senior Member
Jan 9, 2015
211
38

El Dun

Member
Jul 3, 2014
19
1
Hi, I have a question about this ROM and sadly at current no time to try this out on my own.
Does this ROM support High-Res over USB-C and do (DJI) drones work with it?
I'm asking because I have this problem with Ivans Lineage OS version:

Hi, thanks for maintaining this ROM.
after I saw in changelog you fixed USB-C audio I tried it out, but for me, High-Res audio over USB-C is still not working, basically I have the same problem I posted last year:


I've also tested using my DJI drone with this ROM and did not get it working, while the usual warning message appears if the app is allowed to access USB, after that nothing happens. It's 100% working on stock and I did the same procedure with this ROM, also I've tried troubleshooting but couldn't get any further.
It is quite interesting that I only found this problems with AOSP ROMs, but not with stock ones, so do other (Qualcomm-based) devices have those problems with AOSP ROMs too?
@Linux4 Does this ROM have the same USB-C problem as current AOSP ROMs for the Samsung Galaxy 10 series and do you think it is solvable?
 

kybsmds

Member
Mar 20, 2021
9
2
Hi all,

I have a couple of questions about upgrading the LineageOS in this thread to the latest version and the backup process of apps and data.

My device is S10 SM-G973F running LineageOS from this thread 18.1-20210415-unofficial-beyond1lte. I have not rooted the device. I don't have any google related installed, neither do I have magisk. Just a clean LineageOS installed with a couple of apps from F-Droid.

I noticed that there is an update available lineage-18.1-20210510-unofficial-beyond1lte.zip and also the corresponding updated recovery image. This is my first time using a custom rom, the first install went smoothly and I have been happy with the rom and now I would like to upgrade to the latest version of this rom.


The upgrade procedure:

1) In my device in the Settings -> System -> Updater -menu I can see LineageOS 18.1 dated May 10th 2021 available. Is it actually possible to download and update the OS via this method and if so, will it update the recovery as well? Will this wipe my apps and data in the process?

2) Or should I upgrade by flashing the updated recovery image with heimdall (my operating system is Ubuntu) and then sideloading the LineageOS via adb commands? If I need to go with this method, do I need to do the wiping as well, and if so, what should be wiped/formatted?


Backup of existing apps and data:

1) I tried to look for an app to do a backup and bumped into OAndBackupX, but this app requires root so this is not possible in my case. Is there any app available which could do a backup without rooting the device?

2) I found out that you can backup apps and data with adb (i have this installed on my laptop already) so could this be a feasible option? I actually would prefer this option because then I would have the backup on my laptop instead of having it in my phone.


Any step-by-step instructions on the upgrade procedure and doing a backup would be appreciated and please feel free to correct me if I have misunderstood something.

Thanks!
 

Nosepull

Senior Member
Jan 9, 2015
211
38
Hi all,

I have a couple of questions about upgrading the LineageOS in this thread to the latest version and the backup process of apps and data.

My device is S10 SM-G973F running LineageOS from this thread 18.1-20210415-unofficial-beyond1lte. I have not rooted the device. I don't have any google related installed, neither do I have magisk. Just a clean LineageOS installed with a couple of apps from F-Droid.

I noticed that there is an update available lineage-18.1-20210510-unofficial-beyond1lte.zip and also the corresponding updated recovery image. This is my first time using a custom rom, the first install went smoothly and I have been happy with the rom and now I would like to upgrade to the latest version of this rom.


The upgrade procedure:

1) In my device in the Settings -> System -> Updater -menu I can see LineageOS 18.1 dated May 10th 2021 available. Is it actually possible to download and update the OS via this method and if so, will it update the recovery as well? Will this wipe my apps and data in the process?

2) Or should I upgrade by flashing the updated recovery image with heimdall (my operating system is Ubuntu) and then sideloading the LineageOS via adb commands? If I need to go with this method, do I need to do the wiping as well, and if so, what should be wiped/formatted?


Backup of existing apps and data:

1) I tried to look for an app to do a backup and bumped into OAndBackupX, but this app requires root so this is not possible in my case. Is there any app available which could do a backup without rooting the device?

2) I found out that you can backup apps and data with adb (i have this installed on my laptop already) so could this be a feasible option? I actually would prefer this option because then I would have the backup on my laptop instead of having it in my phone.


Any step-by-step instructions on the upgrade procedure and doing a backup would be appreciated and please feel free to correct me if I have misunderstood something.

Thanks!
I simply used the internal updater to update ROM and recovery and everything went fine. No data loss.
For backups I'd recommend rooting the device with Magisk. Any other non-root backup method seems not really so much better than the standard Google Drive backup IMHO.
 
  • Like
Reactions: kybsmds

kybsmds

Member
Mar 20, 2021
9
2
I simply used the internal updater to update ROM and recovery and everything went fine. No data loss.
For backups I'd recommend rooting the device with Magisk. Any other non-root backup method seems not really so much better than the standard Google Drive backup IMHO.

Thank you for your answer.

I performed the update using the internal updater and can also confirm everything went well and no data loss.
 

Top Liked Posts

  • 1
    Hello,
    i was using S10+ stock with root and magisk and twrp for the last years. Today i flashed Lineago OS recorvery like descripted, but i can't access recovery with Volume up, power and bixby. it just shows the red message. So i flashed https://androidfilehost.com/?w=files&flid=315865 in the hope to make it work, and reflashed LineageOS recorvery like descripted here. Now it's just staring over and over again. Any help possible?

    Edit: in the top left corner there is writen in a text box:
    Rev. Check Fail. Device: 8, Binary:2 (DTBO)
    You were on Pie firmware before by any chance?
    Also on download page there's a link "Firmware update" you could try with this
  • 2
    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.

    With the latest update of the ROM I get stuck on loading lineage screen with this module activated in Magisk maybe need an update

    @flortsch Do you have the same problem ?

    If you have same problem you can try this version I just made based on @flortsch linked tuto

    And it works fine for me :)
    1
    Well this just got weird. It seems that youtube music (vanced) is removed (as in uninstalled/gone) after such a reboot happens. This does not happen if i manually reboot.

    The reset reason is also system_server...

    The first would hint at a root/vanced issue, but the latter more LOS. Weird stuff. Anyone got some thoughts on this?

    Edit: appears that this is a known bug that should've been fixed, but the fix probably didn't account for this type of reboot. Also happens without vanced installed. I'm just going to hope it doesn't happen when I get a call...
    Instead of youtube/vanced you can give NewPipe a try - from FDroid store. It offers a lot of good OSS stuff.
    1
    @Linux4 Would you be so kind to post your roomservice.xml? I'd like to use your repository to try building LOS18 myself. Thank you!
    Code:
    <project name="LineageOS/android_device_samsung_slsi_sepolicy" path="device/samsung_slsi/sepolicy" remote="github" revision="lineage-18.1" />
    <project name="LineageOS/android_hardware_samsung" path="hardware/samsung" remote="github" revision="lineage-18.1" />
    <project name="LineageOS/android_hardware_samsung_nfc" path="hardware/samsung/nfc" remote="github" revision="lineage-18.1" />
    
    <project name="exynos9820-dev/android_device_samsung_beyond1lte" path="device/samsung/beyond1lte"  remote="github" revision="lineage-18.1" />
    <project name="exynos9820-dev/android_device_samsung_exynos9820-common" path="device/samsung/exynos9820-common" remote="github" revision="lineage-18.1" />
    <project name="exynos9820-dev/android_kernel_samsung_exynos9820" path="kernel/samsung/exynos9820" remote="github" revision="lineage-18.1" />
    1
    Great,

    Thank you! Question: How do you include vendor files from android_vendor_samsung_exynos9820-common? I dont want to pull those files from the phone but from the repository instead. Any idea on that?

    Just add add the vendor repos for the devices you need to the roomservice.xml like this:
    XML:
        <project name="exynos9820-dev/android_vendor_samsung_beyond1lte" path="vendor/samsung/beyond1lte" remote="github" revision="lineage-18.1" />
        <project name="exynos9820-dev/android_vendor_samsung_exynos9820-common" path="vendor/samsung/exynos9820-common" remote="github" revision="lineage-18.1" />
    1
    Hello,
    i was using S10+ stock with root and magisk and twrp for the last years. Today i flashed Lineago OS recorvery like descripted, but i can't access recovery with Volume up, power and bixby. it just shows the red message. So i flashed https://androidfilehost.com/?w=files&flid=315865 in the hope to make it work, and reflashed LineageOS recorvery like descripted here. Now it's just staring over and over again. Any help possible?

    Edit: in the top left corner there is writen in a text box:
    Rev. Check Fail. Device: 8, Binary:2 (DTBO)
    You were on Pie firmware before by any chance?
    Also on download page there's a link "Firmware update" you could try with this
  • 28
    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
    12
    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
    9
    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