[Samsung Galaxy A51 ROMs, Kernels, Recoveries, & Ot] Mohd Masab:
Assalom-o-Alaikum!

How to Root and Flash TWRP on Samsung Galaxy A51 One UI 2.5 Android 10 CTJ1 Build number- Android security patch level: 1 October 2020. It may be work for SM-A515F, SM-A515F/DSN, SM-A515F/DS, SM-A515F/DST, SM-A515F/DSM, SM-A515F/N, SM-A515U, SM-A515U1, SM-A515W, PLEASE LET ME KNOW IF IT WORKED. This TWRP version is 3.5.0_10-1 developed and brought to you by ianmacd@XDA senior developer. You need installed TWRP for rooting or installing custom rom. Use it at your own risk! Follow the instructions carefully and Make sure to backup all your important data!

Downloads

Enable Developer Options: go to Settings -> About device. Tap 7 times on Build number to enable Developer options.

Enable OEM unlock and USB debugging options ( Settings -> Developer options )

Make sure the bootloader are unlocked.

Download and Extract ODIN v3.13.1 from https://odindownload.com/SamsungOdin/

Download and Install Samsung Mobile Phone Drivers

Download Latest Magisk and Magisk Manager

Download twrp-a51-3.5.0_10-1_ianmacd.tar

Download Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip

Flashing TWRP on Galaxy A51 CTJ1 firmware Android 10 Q :

Make sure the bootloader are unlocked, OEM unlock option is grey out

Enter Download Mode : Turn Power Off. Press and hold Volume Up + Volume Down key together, while pressing these keys, connect the phone to computer, then press volume up once.

Open ODIN, IMPORTANT!: Uncheck “Auto Reboot” in Options!

Flashing twrp-a51-3.5.0_10-1_ianmacd.tar as AP in ODIN, then click start.

Magisk is now successfully flashed to your device! Several steps before you can properly use the device.

DO NOT SKIP THIS STEP! Press and hold Volume Down + Power Key, when the screen blank quickly press and hold Volume Up + Power key, when Samsung Logo appears release Power key only, keep pressing Volume Up key until TWRP Recovery Mode Appears.

Select Install – select Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip Swipe to confirm Flash

Select Reboot to Recovery

Select Wipe -> Format data, type ‘yes’ and confirm

Select Reboot to System

Setup the phone, Done!

Rooting Instructions

Enter TWRP recovery : Turn Power Off. Press and hold Volume Up key + Power Key, When SAMSUNG logo appears release Power Key only, keep pressing Volume Up key until TWRP recovery appears.

Install Magisk Magisk-v21.2.zip or latest

Select Reboot to System

Connect the Phone to Internet

Open Magisk Manager ( If you can not see it, just wait for a moment)

Done! You can use Root Checker to check it, Enjoy!

If something goes wrong and you want to unroot it, just flash the ROM to make it works again.

Notes / Warning!

Use at your own risk, I’m not responsible for bricking your device.

Using the incorrect file may brick your device.

If your target device has a custom firmware flash counter, Rooting will trigger it. If you’re lucky, Triangle Away has support for your device and can be used to reset the counter.

If you have a KNOX-enabled device, Rooting will trip the KNOX WARRANTY VOID status !

If your device storage is encrypted, Rooting will wipe your data !

If you have locked bootloaders, flashing one of these will probably brick your device – with the exception of Nexus devices, which will usually automatically “OEM unlock” and wipe your data !

Make sure to backup your important data before root it.

Video Link:

Credit:

1. @ianmacd

2. @redymedan