yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] exocetdj:
i haven't had any experience doing this via odin (just using odin for the usual core rooting methods and updating firmware etc

is it a case of

load odin and reboot to download mode

disable auto reboot and load BL, magisk_patched.tar (with patched TWRP replacing the stock recovery and being renamed recovery.img), CP & HOMECSC

Flash the files in odin and then reboot to recovery

flash multidisabler, reboot to recovery & do what ya gotta do

then power off and reboot to download mode and

disable auto reboot in odin, load BL, magisk_patched.tar (with patched stock recovery img instead of TWRP img), CP & HOMECSC

Flash the files in odin and then reboot to system using three button combo

??

---------- Post added at 06:40 PM ---------- Previous post was at 06:28 PM ----------

i was having an issue where it just hangs on the splash screen after executing the "way back to stock recovery" script run.

i then reflashed twrp via the app then on the way back i flashed the patched stock recovery.img then rebooted into system using the "reboot recovery" option in twrp.

this sounds a little weird but it works perfectly every single time!! :good::good:

more risk of flashing the wrong file maybe but i have had more success this way than with the script :)
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] SumDum YunGuy:
I am using xda labs, don't see a post number
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ianmacd:
Version 3.3.1-5_ianmacd released for the G97[035]F.

Changelog

v3.3.1-5_ianmacd for G97[035]F [inc. ASG8 kernel] (2019-08-07)

Kernel rebased on Samsung's ASG8 source code.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ru_dimka:
Awesome! Thank you!

---------- Post added at 09:08 PM ---------- Previous post was at 08:50 PM ----------

Now I have ASG8 FW + Magisk installed and want to install TWRP. Some questions from newbie:

I have to patch downloaded img by magisk manager and run the command "

# f=/storage/emulated/0/Download/magisk_patched.img; dd if=$f of=/dev/block/sda15 bs=$(stat -c%s $f)"

1) Right?

2) BUT also I read that after that I have to install a multidisabler?

3) And it will reset all data on my phone right?

4) Is it right that I have to reset all data every time when I will update my FW with TWRP installed? Is there some workaround to avoid this or restore all data easily?

5) And without TWRP I can update my phone without wipe?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] SumDum YunGuy:
This means we can leave your TWRP installed, keep root and camera working?

---------- Post added at 09:57 PM ---------- Previous post was at 09:50 PM ----------

What DL image are you referring to?

Disabler doesn't wipe your data, but 1st run of TWRP requires formatting data & rebooting recovery to unencrypt

