For phones that say custom binary blocked by FRP lock after root / flashing modified binaries:
You need to put the phone into download mode by keep holding power + volume down and home until you get the light blue screen then enter download mode.
Then you flash matching Samsung firmware on there. Either 6.x or 7.x using downloaded firmware from either updato or sammobile website.
After that you may also need to do a factory reset in recovery mode as well if it still does not boot.
Once it boots go through setup and enter linked google account login as prompted.
Now to bypass FRP lock you use the instructions on this thread:
http://forum.gsmhosting.com/vbb/f777/universal-samsung-galaxy-s6-s7-note-5-note-7-frp-bypass-all-samsung-devices-2124806/
Make sure you downgrade from 7.0 to 6.0 if you are on Nougat first before doing the frp bypass trick.
You also need 6.0 android google account APK so that frpbypass rootjunkie APK works.
Do some research if you can't work it out.