After a Factory Reset, you will see a message “This device was reset, to continue to sign in with a google account that was previously synced on this device”, it literally means that SAMSUNG J500F Galaxy J5 is completely locked and useless. Imagine a situation where you bought a used SAMSUNG J500F Galaxy J5, and a previous owner forgot to log out and remove a Google Account. Like CSC part select file that has HOME_CSC at the beginning of the name or normal CSC if HOME_CSC is missing.
No need to use ADB firmware in this two SAMSUNG phones. Instruction is here: How to active Developer Options Samsung Galaxy A5
Turn your J500F Galaxy J5 on and switch on USB debugging from developer options.The tutorial can find here: Odin flash tutorial