How to root the Samsung Galaxy S23, S23+, S23 Ultra & S23 FE with Magisk
Comprehensive Samsung Galaxy S23, S23+, S23 Ultra, and S23 FE Magisk rooting tutorial. Details AP tar patching, Odin flashing without data wipe, and Play Integrity Fix configuration.
At a glance
| Device family | Samsung Galaxy S23, S23+, S23 Ultra & S23 FE |
| Launch software | Android 13 / 14 (One UI 6) |
| Chipset | Snapdragon 8 Gen 2 for Galaxy (Exynos 2200 for S23 FE) |
| Root partition | AP Tar Package (AP_[model]_[build].tar.md5) |
| Firmware format | Samsung Smart Switch / Frija 4-File Firmware |
| Bootloader unlock | OEM Unlocking in Developer Options + Long-press Volume Up in Download Mode |
| Warranty / security impact | Trips the Samsung Knox warranty bit (0x1), permanently disabling Samsung Pay, Secure Folder and Samsung Health keystores. |
Rooting method
- Step 1. Download the full Odin firmware package for your exact model and CSC region (Samsung Smart Switch / Frija 4-File Firmware).
- Step 2. Copy
AP_*.tar.md5to the phone and open the Magisk app. Tap Install → Select and Patch a File and choose the AP tar. Magisk patchesboot.imginside it — no manual extraction is required. - Step 3. Copy the resulting
magisk_patched.tarback to your computer. - Step 4. Open Odin and load
magisk_patched.tarin the AP slot, then load the matching BL, CP and HOME_CSC files from the same firmware package. - Step 5. Flash, then boot the device and open the Magisk app to confirm root.
For the full workflow and prerequisites, see the installation guide and boot image patching guide.
If the device bootloops
Reboot Download Mode -> Flash full stock 4-file firmware via Odin
More options: fix a Magisk bootloop.
Keeping root across updates
Download the full Odin firmware for the new build, patch the new AP tar in the Magisk app, then flash it together with BL, CP and HOME_CSC (HOME_CSC keeps your data).
See the OTA survival guide for the full procedure.
Related
Samsung rooting hub
HubAll Samsung models covered on this site.
Play Integrity Fix
ModuleRestore device integrity for Google Wallet and banking apps after rooting.
Shamiko
ModuleHide root from apps that perform detection checks.
Root method checker
ToolConfirm which partition to patch and generate the flash command.