This guide will work on all variants of the Galaxy S5 including but limiting to:
- SM-G900P (Sprint)
- SM-G900T1 (Metro PCS)
- SM-G900W8 (Canada)
- SM-G900T (T-Mobile US)
- SM-G900R4 (US Cellular)
- SM-G900M (Middle and South America)
- SM-G900L (Korea)
- SM-G900I (Oceania)
- SM-G900H (International Exynos)
- SM-G900F (International Qualcomm)
Firstly, you have the choice of using CWM, Clockwork Mod Recovery, made by Koushik Dutta or TWRP and open source alternative by the WinRecovery Projekt. Both do the same things, you can install ROMs, backup and restore your phone, install mods, and wipe your phone.
In my opion TWRP is a bit better, as it has more options.
If you want TWRP download GooMangaer and tap Install OpenRecovery Script in the menu.
If you want CWM install RomManager.
If you somehow can’t get the official version of CWM download it here on xda.