yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] byteXpression:
See the answeres to your questions directly below:

I have written a comprehensive installation guide. See post #505 https://xdaforums.com/showpost.php?p=81727315&postcount=505 on page 51.

---------- Post added at 09:28 AM ---------- Previous post was at 09:10 AM ----------

Response:

For me it works fine. Maybe something went wrong during setup for you? Please follow the installation guide provided here: https://xdaforums.com/showpost.php?p=81727315&postcount=505

Did you install Ivan's boot image as well and the Magisk Manager app?

You can download modules in Magisk as well. Everything works as expected so far.

Repsonse:

If you use FDE, you can't do a TWRP backup. You will have to use Titanium Backup or an online nandroid backup tool.

TWRP ist not able to decrypt FDE (at least not for now). But this is up to the TWRP developers to provide this functionality.

You could also potentially use the Terminal in TWRP or ADB and load/decrypt/mount your encrypted data partition manually and then back it up.

If your are using Linux you could also do a "dd" of the sda31 partition (this is your data including the encryption keys).

Response:

Works fine on my end. You have to look for the setting "Double tap to wake".

If you want to double tap to lock your screen:

Display->Double Tap for Standby

If you want to double tap to wake your screen:

Display->Double tap to wake

Response:

I will probably create Boot Error Message Fixes for the S10e and S10plus next week. ;)

This is a firmware fix and independent of your LOS installation.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] medoko:
Oh no... I always used TWRP to update and backup everything... :(

I did a long search for a solution, but didnt find anything which worked for me...

As i did the FDE encryption (everything works perfectly, besides TWRP which only shows me 0MB partitions and dont asks me for a PIN ... Therefore, i cannot take any backups anymore - nor updates), i think these are my options right now:

1. Keep my S10 encrypted in the current "TWRP not working" state and...

--> use another backup tool (maybe Titanium, Nandroid). I could live with that...

--> use another way to update my device with future LOS (zips). Odin? Fastboot? What would you recommend?

2. Dont keep my S10 in this encrypted state and...

--> use the "format data" option in TWRP (this step first or the next before this?)

--> flash multidisabler again (is that correct?)

--> after the encryption is deleted (including my whole data) restoring a TWRP backup which was taken before i encrypted the S10.

Do you think this could be a solution?

3. Another option, i could not think of but you know maybe?

Can anyone answer my questions above?

Thanks a lot for your assistance...
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] byteXpression:
Basically you captured the situation correctly.

As option 3 you can also post your question on the TWRP forums to enable encryption support within TWRP for FDE (this should be possible as it is standard encryption technology on the Kernel level). I really don't know why the folks at TWRP haven't implemented it yet.

Another idea for you is to use rsync and schedule a task for example with the tasker app (execute shell command) and rsync your data to your sdcard1 during night time.

If you also enable the rsync "delete" and "keep time stamp" options you will get an exact 1:1 nightly copy of your data.

If you want to restore your data, you simply rsync from your sdcard1 (your sdcard in the sdcard slot of your device) back

to your internal data partition (sdcard).

This works just fine.

You also can encrypt your data on the sdcard1 (look at the cryptsetup or LUKS manpages).

You will even be able to mount your encrypted sdcard1 on a computer and get access to your encrypted data without compromising security.

I would never go without encryption just for convinience. Specifically a mobile device can get lost, stolen, misplaced easily and the risk someone gains access to your very private data is too high. Just my opinion, though ;)
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] medoko:
Thanks for your replies...

I tend to my option #1...

But: What about the future updates (maybe from Ivan here): How to update these? I always used TWRP... And now? Odin? ADB?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] medoko:
For the option i mentioned above:

Is this a correct way i could use to get back from my now encrypted phone to an unencrypted one? Or do i miss some steps?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] dlvdmeer:
Hi,

I tried to follow a lot of the installation but struggled with the first part, getting the base OS installed with TWRP. I did that once in the past but that was like 6 months ago so it took me some time to get the hang of it again.

I prepared an AP file with Magisk and also removed the recovery.img file from the AP and replaced it with the prepared one for Magisk so I could do all the basics in 1 go and this works fine.

I've narrowed everything down to Magisk. If I install a module and press Reboot within Magisk after installation it will show up with a popup "Factory data reset" and then restart and I can get no further than the animated boot screen.

If I go back, close the app and reboot normally via the phone there is no issue and the module (tested with youtube vanced) is installed fine.

My Magisk version might be too old (Canary version) but it is strange though because after first reboot I updated the app to the latest version (ce7cb1ee (276) (7) ) - This is only for the manager because if I try to update Magisk within the app it will also

mess up my installation and my phone will no longer boot.

I also figured out how to get the double tap working. There is an extra setting I needed to do. Oops, silly me :)

Also I did install Ivan's boot image otherwise I would not be able to boot properly into the OS with Magisk working so that also works fine.

