TWRP Recovery: How to Root Samsung Galaxy A5 SM-A510F Android 6.0.1 Marshmallow

July 25, 2017 | Filed in: Root.

How to root and install TWRP Recovery on Samsung Galaxy A5 SM-A510F Android 6.0.1 Marshmallow using ODIN software. Root files Included TWRP Custom recovery, ODIN and SuperSU. Read notes / Warning on the bottom of this post before perform rooting your Samsung Devices. Follow the instruction carefully and read the warning!

Step by step rooting and Install TWRP Recovery on Samsung Galaxy A5 SM-A510F Android 6.0.1 Marshmallow:

Prepare your device:


  • 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 )
  • Download and Extract ODIN http://odindownload.com/download/Odin3_v3.11.1.zip or latest odin version at http://odindownload.com/download/
  • Download and Install Samsung Mobile Phone Drivers: http://developer.samsung.com/technical-doc/view.do?v=T000000117
  • Download “twrp_3.0.2-1_sm-a510_mm_1816” Unofficial release -TWRP recovery for the Galaxy A5 : https://www.androidfilehost.com/?fid=24659351692116142
  • Download SuperSU at https://download.chainfire.eu/969/SuperSU/ and copy to root of SD Card

Install TWRP Recovery and SuperSU ( Rooting )

  1. Open ODIN software
  2. In Option make sure to ticked F.Reset Time only and disable Auto-Reboot.
  3. In Files Download ticked AP and pointing to the location of TWRP .tar file
  4. Turn off your Samsung Galaxy and open Download Mode or ODIN Mode: To enter Download Mode Press and hold Volume Down key + Home Key, while pressing these keys Press and hold Power key, Release all key when Download / Odin mode appears.
  5. Connect your Samsung Galaxy to PC using USB Cable and Press Volume Up key.
  6. Odin software will auto detect port of your device, after detected device, klik Start, wait for a moment.
  7. Enter TWRP Recovery mode: Press and hold Volume Down + Home key while pressing these keys press and hold Power key to get out of Download mode and immediately press Volume Up key when the screen blanks while keep pressing Home key and Power key.
  8. Install SuperSU from SD Card, wait a moment and then choose reboot device.

ODIN will look like this picture below:

MD5 File checking

ODIN Option ticked F.Reset Time only

ODIN Flashed the status: PASS!

If you failed flashing the root file you will see the screen like this:

It happened when you forget to enable OEM unlock and USB debugging option ( Settings -> Developer options ). Enable these options and Reflash it again.

WARNING! WARNING! WARNING!

Once your device rooted, Don’t ever Disable Developer options and Don’t ever Disable OEM unlock

What your risk if you disable these? When your device booting or restarting you can not enter the android and blocked with message “Custom Binary blocked by FRP lock”.

Related post: How to Fix Custom Binary blocked by FRP Lock

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.



Tags: , , , , ,

Leave a Reply