Samsung has been gaining its lost territory during the last few quarters. It was possible because the South Korean giants kept launching new devices at every interval. One of them happens to be the Samsung Galaxy M51 for approximately $330. The device has been one of the best mid-range all-rounders in recent times. It ticks all the boxes starting from its value proposition, AMOLED display, 64MP Primary camera, Snapdragon 730G, etc. Now, if you wish to root, we’ve provided a simple guide to unlock the bootloader, install TWRP, and root Samsung Galaxy M51.
Also read: How to Unlock Bootloader and Root Samsung Galaxy A40
Samsung Galaxy M51: Specifications
At its core, the Samsung Galaxy M51 is powered by an octa-core Qualcomm Snapdragon 730G SoC coupled with up to 8GB RAM and 128GB internal storage. The device draws its power from a 7000mAh battery which supports 25W fast charging. Which can further be extended via microSD card.
Towards the front, the device sports a 6.7-inch Super AMOLED display with an FHD+ resolution and 20:9 aspect ratio.
For optics, the device flaunts a quad-rear setup with a 64MP main sensor, a 12MP ultra-wide-angle lens, a 5MP depth-of-field lens, and a 5MP macro lens. Moving towards the front, you get a 32MP camera for selfies.
Talking about other features, the device includes 4G LTE, dual-band WiFi, Bluetooth 5.0, GPS+GLONASS. The device runs on One UI 2.0 which is based on Android 10 OS.
What is Rooting?
Rooting is basically giving yourself privileges to access features on your phone which either would be blocked by the carrier or the actual provider of the phone. Rooting certain apps will help you increase the battery life (now that’s a lifesaver), make in-app purchases for free, or even increase the speed of your phone’s CPU by overclocking it. In short, a gold mine of apps and an opportunity to enhance your phone experience.
What is Magisk?
Magisk has basically made rooting clutter-free. Which means you don’t have to be dependent on your PC to access root on your smartphone. Magisk was developed by Topjohnwu and launched in the year 2016, and since then has been widening its horizons with each passing year. The usability is very simple, all you need is the Magisk Manager where you can flash numerous MODs as per your wish directly from your smartphone.
Prerequisites to be followed before proceeding
- Samsung USB Drivers – Download
- Magisk Manager – Download
- Odin Flash Tool – Download
- Download the Galaxy M51 Firmware
- Back up your device data before proceeding.
- Install 7 Zip on your PC.
- Download the latest Samsung multi disabler.
Download all the above files above for the step below which will help you to unlock the bootloader, install TWRP, and root Samsung Galaxy M51.
Unlocking Bootloader on Samsung Galaxy M51
- Enable “Developer Mode” by tapping the built number 7 times.
- Open Settings.
- Find the Developer Mode.
- Enable the OEM Unlock option inside the Developer Mode.
- Turn off your device.
- Press Bixby + Volume Down and plug in your device to a PC to boot into download mode.
- Long press volume up until the bootloader unlocks menu appears, press volume up to confirm the bootloader unlock process.
- This will wipe your data and automatically reboot.
- Once done, your bootloader will be unlocked finally. Now you can proceed towards rooting your device.
Note: Unlocking your Bootloader may erase your data. So backup all the necessary data before proceeding. Your battery must be above 80 before proceeding with the following steps. Also, by following this guide, your smartphone’s warranty will be void. Gadgetsay is in no way responsible for any damage to the device and data.
Rooting Samsung Galaxy M51 using Magisk
Creating a patched boot image
- Download the same firmware from the link provided above and other required files.
- Extract the files in downloaded firmware.
- Download and install the latest Magisk Manager app.
- After that connect your device with the PC using the USB cable.
- Now, transfer the “boot.img” file from the extracted folder to your phone.
- Open magisk manager app.
- Go to Install > Install > Select and Patch a file.
- Navigate through the internal storage where you transferred the boot image earlier.
- Select the “boot.img” file that you copied from the steps mentioned above.
- Replace the “boot.img” file in the extracted folder with the newly created “patched_boot.img” file through the Magisk Manager App.
Flashing the patched boot image
- You need to download the Odin Tool on your PC.
- After that make sure you have the 7zip software to archive the new patched_boot.img into .tar format (Odin accepts .tar format).
- Download ADB and Fastboot drivers on your computer and extract it to the folder.
- Copy the .tar file or patched boot image into the extracted ADB and Fastboot directory.
- Open Developer Mode from your phone and enable USB debugging setting before proceeding any further.
- Press the volume up and volume down button to boot the device in Download Mode.
- Connect your device with PC using the USB Type-C cable.
- Open Odin Tool.
- When you’re device is successfully connected, the log section will show that the device has been added.
- After that, tap on the “AP” button on the Odin flash tool.
- Then select the “magisk_patched.tar” file and uncheck the auto-reboot option before proceeding any further.
- Now tap on the “start” button.
- Once the process gets done, it will show a Pass button on the screen, which means that the flashing had been successful.
- Now, press volume down and power button to turn off your Samsung Galaxy M51.
- After that, press the volume up + power button immediately as soon as the bootup logo appears.
- Release the power key but don’t release the volume up key.
- After the flash is done, you will be asked to work factory reset.
- It will take about 10 minutes to boot the Android system.
- Install the Magisk Manager application after the boot is complete.
You can verify the root status in the Magisk Manager app. The phone will reboot eventually. After that enable the Magisk Hide. Then all you’ve to do is to reload the Magisk Manager and check for Safety Net for the green light.
However, in order to get back your warranty, you must uninstall Magisk from your device. The following are the steps: Magisk Manager>Uninstall>COMPLETE UNINSTALL. Once done, you can reboot your device.
Note: Rooting voids the warranty of your Samsung device. The security will be at risk and threats from spyware and malware increases.