For FDE I will wait until everything is working fine otherwise I will not be able to make a proper backup via TWRP. I do have TitaniumBackup but it is more work to restore everything via that app than simple restore a full image.

Anyway, I've determined that it is not really the LineageOS installation that is giving issues but for some reason Magisk is not working properly.

Thank you for your installation guide because it helped me to figure out some things I forgot.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] 2k4ever:
thanks to [MENTION=8518487]byteXpression[/MENTION]'s guide, I got from complete stock to LOS in under an hour :highfive:

can anyone point me to a button remapper app similar to bxActions? (to assign double press / long press actions even if the screen is off)

and I'v discovered 2 minor annoyances (to me) so far:

when charging the phone while its off, the screen stays on all the time but without showing the battery % (a problem with the Magisk boot.img, [MENTION=4610599]Ivan_Meler[/MENTION]?)

a specific NFC tag I used to fire off tasker tasks doesnt work anymore (others work fine, though)

But so far, thats a small price to get rid of Google :victory:
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] byteXpression:
Magisk patched TWRP

Did anyone find a way (workaround) to use TWRP with LOS17 and Magisk already?

At the moment it does not work to use Magisk Manager within LOS17 and patch the standard TWRP recovery. When doing so, it will end-up in a boot loop.

Having a Magisk patched TWRP as recovery would be preferable, specifically when it comes to updating / dirty flashing LOS17 updates down the road.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] ramoneluis:
Ok

Thanks
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] wora92:
To answer the question about FBE: FBE works now with LOS 17 if you edit

/vendor/ect/fstab.exynos9820

The according line should look like this

/dev/block/platform/13d60000.ufs/by-name/userdata /data ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic wait,check,fileencryption=aes-256-xts,quota,reservedsize=128M

However, TWRP cannot be used once FBE is enabled. If you boot into TWRP it stucks at the splash screen. Which prevents flashing updates for Lineage. So as of now FBE is not usable because of TWRP.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] :
Thank you so much for this! I had already gone back to stock, but this would bring me back if I can get it working. Will give it a try when I have time.

Aside from that, as with my first comment, is it normal for this rom to boot staight to desktop after flashing, instead of allowing you to set it up yourself?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] vlubosh:
yes because of BITGapps.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] :
I don't use Gapps but I assume if it does boot straight to desktop with that then it is just normal behavior. Thanks!
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] byteXpression:
There are two flavours of BITGAPPS.

The one with the BiTGApps-arm64-10.0.0-v0.5_signed.zip comes without the setup wizard and boots straight to the home screen.

The one with the BiTGApps-arm64-10.0.0-v0.5-SW_signed.zip comes with the setup wizard.

;)
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] LuiseSarmiento:
What TWRP version did you guys use? I tried flashing TWRP 3.3.1-9 and after it installed my device keeps going to download mode. Galaxy S10E
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] DBDPCG:
probably best to stick to 3.3.1-11. But it seems like you need to flash vbmeta disabler in odin
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] LuiseSarmiento:
Where in odin will i flash it? BL, AP, CSC or CP and i will flash it at the same time i flash the twrp right?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] DBDPCG:
If anyone wants to get app suggestions and overview text selection working on the default launcher or pixel/lawnchair launcher, you can flash this zip (by paphonb) in magisk or manually copy the files in twrp:
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] DBDPCG:
flash it in AP, flash twrp, the you'll automatically boot into download mode, then flash vbmeta disabler
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] hugoct:
What it is

---------- Post added at 04:31 PM ---------- Previous post was at 04:31 PM ----------

% battery icon not working
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Ivan_Meler:
Not all lineage features have been ported over from 16.0 to 17.0 this is not a device bug
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] catormeme:
it booted and then when i resetted the device its stuck on a bootloop i had the same problem with los16 it boots one time but the second time it gets stuck on a bootloop
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Ivan_Meler:
are you using magisk patched twrp by any chance? because only people that experienced that used it despite me saying it won't work multiple times
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] catormeme:
the moment i do the enitial setup for magisk it bootloops
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] hugoct:
Possible to add face unlock smart lock option??
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Fernix_:
You managed to get an Android 10 build to the public before Samsung did. Huge props!
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] farou2:
Can I flash this rom over LineageOS 16?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Jab_:
Hello!, I did everything in your post and the phone succefully booted, but I got an error in the initial setup "android setup keeps stopping", and can't go to the setup. I made a wiped (factory reset) in TWRP but didn't solve the problem. And it triggers when I select my Start. Boots normally and when I click on "Start".

Note: can't "disable it on Android Setup app info. Is grayed it.

Do you know what should I do?

Edit: Solved.

I just deleted the setup wizard folder from TWRP.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] byteXpression:
Hello Jab, a wipe (factory reset) simply deletes the data in the data partition, but I assume you may have problems with your LOS installation (system).

Factory reseting will not solve your problem in this case. But as I don't know your steps you took during setup and without viewing error logs, etc. I can not determine the root cause for your issues.

I suggest the following:

If it happens when you click the start/home button this will trigger your launcher. You may test a different launcher app to narrow down your problem.

If you can not solve it, try to wipe system within TWRP (and data, dalvik and cache). Then do not exit TWRP and reflash Lineage.

Keep in mind that wiping data will wipe your data! ;)

To me it seems that the problem is either with a corrupt launcher or a corrupt LOS installation.

If the recommendations above do not solve your problem, I would recommend you go back to square 1 and start all over again, by reflashing the firmware, then continue with setting up LOS, etc. and follow exactly the steps in the installation guide. This has been tested numerous times and works if done correctly.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Fernix_:
I think the last obstacle im facing rn is finding out how exactly I can get myself an empty vbmeta.img file for my S10e. I don't have a Linux computer at hand and my phone's terminal emulator doesn't seem to work either for some reason. I'm following the guide for the stock TWRP in the thread linked in Ivan's post.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Jab_:
Hi

I solved it by deleting the setup wizard in file manager from twrp. Thanks tho =)
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] byteXpression:
Hi Fernix...

Please find the vbmeta for you in the attachment... ;)

Have a nice evening...

byteXpression
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] byteXpression:
Glad you found it and the setup wizard is not necessary ;), so you are good to go :good:
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Rude.boy:
With my very first entry in this forum i want to thank Ivan_Meler for his great work. Your ROM was the only reason for me to buy a new Samsung phone.

Also many thanks to byteXpression for his very useful explanations and instructions.

athough i have still installed the -02.05.2020-Version of this ROM i want to share the following issus:

-Bluetooth does not work with all devices. No Problem with my BT-speaker, smartwatch, Headphone, FM Transmitter and one Headset but the other Headset is not working at all (no Sound, no micro input)

- the bluetooth-symbol is missing in the status bar, when BT is active but not connected to any device.

- screenmirror to my Samsung TV is not working. The TV can not be found. (there is no problem with the same function on my Tablet with 15.1)

- Auto brightness doesn't work properly in dark environments. It keeps hunting/changing brightness. Just like los16 did. (as Bunk already wrote)

- Bixby-button without function. i can assign a function (e.g. Camera) to the button, but it still does not work

- without wlan, the connection-symbol in the status bar switches back and forth between "H" and "H+" and it seams that i don't have any connection to the internet when it shows "H"

[MENTION=8518487]byteXpression[/MENTION] i would love to see a Boot Warning Fix for the S10e :)
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Fernix_:
I seriously cannot thank you enough for your help! You have the patience of an angel. Thanks!
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] k!pps:
Does anyone succesfully use Revolut app on LOS?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] culjonito:
yes, without any problems... why?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] gorgo80:
Sounds good. Wonder if it will not work. Is there a change to get back to stock?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Mucky2:
How is the camera quality & battery life in comparison to stock fw ? Didn't do anything special, thinking about unlocking my device and finally install an aosp rom
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Knotte:
As far as I know from my other devices so far, this is something that cannot be tampered with from inside the ROM, since it is hard-coded into the phone/bootloader (?).
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] byteXpression:
Sure it can be modified (with different overlays in the firmware). I will create the fixes for S10e and S10+ today. ;)

For the S10 it is already available. See post https://xdaforums.com/showpost.php?p=81770511&postcount=561 on page 57.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Knotte:
Sorry, I should have read all the previous posts first. ;)

I never came across such fixes for my HTC U11 or Nexus 5. Are those modifications easier to create for Samsung phones?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] byteXpression:
I haven't looked into HTC phones yet, but in IT never say never :D;)

It is just a questions of how it is coded and what steps you can do to mitigate it. If the first route doesn't work, take another one or find a workaround... ;)
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] medoko:
I encrypted my phone (S10, LOS 17.1, working TWRP, working Magisk) with FDE...

If i want to get back to an unencrypted phone - are these the steps i have to take?

1. Boot to TWRP and flash Multidisabler

2. Format Data in TWRP

3. Wipe (Cache, Dalvik, system)

4. Flash LOS Backup (i made before i encrypted)

Other steps needed or different order?

..
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] elchinemil:
How to solve the problem with bluetooth when talking on the phone? Sound distortion?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] byteXpression:
Hello medoko, the encryption only works on the data partition. So you only need to wipe/format data in my opinion. This should have the same affect as "factory reset", but should keep your existing LOS (which resides in the system partition). Also wipe cache and Dalvik, but don't wipe system, if you want to keep your LOS installation. Wipe system if you want to delete your LOS as well.

After you have wiped data, you can access it via TWRP again (but you will loose all your data and you have to restore your backup).
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] medoko:
I see... hmm...

Further Questions:

1. Would a "format data" (as you suggest) have the effect, that i could use TWRP (unencrypted) again? As this is my intention, to get a working TWRP again (to make updates/backups)...

2. What about the alterations i made in fstab (regarding encryption)? Dont these should also be reverted? (thats why i thought, multidisabler should be flashed again)...
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] byteXpression:
1. Yes, formating data will "revert" the encryption and reclaim also the 4 blocks (16KB) reserved for the encryption keys.

2. You should be OK. It should work (but I haven't tested it and I also don't have time to test it at the moment)... ;)
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] medoko:
Okay - i think i will give it a try (i report as soon as i have time for that). Thanks!
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Rangul:
Hi,

I want to hop on the lineageOS, but am not quite sure of the correct way since I'm not on stock atm.

I am running BSKL Version on S10E G970F with the NEMESIS rom from geiti94.

I've the current

-DBT-G970FXXU4BTA8 stock rom

-twrp-beyond0lte-3.3.1-102_ianmacd.img

-multidisabler-samsung-2.2.zip

-beyond0lte.zip

-gapps

ready to do something,.

What would be the best recommendation to proceed, since I'm on BSKL/TWRP/Nemesis (rooted)

Would this be best?:

Stock rom with HOME.CSC in Odin, than TWRP via Odin in AP

then proceed as in the install instructions:

Once in twrp flash multi-disabler

format data

wipe cache dalvink system

flash LineageOS

OR update TWRP first?

Thanks for helping.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] byteXpression:
See initial post from Ivan on page 1 and also see post #505 for a detailed description. The forum search function works above ;).
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] 2k4ever:
auto brightness

Like many others, I'm unhappy with this ROMs stock auto/adaptive brightness

I've turned back to an app I'v been running on my previouse phone: Velis auto brightness

So far, everything works fine, but I'll report back after a few days on how this workaround turns out for me
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Rangul:
Thank you!
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] byteXpression:
The Boot Warning Messages Fix is ready now.

This will overlay the "Bootloader warning message" and the red "not running Samsung Software" message during boot time.

I just uploaded (as promised) the fix for the S10e, S10 and S10+.

The patch files can be downloaded here:

See original post #561 for your reference: https://xdaforums.com/showpost.php?p=81770511&postcount=561.

Enjoy ;)

byteXpression
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] medoko:
Tried the "format data" this way:

1.Started TWRP

2.Clicked "Format data" (no reboot, stayed in TWRP)

3.Wiped Cache, Dalvik (no reboot, stayed in TWRP)

4.Restored Backup from SD card (without errors)

(Note: The Backup file was created with all checkboxes TWRP offers like Boot,Cache,Data,EFS,Baseband,Product,Product Image, System Image, System, Vendor and Vendor Image; and i tried to restore also with all checkboxes marked)

After a "reboot to system" download mode is popping up. Device stops...

I can quit download mode and start TWRP (which successfully loads)...

What can i do now?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] byteXpression:
I guess your system partition is gone as well or the fstab needs to be corrected. I am not familiar with TWRP backup and restore, so I can not give you a good advice here, but what I see based on your comments above is that you restored stuff over your existing LOS (system) and also parts of your firmware (baseband, etc.) and also your boot partition. Why did you do it this way? A simple data partition restore would have been enough in my opinion for your scenario.

If you have a running TWRP and your system is not able to boot after your TWRP restore, I would do a system wipe now (just to be on a vanilla state) and start again with the section Flash multidisabler from the installation guide at #505. Then LOS, etc.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] vomad:
How to install magisk on LOS 17.1? Please give a whole instruction. On S9 all this stuff was so much easier... :) I got new S10 with stock Pie rom. At first I must flash latest stock Q and that's next? I mean not only twrp but LOS+twrp+magisk.

P.S. And what's about Live display section on LOS 17? Is there color correction (standard, sRGB, natural colors) exists?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] byteXpression:
See post #505.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] medoko:
Even a system wipe didnt do the job.. I could not bring my S10 back to life...

Last thing that remained: Start all over again from the very first step (Odin firmware flash, Magisk, Disabler, LOS, etc...)... 3rd time in my case now. Puh... :(

The enryption in general (with an altered fstab as you described) is working (i had it working on my S10 without a problem).

My problem was/is:

Since i use TWRP for backup and update my device, and other backup tools are kind of outdated (Titanium Backup is reported to have problems since last two Android versions online Nandroid is from 2014) and i do not know how to update without TWRP (every single guide is set to use TWRP), i will leave encryption as it is on my device: not activated.

Im hoping TWRP guys will develop a fix for that in the future (that TWRP can handle FDE encryption). So long, i have to watch my device not to get lost! :mad:

Thanks byteXpression for your help and guidance.