yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] J.Michael:
Are you really trying to enter recovery? Are you really not able to enter recovery? Are you really unable to power off phone completely?

For me (different Samsung, same miserable problem), the hardest step was "boot phone as if going to recovery, but release buttons after phone has decided to go to recovery, but before recovery has actually booted, so before Magisk has had a chance to check whether buttons are still held down". (Sorry, it's a fussy condition, and I have no easier way to say it.)

What problem do you want to solve? Please describe what you are doing, and what you are seeing?

This post in this thread describes booting to recovery.

Powering off completely is usually just a matter of holding the Power button down until you get a menu, then choosing "Power off / Shutdown".

You will have to explain why powering off first is a burdensome requirement -- It is always my first choice, I see no point in trying to save a few seconds by risking having to do it a second time if the warm reboot fails to fix whatever I'm trying to fix.

From a completely shut down phone, getting to recovery is usually just a matter of having enough fingers to hold down the appropriate set of buttons. And of holding them down long enough.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] twiice:
Yeah bruh

Say is isn't so..

No, if course I can, just made this stuff up for sh*ts & giggles.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] twiice:
Of course after flashing with Odin and stuck in a bootloop it's somewhat difficult to load android and use the convenient power off menu...

I've been in touch with a separate developer who has informed me not to check 'recovery mode' when patching the AP, even without Ramdisk.

Lo and behold it worked. Rooted Android 12 with Zygisk. Case closed.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] :
I rooted today my Samsung Galaxy S10 (SM-G973F) with Magisk. Android 12 HVC6. Everything was fine until I'm a Reboot system. After that, the system was booted, but it is not more a rooted.

Can I return root? If yes, how?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] J.Michael:
How did you root?

If you installed Magisk in the recovery partition, you might just need to reboot the right way: hold buttons to boot to recovery, but release buttons before you get to recovery. (I think I've also seen posts about skipping the fussing with buttons by using a cable and ADB on a PC.)
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] :
I patched AP with Magisk. Patched AP with ADB copied on my PC. Install with Odin. All is was fine. System is was rooted. After reboot system, root is lost.

Problem solved. In adb I used 'adb reboot recovery' > Enter, after reboot system, system is rooted.

For reboot now I use Root Essentials app.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] OsoAlgo:
I have experienced a weird problem when changing SIM cards, maybe someone here can help me. I am currently running stock-rooted Android 11 on Galaxy S10e with Magisk and TWRP. This works without issues and, if I need to reboot, I usually open Magisk and click on 'Reboot to recovery' there, so I don't need to press a key combo nor have a USB cable plugged in in that case.

However, if I try to change my SIM card (even while the phone is off), as soon as the phone detects this, I get an uncloseable pop-up saying that the SIM changed and I need to reboot (note that I have SIMs from different countries). If I click OK in the pop-up, the phone reboots to the partition without root, and I can't avoid it. I tried pressing the key combo, but that didn't work. I also tried plugging the phone to my PC before the pop-up appeared and, after the pop-up, issuing an 'adb reboot recovery' command, but that didn't help either, after a successful reboot, the pop-up appeared again.

Most puzzling to me is that, if I give in and press OK in the pop-up, it completely messes up my setup, almost as if the recovery partition is reverted to stock; I can't boot to my rooted partition anymore, not with the key combo, not with adb, not with anything. In my attempts, I always have to boot to download mode and flash everything again through Odin with the new SIM inserted.

Has anyone else had this issue and found a way to work around it?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] :
I'm sorry but I didn't have that case.

I didn’t know Magisk and TWRP could work together. I have rooted phone with Magisk, but not have TWRP.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] J.Michael:
I do not have this device. Is it A/B or A-only?

If you do not change the SIM card, and you shut down, and then reboot -- just holding Power button until it reacts, then just waiting as long as necessary, no more button dancing -- does it boot with Magisk active?

Does it behave any differently if you delete all accounts (are there accounts other than Google accounts?) before shut down and change SIM?

(There is a warning to delete Google account from tablet before running Odin. I wondered if there was also some interaction with a SIM card.)
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] OsoAlgo:
It's A-only. If I boot without pressing any key combo, it boots without root/Magisk. I've never tried deleting all accounts beforehand, I guess I could try that next time if there are no other options...
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Natraj:
Thanks for creating the samsung-system-as-root page . I had some difficulties with the patched AP file though. Something went wrong during the flashing process and I had to reset the stock Android ROM. Then I wanted to try again flashing the already patched AP file, but that didn't work. It got stuck in the Odin "cache" phase. However, when I patched again the AP file with the Magisk app, then then flashing worked fine.

I.e. I belive that a patched AP file can't be reused after a ROM wipe. The AP file has to be patched again after reset and only then flash.

Would you agree that this is correct?

If yes, it might be worth mentioning it in the instruction page. It took me a while to figure the out.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] J.Michael:
What you describe is a problem using a "previously patched AP" which had never worked for you. Maybe there was a problem copying the original file to the device, or copying the patched file back to the PC.

Did you check at both stages? (I run "md5sum" at both ends. I've never seen a mismatch, but I keep reading dire warnings.)

If you successfully install a patched AP (along with BL, CP, [HOME_]CSC), I think you can count on being successful at a later date using exactly the same files. But it has to be exactly the same files.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Natraj:
@J.Michael I know that it has worked before, but something didn't work as expected and I had to reset Android. That's why I know it has worked before and also I didn't copy it from one place to another. It was on an external USD-HDD and I used it both times to flash the image. I didn't do the MD5 check, but since it did work the first time, I suppose it should also work the second time from the same USB-HDD.

Either way, maybe there was something else if you say it should still work even after a device reset.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] J.Michael:
The MD5 check is just my way of confirming the integrity of a copy -- people say don't use Windows Explorer, or maybe it's don't use MTP file transfer, use ADB PUSH/PULL; it's easier for me to use Windows Explorer and then run md5sum on both ends.

You say you "know it has worked before". That was not the impression I got from reading your description. I thought you said you patched AP, tried to flash patched AP, failed to flash, reset device, tried again to flash without repatching AP, failed; then repatched AP and flashed successfully.

Maybe Magisk does not have proper access to the external drive, or something does not flush properly. You could try repeatedly patching on the external drive, comparing the result against the good patched AP. If the problem is that one time you disconnected the external drive before it was finished writing, you probably won't reproduce that particular error.

Is there something in Android like Windows' "eject drive" to make sure all buffers have been flushed before disconnecting? Do you use it? Could you have forgotten once?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] DaCranksta:
Is there a foolproof method to root a S10 with Android 12? I have read a lot of that thread now. But many have problems to root with A12.

I am searching for a Tutorial which includes normal booting without pressing buttons/connect to a pc and working TRWP and Magisk.

Is there a guide how to do it?

I am now on android 10 and dont want to upgrade until there is a bulletproof way to make root work like in the good old days.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] meric57:
Hello Dacranksta,

1- have the official firmware on hand.

2- odin 3.14 and adb

3-install magisk version 24.3 magisk 24.3

4-the AP copy it to card sd ext.

5-modify AP with magisk in recovery mode you must have magisk-patched xxxxxx.tar in internal memory s in download

6-Transferred AP via adb: adb pull /sdcard/Download/magisk_patched_.img

7- odin in AP magisk patched-BL-CP -CSC home for an installation without loss of data and loss of space on internal memory CSC for removing previous layer of installation.

8 -run start odin once PASS! left to start normally with start as on the first day

9- you must have the Icon magisk support to install follow the instructions.

10- in parameter once install activated Zygisk it will restart then installed module manually safetynet2.1.1 and shamiko ver 0.4.4 (106) when it asks to restart done after shamiko. Enabled by "enforce exclusion list"

11-install safetynet checker and root checker

12-go to samsung settings and application clear the cache and give play store then go to play store to see certified or not.

13- for hidden bank or others who don't want root go to magisk in parameter below Zygisk there is "configure exclusion lists" these magiskhid

14- safetynet module is used for CTS profil and basic as before in magisk and root checker rooted or not.

Hope you come up with this

link

https://github.com/topjohnwu/Magisk/blob/master/docs/install.md#patching-images

https://xdaforums.com/t/discussion-magisk-the-age-of-zygisk.4393877/

the simplest like this and as I did q it works so I continue with magisk
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ZXR:
Meric57, are you sure your method works on a S10 (no ramdisk!) to boot to the rootred system without pressing the button combo and/or a wired connection?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] meric57:
Hello ZXR, like this I made with ap official firmware on my external SD then modify with magisk send to my pc with ADB then flash with odin AP pactched_magisk- BL- CP and home CSC.

start then activate zygisk and install shamiko and safetynet fix and all is good then.

normal start no manipulation to do power just you can see my signature

For TRWP not working like before first TRWP then flashing magisk not working
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] DaCranksta:
I cant get Twrp to work at all always vbmeta error appears.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] meric57:
Hello Dacranksta, if you use normal TRWP you have to look in the TRW 3.0.4 subject I put the link at the end.

Done as I said above forgetting TRWP uses magisk 23.4 and then activates Zygisk, don't forget the AP patch_magisk modify with magisk you have to send it to the pc with ADB.

https://xdaforums.com/t/recovery-un...y-s10-exynos-g970f-g973f-g975f-g977b.3924856/
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] DaCranksta:
Twrp doesnt work no matter what i do.

Vbmeta error every time.

So i dont care about that anymore.

Now i am on latest firmware, root is gone on every reboot. I flashed it multiple times now.

EDIT: I have to factory reset the phone after flashing the patched AP, because the phone bootloops everytime
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] meric57:
Hello Dacranksta, as I said forgot TRWP just root with magisk 23.4 follow my explanation in post #2613.

modify the ap with magisk then you transfer it with adb push on your pc then you or odin and you put the ap patched-magisk -BL-CP and home CSC you flash with odin it restarts and activates in magisk: parameter/Zygisk it restarts and you are root just then install safetynet 1.1 and shamiko as explained on page 1.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] DaCranksta:
I did it with this thread.

It was impossible to keep root for me, dont know why it was so difficult (german CSC maybe?).

The modified kernel did the trick for me, reboot, shutdown, no problem. I start it up and root is present. And TWRP is working too.

Tutorial : Root Galaxy S10 Series Android 12 One UI 4.1 Stock Firmware

Root Samsung Galaxy S10 Series Android 12, WITHOUT Ramdisk Root Samsung S10+ - S10 - S10e SM-G97xxx, Stock Rom Android 12 - UI 4.1 Latest Version (I tested G970FXXSGHWC2) (Without combination keys for active Magisk after normal restart –...

xdaforums.com
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Darkwa:
Edit: for the people who keep losing root, this is wat works for me to keep root:

Whenever I try to reboot my phone I lose root.

Since android 11 (using 12 now) I have only 1 working way to boot into root:

1. Turn off phone

2. Connect USB cable to phone and laptop/pc.

3. Wait till you see the charging percentage

4. Hold volume up, bixby and than the power button at the same time.

5. Release all buttons after 2nd screen

I cannot boot in root without the use of a laptop/pc.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] J.Michael:
Have you tried connecting cable to phone *without* connecting other end of cable to pc?

I have read of that working for some people (maybe different phone). Never read explanation of why. Might be important for other end of cable to be a device like thumb drive.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Darkwa:
I tried that again. One end to the phone and one and with the USB cable attached to the charger and another attempt without the usb charger.

I was not clear in my other message. But my message was meant to the people who kept loosing root and who are not willing to downgrade the kernel.

But any other advice is also welcome. :)
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] bruram:
For my Galaxy S10e SM-G970F

If root is active, you can reboot in the following ways

1-First way without cable

Open magisk, click on the circular arrows on the top right.

Then click on Reboot or on "Reboot to recovery"

2-Second way without cable

Click on power and then on poweroff

If you click on power and then Reboot, you loose root.

Other ways withou cable

If you have Twrp, you can always go to twrp pressing the 3 combo buttons

for more than 14 seconds.

When you are in twrp, click on reboot and then click on "Reboot to recovery"

If on the contrary you are in no-root AND have Twrp

1-Click on power to poweroff the phone

2-Connect a cable

3-Immediately (before charging start) press and release the 3 combo buttons,

than press a second time the 3 combo buttons for more than 14 seconds

4-In Twrp click on reboot and then on Reboot to Recovery.

I don't know if the stock recovery can make a "Reboot to Recovery"
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] :
For reboot in recovery I use Root Essentials. Install it and open it. Click on Rebooter and select Reboot Recovery. After reboot root on phone working.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] J.Michael:
I do not understand the point of the last option, the "no root, but have TWRP, but need cable".

Can't you always get to recovery from a completely shut-down device? If your recovery is TWRP, and TWRP itself has a "reboot to recovery" option, that will get you past the button fiddling that I suffered through. What is the reason for attaching a cable?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] bruram:
I need the cable connection to go to twrp.

Without cable connection the phone goes to android without root even with the 3 combo buttons.

No, in my S10e (android 12) I can't.

edit: obviously..

The reasons is that the cable is necessary to go to Recovery.

In another Galaxy A22 5g, completely stock (recovery stock, original firmware, bootloader locked) the cable is always necessary to go to recovery.

The Galaxy A22 does't have bixby button: but to go to download mode and also to go to stock recovery the bixby button is substituded by the cable connection.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] tomiasx22:
I have such question,

Do you think I should use only latest TWRP from official site for bootloader and not any "better" custom one? I ask becouse as far as I remember, last time when I used official one, there was problem that my drive wasn't displayed properly (no files) and trying everything from YouTube I couldn't fix that.

Another short question, do you think it is safe to restore either Google backup or settings backup from Samsung account (I consider only system settings but what about full copy as well?) after again factory reset and root? I mean stability of system and possible other issues.

I ask becouse so many apps and system settings to configure again...
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] bruram:
If you have Android 11 or 12 you must use last official twrp for your phone.

On my S10e I have (and aal is running well) Android 12 HVD1, Patched Twrp-3.6.1_9-1, Magisk 24.3

I don't know, because i don't use google or Samsung to make backup or restore.

I use only images made with Twrp and/or Titanium backup.

