yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] suicyko:
Hi

Is there a module or an application to avoid this manual combo?

I use Magisk manager to reboot recovery and have root mode.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] rugal2401:
you will have to reboot to recovery every time you want Magisk enabled.

it means that you need to do Recovery Key Combo → Splash screen → (Release all buttons) → to boot System with Magisk.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] suicyko:
Understood !

Now i'm checking if i can un-encrypt my data partition via the settings : i've disable "strong protection" option but i dunno if it's effective.

I'm coming from patched Magisk firmware only , and i think i haven't disabled encryption when i began to use my S10e. it will be great if i could avoid wiping my data partition
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] rugal2401:
do you need root or TWRP or both ?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] suicyko:
i wanted both ... but /data is encrypted as i saw after flashing twrp .

i had to patch with magisk canary version 23017 to get root instead of 23000 ( flashing twice so )

then testing twrp .. working .. except it reboot always in twrp since i didn't wipe /data and flashed multidisabler.

i roll back to Magisk root only with full reflash patched firmware BL+AP(patched23017)+CP+CSC_HOME

i have to backup data before further actions
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] rugal2401:
you can do both but you need to root first with patched AP

then install TWRP with 4th method (dd (Requires root))
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Philnicolls89:
Unfortunately the only way to unencrypt is to do a data format and completely wipe everything.

You could probably keep the encryption and just use an external SD card for all your flashing if you really don't want to loose it.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] suicyko:
I tought about it but i had twrp reboot only, i can't start the system and the settings are never saved this way.

I choose also to boot in recovery via twrp , same i boot back to twrp.

I dl the tar from twrp website then using Odin with the advices of OP (vbmeta).

Doing dd command is a better option ?

I'm coming from original firmware with magisk root and i update to the latest : G970FXXUEGULB (a12 ui4)

This part is probably needed in any case.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] rugal2401:
yes i did it with dd command , format data is needed to mount data
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] LaCruz:
Same here. I've done everything writen in Flashing guide, but on reboot with TWRP Recovery I got back into TWRP
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] rugal2401:
wich method you followed ?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] LaCruz:
How to patch Stock-Image (AP-File on Samsung). So it was a problem with magisk to patch lz4-files. This ends in a loop to TWRP. So my issue is solved. Thanks.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] missoo:
Hi everyone,

I got a s10e second hand and I am trying to install a custom ROM. First I had to downgrade to android 11 using G970FXXSEFUL1 with Odin 3.14. It worked successfully.

But then, I got a "fail error" (Complete(Write) operation failed) while trying to flash TWRP (I tried 3.3.1 and 3.6, which version is good for android 11?) in Odin with a blue screen on my smartphone "“an error has occured while updating the device software. Use the emergency recovery function in the smart switch pc software”. (I had to reinstall android 11).

Here is what I have done so far. Could you give me any tips to succeed here ? I am quite new to this world...

Instructions:

Odin (Windows)

Prerequisites: Samsung USB drivers, Odin v3.14.1

If you already have the bootloader unlocked you can skip to step 6.

Make sure OEM Unlock is ON in developer settings;

Turn off the phone;

Use vol down + bixby key + usb cable plugged to a pc to start the phone in download mode;

Long press vol up then confirm you want to unlock bootloader (this is needed one time only);

5.** Please be aware all your data will be erased including internal storage and phone will reboot!!**

Let the phone boot normally, pass the setup and connect to internet (wireless or mobile data) in order to unlock RMM;

Make sure OEM Unlock is ON in developer settings;

Turn off the phone;

Use vol down + bixby key + usb cable plugged to a pc to start the phone in download mode, short press vol up to confirm you want to go to download mode;

10.** If by any chance you see RMM state=Prenormal or KG state=Prenormal, redo from step 5!**

Download appropriate TWRP .tar file according to your device

Download avb disabled vbmeta .tar

Open Odin v3.14.1 and place the downloaded TWRP .tar file in AP tab, downloaded vbmeta .tar file in CP tab and click Start - once you press start grab the phone and press vol up + bixby + power to force it boot straight in TWRP after flashing

