After rooting your Samsung Galaxy A5,A7,A8,S8,S7,S6,S5,S4 and many other smartphones and tablets, you can install custom ROMs, overclock the processor, run rooted apps, etc.
Follow theses steps to root almost any Samsung smartphone / tablet:
1- First, Download the version of CF-Auto-Root for your device.
2- Launch Odin tool .
3- Click the PDA button in Odin and select the .tar.md5 file in the CF-Auto-Root folder
4- Enter your phone to Download mode:
- Turn off your phone.
- Hold down the volume down, power, and home buttons until you see a new screen .
7- Tap the volume up button to continue to Download mode.
8- Connect the phone to your PC via USB cable.
9- Click the Start button and wait until flash is finished and restarts.
After installing root on Android devices, you can now install TWRP custom recovery, this tutorial will help you to do that: How To Install TWRP Recovery On Android Devices !!Tips and tricks 2018!!: https://youtu.be/wOzAnA4PVDE