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

This tutorial will learn how to install TWRP recovery on the Samsung Galaxy M30s and simultaneously root the phone using Magisk. This guide will work on any Galaxy M30s smartphone running Android 10 or the latest Android 11 OS.

This guide involves various steps and takes time to implement the shown steps. Therefore, I highly suggest you first read the complete guide, understand all the steps properly, and then you can start implementing the steps on your Samsung device.

As rooting is a complex process, if you apply any wrong step, brick your android OS. Before starting this guide, take a full backup of your android, fully charge your phone, and download all the required files mentioned in this guide.

We have tried our best to make this Rooting guide as simple as possible. But due to the high security of evolving android, rooting is becoming tougher day by day. Hence, you need to put extra effort into rooting android running the Android 10 or Android 11 operating system.

Before jumping into the steps, here is a quick description of the Samsung Galaxy M30s smartphone.

Steps to Root Samsung Galaxy M30s

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

Root Samsung Galaxy M30s

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 M30s.
  • Take Full Backup of your Android device.
  • You need a PC to perform the Commands.
  • Fully charge your phone.
  • Samsung Galaxy M30s 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 M30s

  1. First, we need to enable Developer Options on Samsung Galaxy M30s.
    • Go to “Settings” on your Samsung Galaxy M30s.
    • 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 the Samsung Galaxy M30s.
    • 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 M30s.
    • First, power off your Samsung Galaxy M30s 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 M30s.
    • 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]
  • Multi disabler – Download [Phone]
  • TWRP Recovery for Samsung Galaxy M30s – Download

Step 2: Download Stock Firmware for Samsung Galaxy M30s

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 Phone Info SAM app.
  5. Once you have the above information, enter the required data in the Frija tool.frija tool samsung galaxy m30s stock firmware
  6. Finally, click on the Download button.

Step 3: Extract Boot Image file from Samsung Galaxy M30s Stock Firmware

  1. Once you have downloaded the firmware package, extract it.
  2. Now open the extracted folder, you will see the firmware files in .tar.md5 format.Samsung Galaxy A Series Firmware
  3. Right-click on the AP firmware file, hover into 7-Zip, and select Open archive.Extract Boot Image from AP Firmware uisng 7-Zip
  4. Now under the 7-Zip tool window, you will find several files. You need to drag and drop boot.img.lz4 & Vbmeta.img.lz4 file to the firmware folder.Drag and drop the boot image lz4 file
  5. Further, we have to convert .img.lz4 to .img file. To do that, follow the below steps:
    • Open the lz4 folder side by side.
    • Drag the .lz4 files to the lz4.exe program.Extract Samsung Boot Image Convert
    • The script will convert the file to .img format.
  6. Connect Samsung Galaxy M30s device to your PC/Laptop.
  7. Furthermore, copy boot.img file from the lz4 folder to your phone’s internal storage. Leave Vbmeta.img on your PC. We need this file very soon.

Step 4: Install Magisk App on Samsung Galaxy M30s

  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. Please navigate where you transferred the Boot Image file (boot.img) and select it.
  6. Once the file is selected, tap on “LET’S GO.”
  7. Wait until Magisk patches the Boot Image.Magisk Boot Image Patching Done
  8. The magisk patched image file can be found in the “Downloads folder.”
  9. Copy the magisk_patched.img to the PC and rename it to boot.img.
  10. We already have the Vbmeta. img file on PC. Drag these two files (boot.img & vbmeta.img) to the downloaded TWRP.tar file.
  11. Now the TWRP.tar file must contain three files; don’t extract them. We have to flash this single .tar file using the Odin flash tool.
  12. Let’s proceed to the next step.

Step 5: Boot your Samsung Galaxy M30s into Download Mode

  1. First, power off your Samsung Galaxy M30s 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 TWRP on Samsung Galaxy M30s 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 AP tab option and select the TWRP.tar file.Odin flash tool AP Select TWRP
  6. Head over to the “Options” tab and untick the Auto Reboot option.Odin Tool Uncheck Auto Reboot
  7. Once done, finally, click “Start” to begin the flashing process.
  8. If the flashing is successful, you should see the PASS message on the Odin screen.Odin Flash PASS
  9. Once the process completes, press the Volume Down + Power keys to exit Download mode.
  10. That’s it you have successfully flashed TWRP recovery on your Samsung Galaxy M30s smartphone.

You can now Boot your Samsung Galaxy M30s into TWRP Recovery by press & hold the Volume Up + Volume Down + Power button until you see the Samsung logo on the screen, release all the buttons, and your device will boot into TWRP Recovery Mode.

Step 7: Root Samsung Galaxy M30s using Magisk

Now we are finally ready to flash the Magisk zip file on the Samsung Galaxy M30s.

  1. On the TWRP recovery page, Select WipeAdvanced Wipe → Select Cache and User Data.
  2. Go back to TWRP home select Install.
  3. Locate the Multi file and select it.
  4. Next, Swipe to confirm Flash.
  5. Again go back to TWRP home select Install.Install Magisk With TWRP-Recovery
  6. Locate the Magisk zip file and select it.Locate Magisk Zip File
  7. Next, Swipe to confirm Flash.Flash Magisk Zip
  8. Once the flashing process completes, tap on the Reboot system.
  9. That’s it, and you have successfully rooted your Samsung Galaxy M30s device.

You can also verify if your rooted Samsung Galaxy M30s 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 feature, and much more.

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

Here are some recommended Magisk Modules that you must try on your Samsung Galaxy M30s smartphone.

Wrapping Up –

I hope this guide helps you with Samsung Galaxy M30s device, and we are thankful to you for your time and patience in reading the article. Let us know in the comments what your thoughts are about this guide.

If you want us to cover any specific tutorial related to the Samsung Galaxy M30s smartphone, let us know in the comments or mail us.

Also, if you are facing any issues or have questions related to this guide, then make sure to ask your doubts in the comments. We will try to answer you as soon as possible.

For more helpful guide, keep visiting

2 thoughts on “How to Root Samsung Galaxy M30s using Magisk (Android 11)”

Leave a Comment