Samsung J5 stuck in boot loop after factory reset
flash the same stock boot.img. its in BL_J500xxxxxx.
extract from it or flash the whole BL_J500xxxxx.
for extraction use 7zip,
then right click on the boot.img > add to archive
make boot.tar
flash it in AP, using odin