• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [T-Mobile] [HOW TO] Install TWRP Recovery, Root & Install a ROM

Atma

Extreme Android User
Dec 26, 2011
6,068
2,901
70
North Carolina
This is for the T-Mobile Galaxy S4 SGH-M919 Only!

This will, technically, void your warranty.

TWRP is a great touch recovery. Read more about it.

This is an easy process. Please read it carefully.

If you need drivers to connect your phone to your computer, you can download the drivers here. This is official Samsung_USB_Driver_for_Mobile_Phones_v1.5.14.0

1 - Download the TWRP 2.5.0.2 tar file. Do not extract the files.

2 - Download Odin 3.07 and extract the files

3 - Download CF-Auto-Root and extract the .tar file

4 - Double click the Odin3 v3.07 file to start Odin. Auto Reboot should be selected by default. If not, select it and only select Auto Reboot. Make sure re-partition is not selected.

OdinStart_zpsc6cc75d6.jpg

4 - Power off your phone. Then hold the power button and volume down until you see the warning screen.

download.jpg

5 - Press volume up to get to download mode

Odindownload.jpg

6 - Now connect your phone to the computer. You will see the com port light up when Odin recognizes your phone. Press the PDA button, browse to the CF-Auto-Root .tar file and select it.

OdinPDAStart_zps5ce23d35.jpg


7 - Press Start. Odin will install CF-Auto-Root. When it is finished you will see a green PASS in the top left and your phone will reboot. CF-Auto-Root will then root you.

OdinPass_zps684db74c.jpg

To install your TWRP custom recovery, just repeat the same process but use the TWRP tar. To get to your new recovery, Power off, hold the power button and the up volume. Let go of the buttons when you see the small blue text in the upper left of your screen. TWRP recovery will look like this.

TWRP.jpg

If it still goes to the stock recovery instead of TWRP. Try installing TWRP again with Odin but this time uncheck auto-reboot. When you see the Green Pass and you're sure Odin is done, unplug the USB cable and pull out your battery. Put the battery back in and reboot. You should be able to get to TWRP now.

After you are rooted, go back to TWRP and select backup. Make a nandroid backup of your rooted stock rom. If you ever have a problem after installing a custom rom, or just don't like it, you can restore this backup, or a more recent one you may have made. Do not forget to do this! A nandroid backup may save your life someday and it makes baby kittens smile.

Be warned! Backups on this phone can be very large. Mine was 3.2 gig. Make sure you select your external sd card for the backup location.
 
Now that you're rooted and made a backup .. you did make a backup right? .. you can try installing some roms. First, check the All Things Root Guide to see some of the roms available. Download one you like and put it on your sd card. I'm currently using DarthStalker and like it a lot.

Now boot into TWRP recovery. If you haven't made a backup before, do it now. It could save your life! Now, tap the wipe button. (Please excuse my crappy pics. :D)

TWRPWipe_zps788ea5ec.jpg



Now you will see the wipe menu. Select Advanced Wipe.

TWRPWipeAdvanced_zps5c180d82.jpg




Now select the first 4 options. Dalvik, System, Data & Cache. Then swipe to carry out wiping your choices.

TWRPWipeAdvanced2_zpsa3526d9a.jpg



Now back at the main wipe screen, swipe to factory reset. You have essentially already done this but I just like the extra step and it only takes a few seconds.

TWRPWipeMain_zps830a2a02.jpg



Now go back to the main menu and tap install. Navigate to where you put the rom zip file and select it. Also notice at the top of the menu you can select internal or external storage. After selecting the file, on the next screen 'swipe to confirm flash'.

e3327c74-a204-441c-ac2f-f33743041adf_zps92c82abe.jpg


After the rom is installed, you will see an option to wipe cache/dalvik. Select that and reboot your phone when it is finished.

The first boot may take several minutes. When it boots and gets to the first screen, just let it sit for 5-10 minutes. Then reboot and enjoy your new rom.
 
  • Like
Reactions: jtw1216 and r0b458
Upvote 0
I rooted with TWRP using the method explained in the OP. No, rooting doesn't affect my data speeds.

Thank you! I read the whole post now; I apologize for not reading at first as I thought it was only a recovery. Thank you for being patient and getting back to me.

I have one more question for you: how do I erase the flash count so that I don't void my warranty if I want to send the phone back?
 
Upvote 0
Thank you! I read the whole post now; I apologize for not reading at first as I thought it was only a recovery. Thank you for being patient and getting back to me.

I have one more question for you: how do I erase the flash count so that I don't void my warranty if I want to send the phone back?


No problem. Glad to help if I can.

That's a good question I don't have an answer to. I'm sure some dev will come up with a fix for that soon. I have seen one for the I9505 but not for our Tmo phone yet.
 
  • Like
Reactions: reilus
Upvote 0
Didnt work for me, when i see the blue text all it says is reboot system now, apply update from adb, wipe data/factory reset. and apply update from cash. when i reboot system it says nothing about not having root and never asks to install superuser


Hi Gfv. Sorry, I should have updated this. It doesn't root the same after the update came out. After you installed TWRP, when you go to recovery do you see the TWRP recovery screen?

It will look something like this.

TWRP.jpg


You need to download this kernel. Put it on your sd card. Select Install in TWRP and select that file and install it. You also need to download one of the superuser files in that thread under 'Instructions' and install it the same way.

If you are still going to the stock recovery instead of TWRP. Try installing again with Odin but this time uncheck auto-reboot. When you see the Green Pass and you're sure Odin is done, unplug the USB cable and pull out your battery. Put the battery back in and reboot. You should be able to get to TWRP now.
 
  • Like
Reactions: Gfv355
Upvote 0
You did install drivers didn't you? You might try device manager, find the phone, right click and select update driver. First, try unchecking usb debugging and try connecting, then check usb debugging again and try connecting. Also try rebooting your phone and computer.

You can also download and install Kies. That might help.
Well unchecking usb debugging did the trick ,So a thank you is in order.
 
  • Like
Reactions: Atma
Upvote 0
If my sd card is low on memory might that be the reason

Is possible it would if you don't have enough space to copy the file. I had that message before on my galaxy S2 but it was a bug with CM 10.1 custom ROM. I've never had a problem connecting or copying files with my S4. Have you tried a different USB port or a different cable?
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones