yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ianmacd:
Geiti created the original images. I have fixed some bugs and built upon his work.

I'm not proposing a new method of rooting here. You still need to root according to John's documentation. This thread just gives you the option of additionally running TWRP in recovery.

It's possible to enter a bootloop with all of these devices, but there is always a way to recover. Perhaps your problem was with the original TWRP images that were offered, because they suffered from a serious issue that would cause your device to loop if you had powered it off.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ianmacd:
The option is to Select and Patch a File. It's definitely there.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] PiCkLeS:
You need to make the image to a tar. You can't flash an image.

Listen, I've seen many posts by you now, I've seen you have sent me PM's aswell.

Just follow my steps in post nr9, slowly .. exactly.. very slowly .. and you will make it work. You don't seem to read it all, and miss steps.

If you don't do that, exactly and slowly, no one can eventually help you.

So. Again. Slowly. Carefully. Okey?

Your cutnpaste shows that you are trying to flash the image, make it a tar first with your choice of application.

/P
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] solidus636:
i managed to find the option, i moved the file from my phone to my computer and when i try flashing under odin , it gets stuck at "file analysis".
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] hoeni:
Aye sir.

I tried flashing the patched AP again to get the phone running but now it gets stuck at <ID:0/007> userdata.img . :crying:

It's been 15 minutes without any change.

Should I abort and flash the original AP? Or even the whole stock rom?

Download mode says "Only Official Released Binaries Are Allowed To Be Flashed (VBMETA) as soon as I press start in Odin, then it progresses until it hits userdata and then stops.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Player04:
Did you even patch the firmware with magisk?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] hoeni:
Yes, I did that before. when I could still boot the phone.

---------- Post added at 06:02 AM ---------- Previous post was at 05:58 AM ----------

That's what I get in Odin:

<ID:0/007> Added!!

<ID:0/007> Odin engine v(ID:3.1301)..

<ID:0/007> File analysis..

<ID:0/007> Total Binary size: 6786 M

<ID:0/007> SetupConnection..

<ID:0/007> Initialzation..

<ID:0/007> Get PIT for mapping..

<ID:0/007> Firmware update start..

<ID:0/007> NAND Write Start!!

<ID:0/007> SingleDownload.

<ID:0/007> dt.img

<ID:0/007> dtbo.img

<ID:0/007> system.img

<ID:0/007> vendor.img

<ID:0/007> vbmeta.img

<ID:0/007> userdata.img

<ID:0/007> __XmitData_Write

<ID:0/007> Complete(Write) operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)

<ID:0/007> Removed!!

And that's my phone:

It won't complete flashing the patched AP file. :(
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] hoeni:
This is getting silly because it really won't let me flash anything anymore.

Is it safe to just flash a full stock image that's provided here https://xdaforums.com/galaxy-s10/development/sm-g975fx-firmware-odin-flashable-t3904345? I'd love to try again from the beginning. And also to unbrick my phone. :D
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Player04:
Search and Use the latest firmware
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] grujea:
Thanks for the reply!

You are right, the Pixel Experience ROM was the problem, I have noticed later that it was based on the previous security patch. Installed Lineage OS based on DTI8 and worked just fine. :D
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] mrbonine:
After my 3rd of degradation of root to boot loop (after a couple of restarts when connected to Android Auto) I hesitantly considering TWRP install, having never lived without it in recent memory, so I can accomplish a Nandroid backup to save my butt next time things go south. Reading through all of this thread I want to verify that I get the fundamental steps to accomplish this:

1) Download TWRP taking care to get the proper version for my phone (G970F).

2) Patch using Magisk using the the same process I had used when installing Magisk originally.

3) Flash all applicable firmware using the patched TWRP for the AP file (I'm assuming here that Magisk will re-install itself through its patching TWRP).

4) Boot into TWRP and install protective file (mentioned above).

5) Boot normally

Questions:

1) After this, do I still need to boot with button overrides to be rooted?

