yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] IlsonTheza:
v3.4.0-3_ianmacd for G97[035]F [inc. DTH7 kernel] (2020-09-11)

Good morning, I am on version v3.3.1-105, I would like to know when it is time to update TWRP to use BR7.0 on which partition should I flash.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Philnicolls89:
What is BR7.0? But upgrading twrp is simple, just patch twrp with magisk, replace the existing recovery with patched twrp and flash all the firmware files. Alternatively if u have already upgraded firmware and just need TWRP, then just flash the patched twrp using odin. No need to worry about partitions as with the s10 series it's always the recovery partition.

I'm not sure if that answers your question though:confused:
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] xdanilva:
BR is BeyondROM
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Philnicolls89:
Ah that makes sense!! Lol. [MENTION=11124113]IlsonTheza[/MENTION] as I said before just patch the correct twrp and firmware (for whatever firmware BR7 is based on) and flash the files through odin. Then install rom, i dont have any experience with beyond rom so may be better to ask in their thread if u have difficulties as the developer may have specific install instructions.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] xdanilva:
Oh hmm there isn't a 7.0 version of BeyondRom they might be talking about something else. Oops yeah there is nvm. It was in the cross development area
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] depace83:
I tried first rooting and than installing TWRP in my S10+ using the TWRP official application then my S10+ goes into boot loop. What am i doing wrong here? can any body help me please. I'm trying to install lineage OS afterwards.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Philnicolls89:
Firstly what firmware version are you on? As that will determine which TWRP to use.

For example if you are on the latest A10 firmware which is DTH7, then you should be using TWRP 3.4.0-3.

I assume that when you say you used the 'TWRP official application' you mean the one from this thread (which is an unofficial build) as there isnt an official TWRP for the s10 series.

Did you follow the installation instructions at the beginning of this thread?. There are a few things that you need to do when 'rooting', especially for the first time.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Keule-Tm:
I guess he was referring to this: https://play.google.com/store/apps/details?id=me.twrp.twrpapp
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] darkslider27:
Hey,

I rooted my Samsung Note 10+ today and converted the "twrp-beyond2lte-3.4.0-3_ianmacd.img" file into a ".tar" file. Do I have to install this file in AP via Odin now?

I don't understand how I can install the .tar file from TWRP now via Odin. I ask for help
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] hanspampel:
[MENTION=6200041]depace83[/MENTION]

Don't use the twrp app to download the official files. It's still android 9. Same like on there homepage. There are only unofficial builds in OP for android 10.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Philnicolls89:
I'm not sure if this TWRP will work with the note 10, you may be better off searched for a note 10 thread. But the procedure is simple, if you have already patched the twrp file with magisk and converted it to a '.tar' file then you can simply flash through the AP slot in Odin (remeber to rename the file to 'recovery'). Then restart phone to twrp, don't let it boot properly, and then flash multidisabler.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] lauchiebeans:
Very odd, I have done every step above yet odin says recovery.img.img when flashing and does not move, I have tried multiple versions of Odin, multiple cables and ports and still the same result.

For reference I am on one ui 2.5 sep patch (rooted) and have .tar'd the files necessary with 7zip I also have all settings on phone selected OEM unlock (obvoiusly) and USB debugging both on, any guesses Im completely out of ideas.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Philnicolls89:
I'm not sure if it matters, but only rename the file to 'recovery' NOT 'recovery.img'. That is why you are getting the double .img.img when flashing.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] lauchiebeans:
Yeah I gave that a go also, didnt affect the outcome just different command line, I am truly baffled haha.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Philnicolls89:
Very strange. It could be an odin issue, i heard from a few users that certain versions are buggy, unfortunately I don't have access to my computer so dont know what version i use. However if you have used that version before to flash firmware then that's obviously not the case. Maybe an issue with the tar file that you created.

You could always place the twrp file inside your firmware and dirty flash it again. (Using ap, bl, cp and home csc to retain data).
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] lauchiebeans:
Just gave that a go also, still failed lol and resulted in a soft brick again, after reflashing firmware and getting back to original state I am now completely out of ideas, I may have to try the other available twrp methods because this simply wont work for me, which is very strange as this has worked for me in the past when I first installed lineage on the s10e last year.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Philnicolls89:
If the flash was successful, but resulted in a softbrick then that's a step in the right direction (from odin getting stuck during flash process). It could mean you are using the wrong twrp file. You need the correct one for the firmware version that you are on. For example my s10+ is on DTH7 firmware so I need the twrp-beyond2lte-3.4.0-3 image. If you on an older firmware version or using the s10/s10e or both, then you need to find the correct twrp image file. What is your current phone and setup?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] lauchiebeans:
S10e latest one ui 2.5 with september security path using correct twrp file for device twrp-beyond0lte-3.4.0-3_ianmacd.

