yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] flortsch:
Did you flash any Magisk module? Maybe you flashed one that messed around with SELinux.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] flortsch:
I know from modpunk's 17.1 rom that one has to modify the /etc/fstab file where mounts are defined to disable FBE. But I can't tell exactly how it works.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] flortsch:
There are multiple ways to backup (adb, Seedvault, OAndBackupX), but you have to try them out if they work for your use-case, because these user-land backup solutions don't perform as well as raw disk backups via TWRP. For example, some banking apps force reconfiguration even after user data has been restored.

For me personally, OAndBackupX worked best from all the options. Note that it requires root, i.e., Magisk. But also here, some apps (like Fennec browser from F-Droid) just crashed after restore, so test it for your use-case.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] gaglia83:
Thank you @Linux4 for this great work, I just installed and works like a charm.

One problem though: disk encryption.

I'm entering a rabbit hole of encryption on Android now. I was not aware that Android 10+ enforces FBE (File-Based Encryption) as opposite as FDE (Full-Disk Encryption). I never realized it because this is not the case on older devices, even if on Android 11, that probably do not have storage and power to support FBE and therefore fallback to FDE, and I was using an older phone before. From what I read, I think FBE looks like a really bad idea that sacrifices user's control on data privacy in exchange for silly amenities such as being able to use the phone as an alarm or for emergency calls even if powered off and rebooted by an unauthorized person.

The build in this thread adopts FBE natively, in fact my beyond0lte came out already encrypted just by installing the ROM (I found no way of disabling it). And this is, I'm sure, also the core reason why you cannot use TWRP with this build. But, most critically, the problem is that native FBE does not seem to allow to have two different passwords, one to insert only one time when the phone boots up, and one (like a PIN or fingerprint) to unlock the screen. This is a very desirable security feature that, I suspect, is not in the best interest of Google&friends to let you have.

Now, I have questions:

1) would it be possible to have this build without FBE enabled? So that if you want it you need to go in Settings -> Security and enable it yourself?

2) Is it possible to undo FDE on this build? Clearly not from the UI, but maybe with a rooted terminal, e.g., Magisk + Termux?

3) A bit off-topic but... If necessary to use FBE, is it at least possible to disable Direct Boot and have two different passwords, one to insert only one time when the phone boots up, and one (like a PIN or fingerprint) to unlock the screen? See this for refrence: http://www.gagliardoni.net/#android_dual_cryptfs_dec_2020
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Linux4:
1) No, due to how FBE works it needs to be enabled by default and cannot be enabled by the user later

2) Very unlikely, even if you'd disable FBE and encrypt via settings (which is for FDE) it will probably fail.

3) Not that I know of, sorry
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] gaglia83:
Thank you for the reply. I know of another LOS 18 build for beyondXlte devices on this community that does come with FBE *not* enabled. That is not really good though, because for some reason also the FDE doesn't work, so it leaves the phone completely unencrypted.

This leads me to think that it is in theory possible to build the ROM *without* FBE enabled by default. The question is whether the alternative is no encryption at all, or the lack of FDE in the other build is fixable.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Linux4:
You can build without, but good luck getting FDE to work on this ...

It's deprecated and not meant to be used on new devices so I won't support it
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] gaglia83:
Understood, no problem, it was more of a curiosity :) thanks again for the great job!
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] starbright_:
This service.jar: Is is under change - so need to be recreated with each update? Or only if major version is changing? How individually is this (s10, s10e, ...?)
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] hornedfiend:
I'm having problems with phone app. For some reason receiving calls it not showing any UI, even after installing and switching to other phone apps like Aurora or Koler. Looks like it's a deep sleep issue.

Anyone else having this issue?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] El Dun:
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:
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] hajkan:
Would this work with G770F or G973F?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] flortsch:
Not an expert here and someone correct me if I am wrong, but as I can see, the services.jar is part of Android and therefore not device specific. So it should be sufficient to update it only when bigger changes happen to underlying Android/LOS.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] starbright_:
Can't find that app - error 404. For me "migrate" does the job well.

Anyone already migrated coming from Ivans LOS, keeping data alive? If someone can remember the steps ... you are welcome. :)

Dirty flash zip and img from TWRP (overwriting it) is ok? Or anything else required?

Spoofing and reinstall microg is next steps?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] tillaz:
Does wireless power share work in this? I can't find it
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Keule-Tm:
Oops... It should be https://f-droid.org/en/packages/com.machiav3lli.backup/ (not .../repo/...).
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Linux4:
Of course it does, check quick settings tiles (it's not added by default so tap on edit)
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] randhackr:
Awesome work! Working great on my s10e. Donated
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] 7hr08ik:
Hey guys.

So tomor im jumping in 😃 Currently running Modpunks 17.1.

I want to follow the above steps to get Google free 😃, are they still valid?