2) From previous posts, factory reset NOT required?

3) Which CSC file do I flash?

Sorry for being so basic here, but I've rooted III, 4, 5, 8, 9 and nothing has ever been this complex or subject to user error. I realize this is Samsung's BS and very much appreciate all of the hard work here, in my view rooting and custom recovery are what makes Samsung a viable platform.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Philnicolls89:
Those steps listed above seem pretty accurate, just remember to grab the correct twrp for your firmware version aswell as your phone model.

Have you successfully booted with magisk installed already? Its preferable to either already be rooted before installing twrp or install it at the same time as rooting.

If already rooted the above steps should work (when you say install protective file i assume you mean multidisabler). In answer to your questions:

1. You always need to use button combo to boot with root privileges regardless of if you have twrp installed or not (unless of course you are using a custom kernel such as cruel or thunderstorm that allows booting to system).

Accidentally booting without button combo will not cause any harm, you will just need to restart again using combo (and you MAY loose Bluetooth and wifi pairings and need to reconnect).

2. Factory reset/formatting of data is only required when rooting for the first time, it is NOT necessary afterwards. Eg when installing twrp or updating firmware.

3. Its up to you which CSC to use, HOME CSC retains user data and CSC does a clean install (wipe data).
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] mrbonine:
Thank You for Guidance

Thank you for your help, I appreciate it! Yes, I'm already rooted via Magisk, although I've had to repeat that at least 3 times. This last time was odd, because I had to do a factory reset to get the 10e out of boot loop. During a recent drive Android Auto forced at least 2 reboots while driving, neither with the proper key selection to ensure root. When I returned home the 10e was in boot loop. I flashed properly in Odin twice but both times still boot looping. Given no other alternatives, I did a factory reset and I got a "normal" boot after enduring the provisioning process. The only thing I know of that might have impacted this is a low storage condition with about 10% free in built in storage, due I believe to a previous issue where storage space disappears (I read about it but could get no guidance on resolution). Prior to to 10e/rel 10 I had restored Nandroid backups twice, and I would rather not attempt TWRP install since that caused my first root loss (same machine, same rooted status). To add to that the hardware based authentication interferes now with parts of my banking app (just certain sections) and they have also attempt to block browser access completely from phones (workarounds formerly OK result in "site temporarily unavailable" but not from a PC). The banking site (anon, but highest fined US bank and incredibly profitable) called out "rooted" device as does Honeywell in one of their thermostat apps. Reading through the discussion it seems likely that even when not needed app developers will build on the hardware checking to ensure RFP checkboxes, etc. Honeywell (big defense contractor) is implementing (likely) as proof of concept or just full lockdown on all cloud interactions - notably their warning is ignorable and doesn't appear to interfere with function. Added this germain to general issue. Yes, multidisabler was what I was referring to, not to be confused with recent attempts to inhibit voting here in the US. I'll give TWRP a go, one additional question, which file am I patching? I assume the original AP, not the patched version from my Magisk Root process, guessing that Magisk is managing that through its existence and root status condition when patching for TWRP install. Thank you again for your help, my backup iPhone drives me nearly nuts.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Philnicolls89:
If you are just installing twrp then you only need to patch the twrp file with magisk, rename it to 'recovery' and flash through Odin by placing it in the AP slot along with the other files (bl,cp,csc).

You can fix the data partition size shrinkage through twrp once its installed. From memory you go into twrp, select advanced wipe, then select the resize partition option. This may cause some minor data loss so its best do make a backup of /data first then restore backup after fixing.

It is still very possible to pass cts profile checks by using a magisk module called magisk hide props config, this forces ur device to use basic for its attestation instead of hardware. However some high security apps like banking may use there own more strict methods of detecting root instead of Google's key attestation.

Edit* I forgot to mention that you need to 'tar' the recovery image file before you can flash it using Odin. Alternatively if your not sure how to do that, you can grab your twrp patched AP file. Open it up using 7zip or similar app and replace the existing recovery with your patched twrp image (renamed to 'recovery') and flash it that way.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] FunThomas76:
i saw your problems with S10e

in the magisk thread someone else and me had the problem with latest firmware G970FXXU9DTJA there was no way for us to get magisk running but with G970FXXS9DTI8 it worked

i don't know what samsung changed but after nearly the 10th time flashed now i'm back on G970FXXS9DTI8 rooted S10e

maybe you try this version
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Philnicolls89:
I got magisk working fine after updating to DTJA on the weekend.

I have an s10+ not an s10e but that should make no difference at all.

I flashed it first with my stock rom, then custom rom and kernel. It all worked fine except I had to do a clean install and restore my backups through smart switch and titanium backup.

What issues did you have?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] FunThomas76:
in the other magisk thread there is another person who has the same problems with S10e, S10+ works in the other thread too

after installing rebooting to magisk with power + vol up + bixby takes very long in the samsung logo and after that long time it makes a reboot (with factory reset too)

stock without button combo works fine to boot up

but the older version G970FXXS9DTI8 works fine with magisk
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Philnicolls89:
Does magisk work without twrp on DTJA (patched stock recovery)?

If it does then u can try using magisk+twrp with a custom kernel such as cruel or thunderstorm.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] FunThomas76:
the magisk 20.4 and 21 patched DTJA firmware does not work for S10e, it keeps rebooting after long samsung logo

i never tried to use magisk with twrp on S10e
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Keule-Tm:
Wrong forum, deleted
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ianmacd:
Version 3.4.0-4_ianmacd released for G97[035]F.

As promised, I will continue to support these builds until Samsung moves the devices to Android 11.

This release updates the kernel for the latest Android 10 Samsung firmware for these devices and brings the TWRP code bang up-to-date.

Changelog

v3.4.0-4_ianmacd for G97[035]F [inc. DTJA kernel] (2020-11-17)

Rebase kernel on Samsung's DTJA source code.

Merge all outstanding fixes and enhancements from the TWRP source tree.

This version is intended for use only with Android 10.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] angiotell:
Can I update twrp-beyond2lte-3.4.0-4_ianmacd.img in TWRP without Odin?

Thanks :)
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] XTrail02:
Just clarification. Do we have to patch this latest TWRP via magisk manager before flashing it using the existing TWRP?

Thanks in advance.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Keule-Tm:
You can just flash it from within twrp itself:

Install > navigate to the folder > switch to "install image" > you see the twrp image > install it as recovery image.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] sevenshorseman:
Depends on Rom and ,or Custom Kernel.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Philnicolls89:
Is there any hope for TWRP on samsung devices post android 10? I know other android devices on A11 can fast boot TWRP for flashing and then return to normal recovery once done.

is this the same as using TWRP on demand as described in the OP?. eg flashing twrp, booting to twrp and flashing files, then flashing stock recovery through TWRP before rebooting?

Its sad to see android tightening the screws and becoming more like apple. For example a lot of newer devices launched with android 10 no longer have /system as RW:( and don't even get me started on hardware backed key attestation lol! ill be sticking with my s10+ as long as I can.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ettore88:
Hi guys.I have a Samsung S10+(SM-G975F)after root through Magisk I would like to install TWRP.

I have seen that the latest version is 3.4.0-2

Which vs do you recommend?

Where do I find the latest multidisabler vs for S10 +?TNX in advance
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] yuri76:
That's fine with this version? G975FXXS9DTK9
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] bininga59:
Yes, it works fine for me. But flash the patch * .img with Flashify.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Philnicolls89:
See post #2 to figure out which version of TWRP to use, it depends on what firmware version you are using.

Also see post #1 for the link to multidisabler.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ettore88:
Many tnx m8.

It is my first time. I have android 10 with the latest stock fw with December patch.(ITV)

I found this TWRP for my S10 + : twrp-beyond2lte-3.4.0-2_ianmacd.img

I did not understand if all the TWRP signed ianmacd are already patched without the need to use magisk?

In the case i have to compress the file in .tar?

I ask, because not having root yet I still don't have a TWRP to flash the IMG file.

Last question: which vs TWRP do you recommend to install for the first time?

twrp-beyond2lte-3.4.0-2 is ok?

I ask because i wouldn't want to get bootloop.Tnx in advance:)
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Philnicolls89:
The link in OP must not be updated due to forum migration issues. The latest TWRP, which is the correct one for December firmware is actually 3.4.0-4.

twrp-beyond2lte-3.4.0-4_ianmacd.img | by ianmacd for Galaxy S10 (all variants)

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

androidfilehost.com

None of the TWRP images from @ianmacd come prepatched with magisk.

Yes, you will need to convert the .img file into a .tar file in order to flash it through odin using the AP slot.

You can indeed flash twrp without having root, there are just a few extra steps that you will need to do in order do disable VBmeta. As I haven't used twrp without root before, it would be best to carefully read the first page of this thread as ian comprehensively outlines the procedure do this (from memory you will need to flash a blank vbmeta file through odin at the same time as flashing twrp).

*Edit*

Here is a link to a pre compiled vbmeta image that you can flash (taken from the official twrp thread).

index - powered by h5ai

index - powered by h5ai

downloads.corsicanu.ro

So you need to flash the twrp file in the AP slot and the vbmeta file in the CP slot at the same time.

Then boot to twrp and flash multidisabler.

Please read all the instructions first as you MAY be required to format data the first time you install twrp.

Make sure to have backups before proceeding just incase something goes wrong!
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ettore88:
Many thx @ Philnicolls89
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ettore88:
Hi guys.Just a question.I tried to convert the .img file of the latest TWRP 3.4.0-4(Ian vs).My procedure through 7zip is:

Right click on the file .img - add to archive and i choose in archive format tar.

I put the recovery file.tar on S10+.I tried to patch it with magisk.I get this:Hw can i fix it?Tnx in advance
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] bininga59:
You don't necessarily have to make a *. Tar out of it. I patch the * .img with Magisk, copy it to the SD card and then flash it with Flashify. Then the normal procedure in recovery.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] jimdoe9000:
Hello all.

Can anyone guide me to the most comprehensive and easy to follow guide to root and put lineageOS for microG on my Samsung S10 please?

I've rooted and rommed stuff before but all of this confusion for the S10 concerns me, isn't there an easy to follow guide anywhere, rather than sifting through multiple posts reading terminology that I mostly don't understand?

My S10 has all the settings sorted out, developer options has been activated and OEM unlocking is ready to be switched on.

Cheers.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Philnicolls89:
Try this guide here, some of the steps may be slightly outdated but it its still very relevant.

Also worth reading the first post or two of this thread, and as always make backups encase something goes wrong. Also when rooting for the first time you will need to do a data format (complete wipe).
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] kruuth:
I've been trying everything to get this going....I have the patched twrp-beyond1lte-3.4.0-4_ianmacd renamed to recovery and in the patched AP TAR for Magisk, but after the flash in odin and the attempt to boot to recovery, it just goes into standard recovery. Is there something that I'm doing wrong? I've got Android 10 on there from the official update.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] xdagee:
How are you flashing patched twrp-beyond1lte-3.4.0-4_ianmacd? yes, you are doing something wrong. these are two ways you flash patched twrp-beyond1lte-3.4.0-4_ianmacd via odin.

After renaming patched twrp-beyond1lte-3.4.0-4_ianmacd to recovery, open AP.TAR with 7zip (or a tool you refer) and replace the stock recovery with patched twrp-beyond1lte-3.4.0-4_ianmacd recovery. then flash via odin.

