How To Guide Guide to root Galaxy S22 (B/E/N/0), unlock bootloader and flash official firmware (noob friendly)

Search This thread

Superguy

Senior Member
Nov 28, 2007
898
169
Baltimore
The only thing you'll lose is Samsung Pay and Secure folder, but even those I believe are recoverable, as someone said to me. Other than that, tripping knox gives you a forever 0x1 meaning that your warranty is void and irreversible. I also made the decision to keep the S22 (SD variant, even if I'm in Europe) just to root it and screw with it. I even put the cases away and I now use this thing naked, like never before. I hate it so much because of the small battery that I don't even care anymore if I drop it and crack it. Going back to a Pixel 5 would be the cheapest and best way for me if that were to happen. But I digress.
The only Samsung apps I'm using are the Battery Tracker, battery guardian and the booster one.
Anyway, I can't wait to open it up and see what I can do about the battery. Maybe I can fit a bigger one by doing some work around it. Future project
Will insurance/extended warranty, say like SquareTrade, still cover a phone that has Knox tripped?

And would Asurion even care if the phone's broken?
 

Lokote2134

Member
Jul 4, 2019
8
0
i just got my tmobile s22 SM-S901U can this usa version be rooted cause im not issing the OEM option in developer mode
 

Goldsusanoo

Member
Mar 4, 2017
29
1
Code:
Your warranty is now void.

If you root your device, Your KNOX status will be tripped.
You can still pass the safety net after you root if you follow the instructions.
I am not responsible for bricked devices, dead SD cards although it is not really possible
Please do some research if you have any concerns about doing this to your device

How to flash official firmware? (not the root and unlock bootloader part!)

You will need:

A Galaxy S22 and common sense

Samsung Odin (the flashing tool of the official firmware)

https://dl2018.sammobile.com/Odin3-v3.14.1.zip

You need to extract the zip file and you are going to use the file Odin3_v3.14.1.exe inside the folder.

Samsung Android USB Driver for Windows


Double-click and install the exe file.

Samsung Official Firmware


SM-S901B_EVR_S901BXXU1AVBF

SM-S901U1_TMB_S901U1UEU1AVA7

Download the platform you want to download to. (Windows)

You need to extract the zip and double click open the file Bifrost.exe inside the folder.

You need to fill in the Model, Region, press the Check for Updates button and the Download button.

How to find the Model: on your phone → Settings → About Phone → The third row says the Model number and you need to remove the part with the part of /xx, for example, SM-S908B/DS and you only need to type SM-S908B

How to find the Region: You can check the Region at this link https://samfrew.com/model/SM-S901B/ and
https://samfrew.com/model/SM-S901E/ (thank for the reminder from @DarkestSpawn )


You need to find find a three-letter word depending on your carrier and country and type it in Bifrost, for example, EVR

Press the Check for Update button and download it with the Download button.

Put it to a place you can easily find, ie. Desktop.

After downloading it, find the file SM- S908x_x_xxxxxxxx_xxx.zip.enc4 on the place you put it and change the document format from .enc4 to .zip. Then, double click and extract the file.

Open Odin3_v3.14.1.exe and turn off your phone. Connect a side of your USB to your PC/Laptop, keep pressing volume up and down together until you go to Download Mode. Put another side of the USB into your phone. When you arrived at Download Mode press volume up. Go back to Odin3_v3.14.1.exe:

-Click on BL and select BL_S908xxxxxxxxxx.tar.md5

-Click on AP and select AP_S908xxxxxxxxxxx.tar.md5

-Click on CP and select CP_S908xxxxxxxxxx.tar.md5

-Click on CSC and select CSC_OMC_xxxxxxxxxx.tar.md5

Press Start to flash the firmware, after done, your device will automatically reboot to the system.

How to unlock the bootloader?

Go to your phone → Settings → About Phone → Software information → Press Build number 6 times until you see the notice “You’re now a developer”

Go in Settings → Developer options → enable OEM unlocking

Power off your phone first. Then, connect a side of your USB to your PC/Laptop, keep pressing volume up and down together until you go to Download Mode. Put another side of the USB into your phone.

When you arrived at Download Mode, long press volume up until you see the black screen. Confirm to unlock the bootloader and you will erase your device.

How to root your phone?

