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

Search This thread

bamn

Senior Member
Jul 23, 2010
277
105
So would it be safe (for my data) to try to flash the non-patched AP file in the AP slot?

I know it would not be rooted, but my data would still be safe right?
 

exidler

Senior Member
Oct 12, 2007
158
85
So would it be safe (for my data) to try to flash the non-patched AP file in the AP slot?

I know it would not be rooted, but my data would still be safe right?
I think yes. But not all time it's possible to make downgrade to prev firmware.
If you test it, let us to know about result.
 

bamn

Senior Member
Jul 23, 2010
277
105
So I tried, but also without Magisk, so flashing original AVH9 AP file, system is not booting.

I was able to flash AVG6 and get back into the phone without issues.

But it seems impossible to update.
This is my first Samsung and before I was always using TWRP.

Would it be wise to flash TWRP and try to flash this way?
 

MerijnB

Senior Member
Nov 9, 2008
60
2
So I tried, but also without Magisk, so flashing original AVH9 AP file, system is not booting.

I was able to flash AVG6 and get back into the phone without issues.

But it seems impossible to update.
This is my first Samsung and before I was always using TWRP.

Would it be wise to flash TWRP and try to flash this way?
Hi, were you able to upgrade to AVH9 by any change?
 

bamn

Senior Member
Jul 23, 2010
277
105
Hi, were you able to upgrade to AVH9 by any change?
No, I gave up.
I think you could try first remove root by flashing non patched AVG6 and then try to update.

I didn't try because then you are not sure to be able to get root back.
I would guess it would work and otherwise it may be possible to go back to AVG6, but not sure.
 

taco.tuesday

New member
Feb 4, 2020
3
0
Like Andrew9mb in this thread, I have a new/locked AT&T S22 with the crippled RCS. I'd like to flash the stock Samsung firmware to regain properly working RCS w/Jibe servers. My current baseband is S901USQ2AVHD, model number SM-S901U. The newest firmware I found on samfw for SM-S901U is S901USQU1AVC8. The newest SM-S901U1 firmware is S901U1UES2AVHL.

I have a few questions for anyone knowledgeable - this is my first time with any of this...

If I want to flash AT&T's firmware, I'd use SM-S901U, but since I want Samsung's firmware without the AT&T stupidity, I want to flash the SM-S901U1 firmware right?

Should OTA updates still work?

Visual voicemail still work?

Will Knox be tripped or void the warranty?

The flash will do a factory reset and I'll have to set the phone back up + restore backup from Samsung Smart Switch right?

Since I'm not trying to root the phone, I don't need to worry about Magisk?

Once the firmware swap is complete, will the phone automatically update to the latest security patch?

Anything else I should know or be thinking about?

Really appreciate the help/advice!
 

bamn

Senior Member
Jul 23, 2010
277
105
Latest updat (sept patch) also not booting.
Sorry to spam this thread but really hoping to be able to update at some point.

Didn't know up front Samsungs would be such a PITA.
 

MerijnB

Senior Member
Nov 9, 2008
60
2
Latest updat (sept patch) also not booting.
Sorry to spam this thread but really hoping to be able to update at some point.

Didn't know up front Samsungs would be such a PITA.
Can you confirm that if you reflash the rom you had with HOME_CSC you do get access with all old data back?
 

bamn

Senior Member
Jul 23, 2010
277
105
Can you confirm that if you reflash the rom you had with HOME_CSC you do get access with all old data back?
Yes, confirmed, I flashed several times the different versions after AVG6 with or without patching the AP file.

Never flashed the "wipe CSC" and was always able to flash AVG6 and boot back into the system as if nothing happend.
 
Last edited:
  • Like
Reactions: MerijnB

bamn

Senior Member
Jul 23, 2010
277
105
Can you confirm that if you reflash the rom you had with HOME_CSC you do get access with all old data back?
And any luck upgrading? (Or anyone else)
Did you debloat?
I just realized I never tried to restore all debloated apps before trying the update, which is actually recommended.
 

bamn

Senior Member
Jul 23, 2010
277
105
So no luck, even with debloat undone still not booting.

Let's hope the A13 update will work without going fully stock first.
 

mahmudaparvin

New member
Oct 5, 2022
1
0
23
Bangladesh
www.facebook.com
I flashed my S22 with SM-S901U1 (XAA) US unlocked firmware. My phone's model number changed from U to U1 which is what I wanted, but my service provider software version is still VZW/VZW,VZW/ VZW. Did I do something wrong? The verizon bloatware is gone, and it boots up without Verizon's load screen, but I'm
 

naazirnizam

Member
Jan 10, 2010
13
0
@ Williamtung. I hope everyone is well. I received an S22 SM-S901u Verizon. I would like to remove all VZW bloatware and keep the phone like a factory-unlocked version. Can you please advise

PS: I'm a noob in this area, please help. Thank you
 

aurny

Member
Mar 18, 2016
27
23
Possibly a stupid question but is it possible to flash a different model's firmware?

I bought an unlocked SM-S901N from South Korea and rooted it using this method. I'm currently on AVFA using the KOO CSC which is what the phone came with. Everything works great except that the boot screens are all in Korean and occasionally a Korean message will pop up on the screen.

It sounds like the September release (AVI*) is not working for rooted phones, but assuming that gets fixed at some point... can I flash the SM-S901U1/XAA firmware? XAA is the non-carrier-branded US CSC. I think the big question is: will the U1 firmware work on the N variant, or are there hardware or other differences that make this impossible? They're both snapdragon.

If so, is it possible to change CSC (from KOO to XAA in this case) by flashing the HOME_CSC and avoid a wipe?

And to press my luck even further, assuming yes to the above: could I flash the U1/VZW HOME_CSC to get visual voicemail working again, still with no wipe? I already use the Systemless Debloater so I don't care too much if the VZW CSC comes with Verizon bloatware. But I really miss visual voicemail. (Are there other disadvantages to using the VZW CSC, like risk of losing root? Of course I definitely don't want OTAs from Verizon.)
 

Addicted2Bass

Senior Member
Sep 30, 2012
98
6
is it necesarry to flash everytime to update BL,CP, Home_CSC or is it possible to just flash AP?
 
Last edited:

bamn

Senior Member
Jul 23, 2010
277
105
I'll put it up here one more time as I've been in touch with some other users having the same issue.

Does anyone have an idea why some of us cannot update?
For me I am stuch at AVG6 but some are on different versions (AVF5).

We have tried to undo the debloat, fully uninstall magisk, flashed the non patched AP files, and of course the patched versions.
I personally have tried every update since AVG6.

Odin is not giving any errors and all looks okay, after the 1st reboot "erasing" as normal then a second reboot, then a third with an error:

“Cannot load Android system. Your data may be corrupt. If you continue to get this message, you may need to perform a factory data reset and erase all user data stored on this device.”

Flashing back the software version that was running before (AVG6) boots as normal.

Any suggestions would be much appreciated!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    I have a S22 901E (SD) which was OTA updated from A12 to A13. I would like to unlock bootloader, root with magisk, install lsposed with zygisk, and shamiko

    Does anyone have experience with this? Any advice? Not a lot of rooting tutorials yet for this device out there... Thanks!
  • 13
    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.
    3
    Bummer...the snapdragon never gets any love
    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
    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.
    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