yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S 4] katsumeiyo:
hoping this will eventually help someone.

So I got my S4, and i've been using MT4G and G1, so this odin thin is like new to me, we used to type adb commands and pretend we knew what we where doing. anywho. Got the S4 and so eager it to root it, came with MDB [settings > about device> Baseband Version]

So I did this to root it using the following word for word!!

And now I was like damn, there is an update [system> about device> software update] but my device keeps telling me that, "your device has been modified" so update fails.

I go ham on backups,

I do one through kies (download kies software and install. plug device. got to backup, check all backup)..

then I do Titanium Backup, (i'm still rooted remember??) and

Helium (both google drive, dropbox, and sdcard)

now I come to this thread, and i'm like LOOK it says it can make me go back to stock.

I follow the EXACT INSTRUCTIONS HERE using the MDB STOCK tar file

But the dummy that I am, thinks, this will fix My cannot update issue.. but NO it does not.

DO NOT DO THIS

I do a factory reset on my device, because I think i'm smart and maybe some of the files I still have there makes my device, not be able to do an update. FALSE ASSUMPTION. device update fails, both through kies, and through [system > about device> update]

Now I go back to thread I follow the EXACT INSTRUCTIONS HERE using the MDL OFFICIAL tar file

guess what ?? device now doesn't tell me its modified anymore!!!!!!!! :good:

NOW time to root again!! so I follow these instuctions, just shortened from

I've already done EVERYTHING in the first 3 bullet points, so I just complete the last 3.. installation of recovery, installation of custom rooted image.

LAST step.

I now restore all my backups.

DONE! :cool:
[T-Mobile Samsung Galaxy S 4] buckshotfacelift:
NVM. This didn't work either and I can't get the original to work. Guess I'm stuck.
[T-Mobile Samsung Galaxy S 4] oldblue910:
Can someone with a US T-Mobile SGH-M919 on stock M919UVUAMDL please go into their build.prop and tell me the value of ro.build.date.utc? Thanks!
[T-Mobile Samsung Galaxy S 4] wujunho:
Quick question, does root affect the useful apps on the s4 like the tv remote thing? I'm loving the fact I don't have to spend 15 minutes searching for the damn thing anymore!
[T-Mobile Samsung Galaxy S 4] oldblue910:
Anyone?
[T-Mobile Samsung Galaxy S 4] khathaivu:
thank you sir for the good stuffs

i took a bit time but everything works perfectly and smoothly

the phone works normally after rooted.
[T-Mobile Samsung Galaxy S 4] junkiee24:
good stuff!
[T-Mobile Samsung Galaxy S 4] dtokarz:
1366964131
[T-Mobile Samsung Galaxy S 4] oldblue910:
Thank you!
[T-Mobile Samsung Galaxy S 4] dss4me3:
I currently have and S2 rooted and running custom AOKP rom, been thinking about upgrading to the S4 but they are $$$. I found a guy on craigslist selling an S4 for 400 bucks but he advertises that it has a bad IMEI.

If I root the S4, and install my tmobile sim card, will the S4 work even if it has a bad IMEI.:confused:
[T-Mobile Samsung Galaxy S 4] Dugan1017:
Just upgraded from an S2 where I was a flashaholic. It seems like forever ago that I went through the initial rooting process way back when, and I'm feeling a little gun shy about not remembering how to do this again. I notice there are two threads... which of these two is the easier method?
[T-Mobile Samsung Galaxy S 4] pitbull292006:
How do I root my S4 with my mac
[T-Mobile Samsung Galaxy S 4] oldblue910:
You walk away from the Mac and find a PC. ;)
[T-Mobile Samsung Galaxy S 4] Misterjunky:
re: Heimdall for Mac

Heimdall is for Mac and for PC

Here is the link: https://heimdall-one-click.googlecode.com/files/One-Click-Packager2.jar

You can do all your TAR flashing using this just like a simplified Odin would do.

This will flash the stock M919 odin flash roms as well as the odin flash rooting files.

