TWRP & Root Samsung Galaxy A51 SM-A515F One UI 2.5 CTJ1 Android 10

Search This thread

Mohd Masab

Senior Member
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 [email protected] 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 :
  1. Make sure the bootloader are unlocked, OEM unlock option is grey out
  2. 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.
  3. Open ODIN, IMPORTANT!: Uncheck “Auto Reboot” in Options!
  4. Flashing twrp-a51-3.5.0_10-1_ianmacd.tar as AP in ODIN, then click start.
  5. Magisk is now successfully flashed to your device! Several steps before you can properly use the device.
  6. 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.
  7. Select Install – select Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip Swipe to confirm Flash
  8. Select Reboot to Recovery
  9. Select Wipe -> Format data, type ‘yes’ and confirm
  10. Select Reboot to System
  11. Setup the phone, Done!
Rooting Instructions
    1. 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.
    2. Install Magisk Magisk-v21.2.zip or latest
    3. Select Reboot to System
    4. Connect the Phone to Internet
    5. Open Magisk Manager ( If you can not see it, just wait for a moment)
    6. 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!
  1. Use at your own risk, I’m not responsible for bricking your device.
  2. Using the incorrect file may brick your device.
  3. 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.
  4. If you have a KNOX-enabled device, Rooting will trip the KNOX WARRANTY VOID status !
  5. If your device storage is encrypted, Rooting will wipe your data !
  6. 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 !
  7. Make sure to backup your important data before root it.
Video Link:

Credit:
1. @ianmacd
2. @redymedan
 

Attachments

  • twrp-a51-3.5.0_10-1_ianmacd.tar
    42.4 MB · Views: 6,997
  • Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip
    3.4 MB · Views: 3,932
Last edited:

azteria2000

Senior Member
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 [email protected] 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 :
  1. Make sure the bootloader are unlocked, OEM unlock option is grey out
  2. 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.
  3. Open ODIN, IMPORTANT!: Uncheck “Auto Reboot” in Options!
  4. Flashing twrp-a51-3.5.0_10-1_ianmacd.tar as AP in ODIN, then click start.
  5. Magisk is now successfully flashed to your device! Several steps before you can properly use the device.
  6. 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.
  7. Select Install – select Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip Swipe to confirm Flash
  8. Select Reboot to Recovery
  9. Select Wipe -> Format data, type ‘yes’ and confirm
  10. Select Reboot to System
  11. Setup the phone, Done!
Rooting Instructions
    1. 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.
    2. Install Magisk Magisk-v21.2.zip or latest
    3. Select Reboot to System
    4. Connect the Phone to Internet
    5. Open Magisk Manager ( If you can not see it, just wait for a moment)
    6. 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!
  1. Use at your own risk, I’m not responsible for bricking your device.
  2. Using the incorrect file may brick your device.
  3. 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.
  4. If you have a KNOX-enabled device, Rooting will trip the KNOX WARRANTY VOID status !
  5. If your device storage is encrypted, Rooting will wipe your data !
  6. 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 !
  7. Make sure to backup your important data before root it.
Credit:
1. [email protected]
2. Recovery-Mode


Keep up to making the next tutorial on Galaxy A51
 

hargitomi

Senior Member
Feb 22, 2012
191
57
Szolnok
Okay, so I completed the whole process, here are my observations:

The method provided above almost works. The problem is, that everytime you reboot to system when you are not rooted, TWRP will encrypt your files. So the solution is, that you have to format data and then install dm_verity and Magisk after each other, without a reboot! After that, you can boot to your system and set up your phone.
 

njcesascriu

New member
Jan 11, 2021
2
1
Okay, so I completed the whole process, here are my observations:

The method provided above almost works. The problem is, that everytime you reboot to system when you are not rooted, TWRP will encrypt your files. So the solution is, that you have to format data and then install dm_verity and Magisk after each other, without a reboot! After that, you can boot to your system and set up your phone.
I did what you said but still encrypts after reboot. Latest Magisk.
 
  • Like
Reactions: tzahik1

Nachopincha

Senior Member
Nov 23, 2014
87
28
Hi, I am having problems with internal storage, I can not create folders and there are applications that I can not download, any solution?
 
Last edited:
  • Like
Reactions: tzahik1

abraxasboot

Member
Aug 25, 2014
6
0
Could someone tell me if it is compatible with the November update CTK1?

I have managed to root the phone, you can install everything and configure it, but after turning off the phone, I can't start it does bootloop, and it returns to the prompt "The phone is not running Smasung official software ..." never finishes starting? What do you recommend me to do?

020221
I reloaded the original rom and did the procedure again, taking into account the clarification of installing install dm_verity and Magisk after each other, without a reboot, and everything went well!
 
Last edited:

ameer419

Member
Jun 16, 2020
22
7
It worked for me but i can't access themes and other system apps
Is there any solution to access themes on rooted a51
 

abraxasboot

Member
Aug 25, 2014
6
0
Hello abraxasboot !
So,for you ,the only problem was that U had to flash the files one after the other without rebooting ?
No other problem since that ?
Is the phone reacting well ?
Where did U find the official rom ?
Thanks and have a good day !

How are you fleafred, https://samfrew.com/es/model/SM-A515F/ here you will find the original rom. I did the procedure again and had no more problems.
 

laser_unicorn

Member
Mar 30, 2021
6
4
== important ==
I was unable to flash and reboot into TWRP recovery after applying the official Samsung update from March, which updates Android from 10 to 11. Reboot into recovery would not work and I would always end in a boot loop.

I had to downgrade to Samsung's official Android 10 and used the binaries from January for that: https://samfrew.com/es/model/SM-A515F

