How to Root Samsung Galaxy M52 5G using Magisk

In this guide, we will be showing you how to root your Samsung Galaxy M52 5G using Magisk. We will be providing you with two methods for rooting your device, one with TWRP recovery and another without TWRP recovery. By following this guide, you will be able to unlock the full potential of your Samsung Galaxy M52 5G and gain access to a world of customization options.

Rooting your phone is a great way to take control of your device and unlock its full potential. Not only does it allow you to remove unwanted system apps, but it also increases the performance of your device by increasing RAM usage and overclocking the CPU frequency. With a rooted Samsung Galaxy M52 5G, you can experience a faster and more efficient device, ready to take on any task. So, let’s get started and root your Samsung Galaxy M52 5G using Magisk.

How to Root Samsung Galaxy M52 5G using Magisk
How to Root Samsung Galaxy M52 5G using Magisk

Install TWRP on Samsung M52 5G

Before we begin with the rooting process, it’s important to first install TWRP recovery on your Samsung Galaxy M52 5G. TWRP, or Team Win Recovery Project, is an open-source software that allows you to install custom ROMs, backups, and other modifications to your device. If you haven’t already installed TWRP on your Samsung Galaxy M52 5G, don’t worry, we have a guide that will walk you through the process.

You can follow this link for detailed step by step guide on how to install TWRP on Samsung Galaxy M52 5G: Install TWRP on Samsung M52 5G. This guide will help you install TWRP on your device in a safe and secure manner, ensuring that you don’t run into any issues during the rooting process.

Root Samsung Galaxy M52 5G with TWRP and Magisk

In this section, we will be showing you how to root your Samsung Galaxy M52 5G using TWRP recovery and Magisk. By following the step-by-step instructions provided, you will be able to gain full control over your device and unlock its full potential. This process will allow you to install custom ROMs, remove unwanted system apps, and improve the performance of your device. So, let’s get started and root your Samsung Galaxy M52 5G using TWRP and Magisk.

  • Download Magisk Zip file and keep on internal storage.
  • Reboot your phone to TWRP recovery mode. (Keep pressing the “Volume Up” buttons and connect phone to pc using data cable).
  • Press install button on TWRP recovery.
Install TWRP Recovery
  • Select your downloaded Magisk Zip file.
Flash File With TWRP Recovery
  • After select the file swipe to flash.
File Flash on TWRP Recovery
  • After successfully flash reboot phone to system.
Reboot System From TWRP Recovery
Magisk APK

Remember to always read and follow the instructions carefully, and if you have any questions, feel free to ask.

Root Samsung Galaxy M52 5G without TWRP

Rooting your Samsung Galaxy M52 5G without TWRP recovery is also possible and in this section, we will be showing you how to do it. This method does not require TWRP recovery to be installed on your device, making it a simpler and easier process. However, it is important to note that this method may not be as stable as the method that uses TWRP and may have some limitations. Nevertheless, if you are looking for a quick and easy way to root your Samsung Galaxy M52 5G without TWRP, this method is a great option.

Unlock Bootloader on Samsung Galaxy M52 5G

  • Go to Phone Settings on your Samsung Galaxy M52 5G.
  • Scroll down and select About phone.
  • Next, select Software information.
  • Tap on the Build number multiple times.
  • Enter your phone’s lock screen Password.
  • You will now see the “Developer mode has been enabled!” toast message on the phone screen.

Enable is the OEM unlocking option on Samsung Galaxy M52 5G

  • Go to Phone Settings on your Samsung Galaxy M52 5G.
  • Scroll down and select Developer options.
  • Toggle ON the OEM unlocking option.
Enable_the_OEM_unlocking_option

Unlocking the Bootloader

After enabling OEM unlocking, power off your phone. Press and hold the Volume Up and Volume Down buttons, then connect your phone to your PC using the data cable. Once you see the bootloader warning screen, press and hold the Volume Up button to unlock the bootloader on your device.

Confirming Bootloader Unlock

You will be prompted to confirm whether you want to unlock the bootloader, use the volume buttons to navigate to ‘Yes’ and press the power button to confirm.

Download Stock Firmware for Samsung Galaxy M52 5G

You need a Samsung Galaxy M52 5G stock firmware, you can download from Samfw.com,

You need first your phone’s model number and second, and CSC/regional code.

  • You can get your phone model number by going to Settings → About phone.

Download LZ4

Preparing Patched Boot Image file

  • Extract the firmware package.
  • Open the extracted folder and again Extract AP firmware file.
Samsung Firmware Extract
  • Now you will find boot.img.lz4 file.
Samsung Firmware AP File Extract
  • Copy boot.img.lz4 to LZ4 Installed folder.
LZ4 File

Next we have to convert .img.lz4 to .img file.

  • Open the lz4 extracted folder
  • Drag the boot.img.lz4 file to the lz4.exe program
LZ4 File Extract
  • This step convert the file to .img format.

Patch the boot.img Firmware File with Magisk App

  • Download and install Magisk App on your phone.
  • Open the Magisk App.
  • Tap on the INSTALL button.
Patch File on Magisk App
  • Then Select and Patch a File.
  • Choose the Boot.IMG File
Patch Boot.img on Magisk App
  • Once the file is selected, tap on LET’S GO.
  • The patched file can be found in the Downloads folder.
  • Connect your phone to the PC and copy the magisk_patched.img file on your PC.

Convert .IMG File to .TAR (For ODIN)

  • Download and Install 1st 7zip software in you PC.
  • Select magisk_patched.img and right click mouse and point to 7zip > Add to archive
Add archive file 7zip
Add archive file 7zip
  • Archive format select tar and click OK.
Convert to .tar Extension
Convert to .tar Extension
  • Finally we are build the magisk-patched.tar file for ODIN (AP)

Boot your Samsung Galaxy M52 5G into Download Mode

  • First, power off your phone.
  • Press Button Volume Up, Volume Down and connect your phone to your PC using data cable.
  • You will now see the Bootloader warning screen.
  • Long press Volume Up button to unlock bootloader.
  • If your device bootloader already unlock just press one time volume up button.
  • Following this method you enter to download mode.
Samsung_Android_Phone_Download_Mode

Flash Magisk_Patched.tar using Odin flash tool

  • Run Odin Tool.
  • Reboot your phone to download mode.
  • Connect your Samsung Galaxy M52 5G device to a PC/Laptop.
  • You will see ID:COM section light up blue. It means the port is working.
Odin Tool Port
  • BL: Select the firmware file starting BL.
  • AP: Select the Magisk Patched AP firmware file (magisk_patched.tar)
  • CP: Select the firmware file starting CP.
  • CSC: Select the firmware file starting HOME_CSC.
Odin Tool
Odin Tool
  • Once done, click Start to begin the flashing process.
  • The first boot will take some time.
  • After on phone you will see in app drawer Magisk APK installed.

Conclusion

We have shown you how to root your Samsung Galaxy M52 5G using TWRP and Magisk and also without TWRP recovery. By following the step-by-step instructions provided in this guide, you should now be able to gain full control over your device and unlock its full potential. Remember to always read and follow the instructions carefully, and if you have any questions, feel free to ask. Keep in mind that rooting your device may void the warranty and also be aware of the risks involved.

Bishal Pokhrel

My name is Bishal Pokhrel and I write about Magisk, Magisk Modules, Custom ROMs, Android tricks, and Cloud Servers. With extensive experience, I share my insights on these topics.

Leave a Comment