Home > Root

How to Install TWRP Recovery and Root Samsung Galaxy A51

In this guide, we will show you the steps to install the TWRP Recovery on your Samsung Galaxy A51 device and then root it via Magisk. This device has managed to create a niche segment of the loyal fanbase for itself. The mid-range offering from Smasug tick marks most of the requirements, considering the price segment to which it belongs.

While its underlying chipset is Exynos based, yet there are already quite a few custom binaries available for it. Likewise, the custom development is also brimming with tons of mods for this device. Be it the custom recovery like TWRP, gaining access to the system partition via Magisk, or flashing of the plethora of ZIP and IMG files, the possibilities stand endless.

There stands just one requirement from your end- an unlocked bootloader. Once you do so, you have literally opened the floodgates to the plethora of tweaks. In this guide, we will be looking at two of the most important ones. Today, we will show you how to install the TWRP Recovery and root your Samsung Galaxy A51 device. Likewise, we will also make you aware of the associated benefits and risks of these tweaks. So without further ado, let’s get started.



Benefits and Risks of TWRP and Rooting Samsung Galaxy A51

The most popular custom recovery out there, Team Win Recovery Project or TWRP beholds a plethora of options. These include the likes of creating and restoring Nandroid Backups, wiping various partition on your device, flashing IMG and ZIP files, and even rooting your device via Magisk. While you could also root the device without TWRP, but that calls for a lot of effort ( patching and flashing the stock boot. img).

Anyway, once rooted, you would have gained administrative privileges. This in turn will allow you to flash Magisk ModulesXposed FrameworkSubstratum Themes, etc. However, these tweaks come with a few risks as well. When you unlock the device’s bootloader, you will have to bid adieu to the device’s warranty. Likewise, all the data on your device will be wiped off.

Furthermore, on rooting, apps like Google Pay and Pokemon might not function along the expected lines. Then the Widevine L1 Certificate will be degraded to L3 as well (which means no HD on Netflix, Amazon Prime, and the likes). You wouldn’t also be able to receive and install OTA updates. So if all these are well and good, then here are the steps to install the TWRP Recovery and root your Samsung Galaxy A51.

How to Install TWRP Recovery and Root Samsung Galaxy A51

The entire instructions have been listed out in separate sections for ease of understanding. Follow along in the exact same sequence as mentioned. Droidwin and its members wouldn’t be held responsible in case of a thermonuclear war, your alarm doesn’t wake you up, or if anything happens to your device and data by performing the below steps.

STEP 1: Unlock Galaxy A51 Bootloader

First and foremost, you will have to unlock the bootloader on your Galaxy A 51 device. For that, please refer to our detailed guide on How to Unlock the Bootloader on Samsung Galaxy A51. Once this is done, proceed to the next step to install the TWRP Recovery and root your Samsung Galaxy A51.



STEP 2: Download the Required Files

Here are all the files that you need to download in order to install the TWRP Recovery and root your Samsung Galaxy A51 device. Credit to XDA Member azteria2000 for TWRP and MultiDisabler files.

STEP 3: Boot Samsung Galaxy A51 to Download Mode

Next up, you will have to boot your deivce to the Download Mode. Refer to the below steps for that. You may also refer to our guide on this topic: How to Boot any Samsung Device to Download Mode.

download-mode-samsung-galaxy-a51

  1. To begin with, power off your device.
  2. Then press and hold Vol Up + Vol Down together and connect your device to the PC via USB cable.
  3. As soon as you see the Warning message on your device, release the pressed keys.
  4. Finally, hit the Volume Up key to boot your device to Download Mode.

STEP 4: Install Odin on your PC

  1. Download the latest version of the Odin Tool: Odin3-v3.14.4.zip. This tool will be used to flash the TWRP TAR file to your device.
  2. Once downloaded, extract the contents to any convenient location on your PC.
  3. Finally, double-click on the Odin.exe file to launch the Tool.
    launch odin exe
  4. That’s it. Now that Odin is installed, let’s start off with the guide to install the TWRP Recovery and root your Samsung Galaxy A51.

STEP 5: Install TWRP Recovery on Samsung Galaxy A51 via Odin

install twrp recovery via odin samsung galaxy a51

  1. With the device booted to Download Mode, connect it to PC via USB cable.
  2. Now launch the Odin Tool on your PC.
  3. Click on the AP button, navigate to the download recovery_disabler_vbmeta.tar file and select it.
  4. Then go to the Options menu of Odin and untick the Auto Reboot option.
  5. Finally, hit the Start button and wait for the process to complete. Once done, you should get the Pass Message.
    flash-success-odin-pass-message
  6. You may now remove your device from the PC as well.

With this, TWRP has been installed on your device. But before performing any other action, you should directly boot to TWRP, as mentioned below.

STEP 6: Boot Samsung Galaxy A51 to TWRP

twrp recovery home

  1. Press and hold the Power + Volume Down Key until the screen goes blank.
  2. When that happens, press and hold the Power + Volume Up Key.
  3. Then as soon as you see the Samsung logo, release the Power Key, but keep pressing the Volume Up key until you are booted to the TWRP Recovery.
  4. That’s it. Your Samsung Galaxy A51 device is now booted to TWRP, let’s proceed ahead to root it.

STEP 7: Decrypt Data Partition on Samsung Galaxy A51

As of now, your device will be booted to TWRP, so it’s time to decrypt the data partition. Follow along for the detailed instructions:

  1. From the TWRP home screen, go to Wipe.
  2. Then select Format Data and type in YES in the space provided.
    format-data-twrp-galaxy-a51
  3. Finally, hit Enter situated at the bottom right and wait for the process to complete.
  4. Once done, go to Reboot and select Recovery. Your device will reboot to TWRP.
    reboot-recovery-twrp
  5. Now transfer the MultiDisabler ZIP file to your device via TWRP.
  6. Then go to Install, select the MultiDisabler ZIP file and perform a right swipe to install it.
  7. Once installed, go to Wipe > Format and type in YES to confirm the wipe.
  8. After this, again go to Reboot and select Recovery to reboot your device to TWRP.

That’s it. With this, the data partition has been successfully decrypted. Let’s now proceed to the final step to root your Samsung Galaxy A51 device. Even if you don’t wish to root, you should flash the Disable_DM-Verity_ForceEncrypt ZIP file, as mentioned below. Flashing this file is a must, irrespective of the root.



STEP 8: Root Samsung Galaxy A51 via Magisk

  1. Transfer the Disable_DM-Verity_ForceEncrypt and Magisk ZIP file to your device via TWRP.
  2. Now go to Install, select the Magisk ZIP file and perform a right swipe to install it.
    root samsung galaxy a51 magisk twrp
  3. Once done, again go to Install. This time select the Disable_DM-Verity_ForceEncrypt ZIP file and perform a right swipe to install it as well.
    install disable dm verity twrp fix bootloop
  4. Finally, it’s time to reboot your deivce to the OS. For that go to Reboot and select System.

The boot might take a few minutes. This is completely normal. Furthermore, you will have to set up the device from scratch, as a complete wipe has taken place. On that note, we conclude the guide on how to install the TWRP Recovery and root your Samsung Galaxy A51. If you have any queries concerning the aforementioned steps, do let us know in the comments section below. We will get back to you with a solution at the earliest.


Share: