How To Guide How to Root S23 (S91*B/N/0)

Search This thread

dr.ketan

Recognized Developer / Recognized Contributor
Apparently all S23 variants (worldwide) will have the Qualcomm Snapdragon 8 gen 2 processor. Thus the hopes of root for any S23 versions are pretty slim.

https://www.sammobile.com/news/galaxy-s23-snapdragon-8-gen-2-overclocked-gpu/

S23U also have Snapdragon and S22U many regios too, still we can root as easy as Exynos
 
  • Like
Reactions: tdgillihan

dr.ketan

Recognized Developer / Recognized Contributor
Glad to share, Internal testing for TWRP started now!
Big thanks to @afaneh92



S23_TWRP.jpg
 

dr.ketan

Recognized Developer / Recognized Contributor
Sorry, my mistake. As you've already proven before I put the proverbial foot in my mouth! :oops: Truth is, it's the ability to unlock the Bootloader that makes the real difference.
Actuallyit is not related to Xynos or SD but real difference is region. US region (Model****U) are always unrooable (No bootloader unlock option there). Till now samsung was releasing SD for these region only so it is general impression that SD models are non rootable but since last year scenario changed.
 

monkeyass408

Senior Member
Jun 7, 2011
556
338
Actuallyit is not related to Xynos or SD but real difference is region. US region (Model****U) are always unrooable (No bootloader unlock option there). Till now samsung was releasing SD for these region only so it is general impression that SD models are non rootable but since last year scenario changed.
its very sad for the usa. I miss root since note 5. only reason why i stick with usa version is trade in credit.
is the s918b the European version? i would consider buying outright if 5g bands are available and unlocked via service menu
 

dr.ketan

Recognized Developer / Recognized Contributor
its very sad for the usa. I miss root since note 5. only reason why i stick with usa version is trade in credit.
is the s918b the European version? i would consider buying outright if 5g bands are available and unlocked via service menu
I think S918B is common for Europe & Asian counties
I believe if you bought S918B and then replace CSC files with USA version then there should be no issue for 5G
Thoghu I recommend to confirm before buying
 
  • Like
Reactions: get2easy

matteo0026

Senior Member
Jul 1, 2015
1,562
964
22
Treviso
Lenovo P2
BQ Aquaris X Pro
Hi everyone. Could someone test NSG (network signal guru) after getting root access? It should ask for root at the first boot, and then it should show all the mobile network statistics. I want to know if Samsung closed diag port after rooting.
If it works fine with root, it should show bands like this in the first screen, with at least a P band and other N bands grayed out (nearby, not connected):
Screenshot_20230205_090843_Network Signal Guru.jpg
 
Last edited:

afaneh92

Senior Member
Jul 31, 2012
3,657
5,094
Actuallyit is not related to Xynos or SD but real difference is region. US region (Model****U) are always unrooable (No bootloader unlock option there). Till now samsung was releasing SD for these region only so it is general impression that SD models are non rootable but since last year scenario changed.
I can unlock bootloader on US devices, currently S22-S23 not supported. But older need to be on specific bootloader rev. Check my signature for the unlock thread.
Other thing is US has locked exynos and mtk devices not only snapdragon.
 
  • Like
Reactions: dr.ketan

arlequin2k3

Senior Member
Dec 22, 2018
76
16
94450
Hi ,
Having no more sd card in this phone, can we make a backup with twrp on a usb key? Thank you for your answers .
 

Amd4life

Senior Member
Dec 30, 2010
1,884
467
Google Pixel 6 Pro
Vivo X Fold
Unlock the bootloader on U models with https://github.com/k0mraid3/K0mraid3s-System-Shell-PREBUILT

Then use Odin to flash B model(debloated) firmware and follow it up with your method of rooting.

Hypothetical, can't test yet

So theoretically a US customer could purchase an unlocked U S23 with all the US bands. Use this mod to unlock the bootloader. Then flash the B firmware, followed by root.

That's a whole lot of if's, but if it works I will buy a S23 Ultra immediately.
 

LiQuiD_FeAR

Senior Member
Dec 29, 2008
424
152
So theoretically a US customer could purchase an unlocked U S23 with all the US bands. Use this mod to unlock the bootloader. Then flash the B firmware, followed by root.

That's a whole lot of if's, but if it works I will buy a S23 Ultra immediately.
My hope is to do it on a locked us model
 

EtherealRemnant

Senior Member
Sep 15, 2007
5,019
2,175
38
Denver, CO
OnePlus 9
Samsung Galaxy Watch 4
I think S918B is common for Europe & Asian counties
I believe if you bought S918B and then replace CSC files with USA version then there should be no issue for 5G
Thoghu I recommend to confirm before buying
AT&T and Verizon tend to use whitelists that exclude international variants from either 1) being used at all or 2) having access to 5G.
 

tdgillihan

Senior Member
Jul 10, 2012
1,549
1,851
64
Fallbrook, CA
I think S918B is common for Europe & Asian counties
I believe if you bought S918B and then replace CSC files with USA version then there should be no issue for 5G
Thoghu I recommend to confirm before buying
Dr Ketan, sorry for the off topic (and I'll understand if you ignore my question), but do you know if anyone has been able to accomplish this (buy S908B and then replace CSC files with USA version) on the s908b? I'm running your full ROM on mine (with Tweaks Pro), but i'd like to open up the device to receive more of the 5g bands available here in the US.
 

dr.ketan

Recognized Developer / Recognized Contributor
Dr Ketan, sorry for the off topic (and I'll understand if you ignore my question), but do you know if anyone has been able to accomplish this (buy S908B and then replace CSC files with USA version) on the s908b? I'm running your full ROM on mine (with Tweaks Pro), but i'd like to open up the device to receive more of the 5g bands available here in the US.
I don't remember exactly but have helped one user (Not sure Note20 or S21 or S22) for same and it worked.
 

tdgillihan

Senior Member
Jul 10, 2012
1,549
1,851
64
Fallbrook, CA
I don't remember exactly but have helped one user (Not sure Note20 or S21 or S22) for same and it worked.
I have OXM (from your Odin ROM flash), and would like to change to XAA. Either via SamFw tool or perhaps by flashing home CSC from the SM-908U1 firmware I've downloaded off Sammobile (S908U1OYM2BWA2). But I'm worried that I'll lose dual sim support (or worse). What are your thoughts? I appreciate you taking the time to reply to me, I've done a lot of searching on this and have not found anything definitive.

 

Top Liked Posts

  • 1
    Please has someone an answer to backup EFS partition with rooted S23.
    Take a look at dr.ketan's work. Read in his ROM thread. Install his tweaks pro. It is a paid utility (absolutely deserved) , it has the ability to backup EFS. And much more.
  • 3
    OP updated for How to Root S23 (SM-S91**) (except devices that doesn't support unlocking bootloader like S91*U)

    Also no more pre patched files will be provided so moving this thread to "How to Guide" section.
    2
    in most apps, usually you can choose to toggle on/off for each notification category, but not in the System UI app
    you can't toggle them off because the components are disabled (only Screenshot can be toggled off/on as you wish)
    thanks
    That's same since oneui 5.0
    It requires patching core app, instead easiest way is to install NCleaner from play store, remove all unwanted notifications and then Uninstall NCleaner
    1
    Secure Folder not working for me on the rooted S23 Ultra.
    It is expected many knox feature will break.
    Use Custom ROM (Check Development Section) with all patches OR try KnoxPatch xposed module (Check Theme & App section)
    1
    Can ATT S23 ultra bootloader be unlocked and phone can be rooted?
    No. It's not working for US versions.
    1
    Please has someone an answer to backup EFS partition with rooted S23.
    Take a look at dr.ketan's work. Read in his ROM thread. Install his tweaks pro. It is a paid utility (absolutely deserved) , it has the ability to backup EFS. And much more.
  • 30
    How to Root Samsung S23 (SM-S91*B/N/0)



    WARNING!


    Before you root your device you must be aware that

    • This will void warranty.
    • As of now you will lose Samsung Pay and Samsung Pass forever if you root once, even unrooting won't help.
    • There are many features stop working when you unlock bootloader other than S pay/Pass like Samsung Health, Secure Folder, Galaxy Watch pairing issue, Issue connecting old gear watch (S3 or earlier), Google Pay etc but some ROMs are patched for all these mentioned features, you can use custom ROM or patch it yourself for stock ROM. Still you may trouble using some bank apps and these may fixed by adding these apps to Magisk Hide
    • There may be some knox features there which you may not able to use but I can't list those as I never used. Just Google It
    • Patched featurs are working today when writing this, No idea if it may stop working next moment/tomorrow or later
    • Also to note, once you root, you can't go back to "pre-rooted" state completely. It is one way!
    • OTA won't work once you root device.
    • ROOT with caution.
    • You can unroot & Relock bootloader after flashing stock firmware, but still your warranty flag remain 0x1 and most of countries it still voids warranty. Also after unrooting & relocking bootloader, some knox features never work again.

    How to Unlock Bootloader

    Follow below four steps to ulock the bootloader

    1.Enable Developer Option
    • Open the Settings app on your Galaxy device.
    • Choose About > Software Information.
    • Now tap on Build Number 7 times to enable the developer option.
    • You’ll get a message “You’re now a developer.”
    • Now Developer option has been enabled.
    2: Enable OEM Unlock
    • Go to the Settings app again on your device.
    • Navigate to the Developer option.
    • Enable the toggle next to OEM Unlocking.
    • Tap YES to turn on the confirmation dialog box.
    3: Boot Your device to Download Mode
    • While device is booted → Connect device to PC → Select to Restart → As soon as device screen turns off, Press and hold Volume Up + Volume Down simultaneously OR In case device is powered off Press and hold Volume Up + Volume Down simultaneously and connect your device to the PC via a USB Cable.
    • You can see the warning message on your device and release the pressed keys.
    • Finally, press the Volume Up key once, and you will be booted into Download Mode.
    4: Unlock Bootloader
    • Once device booted into Download Mode, you will see option to long press Volume up to unlock bootloader,Now, press and hold the Volume Up key for a few seconds., Here, you’ll get a confirmation whether you are sure to proceed.
    • Use the Volume Up button to reply to the confirmation.
    • This will erase all the data on your device and unlock the bootloader.
    • Once completed, your device will automatically boot up to the OS.

    Now you have successfully unlocked the bootloader


    How to root S23


    Instructions for stock non rooted ROM​

    • Use either samfirm.js, Frija, or Samloader to download the latest firmware zip of your device directly from Samsung servers.
    • Unzip the firmware and copy the AP tar file to your device. It is normally named as AP_[device_model_sw_ver].tar.md5
    • Install Magisk apk ( IMPORTANT : Currently stable Magisk doesn't support S23 so use from here)
    • Press the Install button in the Magisk card
    • Choose “Select and Patch a File” in method, and select the AP tar file
    • When done, copy patched file to PC
    • Reboot to download mode. Open Odin on your PC, and flash magisk_patched.tar as AP, together with BL, CP, and CSC (NOT HOME_CSC because we want to wipe data) from the original firmware.
    • Your device should reboot automatically once Odin finished flashing. Agree to do a factory reset if asked.
    • Install the Magisk app you’ve already downloaded above and launch the app. It should show a dialog asking for additional setup.
    • Let the app do its job and automatically reboot the device. Voila!

    Upgrading the OS​

    Once you have rooted your Samsung device, you can no longer upgrade your Android OS through OTA. To upgrade your device’s OS, you have to manually download the new firmware zip file and go through the same AP patching process written in the previous section. The only difference here is in the Odin flashing step: do NOT use the CSC tar, but instead use the HOME_CSC tar as we are performing an upgrade, not the initial install.

    Important Notes​

    • Never, ever try to restore either boot, recovery, or vbmeta partitions back to stock! You can brick your device by doing so, and the only way to recover from this is to do a full Odin restore with data wipe.
    • To upgrade your device with a new firmware, NEVER directly use the stock AP tar file with reasons mentioned above. Always patch AP in the Magisk app and use that instead.
    • Never just flash only AP, or else Odin may shrink your /data filesystem size. Flash AP + BL + CP + HOME_CSC when upgrading.

    PS : It is strongly recommended to make EFS backup once you root device and save to safer place like on cloud or PC

    For TWRP
    : Read here

    Credit : topjohnwu Guide part taken from Origin guide here


    S23U_root.jpg
    12
    For those interested I've made a pull request that has been approved (not pushed to the master branch tho) to add support for Samsung devices that shipped/will ship with Android 13 (like the S23 family) in the Magisk repository (https://github.com/topjohnwu/Magisk/pull/6586). You can find a test apk in the attachments to test yourself whether or not you can now patch stock firmware tar packages to install Magisk.
    9
    Glad to share, Internal testing for TWRP started now!
    Big thanks to @afaneh92



    S23_TWRP.jpg
    6
    TWRP seems working fine with Test version of DrKetanROM


    4
    This one gave me the "Magisk needs additional setup" prompt. After accepting + reboot, Manager detects magisk correctly and root is functional. Great work!
    Would you be able to upload a release kernel too? Thanks so much!