Galaxy S5, the new high-end phone from Samsung and perhaps the most desirable handset of 2014 is set to become available in April 2014. If you are always looking for hackability or root access on a device before buying it, the S5 is also in that category. A senior XDA developer Chainfire has did root access on international variant of the Galaxy S5, even before its release, just as he done with its predecessor the Galaxy S4.
Here is a simple guide on rooting the Galaxy S5 SM-G900F international variant using Chainfire’s popular CF-Auto-Root and ODIN tool. CF-Auto-Root is the easiest root method and it will keep as close to stock firmware as possible. This root package will install the SuperSU binary and APK, as well as the stock recovery on your phone.
Warning: The below guide is ONLY for rooting Galaxy S5 (SM-G900F) International variant. DO NOT attempt to root any other variant.
Disclaimer: Please follow this guide at your own risk. We can’t take responsibility for anything that goes wrong. This guide is intended for technically talented users only
1. Unzip the contents of the downloaded CF-Auto-Root zip file to a folder on your computer.
2. Launch ODIN from the extracted files.
3. Click the PDA button in Odin and select the file named CF-Auto-Root-klte-kltexx-smg900f.tar. Make sure you leave everything else exactly as it is.
4. Put Galaxy S5 into download mode. To do so, power off it and press Volume Down, Home and Power buttons together. Press Volume Up to enter into download mode.
5. Now, connect your phone to your computer via USB. ODIN should show a port number in the ID:COM box, if not, check you have properly installed Samsung driver for your device.
6. If everything OK, click the Start button in Odin. Do NOT to disconnect your phone from the PC during the process. It’ll take some time to finish. The phone will reboot automatically.
Upon reboot, your device will be rooted. You should see the SuperSU app installed. You can check root privileges using the any root checker app from Play Store [source]