How to Root Samsung Galaxy S20 using Magisk (Android 11)

Root access is something that every Android user wants. It’s the best way to customize your device and take it to its full potential. If you have a Samsung Galaxy S20, we will show you how to root Samsung Galaxy S20 using Magisk in just a few steps.

Root access can open up new possibilities for you and your phone: customizing system files, installing apps that require root permissions or even getting rid of bloatware from the manufacturer.

You may be wondering how to root your Samsung Galaxy S20. The answer is by using Magisk. This will allow you to install any packages that require root access without it affecting the system partition. It’s also easy and quick!

Below I have shown you step by step process to root your galaxy s20 smartphone. You just have to follow all the steps carefully and you will be able to root your phone smoothly without encountering any errors.

About Samsung Galaxy S20

Samsung is the most-prominent Smartphone brand internationally and is trusted by billions of people. It manufactures all types of smartphones from bar phones to highly configured Super Smartphones. So today we’re here reviewing one of the Super Smartphones manufactured by Samsung – Samsung S20.

S stands for super-smart in Samsung S series, and as per the name, Samsung Galaxy S20 includes smart configurations such as Exynos 990 processor and 64MP more acute camera.

According to the design, Samsung Galaxy S20 is a premium smartphone since it comes in five different colors Cosmic Grey, Cloud Blue, Cloud Pink, Cloud White, and Aura Red which are all amazing in look.

For more beautifying your phone’s glimpse, Samsung has installed corning gorilla glass 6 body on both front and backside. Display-wise, it comes with a 6.3 inch Dynamic AMOLED 2X capacitive touchscreen which comes with 1440 x 3200 resolution which can be measured as HDR10+.

The Samsung S20 is made for professionalizing your look, and that’s why it has installed the rear camera on the upper left side in the standing-rectangle shape with having triple-camera equivalenting 12+64+12 MP.

This brilliant camera configuration will offer you Ultra Wide, Auto-HDR, panorama, and as well 8K video recording modes. On the front upper center side, Samsung S20 has an embedded 10MP punch hole Dual Pixel camera which features you with dual video call and Auto HDR.

For supplying you the best performance on advanced battery life, The Samsung S20 Exynos 990 7nm+ octa-core processor won’t heat your device and let you play high-tech comfortably.

For long-lasting life, Samsung S20 is executed with the 4000mAH battery with the 25W fast-charging support. Samsung is providing you with this all-rounder powerpack with five different colors in 8GB/128GB variant in just 74000.00 INR and is launched globally.

Also read, How to Root Samsung Galaxy S20 Plus using Magisk

Steps to Root Samsung Galaxy S20

Below I have shown step by step procedure to Root Samsung Galaxy S20. You have to follow every step carefully, or else you may face trouble booting up your device again.


Please read the complete guide before applying the steps. This will avoid confusion.

Things to remember

  • Make sure to disable all security Locks on your Samsung Galaxy S20.
  • Take Full Backup of your Android device.
  • You need a PC to perform the Commands.
  • Fully charge your phone.
  • Samsung Galaxy S20 Original USB Cable.

Note: Rooting is a complex process, so if you miss any of the below steps will end up bricking your device. So, make sure to follow all the steps carefully as shown.

We are not responsible for any loss and damage to your device. Apply the below steps with your own risk.

Step 1: Unlock Bootloader on Samsung Galaxy S20

  1. First, we need to enable Developer Options on Samsung Galaxy S20.
    • Go to “Settings” on your Samsung Galaxy S20.
    • Scroll down to the very bottom of the screen and select “About phone.”
    • Next, select “Software information.”
    • Tap on the “Build number” 5-6 times.
    • Enter your phone’s lock screen PIN/Password/Pattern if prompted.
    • You will now see the "Developer mode has been enabled!" toast message on the screen.
  2. The next thing we need to enable is the OEM unlocking option on Samsung Galaxy S20.
    • Again head over to Settings Developer options → toggle ON the OEM unlocking option.Samsung Galaxy Bootloader Unlocked
    • Next select “Enable” when prompted to confirm.
  3. Now we are ready to Unlock the Bootloader on your Samsung Galaxy S20.
    • First, power off your Samsung Galaxy S20 smartphone.
    • Connect your phone to the PC while holding the Volume Down + Volume Up keys together until you see the bootloader screen.
    • Now press Volume Up key to enter “Device unlock mode.”Samsung Download Mode New
    • Again press Volume Up key to confirm Bootloader Unlocking on Samsung Galaxy S20.
    • Your device Bootloader is unlocked, and it should reboot automatically.


In any steps, if the particular file is asked you to download, then you can come here and download it. We will update the links according to the latest build by developers.

  • Download Magisk App (Latest Version) [Phone]
  • Samsung USB Drivers (Optional) – Download [PC]
  • Odin Flash Tool (Latest) – Download [PC]
  • 7Zip-ZS (Latest) – Download [Install it]
  • LZ4 – Download [PC] [Extract the Zip file]

Step 2: Download Stock Firmware for Samsung Galaxy S20

You can download Samsung stock firmware from various sources, but the huge problem is the Speed. By using the Frija tool, you can download stock firmware files at high speed.

  1. Download Latest Frija Tool.frija tool zip file
  2. Extract the zip file to your windows desktop.
  3. Open the extracted folder and double-click on the frija.exe file to launch the tool.
  4. We need two things, first your phone’s model number and second, and CSC/regional code.
    • You can get your phone model number by going to SettingsAbout phone.
    • To view the CSC code, you can download the Phone Info SAM app.
  5. Once you have the above information, enter the required data in the Frija tool.frija tool samsung galaxy m21 stock firmware
  6. Finally, click on the Download button.

Step 3: Preparing Patched Boot Image file

  1. Extract the downloaded firmware package on your PC.
  2. Open the extracted folder, and you will see five firmware files in .tar.md5 format.Samsung Galaxy Firmware Files New
  3. Right-click on the AP firmware file, hover into the 7-Zip option and select Extract files.Samsung AP Firmware Right Click
  4. Now you will find several files along with the boot.img.lz4 and vbmeta.img.lz4.AP firmware Extracted Folder New
  5. Copy boot.img.lz4 and  vbmeta.img.lz4 to LZ4 Installed folder.Copy Boot, Vbmeta to LZ4 Folder
  6. Next we have to convert .img.lz4 to .img file. To do that, follow the below steps:
    • Open the lz4 folder.
    • Drag the .lz4 file to the lz4.exe program.Convert Boot, Vbmeta to IMG Format
    • The script will convert the file to .img format.Converted IMG Files Boot and Vbmeta
    • You have to convert all three files one by one.
  7. Connect Samsung Galaxy S20 device to your PC/Laptop.
  8. Now copy the “AP” file from the Firmware folder to your phone’s internal storage.Copy AP file from Firmware folder
  9. Now the next step you have to follow on your phone.

Step 4: Patch the AP Firmware File with Magisk App

  1. Download and install Magisk App on your phone.
  2. Open the Magisk app from the app drawer.
  3. Tap on the “INSTALL” button.Magisk Zip Install
  4. Now here, tap on the “Select and Patch a File.”Magisk Manager Select and Patch a File
  5. Navigate to the internal storage and select the AP firmware file that you previously copied to the phone.
  6. Once the file is selected, tap on “LET’S GO.”
  7. Wait until Magisk patches the file.Magisk App Patching Done
  8. The patched image file can be found in the “Downloads folder.”
  9. Now connect your phone to the PC and copy the magisk_patched.tar file to the “firmware folder” on your PC.Copy Magisk Patched Tar file to PC
  10. Extract magisk_patched.tar file.
  11. Now head over to the “LZ4 folder” and copy vbmeta.img file to Magisk Patched folder.Magisk Patched Folder Boot and Vbmeta
  12. Select boot.img and vbmeta.img file, right-click on the files, and  “Add to archive.”Magisk Patched Files Boot and Vbmeta Add to archive
  13. Select the Archive format to tar and tap on ok.Create New Boot.tar File
  14. Now you will see the boot.tar Odin flashable file.Boot.tar Odin flashable file new

Proceed to the next step.

Step 5: Boot your Samsung Galaxy S20 into Download Mode

  1. First, power off your Samsung Galaxy S20 device.
  2. Connect your smartphone to your PC while holding the Volume Down + Volume Up keys together.
  3. You will now see the Bootloader screen.Samsung Download Mode New
  4. Now press Volume Up key to enter Download Mode.

Step 6: Flash Patched Boot.tar using Odin flash tool

  1. First, extract the Odin zip file to your desktop.
  2. Open the extracted folder and run Odin3 xxx.exe file.
  3. Connect your Galaxy device to a PC/Laptop.
  4. You will see ID:COM section light up blue. It means the PC successfully recognizes your phone.Launch Odin Flash Tool
  5. Click on the following slot buttons and select the corresponding firmware files:
    • Tip: For BL, CP, CSC, you have to select files from the “firmware folder.” For AP, you have to select the patched boot.tar file (Check Step 6, 14th step.) 
    • BL: Select the firmware file starting “BL.”
    • AP: Select the Patched AP firmware file (boot.tar)Odin AP Select Boot.tar file
    • CP: Select the firmware file starting “CP.”
    • CSC: Select the firmware file starting “HOME_CSC.”
  6. Once all firmware files are loaded to the Odin tool.All Firmware Loaded to Odin Tool
  7. Make sure to untick the Auto Reboot option under the “Options” tab.
  8. Once done, finally, click “Start” to begin the flashing process.
  9. If the flashing is successful, you should see the PASS message on the Odin screen.Odin Flash PASS
  10. Once the process completes, press the Volume Down + Power keys to exit Download mode.
  11. As soon as the screen goes black, press the Volume Up + Volume Down + Power keys to boot into Recovery mode.
  12. Now once the Galaxy A51 boots into stock recovery mode, follow the below steps.
    • Go to Wipe data/factory reset. (Use Volume keys to navigate between the options and Power key to select an option.)Samsung Factory data reset
    • Select “Factory data reset.”
    • Once done, select “Reboot system now.”
  13. The first boot will take some time.
  14. That’s it! You have successfully rooted Samsung Galaxy S20 using Magisk.

You can also verify if your rooted Samsung Galaxy S20 passes SafetyNet by pressing the “Check SafetyNet” button in Magisk App.

OnePlus passes SafetyNet

After your device boots up, you will see Magisk App installed on your phone. This app will help you to manage Root permissions, install Magisk Modules, Magisk Hide, and other features.

If you can’t see the app, simply download it from here.


We hope that after reading our guide, you’ll be able to Root Samsung Galaxy S20 with Magisk easily. If it did, please share with a friend or colleague who is looking to do so as well. Also, if any part of this process is unclear or if there are other questions about rooting in general, please leave a comment below. As always, have fun while learning something new!

Thank you for reading!

Leave a Comment