This is a must have for Mac unless your Mac has dual boot to get into windows.

Good luck!
[T-Mobile Samsung Galaxy S 4] Nosferatu.:
Simple question...I just picked up a phone and I'm on a baseband "M919UVUAMDB" which I'm assuming is older than MDL by the lettering order. Is the process the same or different considering?

Do I just root on the older baseband and then go ROM flashing crazy and whatnot?

Should I upgrade to the official update the stock phone wants and then proceed with rooting?

Thanks!

x2 guys!!! I'm not much of a noob with flashing my old S2 or tweaking around with CWM/TWRP but I haven't really played with ADB and ODIN in such a long time.

I don't want to screw this up so which do I go with? Is this file all I load into ODIN to have at it? https://heimdall-one-click.googlecode.com/files/One-Click-Packager2.jar
[T-Mobile Samsung Galaxy S 4] Dugan1017:
I found a very helpful video on galaxys4root.com. The directions were the same as the ones in this thread, but the video and pictures helped me because it's been so long. I flashed recovery with Odin, but couldn't install Superuser because I had that locked down kernel from Tmo. I flashed the unlocked kernel from the first part of this thread to fix the problem and all is well.

One note, I prefer TWRP as my recovery, but it was acting goofy for me and not scrolling correctly, so I went with CWM for now.
[T-Mobile Samsung Galaxy S 4] Nosferatu.:
okay thanks. As I've been reading around I "think" the MDB is the non-locked kernel and I can use Motochopper.

I'm going to do motochopper, install custom recovery (OUDHS) and then I think I'm good to go. I'll Titanium Backup everything and flash a new ROM and hope and pray. I hate doing this for the first time.

I had the jitters with the S2, I had the jitters with the Nexus 7, and now I do with the S4. It's getting over that first flash.
[T-Mobile Samsung Galaxy S 4] Dugan1017:
I hear you...my nerves were frazzled after the Superuser issue with the kernel and with TWRP being goofy. I still haven't flashed a new ROM or kernel yet...I'd be curious to know what you flash and what kind of results you see. At this point, this phone is so much freaking better than my S2, I don't feel the need to improve much, but you know that'll only last so long.
[T-Mobile Samsung Galaxy S 4] Nosferatu.:
does my idea make sense since I'm on MDB (which correct me if I'm wrong the easier base to root on since I just need to do what I outlined below)???

Install drivers/ODIN

Root with motochopper

Install recovery with ODIN

...DONE!!

Unroot...

Use ODIN and flash the 1.6GB M919UVUAMDL_TMB zip file

Correct?

I just want root for a few things at the moment

1.) Titanium Backup

2.) AdAway

3.) Remove Bloatware

4.) Tethering

5.) Nandroid Backups
[T-Mobile Samsung Galaxy S 4] Dugan1017:
That sounds right to me, but I didn't use motochopper myself. It sounds like it would have been easier, but I went with the method I'd used on my old phone.
[T-Mobile Samsung Galaxy S 4] Nosferatu.:
w00t!!!

Root - Success

Recovery Install - Success

Doing Nandroid Backup as we speak.

I love these forums kudos to all!!! :laugh:
[T-Mobile Samsung Galaxy S 4] RonPaul88:
what is seandriod and why does it keep telling me to reboot after I rooted?
[T-Mobile Samsung Galaxy S 4] Nosferatu.:
I'm still learning the device but from what I understand you can freeze that in Titanium Backup with no ill effects and it'll go away. Someone with more knowledge may be able to help more.
[T-Mobile Samsung Galaxy S 4] junkiee24:
where can you get these apps to install them on a rooted S4? I thought tether/mobile hotspot was a data feature you have to setup with Tmobile? I know i couldnt source a hotspot and Tmobile told me i had to drop to 4.5 gig to enable it (i had 5gigs) and pay the same price.. did they rip me off?
[T-Mobile Samsung Galaxy S 4] levis007:
Thanks !