I know this ROM needs Q or R firmware, do I need to flash back to stock, then flash 18? Or can I just plow forward with the above?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] UsernameNotRecognized:
I'm in the same boat as 7hr08ik here, but coming from pixel experience. The experience is great, but the broken call forwarding is dealbreaking. (And, well, the lack of OTA in general).
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Spyop3:
You can just go with it

Backup your stuff before as Lineage recovery wipe everything even sd ;)
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] 7hr08ik:
Sweet.

Wow. Even the SD. Ok Yeah, im gonna do seedvault to USB, and a TWRP (after turning off enc) just incase

Thank you.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Linux4:
No it doesn't wipe external sdcard, I guess he meant "internal sdcard" so internal storage (/sdcard / /data/media)
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] 7hr08ik:
I did wonder. Thanks for clarification
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] [Legenda]:
Hey everyone.

I'm on Ambasadii rom 11 (OneUI). But don't know why. Can't find the thread.

Anyway.

What's the difference between this rom custom? and Ivan meler (the spoofing one) or CrDroid from turboluke ? Sorry I'm clearly lost around lineage solutions here.

And I would like to move on wiht lineage but there is any good photos app? (because samsung stock app photo is clearly great).

Thanks.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] gaglia83:
I can tell you my personal experience but your mileage may vary.

I don't know about CrDroid, but compared to IvanMeler's signature spoofing solution, this one works much better for me. More stable and device encryption works (albeit "only" with Android 11's native solution, file-based encryption rather than full disk encryption, but that's still pretty good). The downside is that you cannot use TWRP (with IvanMeler's build you can) so you are stuck with the default Lineage recovery that is way less functional than TWRP.

TL;DR if you *need* TWRP go for IvanMeler's build, otherwise this one.

Photo app: the best Free one that I know is OpenCamera, works great on this phone.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] UsernameNotRecognized:
So I've followed a combination of instructions provided by linux4 and exaveal and the experience is pretty good. The downside is probably mainly nanodroid. I'm have a LOT of apps that are critically misbehaving. Will this improve if I install mindthegapps?

So far google drive backup/restore is broken and I cannot login with some applications (keep asking me to login, but then "this account is already on this device" or something like that...).

Once again, nothing against linux4, the LOS experience feels great so far.

Edit: OK folks, with mindthegapps the experience is great once again. I'll try and see if bluetooth calling is working.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] [Legenda]:
I want to test CrDroid, apparently, this rom had a good battery life. The only thing, it's to install custom TWRP (from cornasicu). Nothing complicated.

And I want to keep using TWRP because it's more simple and effecient in my case.

Thanks for your advice mate.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] kriz_:
Hello

Thank you for your work.

Is it possible to use this Rom with TWRP + SELinuxEnforcing + without FBE?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] arcatarc:
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!)
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] UsernameNotRecognized:
Hmm, not looking great....

Pair from phone:

If I try to pair from the phone to the PC it seems to try and shows me the keys, but immediately disconnects and reconnects, restarting it. Does it a couple times, than craps out silently.

Pair from PC:

It connects fine, but immediately disconnects.

Perhaps interesting to note, is the different way windows registers the device in my bluetooth settings. Below you can find the S10+.

View attachment 5297543

Note how they are both "Other devices", not audio, and not paired. That's because they disconnect immediately.

If I press connect it turns into this.

View attachment 5297545

But in a second or so it reverts back.

On the Mi 5s plus it does seem to work a bit better, but I'm not sure if it fully works. It did work when I ran default One UI.

I'm a bit out of ideas, if anyone has some suggestions I'm all ears.

Edit: After an hour or so it randomly asked me to connect again, after 2 tries in a row it seemed to stick.

View attachment 5297713

And it seems that call forwarding finally worked!

So once it works it works fine. The issue now is making it work by default (and not randomly after an hour).

It's at least progress compared to pixel experience...?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] kriz_:
That's great! Thank you.

Add https://github.com/corsicanu/9820-bootloaders_and_modems/releases and we can keep bootloader and baseband up to date.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Neuro-NX:
Can someone clarify on how to flash recovery.tar using Odin.

Is this correct. Do we place recovery.img AND vbmeta.img both in recovery.tar?

Or are we suppose to flash these files in AP separately before rebooting into recovery?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] DerSteppo:
Does that mean TWRP is asking for a PIN to decrypt files?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] StelkHavolk:
Excellent work friend, but one thing I would like you to correct is the option of "Fullscreen apps" which unfortunately does not detect any application.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] starbright_:
Is seedvault already included in LOS18? If so - where to find?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] 7hr08ik:
Its in there. Just search settings for Backup. I think its in system

Edit: Settings > System > Advanced > Backup then change backup type
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] exaveal:
As the Samsung S10e has no notification LED anymore I need at least the Ambient Display.

But the gestures to activate Ambient Display doesn't work.

Can somebody reproduce this? (Settings > Display > Advanced > Lock screen > Ambient Display > Hand Wave)

