yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Krishbarnwal:
I am planning on to unlock bootloader only. Will I continue recieving official updates from Samsung and able to install them (not flashing that, OTA ones). I am not going to flash custom recovery or kernel or even custom rom. Will it work that way?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] MtnX2:
You probably need to specify your variant. I don't know the answer to your question, but if you have a Snapdragon variant, receiving OTA updates from Samsung can/will cause you to lose your unlocked bootloader.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Krishbarnwal:
Its snapdragon one.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] MtnX2:
To unlock your bootloader, you need a bootloader version of 4 or less and you need to pay money. And you will not be able to accept OTA updates from Samsung. Most likely things will not work the way you are expecting.

To check your bootloader version look at 5th character from the right of your Android build number.

Examples:

bootloader version 5: N970USQS5EUA1

bootloader version 6: N970USQU6FUB7

Neither of those can be unlocked. You need 4 or less.

If you wish to proceed, you can contact afaneh92 for the paid unlocking service. He is "approved" or something by the community and I have no affiliation with him except that I paid for the unlocking service recently myself.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Krishbarnwal:
Hey, I think I tripped Knox and lost device certification. Is there a way to regain atleast device certification on play store? (without magisk please, cause I reverted the whole process back, if possible)
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] zaidbaby:
My Magisk worked once but since restarting the phone it is not going into root. Tried the key combination literally hundreds of times. Can some help, please?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] DHGE:
If Magisk is installed properly

adb reboot recovery

from your PC is another way.

Once its working again do the reboots from the Magisk reboot menu.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] zaidbaby:
Thanks mate.

What is the procedure of doing this? Do I need to have anything installed on PC?

Also should my phone be turned off? Where should I type this command?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] DHGE:
read my [GUIDE] or google adb
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] zaidbaby:
Can you please link it.

Nevermind, saw it in your signature. Wasn't showing on mobile.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] zaidbaby:
So here I am after doing everyhting. I executed the adb reboot command. My phone rebooted but without Magisk again. Please tell me what should I do?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] meric57:
Hello everyone, here I have a problem with flashing magisk 2300. This is the situation I have just installed android 12 DBT which works well, I open magisk I modify TRWP 3.6.0-9 and AP official firmware its works ALL DONE! ! , download mode I open odin BL-CP AP modify and patch trwp + AP zip and CSC HOME press start I am stuck on system nothing frozen.

Its also the official firmware 11 with update 1december 21, I don't know if google or samsung has strengthened their protection or not, which has successfully installed the root TRWP + magisk with android 12 security 1 december 21.

My Samsung s 10 SM-G973F exynos I am not in 5 G.

Thank you Best wishes 2022 to the XDA team
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] bruram:
@meric57 I have not understood if you are in Android 11 or Android 12 WITH twrp and Magisk 23 both running on your galaxy also after a reboot.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] meric57:
Hello Bruram, I was under android 11 no way to root my s 10 with AP magisk patch and TRWP zip recovery for flashed with odin v3.14.3.

I get stuck on system when I press start its blocked on the system line, now I have installed official DBT android 12 firmware, its does the same on blocked system.

Complicated to explain this concern just that I a little more root my S10 for the moment, it was rooted under android 11 before the security update of December 1, 21 I wanted to update more rooted way
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] kubis111:
I also have a problem with magisk and One Ui 4.0 S10e exynos (patch AP file ... patch recovery .... combo key during boot .... I tried perhaps "I hope" everything) LineageOS 19 in magisk works.

Magisk says Ramdisk:NO
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] bruram:
@meric57

Sorry for late answer

It seems from 2nd image that you flashed BL, Twrp patched, CP and CSC home.

No, you must flash BL, AP magisk patched, CP and CSC and not home csc (backup your data!!!) following instruction from topjohnwu initial post

In a second time, if you want also twrp, then flash ONLY twrp magisk patched in AP slot with Odin or downloading twrp app from play store and flash the same file whit it.

@kubis111

Sorry, i havent yet android 12.

I presume the steps are the same.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] Pietroo1:
I had the same Problem, here my Way: Load and install the latest Canary (23016) from Github on my S10, patch the AP again!! with this Canaray Magisk Manager, than Flash again with Odin (Uncheck "Autoreboot") the BL, magisk_patched-23016_XXXXX.tar, CP and Home CSC, and Start in Recovery with the Key Combo Volume Up-Bixby-Power, like the Instruction say. ET Voila, Root possible again. I hope, it helps anyone
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] kubis111:
ok, i repeated the procedure and this time it worked. Thanks
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] meric57:
Hello Kubis111, if I understand correctly for rooted the S10 under A12 I am not in 5 G. Must install magisk 23016 modified AP then flash with odin AP magisk-patched for rooted, TRWP and multi-disabler 3.1 we forgot for now these that right.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] FunThomas76:
when trying to patch latest firmware G970FXXUEGVA4 i get

