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

Search This thread

bum2kev

Member
Jan 2, 2012
26
4
I successfully flashed U1 over my U ATT S22. I had to make sure the phone was network unlocked though for some reason. I used bifrost to grab the latest SM-S901U1 ATT firmware. Thank you! Now im finally able to use RCS!

They key with bootloader mode was the dual press of vol up and down while plugging in!
 
Last edited:
  • Like
Reactions: pseudonym58

bamn

Senior Member
Jul 23, 2010
308
109
Question, what would happen when after downloading an OTA update and pressing "install" on a rooted device.

Would this work and losing root or worse?

I am looking to root soon, but actually today received an update and accidentaly pressed install while I was planning to do this later.

So curious to know what this may have caused after being rooted.

Thanks for the how-to btw! Much appreciated!
 

chinchulin01

Senior Member
Sep 7, 2013
77
5

fehmiturk

Member
Feb 7, 2009
16
12
Hello. I want to delete the root and completely go back to factory stock image. Is this posible just flashing the stock image with Odin?
 

MohamedN

Senior Member
Mar 16, 2012
495
322
Cairo
Samsung Galaxy S22
So I'm not a noob per say, but I have been away from the scene for such a long time.
I have a question plz, I'm about to receive my s22 soon and I would like to change csc code from xsg to EGY to allow for call recording. Already downloaded stock firmware for EGY and know how to flash it.
My question is: will it trip Knox? Do I need to unlock oem before changing the csc code?
 

Gymcode

Senior Member
Jan 21, 2019
132
29
I rooted once on my vanilla S22 to install battery optimizing apps (e.g. FDE.AI, Naptime, etc), but did not see much battery improvements.

Another reason I see is for Viper4Android. Any other reason to root S22?
 

abumaha

Senior Member
Dec 10, 2011
1,028
25
help friends

samsung a02s from america now in europe
seems cant use network

phone accept sim but no calls ect bar appeared
 

Düdeldü

Member
May 27, 2015
21
1
Samsung Galaxy S22
Thanks for the how to, but I got an error. While flashing the modified AP Odin stucks with FAIL at modem.bin? I found a couple of threats without solutions. SM-S901B, and tried to edit and flash fw S901BXXU2AVF5 SWC
 

narf0815

Member
Feb 10, 2013
17
1
Last edited:

losoollenos

Senior Member
May 18, 2015
136
28
BS AS
I know that once rooted knox will crash irreversibly, but the bootloader, is it possible to lock again??, I ask to know if the day you sell the cell phone you will receive otas.....
 
Last edited:

chinchulin01

Senior Member
Sep 7, 2013
77
5
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
Hi. Did you manage to root the SD 256GB ? What firm were you on? Could you please explain the procedure you followed?

Thanks
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 19
    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


    [URL='https://samfrew.com/model/SM-S901U1/region/TMB/']https://samfrew.com/model[/URL]

    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.
    4
    Bummer...the snapdragon never gets any love
    3
    You guys are going about changing your CSCs the hard way.


    Yes it's a FRP tool but it also has one click CSC change (download speeds for firmware is pretty reasonable too). Image attached - T-Mobile U Model S22 and the CSCs built into the T-Mobile ROM. I got about half way through this thread and saw the same question a lot - no it won't trip Knox. You don't need root. You don't need to flash a firmware, you just change it to whichever is the better of the bunch and the OTA updates will start rolling in.

    There's also a button to clear any bloatware should the CSC you choose include anything carrier or region specific that is considered garbage.

    You just need to enable USB Debug Mode, or some phones you need to manually open the dialler and enter *#0*# to fire up ADB through test mode. If you've got a Verizon phone, there's a button in that tool to enable test mode as it's disabled.

    Example: I've got a Samsung Live Demo Unit in a certain model from a certain region that actually ships with IMEIs, they're just disabled by the chosen CSC (not in the list, doesn't display as an option in the app either so you don't accidentally choose it) - as well as the power saving modes and charging to 100%. They only need to have the CSC changed to another country/region in the same Multi CSC firmware to be a full retail unit (as well as Demo Mode disabled with a password).

    United States (U/U1) carriers CSC - Multi-CSC contains​

    • “ACG”, “Nextech / C-Spire branded”
    • “ATT”, “AT&T branded”
    • “BST”, “BST (unknown)”
    • “CCT”, “Comcast branded”
    • “GCF”, “GCF (unknown)”
    • “LRA”, “Bluegrass Cellular branded”
    • “SPR”, “Sprint (CDMA) branded”
    • “TFN”, “Tracfone branded “
    • “TMB”, “T-Mobile branded”
    • “USC”, “USA unbranded”
    • “VMU”, “Virgin Mobile USA branded”
    • “VZW”, “Verizon branded”
    • “XAA”, “USA unbranded (default)”
    • “XAS”, “XAS (unknown)”

    Canada (W) carriers CSC product codes: Multi-CSC contains​

    • “BMC”, “Bell Mobile branded”
    • “BWA”, “SaskTel branded”
    • “CHR”, “Canada (unknown)”
    • “ESK”, “EastLink branded”
    • “FMC”, “Fido Mobile branded”
    • “GLW”, “Globalive Wind Mobile branded”
    • “KDO”, “Koodo Mobile branded”
    • “MTB”, “Belarus branded”
    • “RWC”, “Rogers branded”
    • “TLS”, “Telus branded”
    • “VMC”, “Virgin Mobile branded”
    • “VTR”, “Vidéotron branded”
    • “XAC”, “Canada unbranded (default)”

    Vodafone carriers CSC product codes: Multi-CSC contains​

    • “ATL”, “Spain Vodafone branded”
    • “AVF”, “Albania Vodafone branded”
    • “CNX”, “Romania Vodafone branded”
    • “CYV”, “Cyprus Vodafone branded”
    • “MOB”, “Austria A1 branded”
    • “MTL”, “Bulgaria MTL branded”
    • “OMN”, “Italy Vodafone branded”
    • “PRO”, “Belgium Proximus branded “
    • “SIM”, “Slovenia Si.mobile branded”
    • “SWC”, “Switzerland Swisscom branded”
    • “TCL”, “Portugal Vodafone branded”
    • “VD2”, “Germany Vodafone branded (default)”
    • “VDC”, “Czech Republic Vodafone branded”
    • “VDF”, “Netherlands Vodafone branded”
    • “VDH”, “Hungary Vodafone branded”
    • “VDI”, “Ireland Vodafone branded”
    • “VGR”, “Greece Vodafone branded”
    • “VIP”, “Croatia VIP-Net branded”
    • “VOD”, “United Kingdom Vodafone branded”
    • “XFV”, “South Africa Vodafone branded”

    List of CSC (Country specific codes) for Samsung Galaxy Android Global​

    (B, E or F)​

    • Afghanistan (AFG)
    • Algeria (TMC)
    • Austria (TTR)
    • Austria (3 Hutchison) (DRE)
    • Austria (A1) (MOB)
    • Austria (T-Mobile) (MAX)
    • Austria (Telering) (TRG)
    • Baltic (SEB)
    • Belgium (Proximus) (PRO)
    • Bosnia and Herzegovina (TEB)
    • Bosnia and Herzegovina (BH TELECOM) (BHT)
    • Bulgaria (GBL)
    • Bulgaria (BGL)
    • Bulgaria (MTL) (MTL)
    • Bulgaria (VVT) (VVT)
    • Cambodia (CAM)
    • Caucasus Countries (CAU)
    • Croatia (Bonbon) (DHR)
    • Croatia (T-Mobile) (CRO)
    • Croatia (TELE2) (TWO)
    • Croatia (VIPNET) (VIP)
    • Cyprus (CYV)
    • Cyprus (Cytamobile Vodafone) (CYO)
    • Czech Republic (ETL)
    • Czech Republic (O2C) (O2C)
    • Czech Republic (T-Mobile) (TMZ)
    • Czech Republic (Vodafone) (VDC)
    • Egypt (EGY)
    • France (XEF)
    • France (Bouygues) (BOG)
    • France (Orange) (FTM)
    • France (SFR) (SFR)
    • Germany (DBT)
    • Germany (1&1) (XEG)
    • Germany (Congstar) (DDE)
    • Germany (O2) (VIA)
    • Germany (T-Mobile) (DTM)
    • Germany (Vodafone) (VD2)
    • Greece (EUR)
    • Greece (Cosmote) (COS)
    • Greece (Vodafone) (VGR)
    • Hungary (XEH)
    • Hungary (T-mobile) (TMH)
    • Hungary (Telenor) (PAN)
    • Hungary (VDH) (VDH)
    • Indonesia (XSE)
    • Indonesia (XID)
    • Iran (THR)
    • Iraq (MID)
    • Ireland (TSI)
    • Ireland (Meteor) (MET)
    • Ireland (Three) (3IE)
    • Ireland (Vodafone) (VDI)
    • Israel (ILO)
    • Israel (Cellcom) (CEL)
    • Israel (Orange/Partner) (PTR)
    • Israel (Pelephone) (PCL)
    • Italy (ITV)
    • Italy (H3G) (HUI)
    • Italy (TIM) (TIM)
    • Italy (Vodafone) (OMN)
    • Italy (Wind) (WIN)
    • Kazakhstan (SKZ)
    • Kenya (AFR)
    • Kenya (KEN)
    • Libya (BTC)
    • Luxembourg (LUX)
    • Macedonia (VIM)
    • Macedonia (T-Mobile) (MBM)
    • Malaysia (XME)
    • Mauritius (MRU)
    • Montenegro (TMT)
    • Morocco (MAT) (MAT)
    • Morocco (MWD) (MWD)
    • Netherlands (PHN)
    • Netherlands (Ben NL) (DNL)
    • Netherlands (T-Mobile) (TNL)
    • Netherlands (Vodafone) (VDF)
    • Nigeria (ECT)
    • Nordic countries (NEE)
    • Norway (Telenor) (TEN)
    • Open Austria (ATO)
    • Pakistan (PAK) (PAK)
    • Philippines (Globe) (GLB)
    • Philippines (Open Line) (XTC)
    • Philippines (Smart) (SMA)
    • Philippines (Sun Cellular) (XTE)
    • Poland (XEO)
    • Poland (Heyah) (DPL)
    • Poland (Orange) (IDE)
    • Poland (PLUS) (PLS)
    • Poland (Play) (PRT)
    • Poland (T-mobile) (TPL)
    • Portugal (MEO)
    • Portugal (Optimus) (OPT)
    • Portugal (TPH) (TPH)
    • Portugal (Vodafone) (TCL)
    • Romania (ROM)
    • Romania (Cosmote) (COA)
    • Romania (Orange) (ORO)
    • Romania (Vodafone) (CNX)
    • Russia (SER)
    • Saudi Arabia (KSA)
    • Saudi Arabia (ACR)
    • Saudi Arabia (WTL)
    • Saudi Arabia (STC) (XFU)
    • Serbia (Telekom) (TSR)
    • Serbia (Telenor) (MSR)
    • Serbia (VIP) (TOP)
    • Slovakia (ORX)
    • Slovakia (TMS)
    • Slovenia (SIO)
    • Slovenia (Mobitel) (MOT)
    • Slovenia (Si.mobil) (SIM)
    • South Africa (XFE)
    • South Africa (XFA)
    • South Africa (Vodafone) (XFV)
    • South East Europe (SEE)
    • Spain (PHE)
    • Spain (Movistar) (XEC)
    • Spain (Orange) (AMO)
    • Spain (Vodafone) (ATL)
    • Sweden (VDS)
    • Sweden (Tre) (HTS)
    • Switzerland (AUT)
    • Switzerland (Swisscom) (SWC)
    • Thailand (THL)
    • Tunisia (TUN)
    • Ukraine (Kyivstar) (SEK)
    • United Arab Emirates (XSG)
    • United Arab Emirates (LYS)
    • United Kingdom (VIR)
    • United Kingdom (BTU)
    • United Kingdom (EE) (EVR)
    • United Kingdom (H3G) (H3G)
    • United Kingdom (O2) (O2U)
    • United Kingdom (Vodafone) (VOD)
    • United Kingdom / Ireland (XEU)
    • Unknown (TPD)
    • Unknown (ANP)
    • Uzbekistan (CAC)
    • Vietnam (XXV)
    • Zambia (MTN Zambia) (MTZ)
    • Argentina (ARO)
    • Argentina (ANC)
    • Argentina (Claro) (CTI)
    • Argentina (Movistar) (UFN)
    • Argentina (Personal) (PSN)
    • Australia (XSA)
    • Australia (Optus) (OPS)
    • Australia (Telstra) (TEL)
    • Australia (Vodafone) (VAU)
    • Bangladesh (BNG)
    • Bolivia (BVO)
    • Brazil (ZTO)
    • Brazil (Claro) (ZTA)
    • Brazil (Oi) (ZTR)
    • Brazil (TIM) (ZTM)
    • Brazil (VIVO) (ZVV)
    • Chile (CHO)
    • Chile (CRC)
    • Chile (Claro) (CHL)
    • Chile (Entel PCS) (CHE)
    • Chile (Nextel) (CHX)
    • Chile (Telefonica) (CHT)
    • Chile (VTR) (CHV)
    • Colombia (COO)
    • Colombia (Comcel) (COM)
    • Colombia (ETB) (COE)
    • Colombia (Movistar) (COB)
    • Costa Rica (ICE)
    • Dominican Republic (CDR)
    • Dominican Republic (Orange) (DOR)
    • Ecuador (EBE)
    • Ecuador (ECO)
    • Fiji (Vodafone) (VFJ)
    • Guatemala (TGU)
    • Guatemala (PGU)
    • Guatemala (Tigo) (CGU)
    • India (INU)
    • India (INS)
    • Jamaica (JDI)
    • Jamaica (CWW)
    • Mexico (IUS)
    • Mexico (Movistar) (TMM)
    • Mexico (Telcel) (TCE)
    • Nepal (NPL)
    • New Zealand (NZC)
    • New Zealand (TNZ)
    • New Zealand (Vodafone) (VNZ)
    • Panama (PBS)
    • Panama (TPA)
    • Panama (Cable & Wireless) (PCW)
    • Panama (Claro) (CPA)
    • Papua New Guinea (PNG)
    • Paraguay (Claro) (CTP)
    • Paraguay (Personal) (PSP)
    • Paraguay (Tigo) (TGP)
    • Peru (PET)
    • Peru (Nextel) (PNT)
    • Peru (SAM) (SAM)
    • Peru (Viettel) (PVT)
    • Puerto Rico (PCT)
    • Saudi Arabia (KSA)
    • Singapore (XSP)
    • Singapore (MM1)
    • Singapore (SingTel) (SIN)
    • Singapore (StarHub) (STH)
    • South Africa (XFA)
    • South America (Moviestar) (CRM)
    • South America (Open Line) (NBS)
    • Sri Lanka (SLK)
    • Trinidad and Tobago (TTT)
    • Trinidad and Tobago (EON)
    • Unknown (COD)
    • Unknown (MNX)
    • Uruguay (UFU)
    • Uruguay (UPO)
    • Uruguay (Claro) (CTU)


      Korea (N)


    • Korea (KT Corporation) (KTC)
    • Korea (LG Uplus) (LUC)
    • Korea (SK Telecom) (SKC)



      China (0)

    • China (Open China) (CHC)
    • Hong Kong (TGY)
    • China (China Mobile) (CHM)
    • Taiwan (BRI)
    • China (China Telecom) (CTC)

    In regards to flashing firmwares from outside your region - the limitation is on your CPU. A series and M series Samsungs all use Exynos, so you can flash U, U1, F, B firmwares on them (probably more). U, U1 use Snapdragon and are interchangable, N and 0 use Snapdragon but I've never bothered to flash a N or 0 firmware on a Snapdragon phone to see if they are interchangable. E and B are interchangable (or F and B previously). If you are going to hop between models you MUST be using Patched Odin to skip the SHA256 check.

    So yeah, you can absolutely flash U1 firmware onto a U device, I bought a lot of 10 of them that are locked to T-Mo are are all on U1 now. If only unlocking them for use in Australia was as easy as swapping firmware and CSCs
    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
    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