Can I check if my sensors are working correctly with any tool?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Neuro-NX:
I successfully flashed los-recovery using Odin and then Lineage. However I have some issues, not sure if vbmeta.img was flashed properly. I placed it inside recovery.tar with recovery.img.

On every reboot I get a message stating 'The phones bootloader is unlocked' and to 'press power button'. I can still boot into Lineage but the message is annoying.

My sim card is not being recognised, and los-recovery has no wipe cache feature, usually when this happens you need to wipe cache or do factory reset. :(

Fingerprint works but is not responsive. The sensor is not calibrated to match the displayed zone area. I think because I am using S10-5G which has a higher screen size.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Linux4:
Can you maybe join my telegram group (see first post)

Or pm me here?

Seems like you're actually the first one using this on 5G model (or at least reporting back)

And that message is normal btw
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] baatzi:
Is it just me, or has the automatic brightness control worsened compared to modpunk's LOS17.1?

Especially at night I noticed it that even though it's dark, the brightness is almost set to maximum.

It is also not as responsive as it was before, I think.

I remember some initial problems at LOS17.1 (due to a bug in the HAL?), which were then fixed:

https://xdaforums.com/t/rom-exynos-...date-2020-12-17.4076585/page-32#post-83129189

Many thanks for the great work!
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Spyop3:
I found also brightness quite bright in the dark, but the responsiveness seems ok !
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] counti:
I feel the same way, the automatic brightness has deteriorated compared to Modpunk's LineageOS.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] 112233456789:
Oh, no, this doesn't apply to g977n of S105G. The IMEI will be lost and the SIM card cannot be read. It's not no service, but no card. I've tried to restore baseband backup and brush baseband, but I can't improve it. The system is really smooth. I hope I can solve this problem. I hope you can help me. Thank you
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] starbright_:
Maybe you can use "NotifyBuddy" to simulate notification LED. There are many apps out there, but most doesn't work - as AOD framework in LOS differs.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] starbright_:
I haven't take that serious at it is talking about google servers first .... Anything to take care - is backup to attached USB stick possible?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] 7hr08ik:
You can choose between the 2 backup options. And yes, seedvault will backup to usb
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] starbright_:
You can fix it by "overwriting" this screenshot:

Take it from here:

< removed link>
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Linux4:
Could you please remove that link from my thread? Modifying up_param is possibly dangerous and one of only a few ways to permanently hardbrick a samsung device

I do not want to support that in here.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] UsernameNotRecognized:
It also feels like auto brightness only works when the device is awake. Meaning I often get blasted when I grab my phone when in bed. In the mornings it's not as apparent as auto brightness kicks in quite fast.

Because I need to "fix" it myself in bed this may also mess up the auto brightness.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] kriz_:
what is the default resolution? is it possible to change the resolution?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Linux4:
3040 × 1440 and for beyond0lte 2280 × 1080

So basically hardware's resolution

And no you can't, sorry.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] wdevil12:
Multidisabler seems to be the main reason why I succeeded in booting it up. Without flashing it, it gave me bootloop on logo.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Linux4:
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.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Neuro-NX:
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
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Linux4:
Better use Settings -> Display -> Display size maybe ...
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Neuro-NX:
If someone has a monitor, can you test if HDMI USB-C out works. I have a Dell 4K monitor and does not connect, only charge.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] wora92:
@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.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Linux4:
I probably will at some point.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Neuro-NX:
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.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] 7hr08ik:
Hey guys,

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

View attachment 5305909

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.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] bertino:
Yes, you have to reinstall magisk (either through the app or with the zip in recovery).
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] 7hr08ik:
Magisk was originally installed, sideloaded as an apk, through recobery :p so both of those options are out. But I will sideload the apk again and see
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] 7hr08ik:
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
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Linux4:
It is a bug in magisk, however topjohnwu is not willing to fix it, see here:

Copy required files to system for addon.d by jesec · Pull Request #3037 · topjohnwu/Magisk

/data/adb/magisk is not accessible on devices with encrypted data.

github.com

Go blame him if anyone at all.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] 7hr08ik:
Not looking to assign blame 😃 Just glad OandBackupX works again.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Nosepull:
So you have to reinstall magisk.apk after each update by adb sideload over USB or is there a more convenient method?

Probably you should update this info in the OP...
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] El Dun:
@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?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] kybsmds:
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!
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Nosepull:
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.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] kybsmds:
Thank you for your answer.

I performed the update using the internal updater and can also confirm everything went well and no data loss.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Keule-Tm:
There's SeedVault build into LineageOS. That backup solution served me admirably, and you can even upload it to NextCloud, where it can be automatically downloaded on restore.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] kybsmds:
Thank you for pointing this out. This was totally new to me and seems like the function I was looking for. I really like the option of doing a backup directly onto a usb drive.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] polyak.alx:
Installed on my s10e

Solved mic problems but got power drain

The rest is smooth and fast