download & install heimdall & twrp
- latest TWPR https://dl.twrp.me/klte/
- latest LinagOS https://download.lineageos.org/klte
boot the S5
Press the power button and while keep it hold and press immediately home + volume down.
Confirm the download mode!
open a terminal on your mac
run: heimdall flash –RECOVERY twrp-3.2.1-0-klte.img
If the process is ready the phone will reboot, you need to press:
power+home+volumeup now, to get into twrp recovery!
The phone will boot in recovery, download the image on a usb device and conntect to a usb stick.