yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S 4] Slicktune:
Im sorry if this is a stupid question but I managed to get out of being bricked and now I want to flash a custom ROM using this recovery, stock recovery can I do that?

---------- Post added at 02:21 AM ---------- Previous post was at 01:35 AM ----------

Im currently in bootloop (google edition rom 4.4.2) with the stock recovery....
[T-Mobile Samsung Galaxy S 4] Nickdroid86:
I am using this on my m919n and it isn't working... I follow the instructions perfectly, Odin recognizes, it installs, reboots, shows the red android, says installing SU and restoring recover then reboot in 10 seconds, all seems fine. However, my phone is still not rooted?????

---------- Post added at 09:58 PM ---------- Previous post was at 09:26 PM ----------

I went and used odin to install TWRP, rebooted into recover, and it didn't ask to install SU, still no root.....
[T-Mobile Samsung Galaxy S 4] LoopDoGG79:
You have to flash the SU file to obtain root, or flash a custom ROM that has root built in.

Sent from my Motorola DynaTAC running Lollipop
[T-Mobile Samsung Galaxy S 4] dusthead:
Hey, this is my first time attempting to root the S4. I've rooted a few other devices in the past. I'm using a docking station inbetween the PC and the phone...which may be it.

I downloaded the latest CF-Auto-Root package with Odin. Followed the instructions to the T but once I get to the "Press Start" I get no actions. Odin shows "<OSM> All threads completed (succeed 0/failed 0)". MD5 check was successful on the tar, Re-partition is not checked...instructions didn't have this possibility explained so I'm posting. Phone says:

ODIN MODE

PRODUCT NAME: SGH-M919

CURRENT BINARY: Samsung Official

SYSTEM STATUS: Official

KNOX KERNEL LOCK: 0x0

KNOX WARRANTY VOID: 0x0

CSB-CONFIG-LSB: 0x30

WRITE PROTECTION: Enable

eMMC BURST MODE enabled

I tried again running Odin as administrator, no change, nothing comes up in the "ID:COM" boxes, and all the options are gray until I click start and it stops - they become available to edit.

Anyone have the step I'm missing? Thanks in advance. Just trying to get root and keep everything else stock.

UPDATE: Realized that since updating to KitKat I hadn't enabled Developer Mode yet. Just did that and allowed Debugging...still the same issue, no change to ID:COM either. Installed ADT, seems to have installed a driver I was missing, got the alert on my phone authorizing my pc, checked adb and shows it's connected and authorized now (previously was "unauthorized", now "device"). No change in Odin indications....
[T-Mobile Samsung Galaxy S 4] FreezIn:
I had this problem too. It was because my computer doesnt have the drivers or whatsoever for download mode. So i plugged my phone to the back of my computer and my computer was starting installing drivers for it. After that i just unplugged my phone and recconnected it and restarted odin and everything worked fine.
[T-Mobile Samsung Galaxy S 4] Shaftamle:
Any type of flash on 4.4.2 trips the Knox counter. So if you root 4.4.2, root may work but your warrenty is gone. Unless I'm missing something, once you ota to KitKat, there is no flash, root or reverting back without tripping Knox.

http://omegadroid.co/wanted-knox-void-warranty-0x1/

Sent from a Shaftamle Galaxy S4

"Thanks Button" is always appreciated!

http://mycolorscreen.com/Shaftamle/
[T-Mobile Samsung Galaxy S 4] chispas109:
Can i root using mobile odin instead of computer?
[T-Mobile Samsung Galaxy S 4] Thibor69:
Hi -

I am in need of some help

PLEASE

. I have used ODIN many times befor but recently lost my G4. Today I received a replacement Samsung Galaxy S4 T-Mobile SGH-M919, and want to root it. Well I can not get it done. I have followed the instruction to the "T"

What happens is when I click on start in Odin,

it runs a bit then says FAILED

.

Please look at attached photo's bellow

. Again I am doing exactly what it tell's me to do in the instructions. I have tried re-downloading the the file and still get the FAILED sign. And now it seems I can not even boot to any OS at all. I can only boot to into download mood. ( There is is no recovery installed yet )

PLEASE HELP ME .... THANK YOU