After that, flashed TWRP again and was able to boot into recovery right away as it should be :)
 
  • Like
Reactions: hacker812c

antuanix46

Member
Sep 22, 2017
7
6
If I follow the steps and flash twrp-a51-3.5.0_10-1_ianmacd.tar file using Odin I get an message:
'Only official release binaries are allowed to be flashed (RECOVERY)

The phone was recently purchased from Samsung official store, and has android 10 official firmware from feb 1st installed

Any clue please?
 
  • Like
Reactions: hacker812c

Benjamin0702

Member
Mar 30, 2021
5
0
hey guys i used a lyf wind 1 to flash lineage os using twrp ..... so i wiped the previous os and unknowingly flashed another unsupported version of twrp ...when entering to recovery menu its all blank .... now i have no os and recovery ...... i couldnt flash stock rom because my device is not recognised as qualcomm port .............

pls any help ????
 

danofaster

Member
Jun 5, 2020
7
9
I have a working 11R twrp and all the DRM passers mejestics etc. to run.. you can boot the os after that that is the standard Samsung OS. np u can install LINAGE os 18.1 Andys march release, the Mejestics meaning u can patch root without Needing to part the orignal Firm and copy boot.img over. etc :cowboy::cowboy::cowboy:
Here is Link With GSI as Well and 2.5 GUI Twrp working and UI3.0
 

Attachments

  • latest Twrp All rest outdated.tar
    42.6 MB · Views: 348
  • Disable_Dm-Verity_ForceEncrypt_11.02.2020.zip
    4.8 MB · Views: 126
  • Magisk-v21.4.zip
    5.9 MB · Views: 125
  • Magisk-v22.0.apk
    6.1 MB · Views: 105
  • Magisk-v22.0.zip
    6.1 MB · Views: 165
Last edited:
  • Like
Reactions: hacker812c

antuanix46

Member
Sep 22, 2017
7
6
If I follow the steps and flash twrp-a51-3.5.0_10-1_ianmacd.tar file using Odin I get an message:
'Only official release binaries are allowed to be flashed (RECOVERY)

The phone was recently purchased from Samsung official store, and has android 10 official firmware from feb 1st installed

Any clue please?
All good in the end, I needed to install samsung's firmware in odin first

Thank you for the good work
 
  • Like
Reactions: hacker812c

Top Liked Posts

  • There are no posts matching your filters.
  • 11
    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 [email protected] 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 :
    1. Make sure the bootloader are unlocked, OEM unlock option is grey out
    2. 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.
    3. Open ODIN, IMPORTANT!: Uncheck “Auto Reboot” in Options!
    4. Flashing twrp-a51-3.5.0_10-1_ianmacd.tar as AP in ODIN, then click start.
    5. Magisk is now successfully flashed to your device! Several steps before you can properly use the device.
    6. 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.
    7. Select Install – select Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip Swipe to confirm Flash
    8. Select Reboot to Recovery
    9. Select Wipe -> Format data, type ‘yes’ and confirm
    10. Select Reboot to System
    11. Setup the phone, Done!
    Rooting Instructions
      1. 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.
      2. Install Magisk Magisk-v21.2.zip or latest
      3. Select Reboot to System
      4. Connect the Phone to Internet
      5. Open Magisk Manager ( If you can not see it, just wait for a moment)
      6. 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!
    1. Use at your own risk, I’m not responsible for bricking your device.
    2. Using the incorrect file may brick your device.
    3. 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.
    4. If you have a KNOX-enabled device, Rooting will trip the KNOX WARRANTY VOID status !
    5. If your device storage is encrypted, Rooting will wipe your data !
    6. 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 !
    7. Make sure to backup your important data before root it.
    Video Link:

    Credit:
    1. @ianmacd
    2. @redymedan
    3
    It worked !
    Ouf !Thanks a lot ...
    I could re-install Magisk ,Xposed ...
    I'd have like to know what I desinstalled to do that ...
    Have a nice day .
    2
    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 [email protected] 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 :
    1. Make sure the bootloader are unlocked, OEM unlock option is grey out
    2. 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.
    3. Open ODIN, IMPORTANT!: Uncheck “Auto Reboot” in Options!
    4. Flashing twrp-a51-3.5.0_10-1_ianmacd.tar as AP in ODIN, then click start.
    5. Magisk is now successfully flashed to your device! Several steps before you can properly use the device.
    6. 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.
    7. Select Install – select Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip Swipe to confirm Flash
    8. Select Reboot to Recovery
    9. Select Wipe -> Format data, type ‘yes’ and confirm
    10. Select Reboot to System
    11. Setup the phone, Done!
    Rooting Instructions
      1. 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.
      2. Install Magisk Magisk-v21.2.zip or latest
      3. Select Reboot to System
      4. Connect the Phone to Internet
      5. Open Magisk Manager ( If you can not see it, just wait for a moment)
      6. 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!
    1. Use at your own risk, I’m not responsible for bricking your device.
    2. Using the incorrect file may brick your device.
    3. 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.
    4. If you have a KNOX-enabled device, Rooting will trip the KNOX WARRANTY VOID status !
    5. If your device storage is encrypted, Rooting will wipe your data !
    6. 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 !
    7. Make sure to backup your important data before root it.
    Credit:
    1. [email protected]
    2. Recovery-Mode


    Keep up to making the next tutorial on Galaxy A51
    2
    Thank you very much, brother. You did the perfect way(y)
    2
    Cool ,I couldn't find it!
    Just have to wait for 9h now ...
    Thanks a lot ,abraxasboot ,I'll tell u.
    Have a nice day .