Thank you for the help also it is greatly appreciated.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] darkslider27:
I followed the tutorial from Dr. Ketan to flash the Q10 Rome. He references this thered for the TWRP file. I am a complete beginner when it comes to rooting and I am very grateful for any help.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Philnicolls89:
I have no experience with the note 10, however if reliable sources have tested this build and it works for the note 10 then maybe try this guide by senior member [MENTION=2022726]PiCkLeS[/MENTION].

Not all of it will pertain to you as you already have root, but its still worth a read. Also if you are already rooted than you most likely do not need to do a complete formatting of data.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] monicaONxda:
TWRP and Magisk-EdXposed, Encryption, Nandroid, Note 10+ Exynos

On a Magisk rooted "Samsung Galaxy Note 10+ 5G Exynos" (no ramdisk, A)

1. When patching recovery image with Magisk: do I only have to patch "recovery.img" and flash it with Odin (AP)? What about "boot.img" and "vbmeta.img" that are included in TWRP distributions (zips, tars)? When TWRP needs its on kernel, then boot.img should also be renewed!?

2. Are there any problems when EdXposed module in Magisk is installed (which also modifies boot partition / kernel)?

3. When FBE is disabled (via "Multidisabler"), I cannot set a lockscreen password, have no encrypted /data partition, right?

4. Since I mostly need TWRP for Nandroid backups and like to keep encryption: can I disable FBE (with TWRP) only before a Nandroid backup and after the backup enable it, so I can keep /data encrypted again? If you HAVE to format /data after disabling FBE then how can I backup /data in the first place? Is there another Nandroid backup tool or anything that can backup (all) partitions?

5. I couldn't find a specific TWRP image for a "Samsung Galaxy Note 10+ 5G Exynos", can I instead use the S10+ Exynos version linked here? Has anybody tried it?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] robbo1947:
To answer all your questions, I would suggest you consider joining the Samsung TWRP/Root on Telegram. Link:

https://t.me/samsung_twrp_root
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] 1jkan:
Has anyone already tried this TWRP on DTI8?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] monicaONxda:
I don't have/use Telegram... Maybe a user here has experienced the same/similar problems...
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] rafalubo:
hello what are the problems?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] monicaONxda:
Sorry, its regarding post #1365 above...
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] jimdoe9000:
Hi all.

I'm about to start the entire process of installing lineageOS on my Samsung galaxy s10.

This thing I read at the introduction to this board:

''If your device is currently still unrooted and running stock firmware, you are strongly advised not to proceed with installing TWRP. First root your device with Magisk, using John Wu's excellent Samsung system-as-root-instructions for patching the firmware's AP file. Only when you have completed that procedure should you return here and continue from the Image Preparation section.''

is this still the case?

The reason I ask is I know things change as time develops and this was written over a year ago. I have my s10 available to unlock the bootloader using the OEM unlock in developer options, normally from here I would just boot up Odin and install TWRP using the standard method, but from what I gather things might be different with an s10 to older devices which I'm familiar with.

Anyway, do I really install Magisk before TWRP, that sounds a bit crazy to me?

So I'd be rooting my phone before installing TWRP, I normally use TWRP to install Magisk, so how would I go about installing Magisk first?

I have that ADB and command line stuff installed on my PC for doing that fastboot thing, so presumably that way? No idea how to properly use that stuff, is it really necessary? I don't like doing it, so if it can be avoided and there is an easier way please let me know. From what I gather it's essential to do the fastboot command thing before rooting, installing TWRP and what not, or is it?

I like things to be simple, most of the jargon and terminology goes over my head so please bear that in mind, I can flash TWRP with Odin, then I can use TWRP to flash things, which is my usual approach, beyond that I'm pretty useless :(

Cheers.

Edit: Also should I update my stock OS to the latest firmware and security settings and all that yarblockos before proceeding with the root, TWRP etc, as currently I'm getting notifications that some things can be updated? I never understand the point of this, always concerns me updating things like this as worried it can prevent me from doing these hacking things, maybe that's come from all the years of jailbreaking I had to suffer with on ****ty iPhones.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] robbo1947:
I think this is currently the best guide for rooting and installing TWRP on your S10:

https://xdaforums.com/showpost.php?p=79411681&postcount=9

I would suggest updating your firmware first.

Become familiar with rooting with stock firmware before proceeding with flashing Lineage.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] 99nirc99:
This guide might be outdated because he's obcviously refering to specific steps in the Magisk installation guides that are probably not in the right order anymore.

Just making sure i'm not making any mistakes:

what is "step 6" he specfically says not to follow and "Step 7" he says you should follow?

Do I patch both the AP file and the TWRP img with the Recovery Mode option in magisk manager checked?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] robbo1947:
It all depends if you want to keep the stock recovery or install TWRP recovery.

