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

Search This thread

djmisi99

Senior Member
Mar 16, 2010
87
10
Budapest
Yes from post 79
25.2 won't work. Next stable release will wotk.

I understand Magisk 25.2 won't work, but now ther eis Magisk 26.1 out: https://github.com/topjohnwu/Magisk/releases/tag/v26.1

Would this work? Or we still need the patched Magis build of BlackMesa123 from post #79?
Also, there is 2 apk's there:
app-release.apk
app-debug.apk

Which should we use to pathc the Stock ACW8 AP*.tar ?

I ran the both these apk's and gave the below error ( mind you OEM is enabled in Develpoer Options, but Bootloader still locked, didnt unlock it yet, till I dont get all the facts :)

I wonder if Bootloader is Unlocked, and than I run Blackmesa123's apk, it will work, and than i can patch the AP*.tar file, but for now i get this error.
Also, why the 2 apk's, and whihc to use to patch tha AP*.tar file?
Thx
 

Attachments

  • blackmesa123 app-release.apk error.jpg
    blackmesa123 app-release.apk error.jpg
    64.1 KB · Views: 34
Last edited:

donkeyman1234

Senior Member
Dec 29, 2009
306
48
Huawei Mate 20 Pro
Sony Xperia 1 II
I

I understand Magisk 25.2 won't work, but now ther eis Magisk 26.1 out: https://github.com/topjohnwu/Magisk/releases/tag/v26.1

Would this work? Or we still need the patched Magis build of BlackMesa123 from post #79?
Also, there is 2 apk's there:
app-release.apk
app-debug.apk

Which should we use to pathc the Stock ACW8 AP*.tar ?

I ran the both these apk's and gave the below error ( mind you OEM is enabled in Develpoer Options, but Bootloader still locked, didnt unlock it yet, till I dont get all the facts :)

I wonder if Bootloader is Unlocked, and than I run Blackmesa123's apk, it will work, and than i can patch the AP*.tar file, but for now i get this error.
Also, why the 2 apk's, and whihc to use to patch tha AP*.tar file?
Thx
26.1 works just fine.
 
  • Like
Reactions: djmisi99

dr.ketan

Recognized Developer / Recognized Contributor
I understand Magisk 25.2 won't work, but now ther eis Magisk 26.1 out: https://github.com/topjohnwu/Magisk/releases/tag/v26.1

Would this work? Or we still need the patched Magis build of BlackMesa123 from post #79?
Also, there is 2 apk's there:
app-release.apk
app-debug.apk

Which should we use to pathc the Stock ACW8 AP*.tar ?

I ran the both these apk's and gave the below error ( mind you OEM is enabled in Develpoer Options, but Bootloader still locked, didnt unlock it yet, till I dont get all the facts :)

I wonder if Bootloader is Unlocked, and than I run Blackmesa123's apk, it will work, and than i can patch the AP*.tar file, but for now i get this error.
Also, why the 2 apk's, and whihc to use to patch tha AP*.tar file?
Thx
If I am not wrong you want to flash my ROM (If I remember as per email communication) then you don't need anything (except unlock bootloader) but simply flash ROM
Otherwise just OP is already updated with new links
 
  • Like
Reactions: djmisi99

djmisi99

Senior Member
Mar 16, 2010
87
10
Budapest
If I am not wrong you want to flash my ROM (If I remember as per email communication) then you don't need anything (except unlock bootloader) but simply flash ROM
Otherwise just OP is already updated with new links
@dr.ketan
So i dont need to patch the Stock AWC8 AP*.tar with Magisk 26.1 (or patched magisk by Blackmesa123)?
And I also dont even need to root my S23, just make sure the Bootloader is unlocked, and flash Dr Ketan T06 ROM from Download area?Am I getting this right? :)
Thx
 

dr.ketan

Recognized Developer / Recognized Contributor
@dr.ketan
So i dont need to patch the Stock AWC8 AP*.tar with Magisk 26.1 (or patched magisk by Blackmesa123)?
And I also dont even need to root my S23, just make sure the Bootloader is unlocked, and flash Dr Ketan T06 ROM from Download area?Am I getting this right? :)
Thx
Tell me
Your csc belongs to OXM? If you don't know, dial *#1234# and show me screenshot
 

dr.ketan

Recognized Developer / Recognized Contributor
Yes, mine belongs to OXM group (CSC is EUX (Europe)
Thx for looking into this and advising
Ok then once you unlock bootloader (for how to - Read OP of this thread)
Flash my ROM → Wipe (Format data from TWRP (after flashing my ROM, you will have TWRP installed autometically)) → reboot to System → Install Magisk 26.1 apk
That's it
(For detail guide, raed Installation guide of my ROM)
 
  • Love
Reactions: djmisi99

djmisi99

Senior Member
Mar 16, 2010
87
10
Budapest
Ok then once you unlock bootloader (for how to - Read OP of this thread)
Flash my ROM → Wipe (Format data from TWRP (after flashing my ROM, you will have TWRP installed autometically)) → reboot to System → Install Magisk 26.1 apk
That's it
(For detail guide, raed Installation guide of my ROM)
@dr.ketan

So just to confirm, people with OXM group of their S23, there is no need to worry about patching the Stock AWC8 AP*.tar file with Magisk?
 

elevatorguy

Senior Member
Jun 23, 2010
720
127
Northern VA
Question. When coming from stock unrooted on a 9180 what order do twrp and root. I seam to remember always doing twrp then root. Am I correct? Then I might as well throw this in PLEASE PLEASE DR.KETAN save my sanity make flash one and done version for the 9180 don't need monthly updates I use it till it doesn't work anymore. Thanks for your time and help.
 

dr.ketan

Recognized Developer / Recognized Contributor
Question. When coming from stock unrooted on a 9180 what order do twrp and root. I seam to remember always doing twrp then root. Am I correct? Then I might as well throw this in PLEASE PLEASE DR.KETAN save my sanity make flash one and done version for the 9180 don't need monthly updates I use it till it doesn't work anymore. Thanks for your time and help.
You can do all to gather in one go
Download stock firmware and patch AP file
Then select Patched AP with AP slot and stock BL, CP and CSC (if you are doing this on stock non rooted then use CSC* instead of Home_csc*) for respective slot of odin and
TWRP tar with Userdata slot of odin
Flash all together with odin and reboot to system
Install magisk apk
Done
 
  • Like
Reactions: esi2121

elevatorguy

Senior Member
Jun 23, 2010
720
127
Northern VA
You can do all to gather in one go
Download stock firmware and patch AP file
Then select Patched AP with AP slot and stock BL, CP and CSC (if you are doing this on stock non rooted then use CSC* instead of Home_csc*) for respective slot of odin and
TWRP tar with Userdata slot of odin
Flash all together with odin and reboot to system
Install magisk apk
Done
Doesn't seam to bad. Phone should be delivered Fri I'll let you know how it goes. Next is to figure out the rw thing from the thread you suggested earlier. Does your rom use the same thing but predone for the end user? Thanks again
 

elevatorguy

Senior Member
Jun 23, 2010
720
127
Northern VA
You can do all to gather in one go
Download stock firmware and patch AP file
Then select Patched AP with AP slot and stock BL, CP and CSC (if you are doing this on stock non rooted then use CSC* instead of Home_csc*) for respective slot of odin and
TWRP tar with Userdata slot of odin
Flash all together with odin and reboot to system
Install magisk apk
Done
One more question for you can you flash csc's between models for instance flash one from a 918U (us) to a 9180 (international)? Again thanks
 

dr.ketan

Recognized Developer / Recognized Contributor
One more question for you can you flash csc's between models for instance flash one from a 918U (us) to a 9180 (international)? Again thanks
Odin won't allow it.
Though it is possible to port features of one csc to other csc if device is rooted. Some experience needed
 
  • Like
Reactions: elevatorguy
Samsung S23을 근절하는 방법(SM-S91*B/N/0)



경고!


장치를 루팅하기 전에 다음을 알고 있어야 합니다.

  • 이렇게 하면 보증이 무효화됩니다.
  • 현재로서는 한 번 루팅하면 Samsung Pay와 Samsung Pass를 영원히 잃게 되며 루팅을 해제해도 소용이 없습니다.
  • Samsung Health, Secure Folder, Galaxy Watch 페어링 문제, 구형 기어워치(S3 이하) 연결 문제, Google Pay 등 S pay/Pass 이외의 부트로더 잠금 해제 시 많은 기능이 작동하지 않는 문제가 있지만 일부 ROM은 이러한 모든 기능에 대해 패치됩니다. 언급한 기능을 사용하려면 사용자 지정 ROM을 사용하거나 재고 ROM에 대해 직접 패치할 수 있습니다. 그래도 일부 은행 앱을 사용하는 데 문제가 있을 수 있으며 이러한 앱을 Magisk Hide에 추가하면 문제가 해결될 수 있습니다.
  • 사용할 수 없는 일부 knox 기능이 있을 수 있지만 한 번도 사용하지 않았기 때문에 나열할 수 없습니다. 그냥 구글 잇
  • 패치된 기능은 이 글을 작성할 때 오늘 작동합니다. 다음 순간/내일 또는 나중에 작동이 중지될지 모르겠습니다.
  • 또한 일단 루팅하면 "루팅 전" 상태로 완전히 돌아갈 수 없습니다. 그것은 한 가지 방법입니다!
  • 장치를 루팅하면 OTA가 작동하지 않습니다.
  • 조심해서 뿌리십시오.
  • 기본 펌웨어를 플래싱한 후 부트로더를 언루팅하고 다시 잠글 수 있지만 여전히 보증 플래그가 0x1로 남아 있고 대부분의 국가에서는 여전히 보증이 무효화됩니다. 또한 부트로더를 루팅 해제하고 다시 잠근 후에는 일부 knox 기능이 다시 작동하지 않습니다.

부트로더 잠금 해제 방법

부트로더의 잠금을 해제하려면 아래 4단계를 따르십시오.

1. 개발자 옵션 활성화
  • Galaxy 기기에서 설정 앱을 엽니다.
  • 정보 > 소프트웨어 정보를 선택합니다.
  • 이제 빌드 번호를 7번 탭하여 개발자 옵션을 활성화합니다.
  • "당신은 이제 개발자입니다."라는 메시지가 표시됩니다.
  • 이제 개발자 옵션이 활성화되었습니다.
2: OEM 잠금 해제 활성화
  • 기기에서 설정 앱으로 다시 이동합니다.
  • 개발자 옵션으로 이동합니다.
  • OEM 잠금 해제 옆의 토글을 활성화합니다.
  • 예를 눌러 확인 대화 상자를 켭니다.
3: 장치를 다운로드 모드로 부팅
  • 장치가 부팅된 상태에서 → 장치를 PC에 연결 → 다시 시작 선택 → 장치 화면이 꺼지는 즉시 볼륨상 + 볼륨하 동시에 길게 누르거나 장치 전원이 꺼진 경우 볼륨상 + 볼륨 작게 동시에 길게 눌러 PC 연결 USB 케이블을 통해 장치를 PC에 연결합니다.
  • 장치에서 경고 메시지를 보고 누른 키를 놓을 수 있습니다.
  • 마지막으로 볼륨 크게 키를 한 번 누르면 다운로드 모드로 부팅됩니다.
4: 부트로더 잠금 해제
  • 장치가 다운로드 모드로 부팅되면 볼륨 크게를 길게 눌러 부트로더 잠금을 해제하는 옵션이 표시됩니다. 이제 볼륨 크게 키를 몇 초 동안 길게 누릅니다. 여기에서 계속 진행할 것인지 확인 메시지가 표시됩니다.
  • 볼륨 크게 버튼을 사용하여 확인에 응답합니다.
  • 이렇게 하면 기기의 모든 데이터가 지워지고 부트로더가 잠금 해제됩니다.
  • 완료되면 장치가 자동으로 OS로 부팅됩니다.

이제 부트로더를 성공적으로 잠금 해제했습니다.


S23을 근절하는 방법


스톡 비 루팅 ROM에 대한 지침​

  • samfirm.js , Frija 또는 Samloader를 사용하여 Samsung 서버에서 직접 장치의 최신 펌웨어 zip을 다운로드하십시오.
  • 펌웨어 압축을 풀고 AP tar 파일을 장치에 복사합니다. 일반적으로 AP_[device_model_sw_ver].tar.md5로 이름이 지정됩니다.
  • 최신 Magisk apk 다운로드 및 설치( 여기 에서 최신 Magisk apk 다운로드 )
  • Magisk 카드의 설치 버튼을 누릅니다.
  • 방법에서 "파일 선택 및 패치"를 선택 하고 AP tar 파일을 선택합니다.
  • 완료되면 패치된 파일을 PC로 복사
  • 다운로드 모드로 재부팅합니다. PC에서 Odin을 열고 원본 펌웨어에서 BL, CP 및 CSC( 데이터를 지우고 싶기 때문에 HOME_CSC 가 아님 ) 와 함께 magisk_patched.tar를 AP로 플래시합니다 .
  • Odin이 플래싱을 마치면 장치가 자동으로 재부팅됩니다. 요청 시 공장 초기화에 동의합니다.
  • 위에서 이미 다운로드한 Magisk 앱을 설치하고 앱을 실행합니다. 추가 설정을 요청하는 대화 상자가 표시되어야 합니다.
  • 앱이 작업을 수행하도록 하고 장치를 자동으로 재부팅합니다. 짜잔!

OS 업그레이드​

삼성 기기를 루팅하면 더 이상 OTA를 통해 Android OS를 업그레이드할 수 없습니다. 장치의 OS를 업그레이드하려면 새 펌웨어 zip 파일을 수동으로 다운로드하고 이전 섹션에서 작성한 것과 동일한 AP 패치 프로세스를 거쳐야 합니다. 여기서 유일한 차이점은 Odin 플래싱 단계입니다. CSC tar를 사용하지 말고 대신 초기 설치가 아닌 업그레이드를 수행할 때 HOME_CSC tar를 사용하십시오 .

중요 사항​

  • 부팅, 복구 또는 vbmeta 파티션을 재고로 다시 복원하려고 시도 하지 마십시오 ! 그렇게 함으로써 장치를 벽돌로 만들 수 있으며, 이로부터 복구하는 유일한 방법은 데이터 지우기로 전체 Odin 복원을 수행하는 것입니다.
  • 새 펌웨어로 장치를 업그레이드하려면 위에서 언급한 이유로 기본 AP tar 파일을 직접 사용 하지 마십시오 . 항상 Magisk 앱에서 AP를 패치하고 대신 사용하십시오.
  • AP만 플래시하지 마십시오. 그렇지 않으면 Odin이 /data 파일 시스템 크기를 줄일 수 있습니다. 업그레이드할 때 AP + BL + CP + HOME_CSC를 깜박입니다.

추신 : 기기를 루팅한 후 클라우드나 PC와 같은 안전한 장소에 저장한 후 EFS 백업을 하는 것이 좋습니다.

TWRP의 경우
: 여기를 읽으십시오

크레딧 : topjohnwu 여기 Origin 가이드 에서 가져온 가이드 부분


View attachment 5827727
나 일 안해... ㅠㅜ
.I'm 918n...한국에서...ㅜㅠ
.
 

Attachments

  • Screenshot_20230428_142411_Chrome.jpg
    Screenshot_20230428_142411_Chrome.jpg
    577.3 KB · Views: 21
  • Screenshot_20230428_142153_Chrome.jpg
    Screenshot_20230428_142153_Chrome.jpg
    646.3 KB · Views: 20

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    I have done the exact same steps. Everything was successful, and Odin showed me a success message at the end. However there was a problem. First, the usual bootloader message appears, then the second message "the phone is not running Samsung official software..." Then, a recovery window appears, giving me options to reboot the system or perform a factory reset. I chose the factory reset option and then installed "root checker," which indicated that the phone is not rooted.

    I have downloaded my firmware from SamMobile, is that okay?
    Install Magisk app manually and open it, it should ask for complete setup. Then reboot.
    1
    Yeah i did that, you may need to re-install google safety net fix to bypass those again but all is fine here.
  • 39
    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/S23+/S23Ultra


    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