After you unlock your bootloader, you set up your phone and make sure you do not sign in google account first. Install Magisk https://github.com/topjohnwu/Magisk/releases/download/v24.1/Magisk-v24.1.apk on your phone. Oh yes, in case you do not know, you need to allow the app to install apps so that you can install the apk.

Transfer AP_S908xxxxx.tar.md5 in the firmware you download from your PC/Laptop to your phone.
Open Magisk on your phone and press the install button in the Magisk column. Select 'Select and Patch a File', 'Let's Go' and find the AP_S908xxxxx.tar.md5 and select it. You can have a cup of coffee if you like when you waiting for the patching of the file.

After finishing the patching, you need to transfer the file magisk_patched-24xxx_xxxxx.tar in the Downloads folder back to your PC/Laptop.

Turn off your phone. Connect a side of your USB to your PC/Laptop, keep pressing volume up and down together until you go to Download Mode. Put another side of the USB into your phone. When you arrived at Download Mode press volume up. Open Odin3_v3.14.1.exe on your PC/Laptop:

Click on BL and select BL_S908xxxxxxxxxx.tar.md5

-Click on AP and select magisk_patched-24xxx_xxxxx.tar

-Click on CP and select CP_S908xxxxxxxxxx.tar.md5

-Click on CSC and select CSC_OMC_xxxxxxxxxx.tar.md5

When it finishes flashing it, it will automatically reboot and you can gain root access.

Optional: If you want to have the safety net passed (most of the banking apps use it), then you need to install the zip
as a Magisk module in Magisk https://github.com/kdrag0n/safetynet-fix/releases
How? Go to Magisk → Modules → install from storage and select the zip you downloaded.



How to update system without losing root and data?

Download new firmware of the phone and update the Magisk App if it is not up to date. Unzip the firmware you download and transfer the AP file to your phone. Patch your AP file and transfer it back to your PC (in /sdcard/Download)

Power off phone and reboot to Download mode


Open Odin and put new magisk_patched file in the AP slot, the BL and CP from your new firmware into their respective slots and importantly *HOME_CSC* into the CSC slot.

Press start and let Odin do it's stuff.

When flashed, do not wipe.

Press and hold Vol-down and Power
As soon as screen appears, let go of all buttons.

Within moments without any further user intervention your phone will reboot into your updated Magisk rooted mode, data intact.
Where can one buy an Hong Kong or other OEM Unlockable Variant? WondaMobile? Never-MSRP? Thank you.
 

VityaG

Member
Jul 7, 2015
11
0
sorry if it's a dumb question, I am new to the whole flashing thing.

I got an S22 with Hong-Kong firmware(s9010), I'd like to flash it with Taiwanese one.

To only flash original Samsung firmware, do I still need to use Bifrost, if I downloaded firmware from here https://samfrew.com/model/SM-S9010/region/BRI/?
Or I can just use Odin and flash it directly?
 

mr.herbert

Member
Nov 15, 2018
25
2
Samsung Galaxy S22
sorry if it's a dumb question, I am new to the whole flashing thing.

I got an S22 with Hong-Kong firmware(s9010), I'd like to flash it with Taiwanese one.

To only flash original Samsung firmware, do I still need to use Bifrost, if I downloaded firmware from here https://samfrew.com/model/SM-S9010/region/BRI/?
Or I can just use Odin and flash it directly?
I don't know about the flashing but stuff like frija and bitfrost just download the firmware
 

qaxxi

Member
Apr 21, 2018
9
0
Hello,
For my S22 (SM-S901B/DS EUX) I've downloaded (using Bifrost) SM-S901B_1_20220425194620_yomnz8l3o9_fac_S901BXXS2AVDB_S901BOXM2AVDB_S901BXXS2AVDB_S901BXXS2AVDB_EUX.zip
I am able to flash unchanged files into my phone, by when I try to flash AP modified by Magisk it fails and i got message that only original OEM can be flashed
Moreover after flashing clean version unlock OEM option is missing and I can't change date prior to 25th of April

Any ideas how to root my phone in that situation?
Thanks in advance
 

mr.herbert

Member
Nov 15, 2018
25
2
Samsung Galaxy S22
Hello,
For my S22 (SM-S901B/DS EUX) I've downloaded (using Bifrost) SM-S901B_1_20220425194620_yomnz8l3o9_fac_S901BXXS2AVDB_S901BOXM2AVDB_S901BXXS2AVDB_S901BXXS2AVDB_EUX.zip
I am able to flash unchanged files into my phone, by when I try to flash AP modified by Magisk it fails and i got message that only original OEM can be flashed
Moreover after flashing clean version unlock OEM option is missing and I can't change date prior to 25th of April

