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

Search This thread

torhect

Senior Member
Nov 4, 2014
615
48
It is good to specify that you will not receive OTA as long as the device is rooted, if you flash the stock firmware again and LOCK the bootloader you will get updates via OTA again.
 

LVA_

Member
Dec 21, 2017
10
8
Best,

i rooted my s23 ultra s918B with magisk debug and it worked until magisk said must restart and then magisk was not rooted.
Same here but on a S911B. Not sure what to do now. Magisk Canary 25210, all looked fine until it said to restart. Changelog says the patch for Samsung's init_boot.img is included, and odin log shows init_boot.img written.
 
Last edited:

TechDecipher

New member
Feb 27, 2023
4
1
No, I heard U1, U, and W(canada) models do not have OEM unlock. Without exploit to unlock BL, their unrootable. The person whom can exploit is up to 21 Ultra so could be a year if not more before he's at 23 Ultra but the international versions do have oem unlock. Sucks to suck being in US.
Also going to look into this model as well S918B
Perhaps you should read things a little more thoroughly and pay closer attention. The person whom offers the unlock service, afaneh92, stated for the S23 ultra "Maybe soon"

You can find that message here: https://forum.xda-developers.com/t/...-canada-devices.4215101/page-71#post-88293793
 

eatspizza

Member
Apr 4, 2012
19
1
Moto G Stylus
Perhaps you should read things a little more thoroughly and pay closer attention. The person whom offers the unlock service, afaneh92, stated for the S23 ultra "Maybe soon"

You can find that message here: https://forum.xda-developers.com/t/...-canada-devices.4215101/page-71#post-88293793
I'm already aware, I talked with him in PM and he's not at 22Ultra yet. Could be up to a year before he's at 23Ultra, "maybe soon" isn't a timeframe which I can understand he isn't sure. I ordered the S918B from amazon, international model so I'm not worried about waiting. I returned my U1 version already.
 

LVA_

Member
Dec 21, 2017
10
8
Same here but on a S911B. Not sure what to do now. Magisk Canary 25210, all looked fine until it said to restart. Changelog says the patch for Samsung's init_boot.img is included, and odin log shows init_boot.img written.
I opened an issue on github: https://github.com/topjohnwu/Magisk/issues/6797

Very odd that root is confirmed to be present, but is lost after reboot.

EDIT: the patch mentioned by @dr.ketan is NOT yet in magisk 25210, or at least not in a working way. Retrying the flashing with the custom patched 25206 linked here does work as intended.
 
Last edited:

Sam Sung

Senior Member
Hey y'all. I haven't rooted for my last few phones and I'm a bit behind the curve. That said, I just upgraded my phone to a US Verizon S23 Ultra. There's no OEM Unlock option in Dev Options.

I assume this means the Verizon US version (SM-S918U) can't be unlocked/rooted?
 

dr.ketan

Recognized Developer / Recognized Contributor
Is root even worth it anymore? What are some super useful or beneficial apps that you can only use with root?
For me
- Batch app+data backup/restore
- Root call blocker
- Root explorer
- Some my own customization like long press back to kill, more QS panel number, bigger caller ID picture etc
- CSC features
- DeKnox
- TWRP backup/restore
 

Sam Sung

Senior Member
For me
- Batch app+data backup/restore
- Root call blocker
- Root explorer
- Some my own customization like long press back to kill, more QS panel number, bigger caller ID picture etc
- CSC features
- DeKnox
- TWRP backup/restore

Thanks. I suspected as much. That being the case, I've posted a thread hoping for ideas to 'emulate' root:

 

Jeroen1000

Senior Member
Jul 26, 2012
137
23
Does anyone know if you flash the USA csc to an SM-S918B do you get band 71? I.e. if you plan on visiting the USA is there any benefit into converting a SM-S918B to a SM-S918U
 

abhijeet715

Senior Member
Apr 9, 2015
913
256
Muscat
I had a few doubts relating to the update process @dr.ketan ..

I have changed my CSC from XSG to SEK in order to enable call recording. I have changed using SamFW using the ADB Option. Now I want to perform a software update. How do I go forward with it. Do i need to change the CSC back to XSG and update the software using your stpes on OP and then change it to SEK or is there any other method. Unfortunately, the new version of the software doesnt show under SEK on SamFW website.

Also, please have a look at Service Provider Software Version below. It is very strange as in the end it says SEK/SEK,SEK/XSG/XSG.

All the other screenshots that I ahve seen have only one CSC mentioned in the Service Provider Software Version but mine has 2 CSC mentioned. Thats the reason I am asking whether i need to revert back to my default CSC and do the update or what process should I follow.

Waiting for your reply doc..
 

Attachments

  • WhatsApp Image 2023-04-06 at 5.17.56 PM (1).jpeg
    WhatsApp Image 2023-04-06 at 5.17.56 PM (1).jpeg
    67.6 KB · Views: 21
  • WhatsApp Image 2023-04-06 at 5.17.56 PM.jpeg
    WhatsApp Image 2023-04-06 at 5.17.56 PM.jpeg
    76.3 KB · Views: 21

Fabianvk

Member
Aug 9, 2018
27
12
I had a few doubts relating to the update process @dr.ketan ..

I have changed my CSC from XSG to SEK in order to enable call recording. I have changed using SamFW using the ADB Option. Now I want to perform a software update. How do I go forward with it. Do i need to change the CSC back to XSG and update the software using your stpes on OP and then change it to SEK or is there any other method. Unfortunately, the new version of the software doesnt show under SEK on SamFW website.

Also, please have a look at Service Provider Software Version below. It is very strange as in the end it says SEK/SEK,SEK/XSG/XSG.

All the other screenshots that I ahve seen have only one CSC mentioned in the Service Provider Software Version but mine has 2 CSC mentioned. Thats the reason I am asking whether i need to revert back to my default CSC and do the update or what process should I follow.

Waiting for your reply doc..
Based on my experience, I changed my CSC as well, from EUX to INS. I updated without reverting it and it remained after the updated 🤷‍♂️

I also have two CSC mentionned INS/EUX.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 32
    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
    • Download and Install latest Magisk apk (Get Latest Magisk apk 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
    13
    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.
    10
    Glad to share, Internal testing for TWRP started now!
    Big thanks to @afaneh92



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


    4
    @dr.ketan

    Did you buy an S23 Ultra ?
    Are you planing to develop Roms for this one :p ?
    I am going to buy once available to my place (May be on 17th)
    One test ROM already made and tested by one user