! unsupported/Unknown image format

! Installation failed

but with G970FXXSEFUL1 too :-(

what is the latest working version with magisk 24.1?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] DHGE:
What exactly are you patching with which software?

With Magisk you patch the out of the firmware file extracted AP_part.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] FunThomas76:
f*ck its too long time since last install/update ;-)

big thanx for reminding me to do it more often
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] FunThomas76:
so the last Android 11 Version works fine but i am unsure to update to A12,

is it safe to update to latest A12 firmware with magisk from older Android11 version?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] DHGE:
Yes
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] meric57:
Hello, I have an s10 SM-G973F under android 12 and I am rooted under magisk. Just follow the instalation proposed by John Wu and it works, look in the thread of magisk there is the explanation and link.

Vous avez besoin de magisk24.1 ,safetynet 2.1.1 et Shamiko vers 04.2 (97)

https://xdaforums.com/t/discussion-magisk-the-age-of-zygisk.4393877/
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] reayard:
Hi, be sure to use the latest Magisk v24 for Android 12 support. With that I can confirm that the update from A11 to A12 went smoothly.

Magisk v24.0 release introduces Zygisk, brings along Android 12 support, and more

The latest Magisk release now fully supports Android 12. It's also possible to run Magisk in the Zygote daemon process, thanks to Zygisk.

www.xda-developers.com
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] FluXX66:
is there any information about rooting/installing magisk on an S10+ G975F/DS that has already been flashed with Lineage 18.1 and Lineage recovery?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] DHGE:
I did this on a device (Sony) with Lineage:

renamed Magisk.apk to Magisk.zip and instaled the zip-file via recovery
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] FluXX66:
Do you have more information about that process? I am new to magisk and the complicated install process. If getting magisk to work is as simple as swapping around the file extension names, that'd be cake, but I suspect I would have less than positive results.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] NexxusDE:
Did it same way with no problems.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] :
Where is link for John Wu? Have you and TWRP installed?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ianmacd:
Yes, when you lose your pairings by rebooting unrooted, you lose them from your device's one and only hardware keystore, so after that it doesn't matter how you boot: they're gone.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] rp4k:
[MENTION=7187684]ianmacd[/MENTION] did you flash magisk or twrp ?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ianmacd:
Both.

Before dual-boot support was developed, I would flash from one environment to the other (i.e. from Magisk to TWRP) at the command line and then reboot to recovery. When John figured out how to do dual-boot, I rooted a TWRP image, flashed that and have been using that ever since.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] rp4k:
Is there a way to write a script so that after twrp is flashed it boots properly so people don't need to push the button combination. Then if the user reboots in the magisk system it boots into the magisk system instead of having hold keys. Now that I think about i bet you made a personal script you yourself already. Hehe
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ianmacd:
Magisk Manager knows to reboot to the recovery partition on recovery-rooted devices, so reboots initiated by that app simply work as one would desire.

I use the FireFDS Xposed module to trap the power key, so that I can manually choose recovery from there.

As for other reboot paths, I've weaned myself off them. The only time I need to press any keys is when initiating a cold boot.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] rp4k:
right but how about when twrp is freshly flashed and it needs to come out of download mode. is there a way to add a script to it so that it reboots correctly because i see alot of people getting stuck in the bootloop after they flash there device. or can you recommend your method that you use for after you flash twrp what do you do so that you can safely boot into twrp

+
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] gogixx:
Has someone else issues with facebook and messenger app? I have connectivity errors since I have flashed magisk.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] tensux:
i dont use facebook, i use swipe for facebook, it eliminates the ad's and has a blacked out theme, no issues connecting with magisk installed
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] MikeTheTechSavvy:
Hi John (@topjohnwu),

Great job with this find & guide for it. It works flawlessly if all the steps are followed 100%. Thanks!

I've made a full video tutorial (including ROM downloading and everything), maybe it'll help others who have had problems or just want to see the process while or before they perform it.

Feel free to post it in the OP if you think it helps in any way.

The video link is as follows: https://youtu.be/o3a8YnWT3yk

Thanks!
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] tensux:
nice video, hopefully someone will do the same for twrp install
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] ChrisChristian:
Good job good video :good: i waiting for my s10e snapdragon sm-g970O :rolleyes:
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] harjm:
Hello All

Can I ask for some assistance as something has gone wrong with my attempt to root the phone.

