How to root the Samsung Galaxy S5 (SM-G900F)
1. Step #1
Anyways, this 20-something megabyte zip contains both CF-AutoRoot, which we'll be showing you how to flash through Odin, and the Odin software itself. The CF-AutoRoot file will have a ".tar.md5" extension, and your resident archive software (WinRAR, 7Zip, etc) will likely let you extract the contents. Do not do that. Simply extract the contents of the first .zip and no more.
2. Step #2
For the next step, you need to have your Galaxy S5 disconnected from your PC, so unplug the USB cable for now. Start Odin3-v3.0.7.exe. Click the PDA tab, and select the CF-Auto-Root-klte-kltexx-smg900f.tar file you extracted just before. A short confirmation will appear in the log box on the bottom left.
3. Step #3
4. Step #4
If you do not have that, then drivers for your device are missing, or they're not playing nice. Installing Samsung Kies is usually a good way to ensure conformity, but you can also check these basic Odin troubleshooting tips. You cannot continue if you don't satisfy this step.
5. Step #5
Just hit start next, and you'll see two things: the log box on the bottom left will start churning info, all the while the big rectangular field immediately above the ID:COM one will start flashing colors and showing text. Eventually, and if everything goes well, you should get a big, fat "PASS!" on a green background. Wohoo, we're almost done!
6. Step #6
If your phone does not reboot into recovery mode on its own and go through the above-mentioned red-Android-logo procedure, then you should just go through these steps again. If this persists, you should just enter recovery mode manually after flashing the .tar file through Odin. Just press Volume Up and the Home and Power buttons simultaneously, and the installation should continue automatically from thereon.