Convert patched twrp-beyond1lte-3.4.0-4_ianmacd.img to patched twrp-beyond1lte-3.4.0-4_ianmacd.tar - and flash in AP via odin. (you should be rooted with magisk installed). so walk through the steps in flashing patched AP.TAR and set up, then come back to this step.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] kruuth:
Here's what I'm doing:

Opening the TWRP image with magisk and patching the file.

Opening the AP TAR with magisk and patching the file.

Opening the AP TAR with 7zip and replacing the recovery image with the patched TWRP image

I was trying to combine the patched Magisk AP tar with the patched TWRP renamed to recovery. That does not work?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] bwilk316j:
Use the instructions on here to tar up your image and I think you might get a different result. Also in Odin make sure the auto reboot is not clicked. After you flash it and get the green pass you just hold the key combo volume up, power plus bixby and you should go into
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] xdagee:
That should work - rename magisk_patched_twrp_recovery.img to recovery.img. Then open AP_magisk_patched.tar with 7-zip then copy the renamed recovery.img to opened 7-zip AP_magisk_patched.tar replace (because there is stock recovery.img in there). you're done - then you can flash via odin - hope followed the steps upto this point.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] kruuth:
I've tried that. I put the patched AP in the AP slot load everything else in their respective slots but it still does not work. I do the keys to reboot (I don't have reboot checked) and it goes into what looks like the regular samsung recovery. I'll try to post a screenshot. Is it possible that I'm doing it wrong somehow? Right now I'm using 7zip to manipulate the AP file and replace the recovery image.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] xdagee:
okay share screenshot.

but before you put the patched AP into AP slot you should have added the patched_twrp_revovery.img renamed into recovery.ing into AP using 7-zip.

if still doesn't work then don't worry. there are other ways.

now go through the normal process to flash with patched AP.

then convert patched_recovery.img renamed to recovery.img to recovery.tar and flash in AP slot with Odin.

open dir with powershell and run

tar cf recovery.img.tar recovery.img
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] bininga59:
I just patch the * .img with Magisk. Save it on the SD card and flash the * .img (without renaming it) with Flashify. Then the usual procedure in recovery. Always works wonderfully.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] kruuth:
Thats what I have tried and so far no luck
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] kruuth:
Here's a screenshot of the patched AP file with the twrp img renamed to recovery.img:

So I flash that with ODIN and it goes to the default recovery
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] kruuth:
Just to be sure, I flash the patched magisk ap file.

Then install flashify as i will have root

Then flash the patched twrp recovery

That correct?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Philnicolls89:
Yes that is correct, if you flash the patched AP file through odin and go to makisk manager to confirm that you have root, you will then be able to flash the recovery image through flashify.

On a side note, when you try flashing with the patched twrp inside the patched AP file, do u restart straight to recovery or let the phone boot?

You need to restart to twrp first and flash multidisabler before allowing the phone to boot, this disables vault keeper. Could be why ur phone is reverting to stock recovery?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] bininga59:
My guide is ONLY about TWRP. I already have root rights. (magisk_patched_YTiRk + CP+BL+HOME_CSC_ with Odin)
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] kruuth:
If I flash the magical patched AP along with the other files from the rom downloaded via the updater but flashify days I don't have root. Do I need to let the magisk app do something as well?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] bininga59:
I first do root with the patched AP +CP+BL+Home_CSC in Odin. ( No restart, just do a factory reset in stock recovery) When I'm done with it, I flash the patched * .img which is on the SD card with Flashify. Then in TWRP> Format Data <(yes) and then the multidisabler. Important!!!
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] kruuth:
Aha. I think I understand what I did there. So how's do you get to stick recovery without a restart?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] bininga59:
After the factory reset in Stock Recovery> Reboot into the system and immediately press the three buttons to start with root rights.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] kruuth:
Which three? Power, bixby and Up Volume correct?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] kruuth:
Ok just tried the patched AP on it's own like you said, I am getting this "only official released binaries allowed...(VBMETA)" when I flash with odin. Did I miss a step?