How to unlock Bootloader and Root Samsung M51 M515F


After a very good and very astonishing Galaxy M31, Samsung is backing up with the Galaxy M51, a smartphone that stands out in particular with its large Super Amoled panel, its 64 megapixel photo module and its gigantic 7000 mAh battery. Solid arguments for coming to battle in the field of smartphones under 400 €.

Samsung Galaxy M51 Specifications

Unlock Bootloader of Samsung M51

It is necessary to follow each step carefully, otherwise, your device will get bricked. Make sure to download the below-mentioned tools:

  • Samsung USB Drivers 
  • Magisk Manager – Download 
  • Odin Flash Tool – Download 
  • Backup all important data on Android device
  • Download the Galaxy M51 Firmware
  • .

Unlock Bootloader Steps

  1. Enable Developer Mode by tapping the OneUI version 7 times after heading to the Settings > About Phone.

  2. Enable USB Debugging by heading to the Settings>Developer Option and toggle USB Debugging.

  3. Now, Boot into the download mode by pressing Volume Up + Volume down and connect your phone to your PC.

  4. Press the volume up button until the bootloader unlock menu appears.
  5. Again press the Volume up button to confirm the bootloader unlock process.
  6. The device will reboot!

You’ve successfully unlocked the bootloader of the Galaxy M51. Now we can easily root the device.

Steps to root the Galaxy M51 using Patched Boot Image

It is quite easy to root the device using the steps mentioned below.

Step 1: Create a Patched boot image

1.    Download the firmware file for your smartphone and extract it into a folder.

2.    Download the Magisk Manager app on your smartphone

3.    Now, Connect your smartphone with the PC using the USB cable.

4.    You need to transfer the boot.img file from the extracted folder to your phone.

5.    Open, the Magisk Manager application and select Install > Install > Patch from the image file.

6.    Select the boot.img file that you copied in the step above.

7.    Magisk will start patching the image.

8.    Now, replace the boot.img file in the extracted folder with the newly created “patched_boot.img” file via Magisk Manager App.

Step 2: Flash patched boot image

1.    Download 7zip software to archive the new patched_boot.img into .tar format. (Odin accepts .tar format)

2.    Download Latest Odin Tool on your PC.

3.    Download ADB and Fastboot drivers on your computer and extract it to the folder.

4.    Copy the .tar file or patched boot image into the extracted ADB and Fastboot directory.

5.    Boot into download mode – Turn off the phone, and hold the Volume Up + Volume down buttons, and connect with the PC at the same time.

6.    Now, open the Odin.exe file as administrator.

7.    A blue column will be visible under ID:COM field one you are connected.

8.    Browse for patch boot.tar image in the AP section.

9.    Now, head over to Options and select Auto Reboot and F.Reset options. Unselect all other options

10. Click on the Start button to root your device.

11. After completion, your device will reboot.

All Done By HOW TO GSM

You’ve successfully gained root access, now you can install any custom ROM, install MOD, and extend the functionality of your device. Make sure to unlock the bootloader of Galaxy M51 prior to rooting the device. However, if you get any problem while following the guide, do let us know via the comments below.