[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] jean_michmich:
First of All, you have to do a choice : Do you want to run the official Samsung OS or a Custom OS ?

If you want to run the official Samsung OS then good luck. It seems to be a nightmare.

But you are posting in the LineageOS...so i guess it's not the case.

So it's a usual procedure :

1st Step : Decrypt the phone (smartphone side operation)

Remove any pin code / gesture code on your phone.

2nd Step : Unlock Bootloader (smartphone side operation)

In Android activate the developer mode

In developer mode, allow "OEM unlock"

Still in developer mode, activate also USB debugging.

Then shutdown the phone.

Do the 'physical' unlocking. For that, follow this procedure :

https://www.youtube.com/watch?v=udrSVpLtFCw

You have lost all your data and have the feeling the smartphone is a fresh bought smartphone...That's normal :)

Some people say, you should connect to the wifi at startup....(i think it's useful only if you still plan to use the official Samsung ROM...But i did it anyway)

In developer mode, OEM unlock is now grayed.

Be sure USB debugging still enabled.

3rd Step : Go in Download mode on your smartphone (smartphone side operation)

Start up the phone and go in download mode (the youtube link above will help you)

So now you see on the screen "Downloading"

4th Step : Prepare your computer for flashing (computer side operation)

I use the images provided in the first post of this thread initiated by modpunk :

https://xdaforums.com/galaxy-s10/sa...covery-twrp-3-3-1-0-s10e-update-2020-t4067765

Download these images.

Install Heimdall on your computer (I'm on linux, you can use ODIN also on Window$)

I don't use the Graphic User Interface of Heimdall... but all commands i write in commad line in the next sections are very likely accessible through the GUI

5th Step : Check your computer can communicate with your smartphone (computer side operation)

Connect your smartphone (which is still in Download mode...since step 3) to your computer

Run "Heimdall detect" in command line

If the answer is negative (I don' remind the exact answer but it's obvious), the problem is computer side. On linux play with udev on Window$ no idea :D how to solve that.

If the answer is positive, go to next step.

6th Step : Flash TWRP and VBMETA (computer side operation)

run in command line "heimdall flash --RECOVERY [here the path to TWRP.img] --VBMETA [here the path to vbmeta.img] --verbose"

It reboots automatically your smartphone.

7th Step : Stay calm :laugh: (smartphone side operation)

Just wait till it opens TWRP on your smartphone.

You can't boot on system. Don't worry system is holding the SAMSUNG ROM...and you want to get rid of this.

If you can't switch off the phone ( it always boots to TWRP), reboot in download mode and from there you can switch it off.

8th Step : Prepare LineageOS (computer side operation)

Format your SDcard in FAT32

Copy on the SDCARD the full zip provided in the thread (in the 1st post of this thread there is the download link)

9th Step : Install LineagOS

Put the SDCard in your smartphone (which is switched off since step 7).

Power on you smartphone to get access to TWRP

Wipe cache, dalvik cache and system

Install LineageOS (located on your SDcard that you put in the smartphone)

###########

MIRACAST issue :

###########

On lineageOS17, you can' t cast your samrtphone to another MIRACAST compatible device.

The ROM proposed in this thread doesn't solve the issue.

It's probably possible to get this feature working with side apps....but personally i come back to LineageOS16 (I suppose it works for this version....not checked)