I don't plan on having TWRP installed until needed, scripting is fairly painless
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ru_dimka:
I wish to try Soldier`s custom FW. So only 1st time it will wipe my data?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] SumDum YunGuy:
This is what I was told

---------- Post added at 10:08 PM ---------- Previous post was at 10:07 PM ----------
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ru_dimka:
ok, I see, thank you. But one more question: ok, I installed TWRP and everything is fine. Can I reboot safely to unrooted android or not? Or I have to run the disabler before? (I am afraid of accident boot to unrooted OS...)
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] SumDum YunGuy:
I would run the disabler again, just to be sure

You have to install the stock recovery also if you want root

Which TWRP did you install?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ru_dimka:
Now I have only stock ASG8 with Magisk installed and thinking about TWRP installation. Trying to understand what I have to do, pros and cons..
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ianmacd:
If you are loading TWRP on demand, the easiest way to upgrade the firmware is to replace recovery.img in the Magisk-patched AP file with your TWRP image, renamed to recovery.img. Then flash this, along with the CP, BL and HOME_CSC files. Doing it this way avoids the need for a second Odin flash.

Then, it's as you described it: Reboot to recovery and hold the keys to drop through to TWRP. Flash the multidisabler to restore the protection it provides and then reflash your Magisk-patched stock recovery (i.e. the one you previously replaced in the AP file).

Yes, if you're stuck in a bootloop with TWRP not in the recovery partition, you'll first need a tool that can flash TWRP from download mode. That's either Odin or Heimdall, so you'll need to get to a computer before you can restore order. That's the one disadvantage of the on-demand method of using TWRP.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ianmacd:
Rebooting to unrooted Android is no different with TWRP in recovery than it is with stock recovery. There's no need to reflash the multi-disabler.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ru_dimka:
Thank you. Is it possible to install twrp without SD card? I see that I have to reboot after that and install disabler. But how to do that without card? Thx
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ps000000:
Work fine with Beyond ROM ASG8 S10+ exynos. :fingers-crossed:
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ianmacd:
You will have to push the multi-disabler zip to an unencrypted internal partition (i.e. not /data) and flash it from there.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ru_dimka:
/storage/emulated/0/Download is ok, right?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ianmacd:
TWRP is just a recovery environment. The custom kernel used in these images is configured to be compatible with Android, but it cannot be used to boot it without first being patched by Magisk. However, Magisk isn't supplied with these TWRP images. The user is free to patch the image using any version of Magisk he pleases, so the statement that these images "work fine with Beyond ROM" doesn't make sense. As is, they can't be used to boot it or any other ROM, including stock firmware.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] vegetaleb:
Are usb and usb otg working in twrp?

Last time I tried to see the s10+ sd files on my pc from twrp nothing appeared
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ru_dimka:
Delete this post pls
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ianmacd:
USB works. adb, for example, works.

MTP, however, does not work.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] TheUndertaker21:
why does the N model of s10 including the 5G model is left out.

want to buy the 5G but doesn't seem like there's any love for N.

the B model is super expensive and hard to buy from US

anyone knows why N models aren't supported ?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] FlatOutRU:
Any guides how to compile a twrp for s10 series? I want to try doing to for Snapdragon variant
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ru_dimka:
Is it possible to flash stock rom with TWRP? Or I have to use an ODIN with prepatched by magisk manager and replaced recovery?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] usitaly:
using the version 3.3.1-5 of the TWRP I am having problems with the rename and/or to change or modify permissions of the system files...
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ru_dimka:
Is it possible to flash the stock rom with TWRP?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] hanspampel:
No, unless you know how to create a flashable firmware.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] _RedT_:
Can i have TWRP for G975N?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] TheUndertaker21:
no sadly , the N model is being left out and no one replied why

i can get a 5G one for less than 600 dollars but due to no root. i cant buy it
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ExtremeGrief:
Root works on N model i think.Use the F variant instructions
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] TheUndertaker21:
Twrp will not work with it.

Why most roms don't have N support.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Philnicolls89:
Are there any significant updates to the asg8 software? I am still running asf7 with custom rom and trying to decide wether it's worth going through the hassle of updating.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] PiCkLeS:
Let's set the record straight once and for all shall we.

If and when Ian gets changes to TWRP itself, the recovery, that makes it have a new feature, having a bug fixed or anything that is important for the recovery TWRP to do at all, I'm sure he will be very clear on what that is in his posts here in XDA and elsewhere.

However. When that release of TWRP is based in the unfortunate fact that the S10x-devices needs kernel sources to be used in conjunction with the latest firmware, ie when I, you or anyone decides that they want to keep TWRP when running system instead of flashing back stock recovery - then that's all there is. It's just a release to have the right and latest kernel that comes with the current firmware release of Samsung's system.

What that means is that one can use any TWRP (within reason) from way back as long as one keeps using it and when done, flashes the stock recovery again.

That is why it's highly recommended to start getting used to just flashing TWRP when it's needed, do your business within it, and then flash stock recovery. On demand, as such.

So to answer your question directly I do understand that you are asking an off topic question really, this is not the thread to discuss changes between firmwares, it's for things and matters related to TWRP and nothing else. But I see the next question soon arise wich could be the question to which the answer is what I just wrote above.

Also, please don't wait with updates of firmware just because you don't have an updated TWRP to match with correct kernel, that means you loose out on important (sometimes) updates from Samsung. You really really don't need twrp as your recovery all the time while in system. I promise you. Just use a script or any of the excellent other ways described on this thread to just use TWRP when needed.

To summarize:

* Start using TWRP on demand and stop wanting to have it installed all the time

* Don't wait with firmware upgrades due to no updated TWRP because you will miss out on important updates and refined functions and great improvements (sometimes)

/P
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Philnicolls89:
This is good in theory, and I do agree that there is minimal benefit to having TWRP installed all the time, however i wouldnt know the first thing about writing/using scripts to switch between recoveries.

Or could I simply flash a stock patched recovery image through flashify? Then just flash TWRP whenever you need it?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] hanspampel:
I and other posted it over and over again. Use the search to find your answere.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Philnicolls89:
I have been following this thread and yes there have been people saying 'use a script', or 'just flash it when you need it'.

This does not help people such as myself who are a. New to rooting/flashing and b. Have limited knowledge of these things.

I highly appreciate the work of the developers that make these things possible and I am happy to wait for new versions of TWRP to be released based on new kernels.

However when someone says Its better to only use it on demand then even some very simple Instructions to use as a guide would be helpful.

If I have missed a post explaining this then my apologies but it's not through lack of searching.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] exocetdj:
Flash twrp in twrp app

Reboot using 3 button method to twrp

Flash multidisabler and then reboot to twrp

Do your business etc and then flash patched stock recovery.img

Reboot to system using 3 button method

(I'm sorting a guide but time hasn't been kind)
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Tech 4 9:
I worked up the courage to finally try this.

So far I've done johnwus rooting guide. The firmware patch and Odin flash were a success. I get new firmware all setup but Magisk isn't there. So I install the manager apk but theres no way to do anything else. I can download a zip but it doesn't install or I can patch a file but Magisk is not installed and I don't see a way to install it. I even tried the Magisk zip in the select a file to patch but it failed and I doubt if thats even the right thing to do anyway.

Any help appreciated. Thanks all.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] robbo1947:
Are you definitely holding the 3 keys, Bixby, Vol-up and Power buttons when you boot up, releasing all 3 immediately screen appears?.

What should happen is after you flashed magisk_patched file, wiped data, rebooted with the 3 button combo, setup and installed Magisk apk then run Magisk, quoting JohnWu's instructions:

Magisk Manager will ask to do additional setups. Let it do its job and the app will automatically reboot your device.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ianmacd:
It's all explained in the OP. There's a sample script there that can be used to switch between custom recovery (i.e. TWRP) and stock. If using the script is too daunting, an app like Flashify can be used in Android, and TWRP's own image flashing module in recovery.

The OP should be the first place anyone looks for an answer to his question, even before searching the thread. If you think important information is still missing from the OP, please tell me and I will consider adding it.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Ixioon:
Hello, so if i understand correctly after i installed magisk with this script i will not need to press the Power + Bixby + Volume Up to boot on magisk correct ?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] SumDum YunGuy:
The script will boot into twrp and back into rooted system without any button presses
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Tech 4 9:
I got mine working..and yes..the button combo was my issue. I hate to admit it as I've never done this in the past but I was trying to do it with a case still on the phone and was flubbing it. My presses sounded and felt right. Rookie mistake. Also, the duration and buttons to hold after wipe/reset messed me up. The directions say keep holding just the vol button until the recovery screen. In my experience it needed to be all three and through more screen changes than anticipated. Then I didn't know that the combo needs followed for EVERY reboot.

But I'm unlocked/rooted and glad to be. Even a little better performance on the patched stock rom than I was anticipating. Very excited and surprised that the secure settings app still works. My Tasker macros seem to work perfectly.

Fairly pleased so far...just dreading the time I reboot and forget the combo to keep root and have to burn it down and rebuild. Thankfully there's still TiBu! Guess I need to look into this scripting voodoo.

Thanks for the reply and the support!
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ianmacd:
Correct. When you use the script, it reboots to recovery. You only need to press the hardware keys if you have rooted the TWRP image and you want to force TWRP to load.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ianmacd:
When you forget the combo, (almost) nothing bad happens. You'll boot without root and, at worst, you'll lose any Bluetooth pairings you have defined. You certainly won't have to reinstall the device.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Ixioon:
thanks you
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Player04:
When i reboot, i use the combo keys and hold 5 secs more till i see warning bootloader screen. 100% of the time i get into recovery. Theres no need for the script or firefds kit.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Tech 4 9:
Thanks for the reply.

How to regain root? Reboot again using combo? I want to say I tried this without success. After root loss, there seems to be no point in even having the Magisk manager installed as there's nothing I can do with it. It doesn't prompt for the installation steps. Seemed like the data wipe was required to get magisk to install.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] alex1007:
Help. I rooted my Phone like in the Samsung system-as-root-instructions. Then i downloaded the twrp official app in Playstore and patched the twrp.

now after rebooting my root is gone. If i try the combonition after turning on im getting in the twrp, always. What am i doing wrong?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ianmacd:
Root isn't lost when you reboot without the key combination. When you don't press the hardware keys, you boot the device from the boot partition instead of the recovery partition. So, when you use the keys again, the device boots from recovery and root is back. If root is missing, then you are somehow still booting from the boot partition, not the recovery partition. Maybe you aren't pressing the keys for long enough.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Ixioon:
Hello i just rooted my s10+ with magisk and i would like to be sure about the next procedure i read all the info but i'm just confused with the switch-recovery script.

Do i need to

-patch with magisk the twrp.img

-then from root shell i exec "# f=/storage/emulated/0/Download/magisk_patched.img; dd if=$f of=/dev/block/sda15 bs=$(stat -c%s $f)"

-then i boot into recovery and install the multidisabler

and after that i use the switch recovery script OR i don't need the previous steps and i can just run the switch recovery script and i will be good ?

Hope i'am clear sorry for bad english
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Tech 4 9:
LOS for s10's is out!

Woo hoo!

https://r.tapatalk.com/shareLink/to...share_tid=3956948&share_fid=3793&share_type=t
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Tech 4 9:
[MENTION=7187684]ianmacd[/MENTION]

Some twrp/root questions over in the LOS thread.

Ok to post link to this thread over there?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Atomic Lutin:
Hi

I own a S10+ SM-G975F with the latest XEF update (SM-G975F_1_20190805141127)

I unlocked the bootloader succesfully and installed magisk manager.

But when I try to patch the AP file there is a mistake :

- Device platform: arm64-v8a

- Existing zip found

- Processing tar file

-- Extracting: boot.img.lz4

-- Decompressing: boot.img.lz4

! Process error

! Installation failed

Is there a thing that I did wrong ?

Thank you
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Player04:
Try reboot the phone. I had that issue with patching AP, it would failed. Try either reboot or copy the ap again to the download folder
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] xdagoodies:
[MENTION=7187684]ianmacd[/MENTION]: Thank you very much for your work on TWRP. It's much apprechiated, and not taken for granted. You dedicate your time on that, I am aware of that. Thanks.

To my problem:

I dont have Windows so I can't use ODIN to prepatch etc. So I wanted to skip Magisk installation in favor of installing TWRP directly to then install LineageOS.

Here's my question: Can I directly do heimdall flash --VBMETA vbmeta.img, then heimdall flash --RECOVERY twrp-beyond1lte.img then flash multidisabler.zip from within TWRP, and then flash LineageOS? Or would that render the device unusable?

Thanks for clarifying.

Cheers,

Mona
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Philnicolls89:
I'm obviously not as knowledgeable as others on this topic but even if this did work you wouldn't be able to update your phone in the future with newer versions of software as OTA will no longer work so you need to use Odin.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] usitaly:
tested the file AP patched of firmware ASH1, witn TWRP 3.3.1.5 it's work perfectly... no problem
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] thevmax:
Ian, Thanks for all the great work you have done to support the S10!

You probably already know, but they have released the new version for some of the multi CSC firmwares, specifically G970FXXS3ASK1 (XEU CSC). I found it on SAMFREW today with August 2019 security update.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Darkpurple:
I think the camera maybe not working on the ASH1,

Because the 3.3.1-5 worked for ASG8.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] usitaly:
it works regularly...
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ExtremeGrief:
Yes you can do this.For lineage you dont even need to be rooted.For lineage just flash normal addonsu

-install twrp via heimdall

-in twrp,flash multidisabler,format data and reboot recovery (because the twrp is no longer patched if you reboot recovery it will boot in twrp)

-flash the vbmeta_disabler.zip from lineageos thread.

-Flash the modifies twrp from lineageos thread

-reboot recovery

-format Dalvik Cache,Cache and System.

-install lineageos

-install gapps

-install addonsu and reboot system

addonsu:https://mirrorbits.lineageos.org/su/20190709/addonsu-16.0-arm64-signed.zip
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ianmacd:
Yes, you can, and you can combine both partitions into a single flash operation:

$ sudo heimdall flash --VBMETA vbmeta.img --RECOVERY twrp-beyond1lte.img
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ianmacd:
I see nothing later than ASH1.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] thevmax:
Sorry... My mistake in typing I meanT ASH1
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] tiho5:
[MENTION=7187684]ianmacd[/MENTION]

I think what I reported above is not correct. It's not the wipe that caused the problem.

I found that whenever I restore in TWRP and also select/include "system" my phone cannot boot. It hangs on the small Samsung logo forever. To fix that I have to flash FW package.

If I select everything else from the TWRP restore list (excluding "system"), the restore results in successful boot afterwards without any issue.

Does system restore work with you? (I tried 2 backups and it was the same).

Please, try to help/investigate how and why is this happening. A safe backup and restore is the most essential TWRP functions for me.