Post Reply

[GUIDE] How to root Samsung Galaxy S4 (GT-I9505 and GT-I9500)

4th May 2013, 02:21 PM   |  #1  
OP Senior Member
Flag Zagreb
Thanks Meter: 138
 
187 posts
Join Date:Joined: Dec 2004
Let's move on!

There is several methods of achieving root access on SGS 4 and several guides on this subject, but for sake of simplicity we
will use here easiest and simplest way.
Recognized xda developer Dan Rosenberg (@djrbliss) has recently published his exploit for
series of Motorola devices but it's obvious that this exploit works on wide range devices including SGS 4 by exploiting vulnerability in /dev/graphics/fb0.
For more detailed information about how motochopper works please read post from SW686 here on xda forum.
I'v tested this method on SGS 4 (GT-I9505) with Qualcomm Snapdragon 600 but it should work on GT-I9500 with Samsung Exynos processor.
Software build on which exploit was tested is XXUAMDF.

Advantages of this method to achieve root access on SGS4 are following:
No need to flash trough ODIN.
Simple one click method.

1. First make sure that You have samsung adb drivers installed! If not please download and install them from here or install Samsung Kies application which will also install adb drivers.
Senior xda member daerragh has provided very nice tutorial how to do it.

2. Download motochopper exploit from here and place it on Your Desktop.
3. Unzip motochopper with Your favorit archiving program or simply by using windows bulit in funcionality (Extract all)

4. Enable on Your phone USB development mode

Open up your device’s “Settings->Click on More as shown on picture 1 and then select About device”.
At the “About” screen, scroll to the bottom and tap on “Build number” seven (7) times.
Make sure you tap seven times. If you see a “You are now a developer!” message pop up, then you know you have done it correctly.

By tapping on “Build number” seven times, you have unlocked USB debugging mode on Android 4.2 and higher.
You can now enable/disable it whenever you desire by going to “Settings” -> “Developer Options” -> “Debugging” ->” USB debugging”.


5. Connect Your SGS4 to computer via USB cable.
6. Verify that Your USB drivers are installed correctly by opening command prompt (press windows key + r) and navigate to the folder in which
You extracted motochopper.
Code:
cd C:\users\{username}\Desktop\motochopper\
In cmd prompt type
Code:
adb devices
If Your cmd prompts looks like this then You may proceed with next step.

If you don't have output from command adb devices which shows Your device check Your Samsung driver installation, check connectivity (try replacing cable) etc.

7. Time for grand finale, type in cmd prompt
Code:
run.bat
and follow instructions on the screen.



Feel free to post any suggestion or updates on this thread.
Last edited by zexbig; 4th May 2013 at 02:39 PM.
The Following 5 Users Say Thank You to zexbig For This Useful Post: [ View ]
4th May 2013, 03:19 PM   |  #2  
cmd512's Avatar
Senior Member
Thanks Meter: 731
 
3,146 posts
Join Date:Joined: Aug 2009
More
Just tried this, it just hangs at * daemon started successfully *...
4th May 2013, 06:47 PM   |  #3  
OP Senior Member
Flag Zagreb
Thanks Meter: 138
 
187 posts
Join Date:Joined: Dec 2004
Quote:
Originally Posted by cmd512

Just tried this, it just hangs at * daemon started successfully *...



Sent from my GT-I9505 using Tapatalk 2
Did command adb devices show that Your device is recognized ?
Did You install Samsung drivers?
4th May 2013, 07:23 PM   |  #4  
cmd512's Avatar
Senior Member
Thanks Meter: 731
 
3,146 posts
Join Date:Joined: Aug 2009
More
Quote:
Originally Posted by zexbig

Sent from my GT-I9505 using Tapatalk 2
Did command adb devices show that Your device is recognized ?
Did You install Samsung drivers?

Yes, it recognized the device ID, but where your screenshot says "device," mine says "offline."

Device is recognized with no issues by Windows though, latest Samsung drivers installed.
4th May 2013, 07:49 PM   |  #5  
OP Senior Member
Flag Zagreb
Thanks Meter: 138
 
187 posts
Join Date:Joined: Dec 2004
You need to approve USB Debug connection on Your phone when You connect USB cable.
Device should present You with screen in which will ask You to allow connection with computer.

Sent from my GT-I9505 using Tapatalk 2
4th May 2013, 07:55 PM   |  #6  
cmd512's Avatar
Senior Member
Thanks Meter: 731
 
3,146 posts
Join Date:Joined: Aug 2009
More
OK, fixed the "offline" bit, you need the latest adb drivers that support 4.2.2 and the RSA key. The script ran through to completion and the device rebooted. After the reboot, still no root...!

(See attached image.)
Attached Thumbnails
Click image for larger version

Name:	Root.jpg
Views:	3928
Size:	107.6 KB
ID:	1935618  
Last edited by cmd512; 4th May 2013 at 07:58 PM.
4th May 2013, 07:56 PM   |  #7  
hassan89's Avatar
Senior Member
Thanks Meter: 552
 
654 posts
Join Date:Joined: May 2012
Donate to Me
Does this method work on newer kernel that is supposed to be unrootable?
4th May 2013, 07:58 PM   |  #8  
cmd512's Avatar
Senior Member
Thanks Meter: 731
 
3,146 posts
Join Date:Joined: Aug 2009
More
Quote:
Originally Posted by hassan89

Does this method work on newer kernel that is supposed to be unrootable?

I believe that's the problem I'm running into, I'm running the latest "un-rootable" kernel. This method simply doesn't work in that case.
4th May 2013, 08:51 PM   |  #9  
OP Senior Member
Flag Zagreb
Thanks Meter: 138
 
187 posts
Join Date:Joined: Dec 2004
Can You please post exact kernel version which are u using, also which model You have I9505 or I9500?

Sent from my GT-I9505 using Tapatalk 2
4th May 2013, 08:58 PM   |  #10  
hassan89's Avatar
Senior Member
Thanks Meter: 552
 
654 posts
Join Date:Joined: May 2012
Donate to Me
XXUAMDE i9500

Post Reply Subscribe to Thread

Tags
how to root samsung s4
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Galaxy S 4 General by ThreadRank