If you want to keep the stock recovery, just follow this video: https://youtu.be/o3a8YnWT3yk

If you want TWRP recovery, it's best to install it the same time as doing the rooting process. (One Odin flashing instead of two).

Follow the video, but also include the following instructions where needed.

I use [MENTION=7187684]ianmacd[/MENTION]'s TWRP. Also you will need multidisabler to prevent TWRP encrypting your phone data, download multidisabler from HERE and copy it to your phone SDcard.

For TWRP Download being careful to select the correct version for your firmware version. (Not just correct model version but correct updated version of your firmware). Magisk patch the TWRP image giving you a file called magisk_patched.img. Copy the magisk_patched.img to your computer and rename it to recovery.img.

Now go to your existing magisk_patched

.tar

file and open it with 7zip, from the 7zip window delete recovery.img and then drag the file you've just renamed into the 7zip window.

Your magisk_patched.tar file now includes TWRP as the recovery.

Please remember after the Odin flash you must go to TWRP before booting into Android, and bear in mind when TWRP first loads that it does it's own quick reboot, so be ready to hit the button combo again. When TWRP is loaded go to Install and install the multidisabler. Now go to Wipe and Format data (where you have to type 'yes' to confirm).

Go to Reboot and select Recovery. When rebooted install and open the Magisk apk. Magisk does it's stuff and reboots into Magisk rooted mode.

CREDIT to [MENTION=7187684]ianmacd[/MENTION] for his tireless maintenance of his TWRP and multidisable
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] just6chill:
yes

i love ur work ian
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] austinsilvester:
Tried it and working well.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] grujea:
By chance, with Magisk?

I'm asking because I'm trying to go custom OS (pixel experience plus) on my S10 and I've ended up softbricking it twice and I can't figure out if it's due to the fact of having DTI8 (and twrp being released on the previous build) or something else... Up to a certain point everything to work as expected: rooting with stock magisk patched AP> installing magisk patched TWRP> installing multidisabler. It fails when flashing the PE OS + patched boot img by Ivan_Meler (the boot image is based on DTI8, so I expect that not being the issue): the phone sotfbricks and I have to flash stock firmware through Odin to get out of it.

Maybe someone can point something worth trying in order to make it work?

Thanks!
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Philnicolls89:
This twrp 100% works with the latest DTI8 firmware. So you problem isn't twrp but most likely the custom ROM.

Is the pixel rom you are trying to flash made for the s10? It seems strange that it would have a patched boot image, usually you would either patch the recovery image (twrp) and boot to recovery, or the kernel would be pre rooted with magisk so that you can boot to system.

---------- Post added at 08:10 AM ---------- Previous post was at 07:49 AM ----------

[MENTION=7187684]ianmacd[/MENTION], now that there is an official TWRP for the S10 series I assume that you will no longer support future firmware updates.

We all appreciate the hard work that you have done for the community, this thread has been the most informative and comprehensive guide on rooting and TWRP that i have come across for this device and you have helped 1000's of people.

Please keep this thread open simply for the information contained inside, I would have been lost in the beginning without your help and the help of all the other members on here and hopefully I have been able to pass on some of that information to help others.

Once again thank you and good luck in your next project (if you decide to take one on). :)
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ianmacd:
Actually, I will continue my unofficial Android 10 builds until Samsung cease to issue Android 10 firmware for this series. Many people have come to trust these builds and some don't wish to move to an alternative.

The official builds were actually also produced by me until Android 10 appeared. Because there was no official Android 10 tree for TWRP, however, my official builds for the S10 series had stalled at supporting Samsung's final firmware release for Android 9.

Official status for these builds came to be something of an albatross. I requested it at the time to kickstart community development by signalling that the device had arrived, as it were. However, having official status for the builds yielded ever diminishing returns from that point forward. It was also an administrative burden and made the build and release cycle less agile. Nevertheless, I maintained the role until I saw no further benefit to doing so. On (repeated) request, I have now relinquished it.

This thread will remain open. I agree with you that it continues to have value.

As for other projects, there are many. As far as TWRP is concerned, I continue to produce unofficial Android 10 builds for the Note10, S20, Note20, A51, A71, Tab S6, Tab S7, Fold and Fold2 series. Most of these have no XDA thread associated with them, however. The builds are released and supported via the Telegram group linked to in the OP of this thread. This is again to reduce the administrative overhead. I have no objection to XDA threads being created for these builds; merely to being the one to do it.

So, thank you for the kind words. It has been my pleasure to support these devices in the way that both they and their users deserved. I hope that the new maintainer of the official builds will continue in the same vein.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] hoeni:
I'm aware of that. Getting magisk to work was never a problem. However, installing TWRP on top of that seems to not work for me.

