If your Samsung SM-J710F phone has copy touch and running on Android OS v8.1.0 then it will not respond if you have flashed or made FRP.
FRP Lock Must be off.
Then using OTG you have to Enable OEM Lock.
Binary 5 Touch File: Download
1- Put phone in Download mode using Power + Volume Down + menu then Tap once Volume UP to enter download mode.
2- Download the file & select Zip file in AP or PDA, CP, BL and HOME CSC.
3- Click on Start. After flashing gets completed plus out battery.
4- Hard reset using Power + Volume UP+ Menu.
Then Reboot the phone.
Touch will start to respond.