Step #1:
Download Samsung USB Driver and Chainfire Rootfile for Galaxy S5 SM-G900F on your computer.
Step #2:
Extract the Chainfire Rootfile for Galaxy S5 SM-G900F on your computer. Install the USB driver.
Step #3:
Power Off your Galaxy S5 SM-G900F.
Step #4:
Now, Boot into Download Mode by Pressing Volume Down + Home Key + Power Key.
Step #5:
In Download Mode, You will see warning screen. Now Press Volume Up Key to continue.
Step #6:
Open Odin3 (found in the chainfire rootfile), and connect your Galaxy S5 SM-G900F to the computer.
Step #7:
Now, In Odin Click on the AP Button and select CF-Auto-Root-klte-kltexx-smg900f.tar.md5 file.
Step #8:
Now, Click on the Start Button to begin the root process. Leave your phone plugged in.
Step #9:
Once rooting procedure is completed you will be on the home screen. Find the "SuperSU" app to confirm root.
All information shown MUST be carried out at the owners own risk.