I never had instability after a restore made by twrp; this images are a true system images and are complete with kernel, system, all partitions, apps and data.

Usually, when I make a reinstall from scratch, i reinstall all the apps from Playstore, and all the data (app per app) from Titanium.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] tomiasx22:
Thanks for the answer. Clear for me.

I will try to install official TWRP (I hope latest version will be OK as previously I had to use custom one so that I had access to my storage).

By the way, is there easy way to make and restore backup from TWRP menu or it requires external module installed? And if about Titanum, that app should be installed from Play store or from TWRP?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] bruram:
It seems from your language that you are not expert on this type of operations.

If this is the case DO NOT use twrp (you can soft brick your phone).

Please read the first post of this thread by Topjohnwu for root, and the first post of this other thread to better understand Twrp use on Galaxies phone under Android 10 and following:

https://xdaforums.com/t/recovery-un...y-s10-exynos-g970f-g973f-g975f-g977b.3924856/

You must know that with root and twrp

-you loose warranty (unlocked bootloader)

-you loose encryption (don't use bank app on a phone without encryption)

-you must erase all data (baclup!)

-Gpay and Samsung Pay not running without tricks.

So if you are not expert, be prudent!
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] malcolmy:
Hello everyone

What is the proper way to upgrade magisk on Samsung galaxy S10?

I had 24.3 and I wanted to upgrade to v25 so here's what I did:

1. Install Magisk v25 apk

2. Patch TWRP.3.6.img in magisk

3. Flash the patched file in TWP as image >> recovery

Now the device will not boot, it keeps booting into TWRP only no matter what key combinations I use.

So I guess I did something wrong? How should magisk be upgraded?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] J.Michael:
You have Magisk 24.3. How did you install it? Did you use Magisk Manager app 24.3 to patch TWRP?

Check the Magosk thread. I think there is a problem using Magisk 25 on Samsung devices. People are waiting for Magisk to be fixed.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] meric57:
Hello Malcolm, did you make a backup with TRWP if so, do a restore. It will start as before and nothing has changed in magisk. My magisk app has just been updated. like this all will be well magisk 25 and clean.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] malcolmy:
It came with ambasadii rom that I use.

I'm not interested in magisk v25 per se, I'm interested in knowing how to update magisk period. Because the direct install method on the S10 always gave me problems so I was forced to wait for the next version of the ROM.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] malcolmy:
The direct install method in magisk has never worked smoothly for me, it always gave me problems. I just want to know how to update magisk on my S10 without waiting for the ROM dev to update, or to force me upgrade to Android 12 for example.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] J.Michael:
Maybe the ROM dev can help you.

I have read of problems when the Magisk Manager app is installed as a system app. Can you say whether that is the case?

When you installed the v25 Magisk app, did you first uninstall the v23.5 app? Do you now have more than one Magisk app? What does each one say about the versions of Magisk and Magisk app installed?

How was this "ambasadii" ROM delivered/installed?

Did it come as a set of tar files to be installed using Odin?

Is TWRP already the recovery?

Is that where you got the TWRP you patched with Magisk?

I say again: I think there is a problem in Magisk v25 on Samsung devices. Maybe you should wait to read that that has been resolved before pursuing your quest of learning to update the Magisk that comes with your ROM. And ask the ROM developer.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] J.Michael:
@Malcomy: Is this your ROM?

That page says

From skimming this thread, it looks like the only way to update Magisk is by updating the kernel. Not quite the same as having to wait for the ROM developer, but a whole new interesting problem, "Which kernels are compatible, and who do you trust?"
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Bertonumber1:
Hi guys just reading your posts with interest.

I've just rooted my s10 beyond1lte . Major inconvenience tbh . Surely there must be modified stock rom or something that includes a build in workariund if you can get it into TWRP?

Hats off to @topjohnwu for his work on # .

Appreciated

I've always used this app :

Power Menu Little Vic Apk

Which is pretty decent and simple.

Regards
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] :
On stock rom, Android 11 and Android 12, when root with Magisk TWRP not working. When TWRP work, root not working. That is my experience.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Bertonumber1:
Hey @ZmisiS,

Yes you are right.

Without sounding like a whinge. I am generally happy with the device if you can see past keeping him charged and not switching off.

What makes it tricky in my experience is mostly forgett to do the button combo or get them mixed up lol.

Sometimes he will want to work with the buttons sometimes he will not want to part with root unless usb is plugged in.

At least we have some admin control over the device so I only wanted root for a decent adblock and debloat. However with things like brave webrowser and apps such as the ToolAllinOne I wonder if I really need root as the stock 12 is actually pretty good running on arm64 :cool:

I guess I've just fell into the habit of Magisk, Busybox, Adaway, Luckypatcher ( for patching android and uninstalling system apks).

Happy modding

Regards
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] :
Everyone decides for themselves whether to root the system or not.