If you are looking to root your Samsung SM-J810G running Android version 8.0, then you can follow up the process.
Note: Rooting Voids Warranty and it works only on Android 8.0, if your phone is running a higher version of Android. Then this file will not be compatible to root Samsung SM-J810G.
Samsung SM-J810G Android 8.0: Root File
In order to root your Samsung SM-J810G, you have to enable OEM & USB Debugging.
1- Open Setting, then choose the last option i.e. About Device.
2- Under About Device, Tap on Software Info.
3- Tap on Build no under Software Info. 8 times, it will enable developer option.
4- Tap on OEM Unlock & USB Debugging.
These conditions should be met, in order to root your Samsung SM-J810G.
1- Now, Open Odin tool which is within the Root file.
2- Select Root File under AP/PDA.
3- Connect phone in Download Mode.
4- Click on Start to Flash.
By Following the process mentioned above, you can root your SM-J810G running Android 8.0