yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Linux4:
View attachment 5277329

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:

Builds: beyond0lte, beyond1lte, beyond2lte, beyondx

GApps: https://wiki.lineageos.org/gapps.html

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.

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

Kernel source: https://github.com/LineageOS/android_kernel_samsung_exynos9820
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Linux4:
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.

Connect the device to a Wi-Fi network.

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.

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”.

Your device will reboot, you may now unplug the USB cable from your device.

The device will demand you format userdata, please follow the onscreen instructions to do so.

Run through Android Setup skipping everything you can, then connect the device to a Wi-Fi network.

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

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

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.

Factory reset using Factory reset -> Format data/factory reset

Warning: Unlike TWRP this will also erase internal storage!

Sideload LineageOS by enabling sideload via Apply Update -> Apply from ADB

Then run adb sideload <path to your lineage.zip> on your PC

Optional:

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!
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Linux4:
Features

SELinux enforcing

AES-256-XTS FBE encryption

Latest Linux 4.14.x kernel

All cameras are working

Ramdisk is working

Dolby atmos is working

Known issues

VoLTE/VoWiFi

You tell me
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] mcgi5sr2:
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.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Linux4:
Both Q and R firmwares should work

I'll add that and a guide for updating firmware later
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] DerSteppo:
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).
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Linux4:
Sure I can add that too, SELinux is enforcing and all cameras are working (on beyond1lte at least)
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] counti:
Is this the new version of Modpunk's Lineage OS 17.1, so with selinux enforced and encrypted?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Linux4:
This is based on new trees but indeed reuses some stuff from old whatawurst trees.

But yes it's also FBE encrypted and enforcing.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] DerSteppo:
Thank you so much and keep up the great work!
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] counti:
Is it possible to upgrade from Modpunk's Lineage OS 17.1? With TWRP from Modpunk?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Linux4:
No, sorry

And TWRP won't be supported at all here, see Post #2
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] counti:
But Lineage Recovery has no backup function right? that's a pity, How do you make backups?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Linux4:
Do it with some app like https://f-droid.org/en/packages/dk.jens.backup/ ?

Or disable FBE encryption if you are fine with that and use TWRP ...

As long as FBE is enabled you'll eventually corrupt your /data partition by using TWRP.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] hi_s10e:
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
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] cgirerd:
Not possible to use Samsung camera on any AOSP ROMS unfortunately
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] wora92:
@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?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Linux4:
I'm thinking about doing it in the future, but can't promise anything
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] hi_s10e:
:( thank you
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] dhhash:
is there anyway to make volte work ?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Linux4:
Do the same thing with dtbo.img from lineage zip (just that you don't need to rename it in this case)
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Gigantkiller:
flashed you DTBO too, now i can access the lineageos recovery :D. In recovery, i formated data like descripted, at the moment, i am flashing. Is there a possibility to sponsor you a coffee? Greetings
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Linux4:
Nice

Thanks for considering a donation, there's a paypal link in my profile
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Gigantkiller:
Hello, On no, it stopped with 47% serving on cmd, (for 10 minutes no change), on mobile there is writen "Restoring Google Services Framework". Any idea? Thank you very much.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Linux4:
That 47% thing is a common "bug" when using sideload (also on other devices) but it's not really a problem, the output on device's display is what really matters

Where do you get that message? For sure that's not from recovery
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Gigantkiller:
I don't know what i did wrong, i repeated whiping and installing, now LinageOS bootscreen apppears correctly and system boots
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] FletchNZ:
Loving this rom, instructions were great.

The only thing I cant get working is android auto, anybody know what I need to do there?

App installed but Car just wont detect it
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Gigantkiller:
AA is working for me out oft the boy, but only the Version 6x, Version 5x just wants to update and refuses to work
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] wora92:
@Linux4 I took your 18.1 branch and built the rom myself. Its security patch level is still May. I can see that you updated your 18.1-experimental branch which includes security patch level June and also a newer kernel. Is it safe to pull and build your experimental branch or would I run into problems doing so?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Linux4:
You would break at least camera by doing so

Should be safe to use lineage-18.1-testing tho (which already includes june secpatch too, experimental is for some other stuff)
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] wora92:
Thx. Do you take Paysafe Cards for donations?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] FletchNZ:
Thanks for letting me know. The app works for me too, but it wont connect to the android auto headunit in the car. - Are you able to test that and see if it works?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Gigantkiller:
Hello,

sorry i was unclear, the v6x works with the car headunit, did you flash gapps just before first time booting up lineageos?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] EvanEvans:
Thank you @Linux4 for this ROM, works like a charm on my S10! Just found my way to your donation button, thanks again and keep up the good work!
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] wurstel:
Hey @Linux4 will this ever be an official lineage release?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Linux4:
It's planned in the future
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] cgirerd:
Thanks a lot for considering that! :)
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] UsernameNotRecognized:
Hi folks. It's me again, the one guy who kept complaining about random resets. I finally figured out how to prevent this from happening.

I primarily use wireless charging for charging the device and let the device "be" for hours on it. Most things I can access through my PC (e-mail, calls, whatsapp, etc). When it is on this charger the device used to randomly reset every now and then.

After installing ACC:

GitHub - Magisk-Modules-Repo/acc: Upstream repo:

Upstream repo: . Contribute to Magisk-Modules-Repo/acc development by creating an account on GitHub.

github.com

And setting a config using ACCA:

Advanced Charging Controller (ACCA) | F-Droid - Free and Open Source Android App Repository

AccA empowers users to have full control over the device charge cycle.

f-droid.org

To 5-85-90 (shutdown, start, stop) I no longer got resets.

It seems that the random resets have to do with the battery being near full and being on a wireless charger.

Is there anyone else who can test this?

For me this is an acceptable solution as I wanted to have ACC anyways to improve battery life.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Linux4:
If you grab /proc/last_kmsg after it happened I can maybe even figure out a proper fix

I just don't have a wireless charger myself so can't test

If you have any problems with getting that log feel free to pm me
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] UsernameNotRecognized:
When I tried getting the kmsg it didn't really say anything at all. I've attached it here. But maybe you can use it?

I've disabled ACC, rebooted and put the phone on the charger. This shouldn't take much longer than a couple hours to get a fresh last_kmsg.

Edit: I've tried like 10 times to attach a file. How would you like me to send you the file?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Linux4:
Ah sorry didn't notice your edit until now

Maybe try on telegram (group link is in OP) or in pm here on xda?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] UsernameNotRecognized:
Since the OTA I've done yesterday I haven't seen it happen again. Maybe that fixed it?

I'll send you the kmsg if it happens again.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] starbright_:
Using the App batteryChargeLimit (FDroid). Maybe that works better for you instead of Magisk Module.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] starbright_:
Oh, new release is out! Thanks @Linux4 .

I just don't remember how to update (Magisk/micgroG installed). I think it was somewhat like (please correct me if I am wrong).

- disable Magisk (or even uninstall ?)

- do OTA

- reboot

- boot to recovery

- sideload Magisk

- boot

- enable modules / reinstall microG.

And it needs do generate the spoofing patch. @Linux4: would be great that would be included in ROM. It doesn't harm if not used.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] starbright_:
Anyone else use that ROM with microG?

I do have problems that phone doesn't wake up and rings/notify my (WA, Signal, Fritzphone) after around 30min of no usage. Maybe many use it often enough, but for me this is a problem. The only I think I could do (disable battery optimization) is done already. Any idea? I just don't know which part (me, ROM or microG or just some setting) is responsible for this misbehaviour.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Spyop3:
I'm also using it with magisk /microG, my experience is that it works but with a barely ok reliability.

My current set-up is magisk sideloaded from recovery and microg and spoof as magisk module.

Sometimes when updating I have strange behaviour with all the app disapering from microg cloud messaging but still able to provide notification for some. Usually after a while (~1-2 months) they come back

Seems to me that I don't experience your 30 minutes issue
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] ZeroCount:
I'm on ambasadii rom. Can I just do wipe in twrp and flash this rom?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Linux4:
Do not use TWRP

Otherwise yes you can if that ROM is using Q or R based firmware.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] starbright_:
For push notification re-register do:

I reduced in microG/CloudMessaging/Extended the time in wifi from 30min to 10min. Maybe this helps.... Do you use Fritzphone app ?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Spyop3:
Thanks for the trick, will try next time

No I'm not a user of Fritzphone. It's set to 30 on my side ;)
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] starbright_:
I am not exactly sure what this time period (WiFi default 30min) means. Some kind of a ping - "hi, I am still alive"? I would suppose a shorter period prevents device from losing connection. But is difficult to debug.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] starbright_:
Some knows how to edit a file in /vendor/etc ? I did remount it as rw, but still I can change it due to some missing permissions.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] starbright_:
Some note about OTA update of this ROM. This is fairly easy (only italic steps below).

But I am using Magisk/microg - with that some additional steps are required - all is listed below. Don't be afraid, it is done in less than 5 minutes.

* Make sure your firewall allows the "Updater"

* If you uses Magisk, download the apk and rename it to zip and put it to SDcard (otherwise a PC is needed for sideload - see below)

* Go to Settings/System/Extended/Updater

* Search for update and download

* I recommend disable data traffic now until the FW-update is completed and microG/firewall is operational again, otherwise your system might be open for some time.

* start update

Device will boot into recovery and does the upgrade. It seems that the update is not completely finished in case of Magisk is installed. In this case force a restart by "Vol- + Power" for a few seconds if update hangs at around 95% (can bee roughly seen in the timeline)

* After update has finished: boot again to recovery

* Now Either

a) just do the update with already downloaded Magisk.zip (Apply Update/Update from SD_card) or

b) Enable ADB sideload by Apply Update/Apply from ADB and do an adb sideload from PC of Magisk.apk or zip (no matter here)