.
[T-Mobile Samsung Galaxy S 4] aaldiar:
You can use your pc to get back an OS with Kies. Once you do that make sure the drivers are installed properly. If that doesn't work report back.
[T-Mobile Samsung Galaxy S 4] JaysonDroid:
Edit: Disregard this. Wrong thread.
[T-Mobile Samsung Galaxy S 4] revized:
i rooted my s4 4.3 from metropcs just fine although my girls is still 4.2 and it gets stuck on recovery.img and with odin 3.1.85 is goes further as far as just showing it fails every time, after i flashed a tmo rom to 4.4 i tried to use kies to restore my contacts although kies says it needs to update to version 3 to be compatible with my device now.lol although it fails saying i dont have xp sp3 , i got xp 64bit sp2 and micro$oft is dead now, although i could use my lame windows spieight but its so sorry.lol

anyways steering away from my ramblings now.

it ended up being the usb cable , i never thought it was true what they said about some usb cables being the problem !
[T-Mobile Samsung Galaxy S 4] Dirtylarry11:
How to ROOT after 4.4.4 update???

Hey all, I am trying to root my tmobile galaxy s4, I have the latest 4.4.4 installed OTA a few days ago, when I use ODIN 3.07 and direct it to the .tar cf-root file, it gives me an error about NO PIT FILE, I don't understand what this means...I have scoured the internet and can't find an answer, I have tried different versions of Odin as well, and I have the latest windows 7 drivers for the phone...I need some help here..maybe I need to download a pit file??? I searched and cant find one for the 4.4.4 firmware, I also have the latest Sammy firmware file if I need. Thanks in advance!
[T-Mobile Samsung Galaxy S 4] det0xx:
try to redownload and extract the files correctly . You probably had a bad download . make sure you download this -> http://download.chainfire.eu/328/CF-Root/CF-Auto-Root/CF-Auto-Root-jfltetmo-jfltetmo-sghm919.zip
[T-Mobile Samsung Galaxy S 4] darklime:
EDIT: I just downloaded a md5 file and that fixed everything.

I followed the steps correctly and even tried it a second time with unticking "auto reboot" and my device is still not rooted. I have Super SU but every time I open it I get this error:

"There is no SU binary installed, and SuperSU cannot install it. This is a problem!"

What do I do in this situation? Basically I'm running stock firmware and I want to use TriangleAway and pretty much remove the binary count and then root access to go full stock because I want to sell this phone soon.
[T-Mobile Samsung Galaxy S 4] poudigne:
I have a Canadian version of sgh-m919v, do i download the Canadian version or the m919 version?
[T-Mobile Samsung Galaxy S 4] xperia_88:
Root Stock firmwares M919 NK2 4.4.4

Does the "CF-Auto-Root" for Stock firmwares M919

NH7

4.4.4 root Stock firmwares M919

NK2

4.4.4 too ?

Edit: Yes it does! :)
[T-Mobile Samsung Galaxy S 4] gsuh54:
did you do anything special? I just upgraded to nk2, but cf auto root doesn't work.

update: twrp 2.8.3 wasn't loading supersu. Used twrp 2.8.0 and root works fine now.
[T-Mobile Samsung Galaxy S 4] Guatiao:
Oh please please confirm this is correct info for the FNK2 4.4.4 version
[T-Mobile Samsung Galaxy S 4] mrbmg:
I rooted nk2 with this. It still works.
[T-Mobile Samsung Galaxy S 4] kurplop:
Windows dropped my driver mid flash. so they are no longer talking to each other. ?
[T-Mobile Samsung Galaxy S 4] abikerider:
Boot Loop

I am in a boot loop after using CF Autoroot. The phone originally had UVUAMDL (4.2.2)firmware on it. I've tried wiping and factory reset in TWRP with no improvement. I am now trying to unroot to stock 4.2.2 firmware but it fails and puts me into a soft brick mode. My question is, does CF Autoroot change the firmware to a newer version so that I cannot revert back to UVUAMDL? If so, what firmware version can I unroot to? I am downloading 4.3 from Sammobile now. Should I instead unroot to the latest 4.4.4 firmware? Thanks.

Update: I tried using 4.3 firmware and was unsuccessful. I was successful in unrooting after using the 4.4.2 firmware. I must have ended up with the newer bootloader but I'm not sure how. Oh well.
[T-Mobile Samsung Galaxy S 4] supazonique:
I remember I had to downgrade my kernel in order for this to work, I'm wondering now I'm on nk2 and it won't root, missing binary. Any thoughts
[T-Mobile Samsung Galaxy S 4] underscorenorm:
Just flashed cf auto root with 4.2.2-

Kept getting "No PIT file" or something to that effect. Changed to one of my USB 3.0 ports on my pc and it went off without a hitch.
[T-Mobile Samsung Galaxy S 4] mrdreamers:
i just tried this works great again TY again ;)
[T-Mobile Samsung Galaxy S 4] kendoka15:
Any chance of this working on Lollipop?
[T-Mobile Samsung Galaxy S 4] Guatiao:
Thanks Chainfire for this great and simple method for the S4. I finally rooted today, and notice Titanium Backup asks for SuperSU Pro in order to gain root access. Is other SU utility/app needed for this besides the Pro version of Super SU in order to have TB working? My S2 did not ask for it if I recall correctly.

Thanks!

UPDATE - installing BusyBox fixed this, thanks anyway!
[T-Mobile Samsung Galaxy S 4] srivkin78:
Hey guys. Late to the game but looking to root my Tmobile SGS4 and a lot of the methods are old and the links don't work. Looking for current info/links to download tools on rooting to make sure i don't brick.

Tmobile SGS4 M919

Android V 4.4.4

Baseband M919UVUFNK2

Kernel V. 3.4.0-2437203

Build KTU84p.M919UVUFNK2

Update: I found everything needed: Just to verify it seemed to work no problems. Did it thing, booted right back up.
[T-Mobile Samsung Galaxy S 4] mondohow:
Which links are you trying? The links in the first post of this thread still work.
[T-Mobile Samsung Galaxy S 4] jet2k:
I can confirm this works on T-Mobile S4 M919 Android 4.4.4/m919UVUFNK2

Thanks Chainfire . Ridiculously easy as usual.
[T-Mobile Samsung Galaxy S 4] TidusWulf:
Can't get Odin to show my device. The 3.07 that came packaged in the zip file

Download Kies 3.0, downloaded CF-Auto-Root-jfltetmo-jfltetmo-sghm919.zip and extracted, I'm in download mode on my phone, but nothing. Factory reset just a few hours ago before starting this, too. Just got this phone today. Stock unrooted. Tried with an HTC cable and an OEM Samsung cable from my wife's Note 4, plugged directly into the back of my computer.

Kies doesn't connect to this phone either. x_x

EDIT: seems to have worked. just had to reinstall drivers using Kies :D
[T-Mobile Samsung Galaxy S 4] duckredbeard:
I know someone who is having issues with their TMo GS4. It is Baseband M919UVUFOH3 running 4.4.4. He wants to root it and install TWRP. Can CF Auto Root root this device and can Odin install TWRP?
[T-Mobile Samsung Galaxy S 4] Yousvel:
It's easy as pie. All you have to do is this:

-Flash twrp via odin with auto reboot unckecked

-Pull off your battery

-Reboot into recovery mode and flash and flash SU zip then flash any other rom you want
[T-Mobile Samsung Galaxy S 4] xtil:
Are the 2 files in the odin download? My phone is SGH-M919, my carrier is PTEL and not TMobile, does this matter?

I am not rooted. I am new to the phone and it has started popping up a message: unable to detect SIM card-restart. I need to get rid of some of the preinstalled software. Thanks.
[T-Mobile Samsung Galaxy S 4] cbr69er:
Has anybody tried this root method on a Wind Mobile M919V with lollipop 5.0.1?
[T-Mobile Samsung Galaxy S 4] iviyth0s:
Does this work on a stock OK3 rom??
[T-Mobile Samsung Galaxy S 4] xdm9mm:
yup, i just tried on my new one, and it works like a charm.
[T-Mobile Samsung Galaxy S 4] iviyth0s:
Excellent, thanks!
[T-Mobile Samsung Galaxy S 4] Karelliann:
Has anyone tried this on a SGH-M1919V?

Android V 5.0.1

Baseband M919VVLUGOH1

Kernel V. 3.4.0-4508315

Build LRX22C.M919VVLUGOH1
[T-Mobile Samsung Galaxy S 4] Icpebbles:
Hey guys, I ran this on my girlfriends phone and when i ran superuser it said it was disabling KNOX but it got stuck on the disabling screen. Any ideas?
[T-Mobile Samsung Galaxy S 4] supazonique:
Home button then kill all apps then open SU again and it'll do the process again but it should go through fine the 2nd time
[T-Mobile Samsung Galaxy S 4] thedillybar:
Works on OK3

Works on OK3
[T-Mobile Samsung Galaxy S 4] hereforanswers:
Has anyone tried this on a SGH-M919V?

Android V 5.0.1

Baseband M919VVLUGOH1

Kernel V. 3.4.0-4508315

Build LRX22C.M919VVLUGOH1

I cant find if the m919 tar.md5 file will work for this device, Dont wanna brick the device by trying Cf auto root without knowing. :/
[T-Mobile Samsung Galaxy S 4] technosapien:
Anyone know if this works on QA1?
[T-Mobile Samsung Galaxy S 4] jerryspring:
Root

Why use autoroot? Isn't the bootloader already unlocked?
[T-Mobile Samsung Galaxy S 4] jerryspring:
Hey

Can't we just flash TWRP since bootloader is already unlocked?

---------- Post added at 01:04 PM ---------- Previous post was at 01:00 PM ----------

Sorry for double post. My net froze
[T-Mobile Samsung Galaxy S 4] LittleGreenMartian:
Your software package breaks Samsung's Knox functionality on my Samsung S4 SGH-M919.. I'm not sure I like that.
[T-Mobile Samsung Galaxy S 4] seekingbuddha:
I have a UVSFQA1 baseband too, and want to try this. What was your experience trying CF-auto-root ? Magisk is not an option for me because it requires Android 5 or higher (as of now).
[T-Mobile Samsung Galaxy S 4] Teracotta:
I downloaded this but notice it was updated in May 2017 to use the non-Chainfire superSU

This is no longer trustworthy, and no different from using KingoRoot (which steals your IMEI). Find another method to ROOT.
[T-Mobile Samsung Galaxy S 4] uttamd774@gmail.com:
Root mobile
[T-Mobile Samsung Galaxy S 4] anonymouseuser:
So is this unsafe now? Any other way to root my SGH-M919?
[T-Mobile Samsung Galaxy S 4] sorphin:
The point we're at now anyways, is that the author will have to update TriangleAway to work with the S4. I'm stock/rooted, and it doesn't work for me or for others. Plain and simple.
[T-Mobile Samsung Galaxy S 4] NuShrike:
Root is back on stock firmware, yay!

Device status is custom

WiFi works fine.

Binary status is: official

Flash counter is: 1

After Triangle Away:

Device status is still custom

Flash counter is: 0
[T-Mobile Samsung Galaxy S 4] EasyE75:
Everything work like a charm.
[T-Mobile Samsung Galaxy S 4] bbobarino:
Awesome sticky this thread mods
[T-Mobile Samsung Galaxy S 4] jasonftfw:
no issues with my wifi on my end.
[T-Mobile Samsung Galaxy S 4] anguyen120:
Just to make sure I understand, we can't flash ROMs even though we have a custom recovery because it only works in stock?
[T-Mobile Samsung Galaxy S 4] sorphin:
On a Galaxy S4? (that's what this particular thread is for)
[T-Mobile Samsung Galaxy S 4] EasyE75:
Yeah of course s4 from tmobile aka sgh-m919. Anyrhing else you need to know?
[T-Mobile Samsung Galaxy S 4] devsk:
Just rooted my S4 using this method. After Triangle-away, I am still showing as "custom", although the binary is shown as "Samsung Official" in Download mode.
[T-Mobile Samsung Galaxy S 4] blader0109:
OTA Updates

Quick question, if i use this to root my phone but keep everything stock (rom kernel, etc) will my phone still receive factory updates or would i have to unroot each time i want to update my phone?

thanks in advance guys
[T-Mobile Samsung Galaxy S 4] anguyen120:
Can we flash other ROMs using a custom recovery and still maintain root with this?
[T-Mobile Samsung Galaxy S 4] glensta:
Does Mobile Odin work to flash firmware with the tmobile sgh-m919?
[T-Mobile Samsung Galaxy S 4] dragon-son:
No not yet. I have pro version that I bought thinking it would. Was wrong, but I'm sure support for our device will be added. I added a dump file and requested support to be added in the odin thread located here. Even if support isn't added, I'm still happy to have bought the pro version to support Chainfire for everything he does for the community.
[T-Mobile Samsung Galaxy S 4] 10cheesecakes:
Ok Im a little confused, I have the WIND version of the the phone, and the model number is SGH-M919V, which is the same as this but with the V. I came across this thread

http://xdaforums.com/showthread.php?t=2293800

and one of the senior members said to NOT use the TMO version and use the sgh-i337m version from that thread...??? Which do I use for WIND versions?
[T-Mobile Samsung Galaxy S 4] Orical:
It all depends on the partition it's flashing too, if yours is a different location than mine then you could end up with a very expensive paper weight.

Never go with relavence when it comes to devices you need to know the actual partition even if the version number is as close as it is.
[T-Mobile Samsung Galaxy S 4] 10cheesecakes:
Mmkay, how do I go about comparing, or finding the partitions? Is that the storage area where everything is stored?
[T-Mobile Samsung Galaxy S 4] Orical:
You kinda gotta know what your looking at but you pull the partitions through adb and map out what's what from there. I believe there are 34 in total but like I said you need to be able to know what each is.

Someone mapped out what each is on our device, compare the sizes between them and see if it's even close virtual may want to send them to someone that knows what they are to be sure.
[T-Mobile Samsung Galaxy S 4] :
Use Heimdall v1.4 to pull the PIT on your device. then go to the utility tab in Heimdall and print PIT info. then compare it to ours. here is the info for the M919:

http://www.mediafire.com/view/gj76815kbx7a183/M919_PIT_info.txt

You can download Hemdall v1.4 here:

http://www.mediafire.com/download/eib6d9sbjgi2p73/Heimdall_1.4.7z

EDIT:

If you follow through with this and print your PIT info.. please post it here? Could be interesting to see the difference if any.
[T-Mobile Samsung Galaxy S 4] dragon-son:
To go with what Orical said, a list of the partitions for the T-Mobile variant SGH-M919 can be found here as well. I don't have any idea if you're variant is the same, but should give you a better idea of where and what you're looking for.
[T-Mobile Samsung Galaxy S 4] Charlie Brown:
Thanks Chainfire. All these years on XDA and all you have offered! You rule! This should be stickied, please Kennyglass.
[T-Mobile Samsung Galaxy S 4] Orical:
Thanks, I knew I saw that post somewhere but I was on the road at the time.
[T-Mobile Samsung Galaxy S 4] 10cheesecakes:
Here is the PIT file from my WIND variant SGS4.
[T-Mobile Samsung Galaxy S 4] TheArtiszan:
Sorry I was looking and didn't see and sorry for the n00b question if this has been answered.

But I just got my device and it has M919UVUAMDL already on it, does this work for the new verision or like the other tool does it need to older one?

And does it restore the new or old recovery?
[T-Mobile Samsung Galaxy S 4] sorphin:
Updated to the new Triangle Away... Still shows 'custom' in the 'About Phone' -> 'Status'.. Triangle Away app says 0 and official, bootloader says the same. Still stock kernel/firmware. Again, nothing was changed on this phone except for running CF-Auto-Root.
[T-Mobile Samsung Galaxy S 4] elesbb:
Worked GREAT for me. Must be doing something wrong. Proof.
[T-Mobile Samsung Galaxy S 4] dragon-son:
Yep this works with the MDL (newer) confirmed by dizchinorichie, and MDB (older) confirmed by me.
[T-Mobile Samsung Galaxy S 4] sorphin:
My bootloader displays 0 just like your "confirmed" pic. My About the phone still says custom. where's your successful pic of that? show me that and I'll agree that something is missing.
[T-Mobile Samsung Galaxy S 4] elesbb:
If you look at the pic, it says "system status" as official. That would be the ROM. after you use triangle away, you need to Odin back the Stock Tar to reset the /system partition as how it was when you bought it. after that, it should read system status as official. And i don't have the device anymore as ive since gone to T-Mobile and exchanged it as there was something wrong with that one.
[T-Mobile Samsung Galaxy S 4] ferlogan:
Hi guys have a question I was rooted before now I have a stock rom that I flash whit odin everything because I wanted to ho back to stock and have the new ota update but when im tryng to update the phone it says this on the picture can't update . My question is is this method really going to work for me I do want to go back to stock please I need help guys thanks
[T-Mobile Samsung Galaxy S 4] ferlogan:
So it means that you can still do the ota update if this is the case I will try this method please confirm thanks
[T-Mobile Samsung Galaxy S 4] 10cheesecakes:
So has anyone taken a look at the WIND variant PIT yet?
[T-Mobile Samsung Galaxy S 4] 10cheesecakes:
Anyone???
[T-Mobile Samsung Galaxy S 4] :
chainfire youre the best :highfive:
[T-Mobile Samsung Galaxy S 4] sdmark:
does this method wipe the data? His webpage states "Warning: If your device storage is encrypted, using CF-Auto-Root will wipe your data !" wasn't sure if our storage is encrypted.
[T-Mobile Samsung Galaxy S 4] mike216:
No just root
[T-Mobile Samsung Galaxy S 4] mchstream:
excellent

took me 29 seconds on my new s4.

thank you.
[T-Mobile Samsung Galaxy S 4] mike216:
I do the same my friend. :) researching root methods before I even is own the device. I absolutely knew without question I was getting a galaxy S4
[T-Mobile Samsung Galaxy S 4] dragon-son:
I've looked, but I'm no dev. So really not sure what I'm looking at.
[T-Mobile Samsung Galaxy S 4] RazoE:
I think I'm the only one that achieved root by installing TWRP and then having it install superuser.
[T-Mobile Samsung Galaxy S 4] NuShrike:
The win from this way is that it is OTA compatible.
[T-Mobile Samsung Galaxy S 4] Skipjacks:
Meaning that you need to do Chainfire's Auto Root method if you have the OTA update? Unless you want to walk through all the steps manually using the Mattlgroff method of course.

