How to Root Any Samsung Device Using Magisk (2025)

  • Home
  • »
  • Android
  • »
  • How to Root Any Samsung Device Using Magisk (2025)

Rooting your Samsung device allows you to unlock its full potential, but it comes with risks. In this guide, we will walk you through the step-by-step process of rooting any Samsung device using Magisk. While we are using the Samsung Galaxy S23 for this tutorial, this method works for all Samsung devices.

Disclaimer

Rooting will void your warranty and may disable certain features like Samsung Pay, Samsung Pass, Secure Folder, and more. Apps that rely on locked security may stop working. Additionally, rooting can be risky—if something goes wrong, your device may end up in a boot loop. Follow each step carefully, and back up your data before proceeding.

Step 1: Check Your Device Information

Before rooting, let’s confirm the device details and check if it’s already rooted.

Check Device Information

  • Go to SettingsAbout Phone.
  • Check the software version and Baseband Version.
  • Ensure your device is running the latest One UI 6.1 (Android 14).

Check Root Status

To verify whether your device is rooted:

  • Download and install Root Checker Basic from the link below.
  • Open the app and tap Verify Root.
  • If you see the message: “Sorry, root access is not properly installed on this device”, it means your device is not rooted yet.

Step 2: Enable OEM Unlock & USB Debugging

To root your Samsung device, you need to unlock the bootloader first.

Enable Developer Options

  1. Go to SettingsAbout PhoneSoftware Information.
  2. Tap Build Number 7 times until you see “You are now a developer!”.

Enable OEM Unlock & USB Debugging

  1. Go back to Settings and open Developer Options.
  2. Find OEM Unlock and enable it.
  3. Enter your pattern/password and confirm.
  4. Scroll down and enable USB Debugging.

These settings allow you to unlock the bootloader and connect the device to a PC.

Step 3: Download Samsung Firmware

Before proceeding, you need to download the official firmware for your device.

Find Your Firmware Version

  • Go to SettingsAbout PhoneSoftware Information.
  • Note down the Baseband Version.

Download Firmware

  • Open any browser and search for Samsung Firmware [Your Baseband Version].
  • Visit SamFW.com or SamMobile.com to download the correct firmware.
  • Ensure the firmware matches your device model number and region.
  • Download the firmware file (it can be 5GB to 15GB in size).

Extract Firmware Files

  • Once downloaded, extract the firmware file using 7-Zip or WinRAR.
  • You will see multiple files, including BL, AP, CP, and CSC.

Step 4: Patch the AP File with Magisk

To root your device, we need to patch the AP file using Magisk.

Copy AP File to Phone

  • Locate the AP file from the extracted firmware folder.
  • Connect your phone to the PC and transfer the AP file to the phone storage.

Patch AP File with Magisk

  • Download Magisk Manager (link in the description).
  • Open Magisk and tap InstallSelect and Patch a File.
  • Navigate to the AP file you copied and select it.
  • Tap Let’s Go, and Magisk will patch the file (this may take 5-10 minutes).
  • Once done, the patched file will be saved in the Download folder.

Transfer Patched AP File to PC

  • Connect your phone to the PC.
  • Copy the patched AP file back to your computer.

Step 5: Unlock Samsung Bootloader

Backup Your Data First!

Unlocking the bootloader will wipe all data on your device.

  • Remove any PIN, pattern, or password.
  • Remove your Google & Samsung accounts to avoid FRP lock.

Unlock the Bootloader

  • Turn off your phone.
  • Press and hold Volume Up + Volume Down while connecting the phone to a PC.
  • When you see the Unlock Bootloader screen, press Volume Up to confirm.
  • Your device will reboot and erase all data.

Once your phone boots up, re-enable Developer Options and USB Debugging before proceeding.

Step 6: Flash Magisk-Patched File Using Odin

Enter Download Mode

  • Power off your device.
  • Press Volume Up + Volume Down and connect it to the PC via USB.
  • When you see Download Mode, press Volume Up to continue.

Flash Firmware Using Odin

  • Download and install Odin on your PC.
  • Open Odin and connect your phone (you should see Added! in the log).
  • Click on the following buttons and select the corresponding files:
    • BL → Select BL file
    • AP → Select Patched AP file
    • CP → Select CP file
    • CSC → Select CSC file (Not HOME CSC)
  • Ensure that Auto Reboot and F.Reset Time are checked.
  • Click Start to begin the flashing process.
  • Wait for PASS! message, and your phone will reboot automatically.

Step 7: Verify Root Access

Complete Magisk Installation

  • Open Magisk (pre-installed after flashing).
  • If prompted, update Magisk by selecting Direct Install.
  • Reboot your device.

Check Root Status

  • Install Root Checker Basic (link in description).
  • Open the app and tap Verify Root.
  • If you see Congratulations! Root Access is Properly Installed, your device is rooted!

Conclusion

Congratulations! You have successfully rooted your Samsung device using Magisk. With root access, you can install custom ROMs, remove bloatware, and gain full control over your device.

Potential Issues?

  • If your device is stuck in boot loop, boot into Recovery Mode and wipe data.
  • If Magisk doesn’t work, re-flash the patched AP file using Odin.

If you found this guide helpful, please consider subscribing to our channel or leave a comment below. Let us know if you’d like a full guide on solving Bluetooth connectivity issues on Windows.

Scroll to Top