* boot into system

* in case of microG check (and give if required) microG give all the required permissions

* If all is set and done you can enable data connection again

On thing I was thinking about:

There are is one module needed for spoofing (spoof_AVDapi30). I found that an update of it is not required. Not sure whether this will be the case for other updates of 18.1 too, but keep an eye on it.

Enjoy the ROM and thanks to @Linux4
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] EvanEvans:
Thanks for this description, yesterday I just did an OTA update on good luck, and root stopped working (using Magisk/MindTheGapps). I just followed the following steps and now it all works again!

I (only) used:

- boot again to recovery

- just do the update with already downloaded Magisk.zip (Apply Update/Update from SD_card)

- boot into system
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] starbright_:
Sure, I just did it more in detail and with different methods + mendtion some steps that might be obvious. It is just not clear to me why to use a custom ROM but taint it with Gapps ;)
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] doeternietoe:
Hi,

Just installed this ROM and it all looks great. Thanks, Linux4 !

I use Magisk and microG. I can confirm that signature spoofing following the guide mentioned by flortsch works fine. The guide tells you to use Linux, but with powershell (I expect cmd would also work), 7zip and a little bit of adaptation you can do it in windows as well.

I have just one question: Would it be possible to open the camera app from the lockscreen, without unlocking? On previous Modpunkt builds this was definitely possible.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] kullanici32:
Info about beyond0lte | LineageOS Wiki

wiki.lineageos.org

Official support for the s10 and note 10 family is coming soon! thanks linux4
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] wora92:
That's such fantastic news. Huge thanks to all the people making this possible, especially @Linux4, @modpunk, @derf elot, and all those contributing code, moral support, testing, etc.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] mikk150:
I have been using this rom for quite some time. been happy with it BUT today out of random I took my phone from wireless charger, and it was SCORCHING HOT and it was actually discharghing while on wireless charger.

I did adb shell inside phone, did htop to see what process was using CPU but nothing there.. everything was nice and idle(CPU wise) but I noticed that load was through the roof(probably some IO issue?)

I have logcat before I did reboot
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] gaglia83:
This is fabulous, thanks @Linux4 !

One question: I see that the installation guide (both on this thread and on the official Lineage website) does not mention anymore flashing the vbmeta.img file together with the recovery, as in:

heimdall flash --RECOVERY recovery.img --VBMETA vbmeta.img --no-reboot

Does that mean that it is not required anymore to flash it separately?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Linux4:
Yes it's no longer required.

If you only flash recovery you don't need the disabled vbmeta image, and the ROM zip already includes the one you'll need for the ROM to boot
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] gaglia83:
Wonderful, thanks! This also applies if installing Magisk I guess?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] :
Hi @Linux4

Thank you for your work.

Briefly, for beyond0lte there was a release on LOS Official https://download.lineageos.org/beyond0lte it seems to be pulled down as it;s not available anymore.

While it was available, I installed successfully. What would I need to do once the Official release is back up again? or will I just need to do a normal update via System > Updater, thanks

Red.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Linux4:
Updating via Updater will work.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] curiousrom:
FYI Galaxy Note10 - d1 -- lineage-18.1-20210802-nightly-d1-signed.zip available: https://download.lineageos.org/d1

***
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] exaveal:
You mean with "resets" that you have to make a complete reinstall?

Holy ****, I was wondering if I am the only one having these problems. As I care about 3 S10e for my family, and I had that problem already on all 3 devices (seeming) randomly this was not a problem especially on my device.

And I want to say again: I don't want to blame Linux4 because I love his work and I am very happy to have somebody caring about S10e! He just didn't believed me in first step and I was & am still not able to prove him (due to my lack of Android-knowledge).

Yesterday I had the problem again on one of the phones. And I am know pretty sure, it's somehow related to an empty battery. Meaning: When I start the phone, and the battery is already empty it will crash/shut off during boot. And then, I will never be able to boot again. So I have to start at the beginning and do a Factory Reset.

So my question: Do I understand, you have the same/simliar problem with a full battery? Because it's me, the guy how was complaining in Telegram Chat about randomly resets xD
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] UsernameNotRecognized:
I took my problem to the telegram chat and we figured out what the problem was, when the device was idle and charging there was a critical buck in my gapps that caused the google drive (presumably sync) to crash the device. With crash I mean a soft-reset, only need to unlock the phone.

This is very annoying as I was effectively unreachable at that time.

After some suggested fixes (which didn't work) we decided to do a clean reinstall, that fixed it.

Sorry, not the same problem as you have.

But then again, I don't think my phone's battery has ever went below 20%...
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] curiousrom:
FYI Galaxy Note10+ official ROM is available: https://download.lineageos.org/d2s

***
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] joeffery.sylvester:
Sorry, noob here. May I know how to move a bit the wifi, signal bar, battery icons? Am using S10+, and those icons were covered by the cameras cut out. Thank you.