Samsung Android 14 with One UI 6.1 boot.img via Odin AP tar

How to root the Samsung Galaxy S24, S24+ & S24 Ultra with Magisk

Rooting guide for Samsung Galaxy S24, S24+, and S24 Ultra on One UI 6.1/7. Covers Knox 0x1 e-fuse implications, Odin AP tar patching, CSC vs HOME_CSC, and VaultKeeper lock bypass.

At a glance

Device familySamsung Galaxy S24, S24+ & S24 Ultra
Launch softwareAndroid 14 with One UI 6.1 (Upgradeable to One UI 7 / Android 15)
ChipsetSnapdragon 8 Gen 3 for Galaxy / Exynos 2400 (4nm)
Root partitionAP Tar Package (AP_[model]_[build].tar.md5)
Firmware formatOfficial 4-File Odin Firmware (BL, AP, CP, CSC)
Bootloader unlockDeveloper Options OEM Unlock -> Download Mode -> Long-press Volume Up to Unlock BL
Warranty / security impactTrips the Samsung Knox warranty bit (0x1), permanently disabling Samsung Pay, Secure Folder and Samsung Health keystores.

Rooting method

  1. Step 1. Download the full Odin firmware package for your exact model and CSC region (Official 4-File Odin Firmware (BL, AP, CP, CSC)).
  2. Step 2. Copy AP_*.tar.md5 to the phone and open the Magisk app. Tap Install → Select and Patch a File and choose the AP tar. Magisk patches boot.img inside it — no manual extraction is required.
  3. Step 3. Copy the resulting magisk_patched.tar back to your computer.
  4. Step 4. Open Odin and load magisk_patched.tar in the AP slot, then load the matching BL, CP and HOME_CSC files from the same firmware package.
  5. Step 5. Flash, then boot the device and open the Magisk app to confirm root.
Flash command
Odin3: AP = magisk_patched.tar | BL + CP + HOME_CSC from the same firmware

For the full workflow and prerequisites, see the installation guide and boot image patching guide.

If the device bootloops

Recovery

Hold Volume Down + Power -> Insert USB -> Download Mode -> Flash stock AP tar

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.

Independently written from public upstream documentation. Verify every command against the official Magisk documentation and your exact device firmware before flashing. Not affiliated with the Magisk project.