How to Root Samsung Galaxy J5 SM-J510GN Android 6.0.1 Marshmallow

December 16, 2016 | By androidhowto@youtube | Filed in: Root.

How to root Samsung Galaxy J5 SM-J510GN Android 6.0.1 Marshmallow using ODIN software. This twrp recovery is claimed for ( SM-J510F / SM-J510H / SM-J510FN / SM-J510M / SM-J510G / SM-J510Y / SM-J510N ) and tested only on SM-J510H / SM-J510FN / SM-J510F / SM-J510GN. 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 Samsung Galaxy J5 SM-J510GN Android 6.0.1 Marshmallow:

  1. Download root file from
  2. Extract Root_Files_SM-J510-2016-Android_6.0.1.rar ( SuperSU-v2.76-20160630161323, TWRP_3.0.2_SM_J510_2016_Recovery and Odin3_v3.11.1
  3. Copy file SuperSU-v2.76-20160630161323 to SDCard root
  4. Make sure OEM unlock and USB debugging option are enabled ( Settings -> Developer options )
  5. Open ODIN
  6. In Option make sure to ticked F.Reset Time only
  7. In Files Download ticked AP and pointing to the location of TWRP_3.0.2_SM_J510_2016_Recovery.tar
  8. 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.
  9. Connect your Samsung Galaxy to PC using USB Cable and Press Volume Up key.
  10. Odin software will auto detect port of your device, after detected device, klik Start, wait for a moment.
  11. After flashing finish remove the battery about 10 seconds and reinsert it.
  12. Enter TWRP Recovery: Press and hold Volume Up key + Home key, while pressing these keys press and hold power key until TWRP recovery appears.
  13. Install file SuperSU-v2.76-20160630161323 from SDCard, wait a moment and then choose reboot device.

If you get Boot Loop after root your samsung galaxy , read this How to Fix Boot Loop After Update or Root Samsung Android Firmwares

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.


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. Make sure your Model number are SM-J510H / SM-J510FN / SM-J510F / SM-J510GN. 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: , ,

15 comments on “How to Root Samsung Galaxy J5 SM-J510GN Android 6.0.1 Marshmallow

  1. rose says:

    Thanks! I was scared to root my phone because I’m not familiar about rooting and I might brick my phone using ODIN, but I did it..! Thank you very much!!! I’m so happy to have a rooted phone now…….=)

  2. LeeSo says:

    thnx for this bro.. my phone is rooted now ๐Ÿ˜€ ๐Ÿ˜€

  3. aretoms says:

    Nice Bro..

  4. Jude says:

    but how to remove set warranty bit: kernel? always pop-up upper left during booting the device. please help

    • Kireina says:

      After rooted it you will get message “set warranty bit = kernel (0)”, Do not worry is normal, it is because the boot file that flashed. this message will disappear when you flashing the ROM and also the phone will unroot. The message does not affect the phone when use it.

  5. aprakrishi says:

    as guided i have rooted the device but when i check ROOT CHECKER BASIC it shows “Sorry Root access is not properly installed on this device” Device:SM-J510GN Android Version:6.0.1..On developer option both USB & OEM Unlock still on only..

  6. aprakrishi says:

    Yes. i have done that yet same

  7. Ross Ville delos Reyes says:

    is there any bugs?

  8. dimaro says:

    How to download sm-j510GN ??? .. GN NOT FN OR H OR …

Leave a Reply

Your email address will not be published. Required fields are marked *