How to Install TWRP Recovery Using Odin
In this article
Installing TWRP (Team Win Recovery Project) on a Samsung device using Odin replaces the stock recovery with a custom one, letting you flash custom ROMs, create full backups, and wipe data more thoroughly. This guide covers the exact steps for Windows PCs. Before starting, you must unlock the bootloader (if your device requires it), enable Developer Options and OEM unlocking, and back up your data—the process wipes your device. You also need the correct TWRP image file for your exact model, the Odin flashing tool, and Samsung USB drivers.
What You'll Need
- A Windows PC (Odin does not run on macOS or Linux natively).
- The Odin flashing tool (latest version, e.g., Odin 3.14.x).
- The TWRP image file (
.taror.tar.md5) for your exact Samsung model—download from the official TWRP site or a trusted XDA thread. - Samsung USB drivers installed on your PC.
- A USB cable (preferably the original one).
- Your phone's battery charged to at least 70%.
- Backup of all personal data—this process wipes the phone.
Step-by-Step
- Enable Developer Options and OEM unlocking. On your phone, go to Settings > About Phone and tap Build Number seven times. Then go to Settings > Developer Options and enable OEM Unlocking (if available) and USB Debugging.
- Back up your data. Use Samsung Smart Switch or manually copy files to your PC. This process will erase everything.
- Power off the phone. Press and hold the power button, then tap Power Off.
- Boot into Download Mode. With the phone off, press and hold Volume Down + Home + Power simultaneously (for devices with a home button) or Volume Down + Power (for newer models). When the warning screen appears, press Volume Up to continue.
- Open Odin on your PC. Extract the Odin zip file and run
Odin3.exeas administrator (right-click > Run as administrator). - Connect your phone to the PC. Use a USB cable. Wait until Odin shows a blue or yellow box in the ID:COM section, indicating the device is detected. If not, reinstall drivers or try a different USB port.
- Add the TWRP file to Odin. Click the AP (or PDA) button and select the TWRP
.tarfile you downloaded. Do not touch other buttons like BL, CP, or CSC. - Disable auto-reboot (optional but recommended). In Odin, uncheck Auto Reboot and F. Reset Time (if present). This lets you boot directly into recovery after flashing to avoid the stock recovery overwriting TWRP.
- Start the flash. Click the Start button. The process takes a few seconds to a minute. You'll see a green PASS message when done.
- Boot into TWRP immediately. If you disabled auto-reboot, manually reboot: press and hold Volume Down + Home + Power to go back to Download Mode, then immediately press and hold Volume Up + Home + Power to boot into recovery. If you left auto-reboot on, the phone will reboot normally—you must quickly press and hold the recovery key combo as soon as the screen turns off.
- Allow system modifications (first boot). TWRP will ask to keep system read-only. Swipe to allow modifications—this prevents the stock recovery from being restored.
Common Mistakes
- Wrong TWRP file: Flashing a TWRP image meant for a different model can brick your device. Double-check your exact model number (e.g., SM-G975F) and download the matching file.
- Using the wrong Odin button: Placing the TWRP file in the BL or CSC slot can cause boot loops. Always use AP.
- Skipping OEM Unlock: On many Samsung devices, failing to enable OEM Unlock in Developer Options will cause the flash to fail or the device to bootloop.
- Letting the phone reboot normally after flashing: Samsung's stock recovery can overwrite TWRP on the first boot. Always boot directly into TWRP after flashing.
- Using a USB hub or faulty cable: Odin may lose connection mid-flash, corrupting the recovery. Use a direct USB port and a known-good cable.
Tips
- Keep a backup of your stock recovery image (
recovery.img) in case you ever need to restore it for warranty or OTA updates. - After TWRP is installed, create a full Nandroid backup (System, Data, Boot) before flashing any custom ROM.
- Use the latest Odin version; older versions may not support newer Samsung devices.
- If your device has a locked bootloader (e.g., US Snapdragon models), TWRP may not be installable—check your model's compatibility first.
- Disable Windows driver signature enforcement if Odin fails to recognize your device on Windows 10/11.
Troubleshooting
Odin does not detect the phone: Reinstall Samsung USB drivers, try a different USB port (preferably USB 2.0), and ensure the phone is in Download Mode. Restart both the PC and phone.
Flash fails with a red message: The most common cause is a mismatched TWRP file or a locked bootloader. Verify the model number and re-download the TWRP file. If your device is carrier-locked, you may need to unlock it first.
Phone boots into a boot loop after flashing: This usually means the bootloader is still locked or the wrong TWRP was flashed. Reboot into Download Mode and flash the stock firmware using Odin (with the AP slot containing the stock firmware) to restore the device, then retry with the correct TWRP.
TWRP is replaced by stock recovery after reboot: This happens if you let the phone boot normally before entering recovery. Reflash TWRP, and this time boot directly into recovery immediately after flashing.
Phone boots into recovery but touch screen doesn't work: This can happen if the TWRP version is incompatible. Try an older or newer TWRP build for your device.
If all else fails: Search XDA Developers forums for your exact model—users often post specific fixes and compatible TWRP builds.
Frequently Asked Questions
Will installing TWRP void my warranty?
Yes, flashing custom recovery typically voids the manufacturer's warranty. You can restore the stock recovery and firmware to regain warranty status, but the Knox counter may be permanently tripped on Samsung devices.
Do I need to root my phone before installing TWRP?
No, TWRP is installed independently of root. However, TWRP can be used to flash a root package like Magisk afterward.
Can I install TWRP without a PC?
On some devices, you can use an app like Flashify or a custom kernel, but Odin is the most reliable method for Samsung devices. Without a PC, you'd need root access and an existing custom recovery, which is a chicken-and-egg problem.
Will installing TWRP wipe my data?
The flashing process itself does not wipe data, but the bootloader unlock (required on many devices) will wipe your phone. Also, TWRP may ask you to format data the first time you boot to remove encryption—this wipes everything.
Can I update my phone's firmware after installing TWRP?
You can, but OTA updates may fail or revert TWRP to stock. You'll need to flash the new firmware manually via Odin and then reinstall TWRP.
Is it safe to install TWRP on a Samsung device with a Snapdragon processor?
Many US Snapdragon models have locked bootloaders, making TWRP installation impossible or extremely risky. Check your specific model on XDA before attempting.