Thanks so much.

Edit: I have KG state=checking and OEM lock : off (u)

Edit 2 : I just succeeded using TWRP version 3.6.0_9-1
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] imranzakki:
coming from full stock firmware, unlocked bootloader can i flash twrp img?

format data yes ? and flash multidisabler and reboot to recover? if i wrong or correct plz guide. Not need root.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Philnicolls89:
Yes that is all correct, also when flashing twrp image you will also need to put vbmeta file in the CP slot of Odin.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] TroncoVivo:
can you flash magisk directly from this twrp?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] waterpolo:
With Android 11 and above this has to be in the kernel.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] TeslaSerb:
Hi Guys,

I need one information. It seems to me that there is a lot of fuss regarding TWRP and LOS. Could someone be kind enough to explain why is there so much repulsion towards TWRP

(I did a little reading and i came across some possible problems. Please feel free to add to this information i may be wrong, trying to figure out)

*TWRP could try's to decrypt internal storage which can be problematic and possibly corrupt data

(So in case we are not using encryption it is still safe to use TWRP with LOS?)

*Recovery should not be the tool for manipulating files/folders on storage

(This is really sad because i did some astonishing backups with this tool. Always made me feel safe)
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] PokeRekoP:
EDIT: Solved, sort of. Went brave and went on re-flashing through ODIN the full stock FW but made sure to keep "re-partition" off (!) and use "Home_CSC" for the CSC Slot. That kept "storage" untouched and I can now at least pull files in TWRP. (Longer story; followed instructions from the thread on my actual custom rom how to get twrp flashed together with stock FW).

---------original post -----------

SNAFU. Sorry guys, urgently need some advise plz.

In short: can I restore a previously used "known good" twrp 3.4.0-3.img (after tar'ing it) through ODIN AP slot?

What happend?

Was prepping to upgrade my A10 based rom to an A12 based version.

My TWRP was a magisk-patched 3.4.0-3_ianmacd version (still have a backup of that file at hand).

Downloaded latest twrp-3.6.1_9-1-beyond2lte and patched it on the phone with latest canary magisk manager.

Booted phone into TWRP (3403ianmcd, magisk patched) and flashed that now magisk-patched 3.6.1 into recovery.

That way to update twrp worked like always coming up to 3.4.0-3(_ianmacd) twrps, done several times in preparation of a rom upgrade.

Not today :( Now have the device nicely in the "download mode" boot loop complaining something about vbmeta. Damn.

I'd love to get back to my A10 rom for once (or into my twrp 3403) to pull some files from storage (to SD, or via adb). Thought I can backup from TWRP AFTER upgrading it... though WRONG.

Can I simply re-flash the 3403ianmacd via ODIN AP?

Do I have to give along vbmeta? Guess not, only needed for newer (A11, A12) roms, right?.

Or do I now have to flash all stock A12 parts through ODIN once (losing data+storage?).
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] ZeroCount:
So you are saying that we can disable encryption ourselfs and flash encrypted roms with twrp?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Spenders_McGee:
I've followed the instructions for Odin in the OP multiple times now exactly as written, and every time, when trying to flash TWRP and vbmeta, I get this RQT_CLOSE! error in Odin. Have also tried different USB cables, ports, and versions of Odin. From what I can tell it should be working.

Thoughts?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Philnicolls89:
Is OEM unlock turned on in developer settings and did you unlock your bootloader?

Also what version of Odin did you use?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Spenders_McGee:
OEM unlock is turned on, and yes unlocked the bootloader.

I used both 3.13, and 3.14.1 of Odin.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Philnicolls89:
What firmware do you have installed on the phone, and are you rooted or no?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Spenders_McGee:
Currently have the latest stock firmware, and no it's not rooted.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Spenders_McGee:
My apologies if this is too soon, but, bump.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] corsicanu:
The file you flash is for snapdragon S10e. The error can happen from 2 reasons only - either you have a locked snapdragon phone (US/Canadian - U/U1/W/V/R1/R4 etc) which can't be flashed, either you're flashing that file on Exynos phone. So what's the phone you're flashing on?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Spenders_McGee:
Ah, indeed it is the Exynos variant. This confuses me a little, as the title for this thread states that it is for the Exynos variant, so why include a file that is only for the Snapdragon variant?

