How to root Galaxy S24/S24 Plus/S24 Ultra using Magisk Patched AP

If you want to take full control and unlock advanced customization options on your new Samsung Galaxy S24, S24 Plus, or S24 Ultra device, then rooting with Magisk is the way to go. By rooting your S24 series phone, you’ll be able to install custom kernels, modules, binaries and tinker with an abundance of options beyond the stock experience.

The newest Samsung Galaxy S24 Series flagship lineup is packed with impressive specs and AI features right out of the box. However, for tech enthusiasts looking to truly customize and optimize their device, this stock experience is just the beginning.

This guide will walk you through how to root your Samsung Galaxy S24, S24 Plus, or S24 Ultra handset using a Magisk patched Android Pay (AP) file. Follow the steps, and you’ll gain root access to take full advantage of your powerful new smartphone.

Step 1: Unlock the bootloader

RootMyGalaxy.net won’t be responsible for any damage while following this guide. Do it at your own risk. Unlocking the bootloader on Samsung devices will trip the Knox security and you won’t be able to use any Knox related applications like Samsung pay and secured folder. It will also void the warranty of your device

  • Before you can root Samsung Galaxy S24 Series handset, enable Developer Options followed by OEM unlocking on your Samsung phone

Samsung developer options, usb debugging and oem unlocking settings

  • After that, boot it to the Download Mode

Boot Samsung Galaxy Download Mode

  • Press and old the Volume Up button for a couple of seconds until you’re taken to the Device Unlock Mode
  • Lastly, hit the Volume Up button for confirming the unlocking of the bootloader
  • Once your device boots up, you should connect it to the Internet and then verify that the OEM unlocking is enabled

[note] How to unlock bootloader on Samsung Galaxy S24/ S24 Plus/ S24 Ultra [/note]

Step 2: Download the Galaxy S24/Galaxy S24 Plus/Galaxy S24 Ultra stock firmware

  1. Start by downloading the Frija Tool and then extract it to your PC
  2. Relaunch the tool before typing your device’s Model Number and CSC Code
  3. After that, click on the Check Update button and it’ll bring up the latest Android firmware
  4. Click on the Download button and choose the directory where you want to download the firmware and then hit Save
  5. The downloading process will start
  6. Once it is done, the tool will decrypt the firmware
  7. Once the decryption is complete, it’ll spell out the Download Complete message
  8. Head over to the folder where you’ve downloaded the firmware and then extract it
  9. After extraction, you’ll get the AP, CP, BL, CSC, and Home CSC files

Step 3: Patch your device using Magisk

  1. Go to the folder where you had extracted the firmware files
  2. Transfer the AP TAR files over to your device
  3. Then, launch the Magisk App
Magisk app home screen
Magisk app home screen
  1. Tap on the Install button next to Magisk
Magisk app install option
Magisk app install option
  1. Now, choose Select and Patch a File before navigating to the AP TAR file and then select it
Magisk select and patch file option for patching
Magisk select and patch file option for patching
  1. Tap on the “Let’s Go” button located at the top-right corner and then wait for the patching to complete
Magisk boot img patching
Magisk boot img patching
  1. Once it is done, you’ll get the patched AP file named “magisk_patched_[random_number].tar” under the Downloads folder

Step 4: Send Patched AP file to PC

  1. To start off, download Android SDK Platform-tools and then extract it to any convenient location on the PC
  2. After that, go to the platform-tools folder and type in CMD in the address bar before hitting enter to launch the CMD window
  3. Connect your smartphone to the PC using a USB cable (ensure that you’ve enabled USB debugging from Developer Options)
  4. Use the following command for transferring the patched AP file to your PC –
adb pull/sdcard/Download/magisk_patched_[random_strings].tar

Step 5: Boot your device to Download mode

  1. Power off your smartphone
  2. Press and hold the Volume Up + Volume Down keys together while keeping both these keys pressed, connect your smartphone to the PC using a USB cable
  3. Once you see the Warning message on your smartphone and then release the pressed keys
  4. Lastly, press the Volume Up key once and your smartphone will get booted to Download mode

Step 6: Install Odin

  1. To start off, download the Odin tool and extract it to a convenient location on your PC
  2. Then, go to the folder where you’ve extracted Odin
  3. Double-click on the Odin exe file for launching the tool

Step 7: Flash the patched AP file and then root Samsung Galaxy S24/Galaxy S24 Plus/Galaxy S24 Ultra

  1. Launch the Odin tool and click on the BL button
  2. Navigate to the extracted firmware folder before selecting the BL file
  3. Then, click on the AP button and navigate to the patched AP.tar file before selecting it
  4. Then, click on the CP button and navigate to the extracted firmware folder before selecting the CP file
  5. Then, click on the CSC button and navigate to the extracted firmware folder before selecting the CSC file

Install Samsung Galaxy Stock Firmware Using Odin

  1. It is advised that you should flash the normal CSC file instead of the Home_CSC file as there will be a requirement for factory reset
  2. Once the files are loaded, click on the Start button and the flashing will begin
  3. Once it is done, you’ll get the “PASS!” message and your device will be automatically booted to the OS
  4. Congrats, you have been successful in your bid to root Samsung Galaxy S24 Series handset
Aviral Sharma
Aviral Sharma
Android Expert
Aviral Sharma is a talented and passionate writer who has been using words to express his thoughts ever since he learned how to hold a pen. He is passionate about outer space, history, sports, and most importantly, technology. Aviral has been a regular writer for rootmygalaxy for over 6 years and has been covering games and Android guides. He currently owns a Samsung Galaxy S24 Ultra, an iPhone 13, and a HP Pavilion laptop.

Leave a Comment