yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] OsoAlgo:
My phone already has Magisk-patched rooted stock ROM with TWRP (Android 11). I would like to update the OS (to Android 12), and I've always followed these instructions in the past, adding multidisabler at the end. What do I do with avb-disabled vbmeta in this scenario?

EDIT: Ok, I figured it out with this post's help. Additionally, the upgrade in Android version made some changes that rendered my PIN unusable, so I couldn't unlock, the phone would just crash and return to the lockscreen. I could fix that by following this post.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Constantine1711:
G975F

Hello !

I intalled TWRP and Wipe/Format data in TWRP. I had to intall multidisabler-samsung-3.x.zip so I found I had to put in my SD card but TWRP didn't to refresh so I reboot the phone and now it's reinstalling. Should I reflash TWRP to install multidisabler-samsung-3.x.zip ?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] fbalder18:
I have a problem to put a custom rom on my S10 Exynos SM-G973F because I don't get TWRP on it installed. At present it has

AP G973FXXSGHWA4

BL G973FXXSGHWA4

CP G973FXXUGHVK1

CSC G973FOXMGHVJ5

I succeded with unlocking the bootloader, on download mode page it says OEM LOCK: OFF(U).

When I flash TWRP twrp-3.7.0_9-1-beyond1lte.img.tar with ODIN 3.14.1 in AP slot it fails. On the device it says 'Only official released binaries are allowed to be flashed(RECOVERY).

Same message comes when I try to clear vbmeta with vbmeta-disabled.img.tar using BL slot (with VBMETA in the message).

What can I do to get TWRP running?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] fbalder18:
I manged to get it running. Incidentally I ran across a forum post covering the topic 'KG prenormal'. I didn't know that there is a second barrier. I reset KG and flashed twrp into AP and vbmeta into USERDATA. TWRP did boot :)
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] charlis88:
MY PHONE SM-G973F (ANDROID 10)

I READY FOLLOW INSTALL TWRP FROM THIS...

READY UNLOCKBOOTLOADER

SM-G973F_O2U_G973FXXU3BSL7 (THIS MY FIRMWARE)

MY STEP :

OPEN ODIN

PUT RECOVERY/TWRP FILE IN AP , PUT AVB VBMETA IN CP

FLASH DONE , WHEN I TRY REBOOT TO TWRP OR RECOVERY ,ERROR VBMETA . . . .

ANYONE HAVE SOLUTION PLEASE

THANKS DEV . . .
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] corsicanu:
You need to have latest fw to be able to use latest twrp.

Flash latest android 12 build for your region then try again.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] VampiruX:
Hi,

Doesn't work for me.

SM-973F, firmware: G973FXXUEGVB4_G973FOGCEGVA2_FTM

TWRP 3.6.1 9-3

I get msg in red:

recovery: Error validating footer. (0)

recovery: Error verifying vbmeta image: invalid vbmeta header (0)

VBMETA G973FXUEGVB4 49024003R

Unable to do more.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] VampiruX:
Thank you, but I did it, as explained in post 1.

Do I have the right one ? I used the link in post 1 .
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] corsicanu:
Your fw is too old for latest recovery. For that firmware you need an older release. Find what security patch date has the firmware then download a release from twrp official page that has release date near the month/year of your firmware.

Regards
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] VampiruX:
Many thanks. I'll investigate getting a newer FW, or an older TWRP release, but I followed your advice given in an other post acting the levels of FW and TWRP.

Edit:

Sorry to go back on my trouble, but I use FW GVB/GVA and TWRP 3.6.1 as stated in post #2.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] VampiruX:
I have successfully installed TRWP, But I installed Magisk by TRWP and it doesn't work properly. I tried to reinstall the APK, but it doesn't work. It ask me "where is the file to patch ?", but I don't know what to answer. I don't understand well how it works now.

I someone could give me some help it would be very appreciated.

Thanks in advance
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] tester2:
It is possible to temporarily boot into TWRP from .img file?

USB ADB command

fastboot boot twrp.img

not work in Download mode ("<waiting for any device>" and nothing happen)

Any other ideas?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] fbalder18:
I think that Samsung devices don't support temporary boot. They don't have the fastboot mode. You can flash the recovery with Odin or Heimdall after starting the device in Download mode. The bootloader needs to be unlocked so that it can be flashed.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] tester2:
Thanks for the info about Samsung and flashboot.

I have Magisk in Recovery Mode, and as I don't know if it is possible to have both TWRP and Magisk at same time. So probably flashing "clean" TWRP into recovery would remove Magisk's root.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] fbalder18:
Is your system a custom rom or is it Samsung rom? Is Magisk root in your system? Do you boot your system directly through boot or do you boot your system through recovery?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] tester2:
I have Samsung stock ROM patched AP*.md5 file by Magisk on device.

