Flashing galaxy s5 issues
So what worked for me was to flash it, let it fail, extract the rom file (tar.md5) flash the system.img and then the hidden.img after the first. Reboot in safe mode (volume up + home button + power) and boot from /system