Regardless, how should I go about flashing TWRP on the Exynos variant correctly?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] corsicanu:
I did not include a snapdragon file anywhere which makes me curious how did you end up on snapdragon download page, maybe from google? The difference in codename can be a bit confusing as the only difference between them is the letter q in the device name (i.e. beyond0lte - beyond0qlte).

So to sum up, if you own an exynos device (G970F / G970N) just follow the links from the first page.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Spenders_McGee:
Ahhh, I see. Yes, that is likely where I went wrong. I got vbmeta from here, but TWRP directly from their site, without realising that there was a one letter difference in the codename. Just double-checked, and I do currently have TWRP for "beyond0qlte" which is the wrong one.

Thank you! And my apologies if I came off as rude, I was just a bit confused.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Alex_x90:
Hello, just wanted to ask a couple questions before I try to move on w/ any installations. Im currently running android 10 and have ianmacd's unofficial twrp installed (magisk patched). If I flash the img I downloaded (twrp-3.6.1_9-3-beyond2lte) via my existing twrp, will it be magisk patched? If I flash via twrp will I need to flash the vbmeta & multidisabler? Will the fact that I'm currently on android 10 cause any issues w/ that specific twrp version (and if so which version do I need)?

I want to get set up w/ the newer twrp so I can update my rom from hyperom v5 for Q to v3.5 for R, so I can then get a newer version of the thunderstorm kernel (which I haven't yet installed any version of).
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Alex_x90:
Bump
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] malcolmy:
Hello @corsicanu

There are new versions on the TWRP page. Is there a changelog? What is new after 3.6.1_9-3?

Download TWRP for beyond1lte

Download TWRP Open Recovery for beyond1lte

eu.dl.twrp.me
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] culjonito:
It's a bugfix release. look here:

TWRP 3.6.2 Released

TWRP 3.6.2 is out now for most currently supported devices.

twrp.me
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] malcolmy:
Thank you.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] panomitrius:
I'm having this same issue, but mine doesn't get solved.

I'm having a Samsung S10e (SM-G970F/DS) with latest stock android installed, and I'm trying to install TWRP using Odin v3.14.1 (also tried using Odin v.3.14.4). I've tried with multiple TWRP versions for beyond0lte (all in img.tar format). I've tried from different pc laptops, with different usb cables (both original samsung and others), from mutiple usb ports, but all give me the same error message: Complete(Write) operation failed. Any ideas how to go about this? It should work, right?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] corsicanu:
Whenever you get that odin error check the phone screen and see what error you get on the phone. Maybe take a picture of everything is written on the screen at that moment.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] panomitrius:
Thank you @corsicanu, there's actually an error message that says "Custom Binary(RECOVERY) Blocked by OEM Lock" I made some searches on that and found out that I needed to long press the up button to unlock OEM (although in the stock rom settings menu, it was already displayed as being unlocked). Now I got it to work, but I get warning messages when booting my phone that it's not safe to use, etc. But it seems to work :)
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] panomitrius:
It worked well! This might not be the completely right thread, but I'm just wondering, since I installed LinageOS which then replaced the TWRP installation with LinageOS Recovery -- is there a way to reinstall TWRP straight from LineageOS without needing to use Odin? Wondering since I don't have easy access to a Windows PC. Or, as a second option, if it's safe to use Heimdall with Linux? I'm careful not to brick the phone.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] zogoibi:
Hello and thanks for your work.

I'd like to ask a couple of questions:

1.- In your OP says: "Compatibility: only GVA*/GVB* firmwares, OneUI 4.0". How do I check that? I am on Android 12 but I see no such sort of code (like GVA* or similar) anywhere in my "About phone". My baseband is G970FXXSGHVI1. Does that mean my firmware is SGH*, or HVI*, or neither? As to One UI, mine is 4.1. Will your latest TWRP work for my device?

2.- Where do I download your TWRP from? Here? https://eu.dl.twrp.me/beyond0lte/ And should I grab the very latest one, or is it advisable to stick to 3.6.0_9-2?

Thank you in advance.

[EDIT: Removed one question]
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] zogoibi:
But do those solutions simply "hide" the unlocked warning, or fully skip the waiting time?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] zogoibi:
Reboot into recovery from TWRP, Magisk or adb

After successfully rooting (with Magisk-patched stock ROM) and installing Magisk-patched TWRP (following this thread), it turns out I cannot reboot into recovery directly neither from the "reboot to recovery" option within TWRP, nor the similar option within Magisk app, nor the "adb reboot recovery" command. It always boots again into system. I have found out, however, that once I click on "reboot to recovery" (TWRP, Magisk) or issue "adb reboot recovery", then if I keep pressed the Vol+ key the phone finally does enter recovery.

Someone else is having this issue? (Supposing it is at all an issue. After all, it might make sense, since the Magisk-root-magic-hack has "hijacked" for itself, in order to boot rooted, whichever signal was previously needed in order to boot into recovery.)

But if some of you do not experience this, then I must have done something wrong.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] OsoAlgo:
That's how it's always worked, it's even documented like that in topjohnwu's original guide.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] zogoibi:
Maybe I didn't explain myself, English not being my native language. I was not talking about the physical key combo for the different booting options, but about directly rebooting into recovery via adb command or TWRP/Magisk reboot menus. Nowhere in Topjohnwu's guide is stated that those "reboot into recovery" methods do not actually take you to recovery unless you actually press vol+ key during bootup.

In any case, I am glad you confirmed this is the way it should work.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] raphkit:
Hi, i flashed /e/ with TWRP like you described it (used Odin / Pc)

Data Partition formated an flashed the multidisabler to my S10+ Exynos..... everything works fine

except for "USB Preferences" cant change anything, presetted to "no datatransfer"... cant get access to internal Storage, in Developeroptions USB debugging is active, when deactivated, S10+ is found but no access to internal storage....when i get back to recovery TWRP ->Usb internal storage is accessable....after reboot to /e/ no more......any ideas? would like to stick with /e/
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Chiosan:
Heyo everyone!

I am trying to install LineageOS 19.1 using TWRP 3.7 on my Samsung s10e.

I unlocked the phone successfully.

I installed TWRP 3.7 successfully.

I make following steps in TWRP recovery (tried in different order)

1) flush Magisk v25.2

2) format data, clearing cache, wiping system partition. all possible options in all possible orders

3) flush "multidisabler-samsung-3.5/3.4"

4) flush LineageOS 19.1 ROM

5) reboot the phone, but new ROM is not loading, but instead of it I get stock ROM loading screen stuck (Samsung Galaxy S10e, Secured by Knox, with red warning in top top side This phone is not running Samsung's official software..."

I tried everything, but it seems like formatting data is failing as I have remains of old stock ROM in place (not deleted fully). someone on reddit said it could be happening because of Knox protection.

any hints on this issue? I'll appreciate any answer, so thank you in advance

P.S. when I flush Magisk it says "stock boot image detected" - is it stock ROM remains Magisk detects?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] corsicanu:
Follow install instructions from lineage thread, whatever is written here as instruction is for installing twrp on top/for stock rom.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] lupin57:
Hi bro, ;)

To get root ... I think u need a patched TWRP !

U need it (except if using a custom kernel with Magisk included) cauz u have to boot in recovery to get root access with S10 series devices !

BR
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Chiosan:
I've tried official tutorial using official LOS recovery as well, but I have the same issue in both ways either LOS recovery or TWRP
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] corsicanu:
That's because you flashed multidisabler and after that you went to lineage. Again, please flash full stock rom and only after that follow instructions from lineage.