Thanks for the tutorial and links. Very much appreciated! :good:
[T-Mobile Samsung Galaxy S 4] wujunho:
Thanks so much for your work!
[T-Mobile Samsung Galaxy S 4] R.Suave:
Im now rooted. Yee. Thanks
[T-Mobile Samsung Galaxy S 4] Just Another User:
Rooted successfully, but phone won't connect to PC

I followed the instructions here and rooted my phone.

Flashed CWM with Odin, did battery removal trick

flashed ROOT_M919UVUAMDL.zip

Installed the custom kernel linked in the post.

The good news is the device seems to be working fine (incl wifi), and Rootcheck says it's rooted. The bad news: when I went to load my custom ROM of choice (Wicked) onto my SD card, the phone no longer will connect to my computer.

It doesn't show up in the PC's device manager at all, as if it wasn't even connected (it will charge though). I am on the same PC where I ran Odin (which no longer sees the phone), so I know they can connect and the PC has the right drivers (1.5.14.0). I tried installing Kies as well, and of course the basic stuff (disconnect / reconnect cable, restart device, different cable). Additionally, I enabled developer mode in the phone, but the USB debugging window will not appear.

The SD card is still properly inside the phone (and the phone can access files on it), but I can't connect it to the PC to get the ROM on there. Of course I can try to get the file on the phone another way, but I would like to know if I did something wrong here, if there's a solution I'm overlooking, and perhaps most importantly, if I do flash to Wicked (or another ROM), will I be able to connect again? No connection = no tethering
[T-Mobile Samsung Galaxy S 4] pkl787:
Have you tried plugging it into a different USB port? (Have to ask)

