How to unbrick a samsung galaxy S5 (Softbricked no hardware keys)?
You didn't mention what caused the brick as it can be a hardware issue, a damaged eMMC chip for example.

However, instead of flashing one file, you should try flashing ''repair'' files which are 4 flashable files you can load individually. These files contain the full set of Samsung firmware files. Inside these packages you will get PDA, AP, Modem, Phone, CP, BL, Bootloader, and CSC file.

Download theme from here and flash using Odin.

Fell free to ask if you encounter any problem.