Regards
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Chiosan:
I've been trying to flush lineage using official tutorial on full stock rom, before TWRP. I found this topic later and tried it as well.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Swordfishx86:
TWRP 3.6.2_9-2 here on a S10e (SM-G970F, Exynos). I want to backup the current android installation with all and everything. Which partitions do I check? There are

- Boot (55 MB)

- Recovery (64 MB) <<--- I guess this one NOT?

- System Image (5.700 MB)

- Vendor Image (1.100 MB)

- Product Image (620 MB)

- Data (excl. storage) (27.669 MB)

- DTB (8 MB)

- DTBO (8 MB)

- Baseband (50 MB)

- EFS (2 MB)

- Cache (0 MB)
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] lupin57:
- Recovery (64 MB) <<--- I guess this one NOT? ◄• If u want to backup TWRP u're right :cool:
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Swordfishx86:
So I tick all other partitions? A backup of Recovery would be useless I guess because w/o working TWRP I can't restore the NANdroid-backup anyway.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] lupin57:
Without TWRP ? U can't restore anything :eek:

In fact, the backup belongs of ur space OFC ;)
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Swordfishx86:
@lupin57

Please, lupin, yes or no ^^
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] lupin57:
All partitions, except Cache (size = 0) and TWRP if it's ur preference :)
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Swordfishx86:
@lupin57 Thanks!! <3
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] SERGE4NT:
I want to update S10 firmware with twrp. https://github.com/corsicanu/9820-bootloaders_and_modems/releases/tag/G973FXXUFHVG4

I have to flash bootloader_modem-twrp_flashable.zip. But do I also have to flash device_tree-twrp_flashable.zip?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] lupin57:
Why HVG4 and not HVJ5 ... the last one ? :unsure:

I think there are instructions somewhere on Git :cool:
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] lupin57:
WTF ! :unsure:

I'm always using AOSP based Roms and I currently using HVJ5 !

Boot is perfect :cool:
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] lupin57:
If I am not wrong, the OP is ... for S10 devices !

Why should I have a Note ? :unsure:
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Stephanizgo:
Do I have to format data/factory reset every time when I boot to twrp?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] waterpolo:
no
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Paniolta:
Hi,

I'm having trouble installing TWRP in my S10. I rooted it using magisk and it worked.

Then i try installing TWRP by downloading TWRP official app in play store and flashed twrp-3.7.0_9-0-beyond1qlte.img . It said flashed failed. When i rebooted my phone i got stuck with a black screen with 4 white and grey points turning in the middle again and again and all I can do is press power off button to shut it down.

I tried a factory reset using recovery mode, reflashed magisk patched AP + BL/CP and CSC from stock firmware : I could re access my phone but magisk wasnt there anymore. I then tried reinstalling magisk and reflash with Odin magisk patched AP+BL/CP/CSC but when it comes to reboot I come to that black screen with grey dots turning again.

What can I do to move on ?

Thanks for your help.

My config :

GM-973F/DS

AP_G973FXXUGHVJ5

BL_G973FXXUGHVJ5

CP_G973FXXUGHVJ1

CSC_OXJ_G973FOXJGHVJ4
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Paniolta:
Oh f... thank you.

I can flash TWRP without rerooting with magisk ? Anyway I can't reinstall magisk now since I get stuck with that black screen with grey dots when I flash magisk patched AP together with BL/CL/CSC
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Paniolta:
Alright nvm I finally succeeded installing TWRP by flashing full stock firmware, reinstalling magisk and flashing with Odin the good recovery. Thanks for help !
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] qwertyu12345:
which twrp i can use with s10e snapdragon SM-G970U1 ?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] lupin57:
This one maybe ...

Happy New Year
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] applesucksLmao:
will i be able to re-encrypt my s10+ after flashing the kernel or anything i want? also, is the multidisabler patched into the twrp or i need to flash the zip?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Stephanizgo:
Flash the zip but don't know about the kernel