If so, you can try uninstalling the drivers then plugging the phone in to have it try and redetect/reinstall drivers from there. As for getting the ROM on the SD card, if your PC has a SD card slot, you can get an adapter and put the files directly on the SD card before putting it back in your phone. Tethering is still possible with Wifi (but I'm guessing you'd rather not go that route), but unless you have a tethering plan, an app (like FoxFi), or use this mod (http://xdaforums.com/showthread.php?t=2310850) then as far as I know, the Wicked ROM doesn't enable native tethering.
[T-Mobile Samsung Galaxy S 4] Smrkulja:
Can I flash new rom to my M919 with odin?

http://www.sammobile.com/2013/06/06...nts-and-stability-fixes/#.UbBmpmIEbT0.twitter
[T-Mobile Samsung Galaxy S 4] caffeineighted:
Can someone provide some guidance on doing this root on a Mac? I know that "all you have to do is use Heimdall instead of Odin" but alas, I don't know either of these programs, nor do I have an opportunity to read the guide on Heimdall.

Still, I'm going to start trying to read bits of it, but in the meantime, if someone can do a little bullet-point step through of this root on a Mac using Heimdall, I'd give you a pat on the back.
[T-Mobile Samsung Galaxy S 4] Just Another User:
Yes, same result

I gave that a shot just now, but it still didn't work. It seems like the phone isn't even telling the computer it's there, the computer doesn't even detect a device plugged in. I think this is an issue with the custom kernel but I can't be sure.

True, I can get the ROM into the phone, that's not a problem just a little inconvenience (I could also just download it with the phone directly). I'm just trying to find out "is this normal," does rooting with this method eliminate your ability to connect to a PC, is it an issue with the kernel / root file, is it just an issue with the stock ROM interacting with this kernel, or is it my issue (in which case I should try re-rooting). I don't want to work around the problem, I want to solve it, lol. Can you or anyone else with this root / kernel confirm that you can connect to a PC?

By the way I do have full tethering & wifi tethering on my plan, T-mobile includes it with my data plan. But I strongly prefer USB tethering, and also have a desktop without wifi I may need to thether in the event my internet goes out.

Edit: found this post on the kernal thread talking about this issue. After toggling USB debugging and reinstalling the driver again, it can connect now. Thanks for your reply, and thanks to the people who make this great software!
[T-Mobile Samsung Galaxy S 4] F1reDuck:
Worked great for me - only one shot needed - no retries. Thanks for the great job and detail of the OP!!! [Thanks button pressed]
[T-Mobile Samsung Galaxy S 4] glensta:
Unfortunately not. That firmware is for the international Galaxy S4 - The GT-I9505 - details below:

T-Mobile users can only flash firmware for the SGH-M919.

_________________________________________

Now be nice & hit that "Thanks" button
[T-Mobile Samsung Galaxy S 4] caffeineighted:
So I'm trying to do this on a Mac as I have no alternative. I'm stuck on the tar.gz thing though.

Here's exactly what I've done so far, and I've re-downloaded everything so I have fresh files and filenames/extensions just to clear any mucking up I did:

I downloaded this file from this thread as I understand this is the stock firmware necessary to use here.

I unzipped the file, and used 7-zip to extract the tar.md5 which also extracted a .dll.

The tar.md5 file is named: M919UVUAMDL_M919TMBAMDL_M919UVUAMDL_HOME_.tar.md5

I have installed Heimdall version 1.3.1 as the download site claims that version 1.3.2 broke compatability with many devices.

I downloaded the two .jar files which make up the one-click.

If all of this is correct so far, I'm understanding that I need to now feed a tar.gz file to heimdall one-click, however, I don't have any files that end in .gz. Just the tar.md5, which the one-click does not accept.

The button on the one-click literally says, "Select a Heimdall tar.gz for one-click" - So I'm lost there.

I'm reading that the front-end GUI is what would be used to create a tar.gz, but it seems to require downloading the PIT file from your phone, and this is failing now, possibly due to me having installed Kies and now having different kernel extensions that apparently need to be unloaded (no idea how to do that lol).

This is so complicated! Makes me want to go buy a cheap netbook lol

Anyone see the solution here?
[T-Mobile Samsung Galaxy S 4] elesbb:
Im not exactly sure why the OP has such strenuous confusing steps. All one needs to do is flash a recovery of their choice through odin and deselecting F. Reset Time. Then once you are rebooted, and into TouchWiz again, go here download the SuperSU zip installer, place it on your device, boot to recovery, now flash the SuperSU zip. And viola you have root.
[T-Mobile Samsung Galaxy S 4] pkl787:
I rooted this way and I can still connect my phone to my PC. This is also the first that I've heard of the problem, so it probably is your kernel since I don't think anyone else here has tried that kernel yet and theirs seem to still connect too.
[T-Mobile Samsung Galaxy S 4] ImLazyOne:
Thanks

Just got my phone yesterday and already rooted! Thanks
[T-Mobile Samsung Galaxy S 4] Bandaid_nyc:
Root = Very Happy

I dont ever remember getting root so fast lol. Just got rooted (breeze) and got my SuperSU. Thank you!:D
[T-Mobile Samsung Galaxy S 4] yjy1012:
thanks

it does work, thanks a lot
[T-Mobile Samsung Galaxy S 4] bukos:
Thanks works like a charm.
[T-Mobile Samsung Galaxy S 4] nightmare reaper:
if you had a old copy of xp you could use boot camp. that what i did since im some what the phone go to guy in the family and phone pc utilities seem to be only or mostly for winblows(not a typo :) )
[T-Mobile Samsung Galaxy S 4] ceroglu:
Anyone know where to find the stock M919UVUAMDL kernel?
[T-Mobile Samsung Galaxy S 4] teshxx:
http://xdaforums.com/showthread.php?p=41240723
[T-Mobile Samsung Galaxy S 4] ocliffstud:
Followed all the steps except for downloading drivers from kies and this actually worked. Thanks alot, been trying everything and nothing worked.
[T-Mobile Samsung Galaxy S 4] ferganer:
Worked like a charm. Thanks.
[T-Mobile Samsung Galaxy S 4] JustinW3:
Just checking in to say thanks for this. Was putting this off after I heard about the OTA update but decided to do it today. Took less than 2 minutes.