Any ideas how to root my phone in that situation?
Thanks in advance
Boot to download mode and see if you get a bootloader unlock option. Then root as normal.
 

qaxxi

Member
Apr 21, 2018
9
0
Boot to download mode and see if you get a bootloader unlock option. Then root as normal.
Thanks, but I cant see that option, this is what displays on my screen

20220521_183719.jpg
 
Last edited by a moderator:

dragos281993

Recognized Contributor
Mar 29, 2014
2,927
4,053
Iasi
as I wrote in my first post, i have this option hidden, and can't turn back the clock 7 days, it always reboots 25.04.2022 if I change prior this date
You've got EUX csc?! What the heck is that? Try removing the sim card, do a factory reset, skip everything you can during the setup process, turn on developer settings and see if you get a OEM unlocking knob. You could do a reboot after turning on the developer settings.
But that EUX is weird. Something ain't right
 

qaxxi

Member
Apr 21, 2018
9
0
You've got EUX csc?! What the heck is that? Try removing the sim card, do a factory reset, skip everything you can during the setup process, turn on developer settings and see if you get a OEM unlocking knob. You could do a reboot after turning on the developer settings.
But that EUX is weird. Something ain't right
this is universal for Europe
 

dragos281993

Recognized Contributor
Mar 29, 2014
2,927
4,053
Iasi
what updates do you have on mind?
OTAs. Cause looking up EUX, I noticed some reported not receiving any updates. Then after an OTA and sim card removed, their CSC changed to BLU or something like that. Anyway, if you can't even see the OEM unlocking option, the bootloader is most likely unlockable.
 
Last edited:

ednygma18626

New member
May 4, 2022
1
0
BLU VIVO 8L
Alcatel 1
I cannot get the bootloader unlocked and as a result root my SM-S901U. Any tips? I've been through multiple walk-throughs. My phone doesn't have the oem unlock option at all I'm the dev options. When using ADB and Fastboot this of course means I'm denied because the phone is still locked.
 

qaxxi

Member
Apr 21, 2018
9
0
OTAs. Cause looking up EUX, I noticed some reported not receiving any updates. Then after an OTA and sim card removed, their CSC changed to BLU or something like that. Anyway, if you can't even see the OEM unlocking option, the bootloader is most likely unlockable.
I was able to restore unlock option like shown on this screen
20220525_123004.jpg
but still result was like this:
20220525_120612.jpg
still no idea what is going wrong
any suggestions anyone?
 
Last edited by a moderator:

Top Liked Posts

  • There are no posts matching your filters.
  • 9
    Code:
    Your warranty is now void.
    
    If you root your device, Your KNOX status will be tripped.
    You can still pass the safety net after you root if you follow the instructions.
    I am not responsible for bricked devices, dead SD cards although it is not really possible
    Please do some research if you have any concerns about doing this to your device

    How to flash official firmware? (not the root and unlock bootloader part!)

    You will need:

    A Galaxy S22 and common sense

    Samsung Odin (the flashing tool of the official firmware)

    https://dl2018.sammobile.com/Odin3-v3.14.1.zip

    You need to extract the zip file and you are going to use the file Odin3_v3.14.1.exe inside the folder.

    Samsung Android USB Driver for Windows


    Double-click and install the exe file.

    Samsung Official Firmware


    SM-S901B_EVR_S901BXXU1AVBF

    SM-S901U1_TMB_S901U1UEU1AVA7

    Download the platform you want to download to. (Windows)

    You need to extract the zip and double click open the file Bifrost.exe inside the folder.

    You need to fill in the Model, Region, press the Check for Updates button and the Download button.

    How to find the Model: on your phone → Settings → About Phone → The third row says the Model number and you need to remove the part with the part of /xx, for example, SM-S908B/DS and you only need to type SM-S908B

    How to find the Region: You can check the Region at this link https://samfrew.com/model/SM-S901B/ and
    https://samfrew.com/model/SM-S901E/ (thank for the reminder from @DarkestSpawn )


    You need to find find a three-letter word depending on your carrier and country and type it in Bifrost, for example, EVR

    Press the Check for Update button and download it with the Download button.

    Put it to a place you can easily find, ie. Desktop.

    After downloading it, find the file SM- S908x_x_xxxxxxxx_xxx.zip.enc4 on the place you put it and change the document format from .enc4 to .zip. Then, double click and extract the file.

    Open Odin3_v3.14.1.exe and turn off your phone. Connect a side of your USB to your PC/Laptop, keep pressing volume up and down together until you go to Download Mode. Put another side of the USB into your phone. When you arrived at Download Mode press volume up. Go back to Odin3_v3.14.1.exe:

    -Click on BL and select BL_S908xxxxxxxxxx.tar.md5

    -Click on AP and select AP_S908xxxxxxxxxxx.tar.md5

    -Click on CP and select CP_S908xxxxxxxxxx.tar.md5

    -Click on CSC and select CSC_OMC_xxxxxxxxxx.tar.md5

    Press Start to flash the firmware, after done, your device will automatically reboot to the system.

    How to unlock the bootloader?

    Go to your phone → Settings → About Phone → Software information → Press Build number 6 times until you see the notice “You’re now a developer”

    Go in Settings → Developer options → enable OEM unlocking

    Power off your phone first. Then, connect a side of your USB to your PC/Laptop, keep pressing volume up and down together until you go to Download Mode. Put another side of the USB into your phone.

    When you arrived at Download Mode, long press volume up until you see the black screen. Confirm to unlock the bootloader and you will erase your device.

    How to root your phone?

    After you unlock your bootloader, you set up your phone and make sure you do not sign in google account first. Install Magisk https://github.com/topjohnwu/Magisk/releases/download/v24.1/Magisk-v24.1.apk on your phone. Oh yes, in case you do not know, you need to allow the app to install apps so that you can install the apk.

    Transfer AP_S908xxxxx.tar.md5 in the firmware you download from your PC/Laptop to your phone.
    Open Magisk on your phone and press the install button in the Magisk column. Select 'Select and Patch a File', 'Let's Go' and find the AP_S908xxxxx.tar.md5 and select it. You can have a cup of coffee if you like when you waiting for the patching of the file.

    After finishing the patching, you need to transfer the file magisk_patched-24xxx_xxxxx.tar in the Downloads folder back to your PC/Laptop.

    Turn off your phone. Connect a side of your USB to your PC/Laptop, keep pressing volume up and down together until you go to Download Mode. Put another side of the USB into your phone. When you arrived at Download Mode press volume up. Open Odin3_v3.14.1.exe on your PC/Laptop:

    Click on BL and select BL_S908xxxxxxxxxx.tar.md5

    -Click on AP and select magisk_patched-24xxx_xxxxx.tar

    -Click on CP and select CP_S908xxxxxxxxxx.tar.md5

    -Click on CSC and select CSC_OMC_xxxxxxxxxx.tar.md5

    When it finishes flashing it, it will automatically reboot and you can gain root access.

    Optional: If you want to have the safety net passed (most of the banking apps use it), then you need to install the zip
    as a Magisk module in Magisk https://github.com/kdrag0n/safetynet-fix/releases
    How? Go to Magisk → Modules → install from storage and select the zip you downloaded.



    How to update system without losing root and data?

    Download new firmware of the phone and update the Magisk App if it is not up to date. Unzip the firmware you download and transfer the AP file to your phone. Patch your AP file and transfer it back to your PC (in /sdcard/Download)

    Power off phone and reboot to Download mode


    Open Odin and put new magisk_patched file in the AP slot, the BL and CP from your new firmware into their respective slots and importantly *HOME_CSC* into the CSC slot.

    Press start and let Odin do it's stuff.

    When flashed, do not wipe.

    Press and hold Vol-down and Power
    As soon as screen appears, let go of all buttons.

    Within moments without any further user intervention your phone will reboot into your updated Magisk rooted mode, data intact.
    2
    D
    Deleted member 12024131
    I, too, am a noob, but I believe having safety net passed is important if you want banking apps, or any app that uses confidential data. Safety net is used to keep your device from downloading harmful apps, and keeping your data safe. So in general some apps might not work if your device doesn't pass safety net.
    2
    Bummer...the snapdragon never gets any love
    2
    Edit: oh you're talking about the original post. Yes, its only showing Non US variants but it's the same process for flashing firmware.

    Thanks
    2
    Is there any way to bootloader unlock a VZW S22 for flashing Treble based ROMs?

    With the Pixel 6 being so massive the S22 is looking awfully appealing... If only I can get it close to the pixel experience.