Samsung Galaxy S21 series is the best offering from the Korean manufacturer to date. The series contains three devices and all three are flagships. These devices contain all the top-notch specs with all the bells and whistles Samsung could add to a device.
The series comes with the latest One UI 3.1 based on Android 11. One UI 3.1 offers great opportunities for customization which is enough for many users. But still, some users want to experience most from their device.
Some users want to root their device to reach the true potential of this great device.
In this article, we will guide you on “How to Root the Samsung Galaxy S21 Series on One UI 3.1 with Magisk?”
Magisk is the best tool to root a device and with the release of the latest Magisk Canary, users can now root their Samsung Galaxy S21 series.
Everyone knows that there are two versions of the Galaxy S21 devices. The devices released in China, the USA, and Korea come with the Snapdragon chipset. While the devices released in the rest of the world will come with Samsung’s own Exynos silicon. This article is helpful for both the Exynos and Snapdragon variant.
With the Root, the users will get full control of the firmware of the device and have more customization options.
But, there are some restrictions from the company to rooting the device. Samsung restricts you to directly root the device. You have to unlock the bootloader to root Samsung Galaxy S21 series. It will wipe all data for the first time when you unlock your bootloader on Galaxy S21. There is also Samsung Knox which users need to know. Knox is the secure vault where users can hide/store their important files and apps to prevent others from sneaking in.
When users unlock their bootloader, Knock gets tripped, and in some countries, the warranty of the device will be averted. Meaning users can’t claim the warranty in those countries.
Now there is a step-by-step guide to root your Samsung Galaxy S21 series with Magisk.
Root Samsung Galaxy S21 devices:
- The first step is to install Magisk on your device. It will be done in three steps. First, unlock the bootloader, then patch the firmware, and install it through ODIN. In the final step boot the device when the Magisk is installed.
- As mentioned previously, all your mobile data will be wiped when you unlock the bootloader. Make sure to backup your data so that you don’t lose any important data.
- When you install the Magisk, it will also trigger the Knox, indicating that there is an interference in the firmware. In some countries, it will terminate the device warranty.
Step 1: Unlock the Bootloader:
Follow the steps below to unlock Samsung Galaxy S21 Bootloader. Please note that unlocking the bootloader is only available in certain versions of the Galaxy S21 lineup such as the Exynos variant and The Snapdragon variant sold in select countries such as China.
- Open device settings
- Open About phone and then tap on software information
- Search for the build number and tap it seven times to enable developer options.
- Go back to the main setting page and search for the developer options.
- In the developer option, search OEM unlocking. Tap on the toggle next to the option to enable it.
- Now, Power off your phone.
- Connect your device with the PC via USB cable.
- Long press the volume up and volume down button at the same time. Your device will turn on in Download Mode.
- There will be a warning on the display. Just long-press the volume up button again.
- Your device will display an Unlock Bootloader screen. Again long-press the volume up button and your bootloader will be unlocked. It will also wipe all your device data.
- Your device will automatically reboot and a device setup process will start. Set your device up by going through the setup process.
- Now, your device bootloader is unlocked and you can check it by going into the settings. Follow the same steps mentioned above to enable developer options.
Step 2: Installing the Firmware with Magisk:
We need the latest stock firmware of the Samsung Galaxy S21 series. Make sure that you download the firmware which matches the one on your device.
You can learn how to download the firmware from:
Once you have downloaded the firmware file on your PC, extract it to get all the files.
In the extracted files there is a firmware file that begins with the “AP”.
Look out for the file which starts with “AP” and copies it in your device’s internal storage.
As we mentioned previously that we need the latest Magisk Canary to root the device.
So download and install the Magisk canary on your device from here. Make sure to download the “Canary” version from the link as we need that. The stable version of Magisk doesn’t support the Samsung Galaxy S21 series as of writing this piece of article.
Once the Magisk is installed on your device, open it and tap on the install in the Magisk section.
Then tap on the “Select and Patch a file” option.
Browse that file that starts with “AP” that you just copy on your device’s internal storage.
Once you selected that file, then tap on the “let’s go” button on the top.
Now, you can see that “AP” has several other files. Magisk will just copies these files and patches them into your device.
When it’s done, close the Magisk and search for the archived image file on the internal storage of the device.
This archived file will be stored in the download folder of your internal storage. It has the name magisk_patched.tar.
Copy that magisk_patched.tar into your PC on the same folder where you extracted the firmware.
Power your device off and boot it in the Download Mode.
To do that, first completely power off your device.
Then grab a USB cable, press and hold both Volumes up and down button. While holding the volume up and down button insert the USB cable into your device.
There will be a blue warning screen appear.
Press the volume up button again to enter the Download Mode.
Now you have to open Odin on your PC and flash the firmware file on your device again. If you don’t know about the ODIN then click on the link to find more. Please note that when you have your Galaxy S21 Ultra device connected to your PC with a USB cable and your in Download Mode you need to make sure that the last log on the left says “Added!!”.
In Odin click on the BL tab. A window will open where you need to select the BL file. Search for the extracted files you downloaded earlier and choose the file that starts with “BL”.
Then click on the AP tab. Again a window will open where you need to select the AP file. Now this time you need to select the file which you copy from your device to the pc. The file with the name magisk_patched.tar.
In the CP tab select the file which starts with “CP” from the extracted files.
Do the same for the CSC tab.
When all the files are selected in their proper tab, click on the start button at the bottom.
The process will start. All the files will be copied and flashed into your device one by one. It will take some time so be patient and wait.
Once it’s done, the device will Auto reboot. Assuming that you didn’t uncheck the auto-reboot button in Odin.
When you see the pass written on the status bar at the top, your device will auto reboot.
In the first reboot, you will see a warning screen asking you to press the power button to continue. Don’t press the power button and wait until its moves to the next screen.
It is the first boot and it will take some time to boot.
Once the device will boot, it will take you to the android setup screen. Setup your device quickly to move forward.
When the device will setup, you have to again download and install the Magisk tool just like you did previously.
When the Magisk installs and you set it up, it will again reboot the device.
The root process is completed and you can check the root access through an application like Root Checker.
This is a step-by-step guide to root your Samsung Galaxy S21 series using the Magisk tool.
Experiencing difficulties with your Device, check out our “How To” page on how to resolve some of these issues.