Yes, I have root active.

I must boot through recovery to root.

(but strange thing: every first dozens of boots after restarting/power off/etc. have root activated even without buttons combo to boot through recovery. But when I enabled USB Debugging then I must always press buttons combo to pre-boot to recovery for root).

To be more specific: I want TWRP only to make nandroid backups/restores. I don't know if it would be possible to do with Android 12 and this phone.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] fbalder18:
The original twrp from twrp.me does not support Android 12/13 encrypted data partition for S10. Probably there is a modified version floating around somewhere.

You could backup your apps including data using Neo Backup. It's very reliable. You can test it recovering the apps to a different phone.

When you want to try to flash a recovery, it is very important to have the image of your present, working recovery. Create it using twrp or in a terminal on running system using dd. Then if you need to go back you can create a tar out of the img and flash that in ap slot with odin.

You can patch twrp to include Magisk using Magisk install. Select twrp.img or twrp.tar. The patched img then can be flashed with twrp, the tar with Odin.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] tester2:
Many thanks for the essential and concise information!!

I'll look at Neo Backup.

I'm switching from Android 7+root+xposed (I changed phones once per 5-6 years, because I heavy customize it for my needs). So in phone "configuration phase" my goal is to have low-level backups of a whole system to quickly restore earlier checkpoints when things get messed up. Nandroid fulfilled this perfectly in the setup with old Android 7.

Thank you for the tips on where to continue searching.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] fbalder18:
Imho for device change Neo Backup is of more help than twrp backup. There is another piece of software für this purpose: Migrate NG. Personally I prefer Neo Backup, but I always make a backup with Migrate NG also, just in case of problems to have a second chance. But I never needed it so far.

I also make frequent backups with twrp to 'survive' configuration errors. Fortunately for my device twrp has A12 support.

You can make backup of system partition etc. using twrp and backup of data using Neo Backup. If backup of data partition with twrp is of extreme importance for you, you can configure your system not to encrypt the data partition. But you need to do it before you configure/install anything because data will be wiped. Disadvantage: your data can easily be read when you loose your phone.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] tester2:
Yes, I must prepare for frequent configuration errors and system crashes, because next few weeks I'll finetune, debloat, deinstall, install magisk/lsposed modules, etc. so probably I'll fu** up my system many times. ;)

Disabling partition encryption to have TWRP nandroid is not an option.

But the question is: can TWRP make bit-to-bit encrypted partitions image (and restore it if needed) on OTG USB flash drive? Without decrypting it?

BTW regards one-time transfering data from old phone to new: why you don't use built-in Samsung's Smart Switch?

I read in this thread "never use Smart Switch" but didn't found yet any arguments why not.

(additionally there is an option to make occasional backups on USB flash drive by Smart Switch in phone Settings - it seems as an built-in alternative to Neo Backup/Migrate NG)
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] fbalder18:
I think it is possible to make a data partition bit-to-bit backup in twrp using dd. You need a lot of space since gz to compress is not included in twrp. Probably one can use a binary from termux. But I think there is no riskless way to test the backup and restore using dd. The device should be /dev/block/platform/13d60000.ufs/by-name/userdata.

Probably you could use tar to backup and restore /data with the encrypted names and content.

If you need support to test probably I can find some time to assist. My second device I always could crash (as long as download mode is accessible...) is a S10.

I did not try Smart Switch yet. Isn't it necessary to have a Samsung account (that I don't have and want)? I understood that Smart Switch can only be used to transfer to a Samsung Galaxy One UI. The Samsung devices I have/had are/were all running a variant of LineageOS and my present daily driver isn't a Samsung at all.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] tester2:
Great tips. Thank you! I'll dig deeper into TWRP and dd and check it out.

Probably I will buy some old S10/Note10 with broken screen for ~$70-80 to only play with nandroid backups. I already spend too much time to configure my current daily driver (and didn't finish it yet) to get the risk starting from scratch. ; )

You didn't need to have Samsung account (at least for backup, but I didn't try restore it yet). You can use Smart Switch app icon or just go to Settings → Accounts and backups and save backup to SD/OTG flashdrive. More info here. It will backup of course One UI and other things too.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] fbalder18:
That's not really necessary, only do it if you want to replace the display to have a fully working spare. You can send me a PM here so we can discuss this topic.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] patrykat:
hi i have a problem because i downloaded twrp on my s10 with exynos and twrp works normally it starts and i can download custom roms but the stock rom does not start at all what should i do to make it start
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] patrykat:
it starts to fire but stays on the samsung logo and then restarts
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] fbalder18:
Can you start into the TWRP user interface? On newer firmware you need to have an usb cable connected to a desktop computer to start recovery gui. Is the TWRP patched with Magisk?

When you are in TWRP gui, you can solve the problem with formatting the data partition. YOUR DATA WILL GET LOST!! No chance to get it back. YOUR DATA WILL GET LOST!! Press the Wipe button and then Format Data button. You will need to enter 'yes' and confirm that all your data will get lost. Then you can go back to the main screen and press Reboot button and then System. Then your system should boot.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Defiant01:
Hello. I have a few questions, I am hoping that I can get answered if anyone is willing to help. I have a Sammy s10 exynos running rooted (w/magisk) android 10 & ianmcld version of TWRP. I would like to upgrade to android 12 (for newer security). I understand that I need a new twrp version. I also believe it is a good idea to upgrade to android 11 first then to android 12 (am I right or wrong?).

I am planning to patch twrp with magisk and ap file. insert patched twrp named recovery where the oem recovery is (after deleting of course). Is that all I need to do considering I already have the phone rooted (currently with magisk v 25.)?

I have been searching around a while (months) and haven't found a direct answer.

Also what version of TWRP for android 11 and which one for android 12?

Thank you very much in advance for your help in this matter.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] MetropolisPt1:
Hi all

I am using my G975F with Android 13 (LineageOS 20) and would really appreciate having a TWRP supporting this version fully. Is there anything around?

thx!
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] suicyko:
coming from firmware OEM WC1 magisk rooted. Following rules from ianmacd and corscanu.

just flashed twrp 3.7.0_9-2 (first patched with Magisk app) / vbmeta on my G970F (s10e)

format /data on twrp to avoid bootloop and removing encryption ( WARNING because loss of ALL installed APP / pictures / downloads / docs .... and cleaning user preferences).

first long boot because environment is re-created by the system.

restore all ! working.

booting in recovery mode with magisk app ==> magisk applied

booting in recovery with buttons combination (vol up + bixby + power) ==> twrp

flawless victory !
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] lngur:
The Recovery image is twrp_3.7.0_9-2-beyond0lte.img

The system is lineage-20.0-20230831-nightly-beyond0lte-signed.

Installation of multidisabler failed, but flashing vbmeta with heimdall seemed to be ok.

View attachment 5994337

When installing or backuping images the error is

"Failed to mount '/vendor' (Invalid argument)";

"Failed to make backup folder".

View attachment 5994333

View attachment 5994335
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] suicyko:
What ROM u come from ? Seems that /data is encrypted
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] silv3rness:
Hello, guys! I'm having the same problem here, "Failed to mount '/vendor' (Invalid argument)";.

The phone is S10e, using the latest TWRP, it has some trouble with this partition. I've tried all the tricks on the web, nothing has worked so far. Maybe it's a bug.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] mosadek:
Update Bootloader-modem G975FXXSHHWI1
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Nihilumbra:
Please help me.

I installed twrp with odin and rebooted.

Key combinations don't work and it keeps rebooting.

It does not enter recovery or odin mode.

I can't turn off the phone.

It keeps repeating
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Tekken49:
Hello

I'm having the same problem here, "Failed to mount '/vendor' (Invalid argument)"; on my SM-G973F

I don't found G973FXXSHHWI1 in French CSC
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] DreckSoft:
Is there any TWRP version for S10 with crypto support? I try to recover something from /data. With LOS installed it should use the standard encryption, right? So TWRP with crypto support should work...
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] magnumoZeus:
hold volume down + bixby + power button while usb connected to pc, itll boot into odin mode.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] magnumoZeus:
only treble compatible devices have vendor partition , s10 is not treble compatible , therefore doesn't have vendor partition, ignore the Failed to mount vendor error and carry on.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] acekhun18:
can i flash vbmeta and official twrp using termux ? im currently using LOS recovery .
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Rattanak:
i flash TWRP using the instruction, but i ended up bootloop ... i got G975N ( korean )...

does it use any specific File for it?

here the phone details :

Device information

Model : SM-G975N

Brand : samsung

Device name : beyond2

Product name : beyond2lteks

Product code : SM-G975NZKASKC

CSC code : SKC

CPU : exynos9820

Platform : universal9820

CPU Arch : arm64-v8a
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] MrBricker:
Sorry guys this has probably been asked a million times but i cant install twrp again.

currently got the s10 on e /0s with e recovery. I would like to have twrp back to flash a different rom but i just cant get it back, tried the vbmeta file when using odin but just fails, this is the hardest of the old samsungs to mess about with:cautious:
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] MrBricker:
also anyone know if its possible to get rid of those pesky bootloader warnings , cheers
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] burgerenthusiast99:
hi guys, I know this is for exynos, but I have a snapdragon s10 5g (g977p), and I have bootloader unlocked and everything. Everytime I try flashing twrp, it doesn't flash and just sends the phone into constant bootloop. I tried asking for help on the s10 5g forum, but it's basically dead. I flash vbmeta and the twrp recovery for the phone twrp recovery, but it just bootloops. currently on bootloader v5, running android 11 security patch feb 2021. I have root access on the phone btw, magisk fully working, and bootloader is obviously unlocked. my main goal is to develop a gsi for the phone, so that there's some life back into the scene, as it's dead. I did follow the guide, and no dice, hence why I'm asking here. any help is welcome!
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] JMailuhu:
Your issue is probably because Snapdragon devices are not supported.