And then you need to still Odin flash a recovery separately to have a working recovery, right? (Or use the CWM app to let it install CWM recovery once you have root obtained)

Auto Root will leave you with a rooted Stock Rom but no recovery, correct?
[T-Mobile Samsung Galaxy S 4] lalec:
That is correct. CF-Auto-Root will leave you with a completely stock recovery and binary but with superuser/root privileges.If you plan to flash custom ROMs and need a custom recovery then you would need to install CWM or TWRP.
[T-Mobile Samsung Galaxy S 4] 10cheesecakes:
YAY. Ok guys, the M919 is a confirmed gogo for the WIND variants. Works like a charm. Thank you, muchas gracias Senior.

---------- Post added at 02:20 AM ---------- Previous post was at 02:18 AM ----------

OK, with the CF-AutoRoot now, CAN we install custom recoveries, like ClockworkMod?
[T-Mobile Samsung Galaxy S 4] Skipjacks:
Well not WITH it, it after it. Once you are rooted you can do anything

Sent from your phone. You should be careful where you leave that thing.
[T-Mobile Samsung Galaxy S 4] skaroger867:
Thanks! Took me a lot more than 30 seconds....had to install windows first :p now back in ubuntu
[T-Mobile Samsung Galaxy S 4] Wingzfly:
I've tried doing this twice, going through every single step and it seems to have worked (get the red Android, I get the green okay from Odin, etc.) but when the phone reboots back, I can't actually use any root apps. (Tried Root Explorer, Clockworkmod, Titanium Backup, etc. Those apps will open (they normally kick you out saying you don't have root if you aren't rooted) but they'll hang when trying to do anything that requires root (like loading the app list in Titanium Backup or trying to flash CWM Recovery in Rom Manager.) Google Wallet won't work and neither will the OTA update Samsung checker. So it seems like the phone thinks I'm rooted (and I most likely am) but somehow I can't use root permissions.

Does that make any sense? I was trying to be clear.

Anyone have any suggestions or an idea as to how I can fix it? Like I said, I've gone through the entire process again after I found it was doing this the first time and a second attempt didn't make a difference.

Thanks so much for your time and help. I appreciate it, guys!
[T-Mobile Samsung Galaxy S 4] fezzik77:
Is something wrong with the website. I can't download the auto root file.