I followed the instructions and the point I had a problem was at step 7 where I was flashing magisk_patched,tar using ODIN 3.13.

It failed and now I am getting a message on the phone saying "An error has occured while updating the device software, Use the emergency recovery function in the Smart Switch PC software.

Have I completely trashed the phone or can it be recovered? What would be the process to get the phone up and running again?

Thanking you in advance.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] dynospectrum:
Use the Smart Switch software as you were instructed. You are fine.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] jimbo77:
Use ODIN from that screen. It will work just fine
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] rp4k:
maybe we can convince [MENTION=7187684]ianmacd[/MENTION] to make an exec batch for windows so that we can do the entire process from windows command. is that even possible [MENTION=7187684]ianmacd[/MENTION] ?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] TheUndertaker21:
anyone loses wifi connection after rebooots ?

i have to forget the network and log in every reboot
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] jimbo77:
As far as i know you cant boot from download to recovery from cmd. What i think can be done is ask geiti to add a script to cache and make it boot to recovery but you will have to long press volume+ anyways to boot to twrp and not to system.

Remember both twrp and magisk live in the recovery partition so booting to recovery without that long press it will boot to rooted system and not TWRP

---------- Post added at 02:19 AM ---------- Previous post was at 02:17 AM ----------

You need to flash the magisk module libsecure for your system to remember wifi and bluetooth pairings afaik
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] TheUndertaker21:
genius

forgot about that

thanks boss

---------- Post added at 03:29 AM ---------- Previous post was at 03:26 AM ----------

you should be able to get into download even after that error

just take out the usb cable and hold power + bixby+ vol down to force reboot then just gold bixy and vol down and plug the cable then you are back into download mode

i got that error all the time when trying to get twrp to boot but never does LOL
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] IsocolXDA:
Great tutorial. One question, if i wanted to update to the latest Samsung OTA patch, I just need to patchthe new AP in magisk then flash the new file with odin together with CSC, BL and CP right? By doing that will i lose my data?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] jimbo77:
You will. Remember that any new flash needs factory reset to remove encryption
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] DHGE:
magisk install samsung at DuckDuckGo

html.duckduckgo.com
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] :
Link for John Wu?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] meric57:
Hello Zmisis, well TRWP does not work with magisk yet, I tested no decryption and when you want to start the system, nothing. You have to wait for a coder to face a multidislaber which describes the internal memory partition.

Installation

The Magic Mask for Android

topjohnwu.github.io
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] natsos:
Hi guys, Next what? in ordert to boot as root, we will have to press up, down, bixby, power, put a usb, also put a wireless charger on the back and banance a sword on our mouths where at the end there is a bowling ball while standing on one feet? i refuse to accept that, i'd rather downgrade.

But heres the deal, i can't downgrade because of the new 'bootloader SV CHECK' that bans you from downgrading the android or the kernel (boot image), or can i? Now i am booting 'always rooted' on my Galaxy S10e on Android 12 with kernel version 4.14.113-20034833 in order to flash this kernel version i had it to cloak it and make it look like it is 4.14.113-23326020. I haven't tested the phone for stability but this tutorial may give you an idea on how to downgrade your boot image. maybe i can just flash the system.img and do a full downgrade if i get stability issues.

Note that i take no responsibility if aything goes wrong.

What you will need:

1. Odin3 v3.14.1_3B_PatcheD

2. 7-Zip Zstandard Edition (Not regullar 7zip, but zip SZ)

3. A hex editor (HxD - Freeware Hex Editor and Disk Editor | mh-nexus)

Steps

1. Download an old firmware that you will like to steal the kernel from it (I am used updato com website to search all the relevant strings and numbers for my model in order to paste them on samfirm and download it)

Find the file AP_GBLAH_BLAH_BLAH file, now unzip it with 7-zip SZ, you will find file boot.img.lz4, unzip it, now if you make a tar of that file and you try to flash it you get a version related error by the bootloader,

2. Unzip the AP_GBLAH file and put out the boot.img of the firmware you currently running.

3. Open that boot.img with HEX editor, you willl see at the top something like this:

4. The string in red cicle is simmilar to both files, but some letters change. Copy the string from the new boot.img to the older version of boot.img you want to flash and then save.

5. Now go to the modified boot.img of the old firmware and do right click on it and add to archive with 7-zip choose .tar file and make a tar for it.

6. Flash that boot.tar in download mode with ODIN by using it as 'AP' alone.

7. Enjoy forever rooted boots and/or your illegal downgrade. Just hide from the police.

Thats all kids.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] tombbb:
Is it possible to downgrade back to UI 2.0?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] natsos:
I Just found a way to by bass the check to flash the old firmware system.img, give me some time as i get into bootloops to figure out if i can move down from android 12 at all.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] natsos:
I figured out that for forever- boot as ROOT no buttons-combo b.s. just patch rom with magisk and then flash back the original Unpatched boot.img of the rom.. no need to flash an older boot.img. so all of that was a Magisk B.S. enforced to us, recovery works fine as forever-boot-as-root too. the developers could just leave boot.img unaltered and not patched at all while paching the rest and we would avoid all of this to begin with.

I am flashing succesfully system.img of an older rom, but i get into bootloops
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] natsos:
If i flash TWRP i can mount /system and see all the stock apps of the older version, i think may i have to create a vbmeta.img too? or it is irrelevant for system, maybe vendor or anything else needed?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] meric57:
Hello Natsos

Why make it complicated
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] natsos:
For a magisk patched image rom, i confirm after many tests On exynos S10E, SM-G970F i downlgraded the kernel boot.img succesfully as i wrote with the first post. that eliminates the need to push buttons and boots always rooted.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] bruram:
hello Natsos

I have a S10e SM-G970F, under A11 FUL1, root with magisk 24.1 (Zigisk and Denylist enabled, and UniversalSafetyNet fix)

I have also twrp magisk patched.

All run very well, with also Gpay.

Referring to your post 2587 it seems to me that in order to have root without pressing combo buttons and pc connection, I should flash only the original FUL1 boot.img not patched in AP slot of Odin (or directly from twrp?)

Is this correct?

My question: have you had till now bootloop or instability or app problems?

If I make a "Reboot recovery" from magisk or twrp, I will go to twrp or not?

------------------------------------------

edit: not sm-g750F but sm-g970F (S10e)
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] madhits45:
As of 3-7-22 Lapsus$ stole exploitable data from samsung and released it. This data included snapdragon CPU data and most likely includes information on how to unlock the latest u6 bootloader.

I have s10e US g970u1 model on the aug 1st 2021 security update. So U6 bootloader. As far as i understand there is no unlock/root unless you have the u3 bootloader or lower.

Do I have to continue to wait for the lapsus$ data to be exploited for root purposes or is there a bootloader unlock/root available NOW?

Reading this topic its very confusing, seems like there is a mix of people on u3 bootloader unlocking and rooting and then the rest on later bootloaders being unsuccessful. U7 bootloader is about to be released for my phone and will likely patch the code in u6 that was released by Lapsus$

THANKS FOR THE CLARIFICATION IN ADVANCE.
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] FunThomas76:
i have updated s10e from last Android 11 Version to latest A12 G970FXXUEHVC6_CL23727351_QB49849102

but now i don't get root whatever combo i press the phone is no more rooted :-(

If i maybe fail after flashing and the first start maybe not run in recovery -> do i need to reflash and then start first in recovery?

does someone on s10e have it with latest firmware working with root?

how far is it possible to downgrade with latest Android12 flashed -> only first android12 version?
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] DHGE:
I have VA9 (February patch, latest here atm) with AP patched via Magisk 24.3 on an Exynox 9820.

I do not press keys at reboot.

One has to boot to recovery to get Magisk working.

I use the reboot menu in the Magisk app (-> no key press neccessary).

That obviously does not work in @FunThomas76 case unfortunately.

But adb reboot recovery has been an option in the past for me.

no need

EDIT: I was wrong - Magisk needs boot to recovery
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] FunThomas76:
is there a simple apk to reboot to recovery on the device without the need to connect adb?

i always get :

* daemon not running; starting now at tcp:5037
* daemon started successfully
error: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.

but i don't get any authorisation request :-(
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] FunThomas76:
so after downgrading to VA9 my lockscreen pattern does not work to unlock the phone anymore but it works to shutdown the phone -> need to wipe all

edit: after flashing back to latest VC6 without wipe unlock pattern works again and all data but the wallpaper seems to be there

and adb works again :) and requests authorisation

but every try (4 times) reboot to recovery takes nearly 10 mins in samsung black screen and then a reset happens and reboot to stock without root which only takes a minute

flashed VC6 with CSC to data wipe -> after 15 mins watching the 4 rotating points start animation i decided to flash VA9 + data wipe (does hang in the start animation for min 15 min)

so afer some time trying VC6 and VA9 stock and reset to factory defaults (in recovery) and then installing the magisk patched version i am now on VC6 rooted with data wipe and button combo works again fine
[Samsung Galaxy S10 ROMs, Kernels, Recoveries, & Ot] twiice:
Hi,

I've tried following those instructions, but after patching the AP and reflashing with Odin I cannot enter recovery for the life of me and there's no info on how to do unless you're able to somehow power off your phone completely.