And you do know that any GSI based image needs treble support, which the S10 series doesnt have, right? So you can try to "develop" a GSI for the S10 5G, but it wouldn't even work other than a waste of time..
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] cappuccini:
Thank you very much for your instructions, they have helped me a lot 😀
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] alex.do:
Is there any way for TWRP to decrypt /data which was encrypted for some reasons? My Samsung S10+ is on Android 12 and got bootloop. I only want to keep the data. Appreciate any help!
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Zamperl:
Great description and everything is working.

Download and flash

multidisabler-samsung-3.*

zip to disable security and encryption.

I'm afraid if I'm losing my phone without encryption. Is there any way to encrypt the internal storage?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] the_dodita:
sorry, bad posting, please delete my post.

thank you!

Hi everyone,

I need help please, as I am struggling from this morning to flash twrp and I cannot because of vbmeta... I tried every vbmet.tar, but no luck...

I dont find a file which passes the flashing with Odin. I have a SM-N986B with firmware N986BXXSBHXE9 Romania, security patch 2024-05-01.

Can somebody tell me how to proceed, please?

Thank you very much!
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] cicci0:
hi guys.

i have rooted my s10+ g975f with patched AP and magisk.

now I'm in this situation.

(Powering up normally) → (System with no Magisk)

(Power + Bixby + Volume Up) → (Bootloader warning) → (Release all buttons) → (System with Magisk)

(Power + Bixby + Volume Up) → (Bootloader warning) → (Keep holding volume up) → (Actual recovery).

Is there any way to always boot with root?

following this guide, I managed to get the recovery, but once started, the smartphone restarts after a few seconds.

I cleared cache, and dalvik cache. Nothing. Continuous reboots after loading the home screen.

I'm on this firmware.

G975FXXU9DTJA_G975FOXM9DTJB_ITV

I am using the latest version of twrp.

Solutions?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Philnicolls89:
The only way to always boot with root (not using key combo) is to flash a custom kernel that comes pre rooted with magisk. Such as cruel or thunderstorm.

The latest version of twrp is correct for DTJA firmware, what steps exactly did you do to install twrp?

Since you are already rooted, you only need to patch the twrp file with magisk. Convert it to a .tar file and flash in the AP slot of Odin along with the other files (bl,cp,home csc)

Alternatively you can patch the twrp file with magisk, open your patched AP file and replace the stock recovery with new one and then flash the AP file through odin along with the other files.

Remembering that the first time you boot to twrp it will do a few things then reboot, so when it reboots make sure to not let system boot but again boot to recovery using key combo and flash multidisabler. Then use the menu button to reboot to recovery, which will boot the phone with magisk.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] lukjod:
If using also edxposed You can nstall perfect addon for rooted Samsung firefds and also set default booting action and modify power actions and buttons as You like among other things

Wysłane z mojego SM-G975F przy użyciu Tapatalka
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] ultradj83:
Hi guys.

Any options to install TWRP without to replace the stock recovery in order to keep OTA?

Regards
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] cicci0:
Thanks for the reply.

I ran the guide but this step is not described in the guide.

So much so that I don't know how to convert a file in .tar (perhaps with 7zip?).

now i'm on rom with root, but i can't install magisk modules because i don't have twrp.

wanting to stay on stock rom and root, how can I uninstall bloatware (titanium backup for example does not remove the apps, when I restart the phone I always find them installed).

---------- Post added at 05:00 PM ---------- Previous post was at 04:57 PM ----------

wanting to install the twrp, from the position where I am (root with AP stock patched with magisk), should I still perform a wipe data?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] yuri76:
Si con crue kernel

Yes with crue kernel

S10-plus Cardhdrom
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Philnicolls89:
You can find .tar converter programs on Google, that's probably the simplest way

Otherwise just get your patched AP file and open it using 7zip, delete the original recovery and add your magisk patched twrp .img file (renamed to 'recovery') and flash the whole AP file with the other files using home csc to retain data. No data wipe needed. Formatting is only needed when installing magisk from scratch.

Also titanium backup doesn't work for me a lot of the time to delete apps etc. I use it to find where the files are located and manually delete with a root Explorer such as mixplorer.

*Edit* the disable vbmeta file in the instructions is used for flashing twrp without root, also some of the steps assume you are not yet rooted, eg performing a data format. Its much simpler if already rooted as I said above.

Hope this helps:)