Install Custom Recovery on Locked Bootloader Galaxy S5 (AT&T/Verizon)
In this article
Installing a custom recovery (like TWRP) on a Galaxy S5 from AT&T or Verizon is possible, but the bootloader is locked, so you cannot flash it directly with Odin. Instead, you must use a bootloader exploit called SafeStrap, which installs a custom recovery into the stock recovery partition without unlocking the bootloader. This allows you to flash custom ROMs and kernels that are compatible with your locked bootloader. Before starting, back up all important data—this process involves wiping your device. You also need a Windows PC (or a VM), the correct USB drivers, and the right firmware files for your exact model (G900A for AT&T, G900V for Verizon).
What You'll Need
- A Galaxy S5 (AT&T model G900A or Verizon model G900V) with the stock, unmodified firmware (no root, no custom recovery).
- A Windows PC (or a virtual machine running Windows) with a USB port.
- The official Samsung USB drivers for your phone (install them first).
- Odin 3.10.7 or newer (a Windows tool for Samsung flashing).
- The stock firmware for your exact model (can be downloaded from SamMobile or Updato—search for your model number).
- SafeStrap APK (version 3.75 or 4.03, depending on your Android version—5.0 or 5.1.1).
- An SD card (at least 8GB) to store the SafeStrap installer and any ROMs you plan to flash.
Step-by-Step
- Back up everything. This process wipes your phone. Copy photos, contacts, and any files to your PC or cloud. Also, write down your phone number and IMEI (dial *#06#) in case you need them for troubleshooting.
- Install Samsung USB drivers on your PC. If you already have Smart Switch or Kies installed, the drivers are likely present. Otherwise, download from Samsung's website.
- Enable Developer Options and USB Debugging on your phone: Go to Settings > About Phone, tap “Build Number” 7 times. Then go back to Settings > Developer Options, and turn on “USB Debugging”. Also enable “OEM Unlock” if it appears (on some models it doesn't, due to the locked bootloader).
- Download the correct stock firmware for your model (G900A or G900V). You need the exact firmware that matches your current Android version (e.g., Android 5.0 or 5.1.1). If you are on Android 6.0.1, SafeStrap may not work—check XDA forums for your model's compatibility.
- Flash the stock firmware with Odin to ensure your phone is 100% stock and unmodified. This step is crucial because SafeStrap requires a pristine system partition. Power off the phone, then boot into Download Mode (hold Volume Down + Home + Power). Open Odin on your PC, connect the phone via USB, click “AP” and select the firmware file (it ends in .tar.md5). Make sure “Re-Partition” is unchecked, and click “Start”. Wait for a green “PASS” message, then let the phone reboot.
- Set up your phone after the reboot. Skip through the initial setup (you can use a temporary Wi-Fi connection). Make sure the phone is fully booted and stable.
- Install the SafeStrap APK on your phone. Transfer the APK to your SD card, then use a file manager to tap it and install. You may need to allow “Install unknown apps” from your browser or file manager.
- Open the SafeStrap app and grant root access (it will ask for SuperSU or Magisk—if you are not rooted, SafeStrap will prompt you to root first; follow the on-screen instructions). The app will then install the custom recovery into the recovery partition. This does not unlock the bootloader—it replaces the stock recovery temporarily.
- Reboot into SafeStrap recovery: After installation, the app will give you an option to reboot into recovery. Tap it. The phone will reboot into a custom recovery interface (TWRP-based).
- Create a full backup in SafeStrap: Tap “Backup”, select all partitions (System, Data, Boot, etc.), and swipe to back up. Save this to your SD card. This is your safety net if anything goes wrong.
- Wipe the device (optional but recommended for a clean install): Tap “Wipe”, then “Advanced Wipe”, and select Dalvik Cache, System, Data, and Cache. Do NOT wipe Internal Storage unless you want to erase all files.
- Flash a custom ROM that is compatible with your locked bootloader. Look for ROMs specifically labeled “SafeStrap” or “for locked bootloader” on XDA. Download the ROM zip to your SD card, then in SafeStrap tap “Install”, select the zip, and swipe to flash.
- Reboot the phone after flashing. The first boot may take up to 10 minutes. If you ever want to return to stock, you can restore the backup you made in step 10, or flash the stock firmware again via Odin.
Common Mistakes
- Using the wrong firmware: Downloading a firmware for a different model (e.g., G900F instead of G900A) will fail or brick your phone. Always match your exact model number.
- Skipping the stock flash: If your phone has any previous modifications (root, custom ROM), SafeStrap may fail to install or cause bootloops.
- Flashing a ROM meant for unlocked bootloaders: Only flash ROMs that explicitly support SafeStrap or locked bootloaders. Others will not boot.
- Not backing up: If you skip the backup, you might lose all data permanently if a flash goes wrong.
- Using an outdated SafeStrap version: Make sure the SafeStrap version matches your Android version (e.g., 3.75 for Android 5.0, 4.03 for 5.1.1).
Tips
- Always keep a copy of the stock firmware on your PC, so you can recover if needed.
- Use a high-quality USB cable and a direct USB port (not a hub) to avoid Odin failures.
- After flashing a ROM, do not restore app data from a different ROM—it can cause crashes.
- Join the XDA forum thread for your specific model to get the latest SafeStrap-compatible ROMs and troubleshooting help.
- If you ever need to uninstall SafeStrap, simply flash the stock firmware again via Odin—it will overwrite the recovery.
Troubleshooting
Odin fails to flash the stock firmware
Check that the firmware file is not corrupted (re-download), that the USB drivers are installed correctly, and that you are in Download Mode. Try a different USB port or cable. If Odin says “FAIL” with a red message, re-download the firmware and try again.
SafeStrap app crashes or won't install
Make sure your phone is on the exact stock firmware and that you have root access. If you don't have root, SafeStrap cannot install. Root your phone using a method that works for your model (e.g., CF-Auto-Root for G900A/G900V). Then retry.
Phone bootloops after flashing a ROM
Reboot into SafeStrap (hold Volume Up + Home + Power while the phone is off—if that doesn't work, try Volume Down + Home + Power, then select “Recovery”). Restore the backup you made earlier. If you didn't make a backup, flash the stock firmware via Odin to start over.
SafeStrap recovery doesn't appear
After installing the APK, you must reboot into recovery from within the app. If you manually boot into recovery using button combos, you may get the stock recovery. Always use the app's “Reboot to Recovery” option.
Custom ROM won't boot
Make sure the ROM is explicitly for your model and locked bootloader. Check the XDA thread for any additional steps (like flashing a specific kernel). Wipe data/cache again before flashing.
Phone is stuck on Samsung logo
This is usually a bad flash. Boot into SafeStrap (via the app if possible, or try the button combo), wipe data/cache, and reflash the ROM. If that fails, restore your backup or flash stock.
Frequently Asked Questions
Can I install TWRP instead of SafeStrap?
No. TWRP requires an unlocked bootloader, which AT&T and Verizon Galaxy S5 models do not have. SafeStrap is the only custom recovery that works on these locked bootloaders.
Will this void my warranty?
Yes, flashing any custom recovery or ROM voids your Samsung warranty. However, you can restore stock firmware to bring the phone back to a state that may be accepted for warranty claims, but not guaranteed.
Can I go back to stock after installing SafeStrap?
Yes. Simply flash the stock firmware using Odin, which will overwrite the custom recovery and restore the phone to factory condition.
Will this work on the Galaxy S5 Active or other variants?
No. This guide is only for the AT&T (G900A) and Verizon (G900V) standard Galaxy S5. Other variants (like G900F, G900T) have different bootloader policies and may use TWRP instead.
Do I need to root my phone first?
Yes, SafeStrap requires root access to install the recovery. The SafeStrap app will guide you to root if you haven't already.
Is it safe to use SafeStrap on Android 6.0.1?
SafeStrap was designed for Android 5.x. On Android 6.0.1, it may not work correctly. Check XDA for a compatible version or consider staying on Android 5.1.1.