Root Samsung Galaxy M42 5G SM-M426B Using Magisk Without TWRP

Samsung launched their first 5G budget smartphone in Samsung’s M series called Galaxy M42 5G. It is the most affordable smartphone in the entire Samsung Galaxy lineup to offer 5G connectivity. To make this possible, Samsung used Qualcomm Snapdragon 750G processor.

On this page, we will guide you on how to root the Samsung Galaxy M42 5G (model supported SM-M426B) without the TWRP Recovery. To flash the rooting file, you need to first unlock the bootloader on your device.

We will use the Magisk by patching the Stock ROM boot image file and flashing it to the device boot partition. The Galaxy M42 5G device comes with variants SM-M426B. Just follow the full article with all the requirements, download links, and flashing steps with images.

Root Samsung Galaxy M42 5G SM-M426B Using Magisk Without TWRP

In order to root, you will require to download the patched image file from Magisk Manager and flash it. It’s worth mentioning that your Galaxy M42 5G device bootloader should be unlocked at first. Without the bootloader unlocking, it’s not possible to enable root access on your phone. By rooting your handset, you will get a superuser or administrator control over your system over system apps and subsystems.

Samsung Galaxy M42 5G Device Overview

Samsung Galaxy M42 5G features a 6.6-inches Super AMOLED display with HD+ resolution and 60Hz refresh rate. Under the hood, we have the Qualcomm Snapdragon 750G with Adreno 619 as the GPU.

The smartphone comes with Android 11 out of the box with Samsung’s One UI 3.1 skin on top. There are two storage options for this device: 6GB RAM + 128GB internal storage and 8GB RAM + 128GB internal storage.

In terms of optics, we get a quad-camera setup at the rear and a single camera setup at the front. The rear camera setup consists of a 48MP primary sensor paired with an f/1.8 lens, an 8 MP ultrawide sensor paired with an f/2.2 lens, a 5MP macro sensor paired with an f/2.4 lens, and a 5MP depth sensor paired with an f/2.4 lens. The front setup houses a 20MP single selfie sensor that is paired with an f/2.2 lens. The rear can shoot 4K videos at 30 fps, while the front camera is only limited to 1080p video recording.

In terms of communications, we get Wi-Fi 802.11 a/b/g/n/ac, Bluetooth 5.0, GPS, NFC, FM radio, and USB Type-C 2.0. And for sensors, we have an under-display optical fingerprint sensor, accelerometer, gyro, proximity, and compass. Much like other M series Samsung smartphones, the M42 5G also comes with a 5,000 mAh cell that can be topped up quickly using a 15W fast charging adapter.

What is Rooting?

Smartphone Rooting is just like jailbreaking the device to get the admin access over subsystem, system apps, the root directory of the device, and more. It will give you the superuser control to use your device over an Android subsystem. After rooting a device, the user can delete, edit, or change the system files or settings easily. The rooted users can also increase or decrease the system performance, battery performance, etc.

Mostly, the rooting process will come in handy if you’re using any third-party Custom ROMs. This will increase the accessibility up to a broader extent. Though sometimes improper rooting may brick your device or void your device warranty as well (if applicable). Most commonly, people use rooting to change themes, icons, fonts, install other mod files, tweaking Android settings for visual changes, etc.

Additionally, a rooted device user can also tweak notification panel, system user interface, accent color changes, install Xposed modules, lock screen changes, widgets, camera improvements, and more.

Advantages of Rooting

  • You can get access to all files on your Galaxy M42 5G, even the files present in the root directory of your phone.
  • You can increase the performance of your device by overclocking.
  • By rooting you can increase battery life by underclocking the device.
  • Install the Xposed Framework and Xposed module support.
  • Uninstall Bloatware on Galaxy M42 5G.
  • You can block Ads on any applications like YouTube, Browser.
  • By Rooting your device, you can View, Edit, or Delete any system file inside the root directory.


Make sure to follow the instructions one by one to successfully root your device.

Charge your phone

You need to make sure that your Galaxy M42 5G is charged to about 60% before operating it for unlocking the bootloader to avoid any boot loop issues during the unlocking process.

You need a PC or Laptop

To root, we are using the ODIN flash tool, So make sure to use a PC or Laptop to execute this rooting process successfully.

Download ODIN Flash Tool:

Make sure to download the latest ODIN flash tool file on your computer. We have a full step on how to download and install the ODIN flash tool on your computer.

Take a complete backup

Before unlocking the bootloader, one of the most important things that you need to do on your phone is to take a complete backup of your phone. For that, you can follow the guide by clicking the link below:

Download USB Drivers

In order to make your Galaxy M42 5G get recognized by your PC, you need to have proper USB Drivers appropriate to your phone installed on your computer. And for that, you can follow the link below to download the correct Samsung USB Drivers on your PC.

Unlock Bootloader:

Unlocking the device bootloader and installing root will void your phone warranty (if applicable). The process also will wipe out all the internal data. We recommend you take a complete backup of device data at first before doing anything. GetDroidTips will not responsible for any kind of boot loops or crashes or any damage to your devices while/after following this guide. Proceed at your own risk.

To root your device, you must first unlock the bootloader on it. We have made a complete tutorial on how to unlock the bootloader on any Samsung device.

Supported Device and Its Firmware:

In order to root your device, you must download the exact firmware on your device. For example, if you are running the build number M426BXXYYZZ12, you must download the same build and extract it using the next step.

SM-M426B: Download Here

Extract the Boot Image:

Once you have downloaded, the next step is to extract the firmware zip file on your PC. You can follow our tutorial on how to extract the boot image file and rename it to the .tar file.

Steps to Create a Patched boot image using Magisk Manager

  • First, download and install the latest Magisk Manager app.
  • Next, connect your device to the PC via the USB cable.
  • Copy only the boot.img file from the extracted folder to your device storage.
  • Now, open the Magisk Manager app and select INSTALL and choose to install again.
  • Then tap on “Patch Boot Image File”.

  • Go to internal storage and select your device boot image that you moved earlier.
  • Now, wait for Magisk to start patching the boot image.
  • Once the boot image has been patched, copy the “patched_boot.img” from the internal storage and replace it in the same extracted ROM folder on your PC.

Now, follow the second step to flash the patched boot image file.

  • Odin flash tool accepts files in .tar format. So, you have to use 7zip and archive it to .tar format. You can even rename the file as boot.img.tar as shown in the below screenshot.

Instructions to Root Galaxy M42 5G Using Magisk

In this step, you have to flash the patched boot image tar file on your Galaxy M42 5G using the ODIN flash tool.

  • When you connect the USB cable you will see a blue sign in Odin.

  • Now, load the patched boot.tar file in the AP section.

  • Go to Option and see whether the Auto Reboot and F-Reset Time selected or not). If not then select these two. Don’t select re-partition.

  • Now, tap on the Start¬†button to root your device.
  • Your device will reboot when the process will complete.
  • Then wait for a few minutes. The first boot will take some time.
  • You’re done. Enjoy!

We assume this guide is really helpful to you and you have successfully rooted your Samsung Galaxy M42 5G device by using Magisk.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.