I used OUDHS for anybody wondering.
[T-Mobile Samsung Galaxy S 4] probablecauz69:
pretty straight forward. easier than rooting my amaze 4g
[T-Mobile Samsung Galaxy S 4] blakeslee14:
Thanks to all who helped with this. I got root working in no time. A little more difficult than my old Motorola, but i'm glad i got it working.
[T-Mobile Samsung Galaxy S 4] mononosh:
OUDHS CWM success, no root

I believe I followed the tutorial correctly. I spent about a day reading this thread, Motochopper and Recovery threads before I proceeded.

1. Downloaded and installed OUDHS per OUDHS thread instructions.

2. Verified that OUDHS was installed and accessible.

3. Rebooted into OUDHS and made a backup to Ext SD just in case.

4. Placed ROOT_M919UVUAMDL.zip &m919_rootblockedStock_Boot.img.zip on ext sd card

5. Rebooted into OUDHS and flashed ROOT_M919UVUAMDL.zip. Install of .zip completed successfully. Rebooted.

6. Verified superuser was in apps, downloaded root checker which verified phone was rooted.

7. Rebooted into OUDHS and flashed m919_rootblockedStock_Boot.img.zip, Install completed successfully, Rebooted.

8. Installed a few root apps (Titanium Backup, Droidwall, Root Explorer).

Initially, was prompted for root permissions for both Titanium Backup and Droidwall and everything seemed fine. However, an hour and one restart later and Titanium can no longer obtain permission rights (and the program is listed as allow in superuser app)....

I've seen similar issues discussed previously, but I want to verify: Do I have to restore to a non-OUDHS backup and start the ENTIRE process again? Again I have a solid OUDHS recovery installed, I have booted into it probably 12 times or more with no issue.
[T-Mobile Samsung Galaxy S 4] playya:
I would try and flash SuperSu, the link link is located a few threads up and you can also do a search for it. I would say to try and install the playstore version but if you say you are not getting any SU permission it may not work. I know if SuperSu you can turn off superuser just make sure you may not of done that in error.
[T-Mobile Samsung Galaxy S 4] mononosh:
Thanks for the response. I flashed SuperSU v1.34 from a link a few threads up as your suggested. Appears to have installed correctly this time. Root apps are functioning normally. rooted S4. w00t.
[T-Mobile Samsung Galaxy S 4] richardlibeau:
This was simple just flash cwm using odin then RootM919 zip done
[T-Mobile Samsung Galaxy S 4] jakill:
Does anyone know if I c a n use triangleaway with this root I want to reset flash counter but with the s4 its different. I am using stock n the uvamdl just want to make sure because playing with triangle away bricks phone completely
[T-Mobile Samsung Galaxy S 4] Razzzzer:
Triangle away and this rooot worked fine for me.
[T-Mobile Samsung Galaxy S 4] Crxdc:
Hey everyone maybe i missed it i used the search but maybe i am blind, here is my delima

I downloaded the ROOT_M919UVUAMDL.zip and put in my internal sd card

then i downloaded CWM

I already had odin and I loaded it all up as said and clicked the button ready to rock out with root However I have an error in odin :(

<ID:0/004> File analysis..

<ID:0/004> SetupConnection..

<ID:0/004> Initialzation..

<ID:0/004> Get PIT for mapping..

<ID:0/004> There is no PIT partition.

So I have never seen this error before and I just hope someone can tell me what i'm doing wrong.
[T-Mobile Samsung Galaxy S 4] nhatduongchi:
I had this problem while I rooted my S4, tried to run many times but always endup in the same error. Finally I decided to switch USB port on my PC and that was it. So try to use diff. port ot use diff. PC or laptop . I used to original microUSB wire from Samsung also. I had many microUSB wires over the years but better use the new one or the one you know for sure that it is good. Hope this help.
[T-Mobile Samsung Galaxy S 4] ridobe:
Did you ever find a solution for this? All I want to flash initially is a recovery. It fails to finish flashing every time. By googling the error it has been stated that v1.4 was supposed to fix the compatibility issues. Is it that Heimdall doesn't support the SGS4 yet? I can't imagine that to be the case but I can't get it to work otherwise.
[T-Mobile Samsung Galaxy S 4] ozvisal:
Thank you sir!
[T-Mobile Samsung Galaxy S 4] Biker1:
New to T-Mobile. Thank you for the great tutorial. Everything went perfectly ;)

I installed OUDHS Recovery and Rooted as per the op.

- I'm in my 14 day trial period with Tmo, and giving the S4 a test run.

In a few days I'm going to most likely port over my number from Verizon.

If I keep my S4 Rooted with Custom Recovery, will the Port take?

In ODIN mode, the display says:

- Custom Binary: Custom

- System Status: Custom

Update:

I used Triangle Away (version 3.00) and the above now says Official.

Follow Triangle Away instructions during installation very carefully, as Chainfire is very explicit and spot on with his instructions. Don't press the Power button as per the instructions you see during the install.

In Settings, Device status still says Custom.

Would I just flash the OTA boot.img in the op to get everything back to stock?
[T-Mobile Samsung Galaxy S 4] dungho:
Hi I don't know if you got your answer yet or not, but the reason the stock recovery keep coming back is because of the stock rom. Stock rom will overwrite custom recovery with Android one everytime it boots up. I suggest that you uncheck "auto reboot" in Odin. After the flash is done in Odin, just remove the battery and boot into recovery mode with "power + Volume up"
[T-Mobile Samsung Galaxy S 4] Nirrik:
Thanx for the help!

Sent from my SGH-M919
[T-Mobile Samsung Galaxy S 4] ridobe:
It turns out the general consensus is that Heimdall does not support the SGS4 yet. So, I went to a friends house and accomplished this in 5 minutes.
[T-Mobile Samsung Galaxy S 4] MskdEnigma:
I had this same problem and after flashing stock, rerooting, trying 3 different recoveries and installing a custom rom I couldn't figure out what to do I used TriangleAway (thanks to Dropbox for letting me download APKs and flashable zips) and reset my counter and my problems were solved not sure if I should make this a seperate post or get it stickied by a mod or something but I was wondering if anyone else had the issue repaired the way I described it.
[T-Mobile Samsung Galaxy S 4] caffeineighted:
Yep. I battled and fought my way through this on a Mac for days. I was finally defeated.

Windows in Parallels. :rolleyes:

It was easy, yeah, and I could have done it that way from the beginning. But where's the learning experience in that? Right? lol
[T-Mobile Samsung Galaxy S 4] Kaczman:
Problems with root

I cannot figure this out to save my life.

I flashed CWM Recovery touch, and it is working properly. I am on the MDL OTA update. I Followed these instructions to a T three separate times.

I copied ROOT_M919UVUAMDL.zip to the SD card, flashed it, rebooted. Installed one of the two rooted Zips, no root. Installed superuser, no root

I went back, flashed source-compiled TouchWiz kernel Stock Touchwiz MDB - SetUID Restriction Removed, no root. I cannot get root to safe my life.

Am I missing something here?
[T-Mobile Samsung Galaxy S 4] Biker1:
Maybe the zip got corrupted somehow or a bad flash?

Uninstall the zip,

Download the zip again, check md5 checksum and flash again. Just a suggestion ;)
[T-Mobile Samsung Galaxy S 4] Kaczman:
Thanks for the quick reply. I tried as you said, I uninstalled ROOT_M919UVUAMDL.zip, redownloaded ROOT_M919UVUAMDL.zip, and flashed it. Still no root.

---------- Post added at 05:57 PM ---------- Previous post was at 05:16 PM ----------

Ok... well I tried the information posted here:

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

And I used superSU instead of super user and now all is good. Thanks again
[T-Mobile Samsung Galaxy S 4] Biker1:
Glad you got it working.

Funny thing is that I got rooted without issue from the op, and then I uninstalled superuser and installed superSU because I liked the ui better.
[T-Mobile Samsung Galaxy S 4] leider:
awesome! thanks