After flashing with Odin my phone won't boot into anything but download mode for some reason. If I revert to magisk only everything works fine.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ianmacd:
OK. I replied with that link, because you asked about holding the keys to select what to boot, and that's specifically covered in John's instructions.

I just had a look at the page you said you followed to install TWRP and it's out of date. It assumes a pre-patched TWRP image file, which is not what the OP of this thread supplies. Here, you're downloading a vanilla TWRP file and you must pre-root it yourself, using Magisk. Perhaps that's where you're going wrong. You may also be using an old TWRP image. The pre-3.3.0 builds are known to have serious issues and can render your device unbootable.

As a basic rule, stick to the instructions given by John for rooting your device, and then stick to the ones given in this thread for applying TWRP on top of that.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] hoeni:
Due to a lack of patience I tried several things at once, true.

But even with following the instructions provided by Pickles it wouldn't work for some reason.

I can install magisk following these instructions https://topjohnwu.github.io/Magisk/samsung perfectly fine.

However TWRP won't work.

I have a magisk patched AP file and a magisk patched twrp file (twrp-beyond2lte-3.3.0-1_ianmacd from the OP, renamed to recovery.img after patching).

I open magisk_patched.tar with winrar, unzip everything, replace the recovery.img with the twrp one and zip everything into a .tar file using 7zip.

I flash that one with odin, however after that I can only boot into download mode. Everything else results in a boot loop.

Am I using the wrong programs for handling .tar files? Odin gives no error messages whatsoever.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] drago122:
After flash the magisk_patched.tar have you follow the last instruction??

J) We now need to factory reset our device:

-> Press Power + VolDown for a few seconds to get out of download mode

-> AS SOON AS THE SCREEN GOES BLACK: Press Power + Bixby + VolUP and HOLD THESE KEYS FOR A LONG TIME until you see the bootlogo of TWRP, then release the keys

K) In TWRP, install your downloaded multidisabler-zip from your SD-CARD and DO NOT REBOOT

L) In TWRP, format data (not only wipe, choose specifically "Format data" and write "yes" and go ahead and after DO NOT REBOOT

M) In TWRP, go back to the start screen - choose "Reboot" and choose "Recovery" AND NOTHING ELSE - DONT touch any keys on the device
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] hoeni:
Yes, that's exactly were everything goes awry.

I'm getting stucked at step J.

I keep pressing Power + Bixby + VolUP for 5 minutes but the phone just keeps on rebooting over and over. Even if I release power button and only press bixby+volup or even only volup the phone keeps rebooting.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Player04:
I encountered that boot loop problem using that method.

I think i solved the problem. I flashed the patched twrp, then format data in twrp, flash multi disabler zip, flash the magisk patched firmware, reboot to recovery. Viola , nomore bootloop. Retained my root and twrp.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] hoeni:
How did you flash the patched twrp if thats a .img that odin won't accept?

---------- Post added at 08:42 PM ---------- Previous post was at 08:33 PM ----------

I tried a cloud converter and flashed the converted tar file via odin.

I get a fail and my phone says:

"Only officially released binaries are allowed to be flashed (RECOVERY)."

:confused:
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Player04:
Magisk patched twrp, renamed it to recovery.img, then tar the file using 7zip (https://www.google.com/amp/s/xdafor...onvert-twrp-img-to-tar-odineasy-t3355944/amp/) , use odin to flash it in the AP slot
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] mihaixp:
Hi [MENTION=7187684]ianmacd[/MENTION], thanks a lot for creating this and sharing it with the whole XDA community.

I've used John's method in the past (without TWRP) and it worked, sort of. Something weird happened to my device twice: it entered a bootloop and never recovered (read: never booted again), had to fully wipe it and start over again. This frustrated me quite a lot and I sold my S10e whilst waiting for a more stable method that wouldn't allow this to happen anymore.

The method that you are proposing here, which in part is John's method but adds the TWRP and the multidisabler, makes the above scenario impossible? I'm considering buying an S10e once again and I'd like to find out firsthand from you if that's the case? Thanks
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] solidus636:
hey i installed the magisk from John Wu's link and there is NO OPTION for patch boot img. i really need this completed. any help?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] hoeni:
Thank you so much for your help.

For some reason it won't do it however. Odin says this:

<ID:0/003> Added!!

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

<ID:0/003> File analysis..

<ID:0/003> Total Binary size: 58 M

<ID:0/003> SetupConnection..

<ID:0/003> Initialzation..

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

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

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

<ID:0/003> SingleDownload.

<ID:0/003> recovery.img

<ID:0/003> RQT_CLOSE !!

<ID:0/003>

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

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

I can't reflash something at that moment, because odin seems to not be able to get a connection.

I have to exit download mode and enter it again.

This is getting annoying now. :silly: Thank you guys for helping me out here!