[HOW TO] [VIDEO]Root the Galaxy S4

jcm707

New member
Feb 3, 2014
4
0
0
hello ok so my phone is rooted from the previous owner and im not sure whats on my phone but basically all my internal sd was full with files he put on. I want to somehow do a full restore and unroot but i did the international and domestic unlock method yesterday. is there a way for me to full restore and not lose the international and domestic unlock then root it myself? thanks guys
 

cadj

Member
Jan 23, 2013
15
0
0
Samsung Galaxy S4
Android 4.3
I dont now if is sprint or not :(

But odin stop in :
Depuration USB is ON

<ID:0/003> Added!!
<OSM> Enter CS for MD5..
<OSM> Check MD5.. Do not unplug the cable..
<OSM> Please wait..
<OSM> CF-Auto-Root-jflte-jfltexx-gti9505.tar.md5 is valid.
<OSM> Checking MD5 finished Sucessfully..
<OSM> Leave CS..
<ID:0/003> Odin v.3 engine (ID:3)..
<ID:0/003> File analysis..
<ID:0/003> SetupConnection..

Any help ?
 

dmt010

Senior Member
Dec 21, 2012
114
73
0
Yeah, the only reply I ever got was "you're rude for questioning the mods" from some socal jerk. But try waiting a couple of months for a freaking update from someone! Come on, not even a tiny "we realize there's a problem & we're working on it". I'm seriously about finished with XDA. The mods have gone crazy & apparently it's much easier for developers to use their own sites instead of this POS.

Sent from my SPH-L720 using xda app-developers app
I waited for several days for a response to my rooting questions and was surprised that there was not one direct reply. I do software development and get frustrated when people don't read instructions and I often let them flounder if they aren't putting forth an effort on their own. But I spent a full day and parts of 3 other days reading these forums, plus I read 80+ books in the last year. No slacker here.

So I went ahead based on the reassuring post from dbenney that this rooting method works and got busy on it. It worked just fine but I thought I would document my experience so that others on the fence will know what to expect.

First of all I just got the Galaxy S4 within the last month. It came with 4.2.2 (MJ9) and the store employee told me to avoid the OTA update which came through on my device as soon as I hooked it up to my home's wifi. He said it was buggy and that 40% of the users who took it have had problems. When I saw the notification for it I held down on the notification, selected App Info from the popup menu and chose to disable further notifications. Based on reading I've done here I do not plan to upgrade to 4.3, I really don't care for the new features beyond 4.2.2. More important, I do not want to be locked in to no backwards compatibility. From all I have read if you update to 4.3 you have no choice but to stay or move forward, no going back. No thank you.

My reason for wanting to root was that I was getting stuck at the Sprint yellow screen on boot. This was before I had even done anything to the phone. I've read that people are getting stuck at the yellow screen and thinking that their rooting activity had something to do with it. I would tend to doubt that rooting is 100% to blame for that because like I said, I had the issue with a brand new phone. I called the Sprint store and they said to do a hard reset which will wipe all my data. Without being rooted I can't use Titanium Backup to restore after a reset so I rooted the phone using the Chainfire method. NOTE: To those wondering if the method has kept up to date, it has. I opened the tar file and saw Jan 10, 2014 mod times on the files it contains so I was sure I hadn't downloaded something old. The links in the docs don't say the file is updated and the dates on the post that contain the links to download the rooting files are mostly from April 2013. Rest assured the rooting methods are updated. All you have to do is open the files you download in 7-Zip and check out the mod times on the files in the zips/tars.

So I rooted, made a backup with Titanium Backup and reset the device. The reset fixed the yellow screen issue. I haven't been stuck on the yellow screen since and I've rebooted at least 25 times since just to convince myself it was resolved. After resetting I re-rooted and restored my backup. The only thing that wasn't restored was my wallpaper, everything else came back perfectly. I recommend using the Snapshot method for restoring files from Titanium Backup. The XML method didn't work as well for me. Titanium Backup will prompt you to make this choice during restore.

You only get the option to disable Knox by going into the SuperSU application. That was mentioned in a previous post. I chose to disable it and it said it disabled it successfully but I'm on 4.2.2 which doesn't come with Knox enabled so I have no idea if it really did or not. Rooting did trip the flash counter but Triangle Away fixed it, however, I'm not convinced that there is a way to get back to unrooted stock without leaving at least some fingerprints. If you are worried about your warranty/Knox capabilities I would not root and would live with plain stock.

I ran into a problem after resetting with the Play store but do not believe it had anything to do with rooting. I kept getting a 920 error saying the download couldn't be completed. I tried a number of things to resolve that but the only thing that worked was going into Applications, finding the Play store app, and uninstalling updates. You can't remove this application but you can tell the phone to uninstall any updates to the app. After that I was able to download again.

After that I moved on to the Wifi hotspot update. I did it exactly as QbKing does in his video where he manually copies the service.* files to the system folder. I rebooted the phone just as it shows in the video and it works like a champ. This was nice because I had already tried and failed to get the Wifi Tethering app I had been using on my Epic 4G to work with the S4.

I also installed the Recovery manager listed in the links and it worked although it appeared to hang the first time going into recovery. I held down the power button to restart the device once or twice and if finally worked. I was probably being impatient on the first try.

The only frustration I have not been able to get past during this process was getting Samba working again. There is another thread from that on XDA so I won't go into a lot of detail about it but the application either doesn't work with 64Gig SD cards, it only will work with FAT filesystems, or some other problem. I tried manually editing the smb.conf file to change the share path, I tried reinstalling, I tried a couple other apps but in the end nothing worked. I really like Samba since it makes moving files back and forth more transparent but there are other ways to sync files to your phone so it is not a crippling limitation, instead it is more of an annoyance.

So now (sans the Samba Server) I have a phone that does exactly what my tweaked out Epic 4G did. Everything seems to be working great. I always had issues with GPS with my 4G but so far I have noticed no problems with the Galaxy S4. Due to the GPS issue I decided going into the S4 that I wanted to stay very close to stock. I have only downloaded apps from the app store. The only non-app store thing I've done is rooted the phone and added the custom recovery using GooManager. Those operations do copy some potentially risky stuff to your device. I installed ROM after ROM on my Epic 4G and they all had one small issue or another. I finally stuck with MarcusantRom, ran it for nearly 2 years before upgrading to the S4.

This about sums up my experience. One thing I didn't include is that I had to reset the phone a few times before nailing everything. There was a little trial and error that went on. I'm a bit particular and I like everything to flow from beginning to end with no intermediate hiccups, so if I made a mistake or didn't like the way something went I would reset the phone and start over. But I think with my experience documented it could save another person some of that hassle. I found QbKing's videos very helpful.

Something else worth mentioning... I also purchased BusyBox Pro ($4.99), SuperSU Pro ($2.49), Triangle Away ($2.49), and Root Checker Pro ($0.99). With 50,000+, 100,000+, 100,000+, 10,000+ downloads respectively there is some serious money in this! ChainFire has sold more than a half million dollars on the Play store with these two apps. BusyBox Pro has sold more than a quarter million. Makes you think twice about your day job. ;) I appreciate the efforts of all these developers work and I’m happy to support their work.

