How to Unlock bootloader and Root Galaxy M31s (No TWRP)

Samsung Galaxy M31s is a newly released mid-range device from Samsung. If you are among the early buyers of the devices then this guide may help you to unlock the bootloader and gain root access on your Samsung Galaxy M31s

If you’re using it and want to customize your handset, you will require to unlock the bootloader at first. Then either you can install a Custom Firmware on it or you can root as well. Here we’ve provided the guide on how you can root your Galaxy M31s with Magisk (No TWRP).

Here we will be using Stock Firmware, Magisk manager and Odin to gain root access on the Samsung Galaxy M31s. By using the Magisk, you can patch the Stock Firmware Boot Image file and flash the boot partition on your device. Now, the Galaxy M31s has been released for the global market and it comes with Exynos chipset. So, it will be quite easy to unlock the bootloader as well. Keep in mind that bootloader unlock is the first and important part before rooting or customizing your device system.

The Galaxy M31s comes equipped with a 6.5-inch AMOLED display which is FHD+ in resolution. Driving the device is the Exynos 9611 SoC backed up by 6GB of RAM and  128GB internal storage that is non-expandable. The entire phone is made out of “Glasstic” which is nothing but frosted plastic. The M31s has a quad-camera setup (64+12+5+5MP) on the rear side. There is a 32MP front camera sensor inside the front pouch hole cut out.

The Galaxy M31s comes out of the box with Samsung’s OneUI 2.1 that runs over Android 10. It has a massive 6000 mAh battery and comes with a 25W fast charger in the box.

 For more information about Android rooting, check out our detailed post here > What Is Rooting Android Phone? Advantages And Disadvantages

Disclaimer is not responsible for any damage happened to your device(s) while following this guide so please proceed at your own risk. However, we would be happy to help with any problems within our reach

Important Note: Without TWRP, you can’t flash the root files like Magisk. Now, we have to manually modify the stock boot image by patch to get root access on the device

Unlock bootloader On Galaxy M31s

How to Unlock bootloader and Root Galaxy M31s (No TWRP)

[su_highlight background=”#78ffb1″ color=”#16181b”] NOTE: It will wipe out your device’s storage completely so take a back up first [/su_highlight]

  1. Open Settings on your device
  2. Enable Developer Option (Similar steps)
  3. Now scroll down and tap the “Developer Options”
  4. Enable  “OEM Unlocking” toggle inside developer option.
  5. Switch off your device completely and hold Volume Up + Volume Down together. then connect it to your PC
  6. Now Press and hold the Volume Up button when you arrive at the blue splash screen.
  7. Again Press the Volume Up button to confirm you want the bootloader unlocked.
  8. Wait for the Galaxy device to restart.
    • Remember a popup will appear each time on the restart to press the Power button
  9. Now just for it to perform a factory reset.
  10. Once done your device will be rebooted and your device’s bootloader should be unlocked.

How To Root Galaxy M31s with Magisk

#1 Download stock boot image

Download the boot file according to your device. Once downloaded, unzip the file and open it, look for a .zip file. Open that file too, now you will see a file named boot.img (This is the official stock image or firmware)

#2 Patch boot image

  • Move the boot.img to your device’s internal storage.
  • Download & install the latest Magisk Manager on your device
  • Open magisk manager, On the main screen, select Install > Install > Patch Boot Image File
  • Now select the boot image (boot.img). Magisk will start to patch the boot image.
  • After completion, the file will be saved as “magisk_patched.img” in your Downloads folder

#3 Finally, Steps To Root Galaxy M31s

  • Connect your device to PC and transfer the “magisk_patched.img” file to the internal storage of the device (ROM folder).
  • Use 7Zip to archive the .img file to .tar file which is compatible with Odin Flash Tool.
  • Now, you have to download and install the ODIN Flash Tool on your PC.
  • Make sure to install the latest Samsung USB Drivers on your computer also.
  • Boot your Samsung Galaxy M31s into Download/Odin Mode with this similar guide.
  • Connect your handset with the PC using a USB cable.
  • When your device is connected, launch the ODIN tool.
  • Next, load the magisk-patched.tar file in the AP section.
  • Click on Options tab > select Auto Reboot and F.Reset Time.
  • DO NOT select the Re-Partition.
  • Finally, click on Start to initiate the rooting process on your device.
  • Once done, your phone will restart automatically and will boot into the system.
  • Congrats! Your device is now fully rooted.

If you’ve liked this guide, you can share it with others.  If you have any quarries regarding this guide, feel free to leave that in the comment section down below.

Dibyashree Sharma
Dibyashree Sharma
Editorial Leader
Dibyashree Sharma graduated in Computer Science from NIT Rourkela. For the past eight years, she has been blogging about Android, which she is really passionate about. She has built a good reputation as a reliable source. Away from the digital sphere, Dibyashree enjoys playing tennis, a sport she is as passionate about as she is about technology.

Leave a Comment