Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Install Custom Recovery on Galaxy S5 (All Variants)

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Installing a custom recovery (like TWRP or ClockworkMod) on your Galaxy S5 lets you flash custom ROMs, make full system backups, and root the device. The process is similar for the International (G900F), Sprint (G900P), and T-Mobile (G900T) models, but the exact recovery file differs. You'll need an unlocked bootloader, USB debugging enabled, and a Windows PC with Odin. This guide walks you through every step safely.

What You'll Need

  • A Windows PC (Odin does not run on Mac or Linux).
  • Odin3 software (latest version, e.g., 3.13.1) – download from a trusted source like XDA Developers.
  • The correct TWRP recovery image (.tar file) for your exact model: twrp-3.x.x-x-klte.img.tar for G900F, twrp-3.x.x-x-kltespr.img.tar for G900P, twrp-3.x.x-x-kltetmo.img.tar for G900T. Get these from the official TWRP site or XDA.
  • Samsung USB drivers installed on your PC.
  • Your Galaxy S5 with at least 50% battery.
  • A USB cable that supports data transfer.

Step-by-Step

  1. Back up your data. Flashing recovery does not wipe your phone, but something can go wrong. Copy photos, contacts, and files to a computer or cloud.
  2. Enable Developer Options. On your phone, go to Settings > About Phone and tap Build Number seven times. You'll see a toast saying "You are now a developer."
  3. Enable USB Debugging. Go to Settings > Developer Options and turn on USB Debugging. Also enable OEM Unlocking if you see it (on some variants, this is required).
  4. Download and extract Odin. Unzip the Odin folder. You should see Odin3.exe and some DLL files.
  5. Download the correct TWRP file. Make sure you pick the file for your exact model. If you flash the wrong one, you may brick your device.
  6. Boot your phone into Download Mode. Turn off the phone. Press and hold Volume Down + Home + Power simultaneously. When the warning screen appears, press Volume Up to continue.
  7. Connect your phone to the PC. Plug in the USB cable. Wait for Windows to install drivers if needed.
  8. Run Odin as Administrator. Right-click Odin3.exe and select Run as administrator.
  9. Verify Odin detects your phone. The ID:COM box in the top-left should turn blue, and a message like "Added!!" appears in the log. If not, reinstall drivers or try a different USB port.
  10. Load the recovery file. In Odin, click the AP (or PDA on older versions) button, and select the TWRP .tar file you downloaded.
  11. Check Odin settings. Make sure Auto Reboot and F. Reset Time are checked. Do NOT check Re-Partition – that will wipe your partitions.
  12. Click Start. The flash will take about 30 seconds. When it finishes, you'll see a green "PASS!" message and the phone will reboot.
  13. Boot into recovery to confirm. Turn off the phone. Press and hold Volume Up + Home + Power. Release when the Samsung logo appears – you should see the TWRP menu.

Common Mistakes

  • Wrong recovery file. Flashing a Sprint file on a T-Mobile phone can cause a bootloop or brick. Triple-check your model number in Settings > About Phone.
  • Odin not detecting the phone. Usually a driver issue. Reinstall Samsung USB drivers, try a different USB port, or use the original Samsung cable.
  • Leaving Re-Partition checked. This can erase your system partition and leave you with a soft-brick. Always leave it unchecked.
  • Not enabling USB Debugging. Odin will still work, but some versions of TWRP require it for ADB access later. Enable it before starting.
  • Interrupting the flash. Do not unplug the cable or force reboot during the process. Wait for the PASS message.

Tips

  • Use a USB 2.0 port on your PC, not a USB 3.0 hub, to avoid connection drops.
  • After flashing, TWRP will ask if you want to keep the system read-only. Choose Keep Read Only if you plan to root later, or Allow Modifications if you want to flash ROMs immediately.
  • Make a full Nandroid backup in TWRP before flashing any ROM. Go to Backup and select all partitions.
  • If your phone reboots into the stock recovery instead of TWRP, reflash the TWRP file but this time uncheck Auto Reboot. After flashing, manually boot into recovery using the key combo.
  • Keep your battery above 50% – a sudden shutdown during flashing can brick the device.

Troubleshooting

Odin says "FAIL!" or "There is no PIT partition"

This often means the wrong recovery file was used or the phone is not in Download Mode correctly. Reboot into Download Mode again, re-download the correct TWRP file, and try a different USB cable/port.

Phone stuck on Samsung logo after flashing

This is a soft-brick. Boot into recovery (Volume Up + Home + Power) and do a Factory Reset (wipe data). If that doesn't work, you'll need to flash stock firmware via Odin. Search for your model's stock firmware on XDA or SamMobile.

TWRP keeps booting to stock recovery

Some devices have a recovery partition that gets overwritten by the system. Reflash TWRP and uncheck Auto Reboot. After flashing, immediately boot into recovery manually.

Phone not recognized by Odin at all

Install the Samsung USB drivers, restart your PC, then try again. Also, try a different USB port and make sure the cable supports data (not just charging).

Frequently Asked Questions

Will this void my warranty?

Yes, flashing a custom recovery generally voids your Samsung warranty. However, you can restore the stock recovery and firmware to get it back.

Can I install custom recovery without a PC?

No, Odin requires a Windows PC. Some apps claim to flash recovery on-device, but they require root and are riskier. Stick with Odin.

Is it safe to use on Sprint or T-Mobile?

Yes, as long as you use the exact TWRP file for your variant. Sprint and T-Mobile models have different partition layouts, so never mix them.

What is the difference between TWRP and CWM?

TWRP has a touch interface and is more user-friendly. CWM is older and uses physical keys. TWRP is recommended for the S5.

Will I lose my data?

No, flashing recovery itself does not wipe data. But if you later do a factory reset in recovery, it will wipe everything. Always back up first.

Can I unroot and go back to stock after this?

Yes, you can flash the stock firmware via Odin (with the AP slot) to restore the phone to factory condition. That will remove TWRP and root.