Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
How to root Android 6.0.1 on samsung galaxy J5 sm-j500h?
The easiest method is flashing a modified recovery with Odin.
Samsung USB Drivers
Open Odin then click on AP, go where the root file was unzipped and select it.
Let me present you TWRP + Magisk
Required, but never shown