Home > Root

How to Root Samsung Galaxy S22 Ultra via Magisk Patched AP

In this guide, we will show you the steps to root your Samsung Galaxy S22 Ultra device via Magisk patched AP file. The latest flagships from Samsung have just been released and it has already managed to encapsulate the attention of the masses. And as expected, it’s the Ultra variant that took away most of the limelight. Well, if you are getting a massive 6.8-inch display with a 120hz refresh rate, Exynos 2200/Snapdragon 8 Gen 1 chipset under the hood, and up to 1TB storage and 12GB RAM, then there’s not much left to ask.

Along the same lines, this device has also continued the legacy of its predecessor in being one of the most active players in custom development. From flashing custom ROMs to installing a custom recovery like TWRP, there’s a lot to look forward to. Likewise, you could also gain administrative privileges by rooting your device via Magisk. This will then allow you to welcome a plethora of mods onto your device. So on that note, let’s check out the steps to root your Samsung Galaxy S22 Ultra device via Magisk patched AP file.

Benefits and Risks of Rooting Samsung Galaxy S22 Ultra

Root Samsung Galaxy S22 Ultra via Magisk

Once you root your device, you will be in a position to flash a plethora of mods. These include the likes of Fox Magisk ModulesSubstratum ThemesXposed Framework via LSPosedViper4Android among others. Along the same lines, you could also flash a custom kernel and implement your desired CPU profile. However, such tweaks do come in with a few risks as well.

To begin with, rooting requires you to unlock the bootloader- which will wipe of all the data and could nullify the warranty as well. Likewise, SafetyNet will be triggered [FIXED] which will result in your inability to use banking apps [FIXED]. So if all that’s well and good, then let’s get started with the steps to root your Samsung Galaxy S22 Ultra device via Magisk patched AP file.

How to Root Samsung Galaxy S22 Ultra via Magisk Patched AP

The below instructions are listed under separate sections for ease of understanding. Make sure to follow in the exact same sequence as mentioned below. Droidwin and its members wouldn’t be held responsible in case of a thermonuclear war, your alarm doesn’t wake you up, or if anything happens to your device and data by performing the below steps.

STEP 1: Unlock Bootloader

First and foremost, you will have to unlock the bootloader on your device. Do note that doing so will trip Knox and reset your device. If that’s well and good, then you may refer to our guide on How to Unlock Bootloader on Samsung Galaxy S22, S22 Plus, S22 Ultra.

Root Samsung Galaxy S22 Ultra via Magisk

STEP 2: Download Galaxy S22 Ultra Stock Firmware

Next up, you will have to download the stock firmware for your device, for which we have shared the download links below. If it matches your region, carrier, and build number, then you may directly download it from here [Credits: XDA Senior Member williamtung and Retired Forum Moderator kangi26].

Once you have downloaded the firmware, extract it to any convenient location on your PC. This shall give you the AP, BL, CP, CSC, and HOME_CSC files. We will be using these files (except for HOME_CSC) to root your Samsung Galaxy S22 Ultra via Magisk.

Root Samsung Galaxy S22 Ultra via Magisk

However, if the above firmware version isn’t in sync with your device’s requirement, then you could use the Frija Tool, SamLoader Tool, or websites such as SamMobile. As for this guide, let’s proceed with the Frija Tool. So check out our comprehensive guide on How to Download Samsung Stock Firmware/ROM via Frija Tool. Or you may refer to the below instructions as well:

  1. To begin with, download the Frija Tool and extract it to any convenient location on your PC.
  2. Then launch the tool and type in your device’s Model Numer and CSC Code. [Read: How to Find My Device’s CSC Code].
  3. Now click on the Check Update button and it shall bring up the latest available firmware.
  4. Finally, click on the Download button, select the directory where you wish to download the firmware, and hit Save.

    Root Samsung Galaxy S22 Ultra via Magisk
    Reference Image
  5. The downloading process will now begin. Once done, the tool will then decrypt the firmware.
  6. Once the decryption is complete, it shall spell out the Download Complete message.
  7. Now go to the folder where you have downloaded the firmware and extract it. Upon extraction, you should get the AP, BL, CP, CSC, and HOME_CSC files. We will be using these files (except for HOME_CSC) to root your Samsung Galaxy S22 Ultra via Magisk.

STEP 3: Patch Galaxy S22 Ultra AP via Magisk

  1. To begin with, transfer the AP file from the extracted firmware folder over to your device.
  2. Then download and install the latest version of the Magisk App.
  3. Now launch the app and tap on the Install button next to Magisk.
    Root Samsung Galaxy S22 Ultra via Magisk
  4. Now choose Select and Patch a File, navigate to the AP TAR file and select it.
  5. Then tap on the Let’s Go button situated at the top right and wait for the patching to complete.
    Root Samsung Galaxy S22 Ultra via Magisk
  6. Once done, you should get the patched AP file named magisk_patched_ [random_number].tar under the Downloads folder.

STEP 4: Send Patched AP File to PC

You will now have to transfer this patched AP file to your PC. However, the normal USB method is known to cause some issues. Therefore, you should instead opt for the ADB Pull method. Here’s how it could be done:

  1. To begin with, download Android SDK Platform Tools and extract it to any convenient location on your PC.
    install adb platform tools windows
  2. Then head over to this platform-tools folder, type in CMD in its address bar, and hit Enter. This shall launch the CMD window.
    command-prompt-inside-adb
  3. Now connect your device to the PC via USB  cable. Also, enable USB Debugging from Developer Options.
  4. Next up, use the below command to transfer the patched AP file to your PC (make sure to replace the random strings accordingly)
    adb pull /sdcard/Download/magisk_patched_[random_strings]

STEP 5: Boot Galaxy S22 Ultra to Download Mode

You will now have to boot your S22 Ultra device to Download Mode so that Odin is able to identify it and hence allows us to carry out the flashing of the patched AP file. So refer to our guide to Boot any Samsung Device to Download Mode. Or refer to our below direct instructions:

  1. Start by powering off your device,
  2. Then press and hold Vol Up + Vol Down together and connect your device to the PC via USB cable.
    Root Samsung Galaxy S22 Ultra via Magisk
  3. As soon as you see the Warning message on your device, release the pressed keys.
  4. Finally, press the Volume Up key once and your device will be booted to Download Mode.

STEP 6: Install Odin

  1. To begin with, download the Odin Tool from this link.
  2. Then extract it to a convenient location on your PC.
    Root Samsung Galaxy S22 Ultra via Magisk
  3. After that, head over to the folder where you have extracted the tool.
  4. Finally, double-click on the Odin3_v3.14.4 EXE file to launch the tool.

STEP 7: Flash Patched AP file via Odin and Root Galaxy S22 Ultra

  1. To begin with, launch the Odin tool on your PC.
  2. Then click on the BL button, navigate to the extracted firmware folder and select the BL file.
    Root Samsung Galaxy S22 Ultra via Magisk
  3. After that, click on the AP button, navigate to the patched AP.tar file and select it.
    Root Samsung Galaxy S22 Ultra via Magisk
  4. Next up, click on the CP button, navigate to the extracted firmware folder and select the CP file.
    Root Samsung Galaxy S22 Ultra via Magisk
  5. Then click on the CSC button, navigate to the extracted firmware folder and select the CSC file [the normal CSC, not the HOME_CSC].
    Root Samsung Galaxy S22 Ultra via Magisk
  6. Once all the files have been loaded, click on the Start button. The flashing process will now begin and could take a few minutes.

    Root Samsung Galaxy S22 Ultra via Magisk
    Reference Image
  7. Once done, you should get the PASS!‘ message. Likewise, your device will automatically boot to the OS.
    Root Samsung Galaxy S22 Ultra via Magisk

That’s it. These were the steps to root your Samsung Galaxy S22 Ultra via Magisk Patched AP file. If you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution at the earliest.

Share: