GETDroidTipsGETDroidTips

Trending

How to Install TWRP Recovery on Samsung Galaxy S4 and Root It (All Variants, 2026)

Install official TWRP recovery on the Samsung Galaxy S4 with Odin and root it with Magisk. Full guide with the right download for every variant (i9500, jflte...

Mohammed Huwais

Updated 4 min read

Share

The Samsung Galaxy S4 launched in March 2013 with Android 4.2.2 Jelly Bean and got its last official update to Android 5.0.1 Lollipop. It’s an official TWRP device, so you can install a custom recovery, root it with Magisk and flash custom ROMs that take it well past Samsung’s final update.

This guide shows how to install TWRP on the Galaxy S4 using Odin and root it. The S4 came in many variants, so the most important step is picking the right TWRP file for your exact model, covered in the table below.

Install TWRP recovery and root Samsung Galaxy S4

What is TWRP recovery?

TWRP (Team Win Recovery Project) is an open-source custom recovery for Android. It replaces Samsung’s stock recovery with a touch menu that lets you:

  • Flash custom ROMs, GApps and other zip files
  • Make a full Nandroid backup and restore it later
  • Root the phone with Magisk
  • Wipe the system, data and cache partitions
  • Flash image files to individual partitions

Find your Galaxy S4 variant and download TWRP

The Galaxy S4 has several models with different hardware, and each needs its own TWRP build. Flashing the wrong one can brick the phone. Check your model under Settings, then About phone, then download the matching file. The two most common are the Exynos i9500 and the Qualcomm jflte (i9505/i9507/i9508).

Variant Codename Download
Exynos (I9500) i9500 dl.twrp.me/i9500
Qualcomm (I9505 / I9507 / I9508) jflte dl.twrp.me/jflte
LTE-A (I9506) ks01lte dl.twrp.me/ks01lte
Google Play Edition jgedlte dl.twrp.me/jgedlte
C-Spire jfltespi dl.twrp.me/jfltespi
Value Edition jfvelte dl.twrp.me/jfvelte
S4 Active jactivelte S4 Active TWRP guide
S4 Mini serrano S4 Mini TWRP guide

Advertisement

Download the newest .tar file for your variant, since Odin flashes a .tar, not a .img.

Before you start

  • Use the TWRP file for your exact Galaxy S4 model only.
  • Back up your data.
  • Charge the phone to at least 60%.
  • Install the Samsung USB drivers on your PC.
  • Download Odin (Samsung’s flash tool) from its official XDA thread.
  • Download the latest Magisk if you plan to root.

Note about KNOX

Flashing a custom recovery trips Samsung’s KNOX counter on the Galaxy S4, which permanently voids the warranty and can’t be reset. Flashing also wipes your data and can brick the phone if it goes wrong. GetDroidTips is not responsible for any damage. Do it at your own risk.

How to install TWRP on the Galaxy S4 with Odin

Step 1: Turn on USB debugging and OEM unlock

  1. Go to Settings, then About phone, and tap Build number seven times to turn on Developer options.
  2. Go back to Settings, open Developer options and turn on USB debugging (and OEM unlock if your build shows it).

Enable USB debugging and OEM unlock on Samsung

Step 2: Boot into Download mode

Turn the phone off, then hold Volume Down + Home + Power together. When the warning screen appears, press Volume Up to enter Download mode.

Step 3: Flash TWRP in Odin

  1. Run Odin as administrator on your PC and connect the phone with a USB cable.
  2. When Odin’s ID:COM box turns blue, the phone is detected.
  3. Click the AP button and select the TWRP .tar file for your variant.
  4. Open the Options tab and make sure Re-Partition is unticked. Leave Auto Reboot as it is.
  5. Click Start and wait for the green PASS message.

Odin ID:COM blue sign

Step 4: Boot straight into TWRP

This step matters on the S4: boot directly into recovery before letting Android start, or the stock ROM can replace TWRP. As soon as Odin finishes, unplug the phone, and if it reboots, immediately hold Volume Up + Home + Power until TWRP appears. Before anything else, use Backup to save your current system.

Advertisement

How to root the Galaxy S4 with Magisk

Magisk is the current root method and replaces the old SuperSU, which is no longer updated.

  1. Download the latest Magisk APK and copy it to the phone.
  2. Make a copy of the file and rename the copy’s extension from .apk to .zip.
  3. Boot into TWRP, tap Install, select the Magisk .zip and swipe to flash it.
  4. Tap Reboot System, then install the Magisk APK as a normal app to manage root.

What can you do after rooting?

Frequently asked questions

Which TWRP file do I need?

The one for your exact model. The Exynos I9500 uses the i9500 build and the Qualcomm I9505 uses the jflte build. They aren’t interchangeable, so flashing the wrong one can brick the phone.

Does the Galaxy S4 use Odin or fastboot?

Odin. Samsung phones flash a .tar recovery in Odin’s AP slot, not with fastboot.

Will this void my warranty?

Yes. Flashing a custom recovery trips the KNOX counter on the S4, which can’t be reset.

What can I install after TWRP?

A custom ROM. Our Galaxy S4 custom ROM list covers the options, which reach up to Android 11.

Written by

Mohammed Huwais

I started my career as a blogger in 2014 and also worked on an Android niche platform to gain extra income. I cover the topic on How to guides, software updates, Custom ROM updates and also product review. I'm 24 years old, completed MBA (Master of Business Administration) from Sikkim Manipal University.

Share

Leave a Comment

Share your thoughts, questions, or extra tips with other readers.

Comments are reviewed before appearing on the site.