I hope someone out there finds this helpful.
Thanks for helping me build confidence in this method. It worked fine for me as well .

Here is my build prior to rooting.

-Latest and Greatest Software Version: L720VPUEMK2
-Phone: SPH-L720

Requirements:

If you haven't owned a S4 before (I have 2 S4's (now 2 rooted woohoo) and 1 S3 ), you WILL need the official samsung drivers in order for the device to be recognized with odin. It can be downloaded from the following url

http://downloadcenter.samsung.com/c...ng_USB_Driver_for_Mobile_Phones_v1.5.14.0.exe

Also if you're latest and greatest go here
http://autoroot.chainfire.eu/ and get the latest and greatest CF-Auto-Root.. I downloaded the jfltespr version which is 19817526 bytes.

Here's the link for the download.
http://download.chainfire.eu/325/CF-Root/CF-Auto-Root/CF-Auto-Root-jfltespr-jfltespr-sphl720.zip (You may want to check the date of this post that I'm making to ensure you're getting the latest and greatest if you're downloading via this link)

Due to the fiasco's with Verizon's model, etc... Rest assured this method works with the sprint model... well it just worked for me..

Installed the latest clock work mod touch recovery using "Rom Installer" by Jrummy Apps and was able to backup my rom.

+1 @ Brian0wenz
 
Last edited:
  • Like
Reactions: TheKraken13

negativzeroe

Senior Member
May 1, 2011
842
164
0
Hi nice vids, I already watched them, but do these still work for the Spark phones?

Also, this unroot I'm sure makes it to where if I bring it back to Sprint, they can't ever tell it was rooted (like HTC devices and **LOCKED** S-ON)?
 
Last edited:

cruise350

Senior Member
Dec 11, 2007
1,962
625
0
Memphis, TN
Hi nice vids, I already watched them, but do these still work for the Spark phones?

Also, this unroot I'm sure makes it to where if I bring it back to Sprint, they can't ever tell it was rooted (like HTC devices and **LOCKED** S-ON)?
No, when you root your phone with CF-Autoroot, the knox warranty flag will be tripped and show 0x1. There is no way to reset this at present. The flag is tripped when a custom recovery is installed and CF-Autoroot momentarily installs a custom recovery to accomplish root. The Safe Root program works for 4.3 based phones and does not trip the knox warranty flag. Safe Root works for the 720T.
 

negativzeroe

Senior Member
May 1, 2011
842
164
0
No, when you root your phone with CF-Autoroot, the knox warranty flag will be tripped and show 0x1. There is no way to reset this at present. The flag is tripped when a custom recovery is installed and CF-Autoroot momentarily installs a custom recovery to accomplish root. The Safe Root program works for 4.3 based phones and does not trip the knox warranty flag. Safe Root works for the 720T.
Did that already but I wanna start flashing lol

Sent from my SPH-L720T using XDA Premium 4 mobile app
 

bc_1

Member
Oct 22, 2012
27
2
0
Write Protection Enabled

It worked fine but in Download mode , i see a message in top left saying Write Protection: Enabled ? Any idea how to disable this write protection
 

evofreak80

Senior Member
Nov 28, 2010
412
113
0
OK guys so I'm a dumbass lol I wasn't paying attention this morning and went to cancel the OTA nae update but hit reboot and install instead...lol the question I have is? Is the rooting process the same as the one for the mk2. and yes I'm still factory stock never rooted yet

Sent from my SPH-L720 using Tapatalk
 

cruise350

Senior Member
Dec 11, 2007
1,962
625
0
Memphis, TN
OK guys so I'm a dumbass lol I wasn't paying attention this morning and went to cancel the OTA nae update but hit reboot and install instead...lol the question I have is? Is the rooting process the same as the one for the mk2. and yes I'm still factory stock never rooted yet

Sent from my SPH-L720 using Tapatalk
Yes, just make sure you download the newest version of cf autoroot from his website.

Sent from my SPH-L720 using Tapatalk
 
  • Like
Reactions: evofreak80
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone