5,597,397 Members 31,323 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE] Mac Root (tested)

Tip us?
 
klabit87
Old
(Last edited by klabit87; 30th June 2013 at 02:26 AM.)
#1  
Senior Member - OP
Thanks Meter 123
Posts: 427
Join Date: Jul 2011
Default [GUIDE] Mac Root (tested)

This guide is for the select few that need to root their Samsung Galaxy S4 via Mac.

This guide only shows how to swap kernels in order for you to run motochopper then swap back to stock kernel.

Please keep in mind this is technical and involves using manual commands for heimdall in terminal.

If you have anything to add or have any questions, don't hesitate to ask.

I have tested this method using Heimdall on my Windows 7 machine.

I do not own a Mac to fully test this.

I am not an expert nor do I portray myself to be one.

I am not responsible to any problems from this method including bricking any devices, loss of data, or other issues that may arise with your device or computer. (Just to cover my behind.)

Things you need:
1. Heimdall
2. prerelease kernel boot.img (MD5: cd49d9c337d624abec5f6f1229e1abf6)
3. stock kernel boot.img (MD5: 3c776b87c2c1390787189e60d311c769)
4. Motochopper Root Exploit Tool
5. Drivers can be installed by installing Kies

First install Heimdall.

And make sure you have the drivers installed.

Make sure you have the prerelease kernel boot.img (MD5: cd49d9c337d624abec5f6f1229e1abf6) in an easy place to find and make sure you keep it seperate from the stock kernel boot.img (MD5: 3c776b87c2c1390787189e60d311c769).


If you have Kies installed, uninstall it.
Then open the heimdall-frontend application that was installed with heimdall.
Use the heimdall-frontend app to detect the device by going to Utilites > Detect.

Next open a terminal type
Code:
sudo heimdall flash --BOOT <full path to prerelease kernel>
Enter your password.
The prerelease kernel will be flashed and your device will reboot.

Go to Settings > More > About phone
and check to make sure your kernel version is 423399.

Then go into Settings > More > About phone > tap "Build number" about 7 times until it unlocks Developer options
Verify in Developer options setting on your device that you have "USB debugging" checked.
Verify in Developer options setting on your device that you have "Verify apps via USB" unchecked.
Verify in Security setting on your device that you have "Unknown sources" checked.
Verify in Security setting on your device that you have "Verify apps" unchecked.
Extract the motochopper.zip file.
Open terminal, navigate to the motochopper folder and type
Code:
sudo chmod +x run.sh
Then type
Code:
sudo ./run.sh
Follow the on screen prompts.
After you are rooted, make sure you update the su binaries.
Otherwise you will lose root later on.
Next boot your phone into download mode in order to put the stock kernel back.

Open the heimdall-frontend application and detect your device once again. (Utilities > Detect)
Next open a terminal and type
Code:
sudo heimdall flash --BOOT <full path to stock kernel>
Then go to Settings > More > About phone
and make sure the stock 562219 kernel is installed.


Credits go to djrbliss, chainsdd, Samsung, creators of Heimdall, and if I missed anybody please let me know and I will add them to it.
Thanks to Doppletronica for confirming the method.

If you found this guide helpful please hit the thanks button

EDIT: If this thread now belongs somewhere else due to its nature, please move it mods.
Also anybody is free to share this guide, just link them to this thread and please give credit where credit is due.
Thanks.
If I have helped please hit the thanks button!
------------------------------------------------------
Verizon Samsung Galaxy S4
Rom: FOXHOUND DIAMONDDOGS 3.65UPDATED4MDKtoMK2&AnyCarrier-SS-NOKNOX-CLEAN-FAST-THEMED
Recovery: [RECOVERY LOCKED] Safestrap Recovery v3.71 [2013-12-27 EXFAT Fix]
The Following User Says Thank You to klabit87 For This Useful Post: [ Click to Expand ]
 
theidoctor
Old
#2  
Senior Member
Thanks Meter 164
Posts: 336
Join Date: Mar 2009
Quote:
Originally Posted by klabit87 View Post
Is there anybody willing to test a root method running a Mac?

I may have found a way but I don't have any way to test it myself otherwise I would.

If interested please pm me.

Sent from my Verizon Galaxy S4 using Tapatalk 2.
does it have an unroot? i'd be willing to try it out. if so
 
klabit87
Old
#3  
Senior Member - OP
Thanks Meter 123
Posts: 427
Join Date: Jul 2011
Quote:
Originally Posted by theidoctor View Post
does it have an unroot? i'd be willing to try it out. if so
I'm not too sure about an unroot method.
I'm sure if I looked at it hard enough I could come up with something.

Are you looking for an unroot method via Mac?

Sent from my Verizon Galaxy S4 using Tapatalk 2.
If I have helped please hit the thanks button!
------------------------------------------------------
Verizon Samsung Galaxy S4
Rom: FOXHOUND DIAMONDDOGS 3.65UPDATED4MDKtoMK2&AnyCarrier-SS-NOKNOX-CLEAN-FAST-THEMED
Recovery: [RECOVERY LOCKED] Safestrap Recovery v3.71 [2013-12-27 EXFAT Fix]
 
theidoctor
Old
#4  
Senior Member
Thanks Meter 164
Posts: 336
Join Date: Mar 2009
Quote:
Originally Posted by klabit87 View Post
I'm not too sure about an unroot method.
I'm sure if I looked at it hard enough I could come up with something.

Are you looking for an unroot method via Mac?

Sent from my Verizon Galaxy S4 using Tapatalk 2.
yea. i mean, just for testings sake. i dont want to have to go through the whole unroot just to test a root method drama.

i could unroot on my VM and try your root, but what are the possible effects to it going down? does it work with you?
 
klabit87
Old
#5  
Senior Member - OP
Thanks Meter 123
Posts: 427
Join Date: Jul 2011
Quote:
Originally Posted by theidoctor View Post
yea. i mean, just for testings sake. i dont want to have to go through the whole unroot just to test a root method drama.

i could unroot on my VM and try your root, but what are the possible effects to it going down? does it work with you?
Pm sent.

Sent from my Verizon Galaxy S4 using Tapatalk 2.
If I have helped please hit the thanks button!
------------------------------------------------------
Verizon Samsung Galaxy S4
Rom: FOXHOUND DIAMONDDOGS 3.65UPDATED4MDKtoMK2&AnyCarrier-SS-NOKNOX-CLEAN-FAST-THEMED
Recovery: [RECOVERY LOCKED] Safestrap Recovery v3.71 [2013-12-27 EXFAT Fix]
 
klabit87
Old
#6  
Senior Member - OP
Thanks Meter 123
Posts: 427
Join Date: Jul 2011
Update:
I tried making an unroot method.
That completely failed.
So I had to use Odin to get running again.
I did however get a chance to test the root method for Mac users.
It worked with no problems for me.
I may continue working on the unroot method but that depends on my own free time.
If anyone is interested in assisting with it that would be great.

Sent from my Verizon Galaxy S4 using Tapatalk 2.
If I have helped please hit the thanks button!
------------------------------------------------------
Verizon Samsung Galaxy S4
Rom: FOXHOUND DIAMONDDOGS 3.65UPDATED4MDKtoMK2&AnyCarrier-SS-NOKNOX-CLEAN-FAST-THEMED
Recovery: [RECOVERY LOCKED] Safestrap Recovery v3.71 [2013-12-27 EXFAT Fix]
 
theidoctor
Old
#7  
Senior Member
Thanks Meter 164
Posts: 336
Join Date: Mar 2009
Quote:
Originally Posted by klabit87 View Post
Update:
I tried making an unroot method.
That completely failed.
So I had to use Odin to get running again.
I did however get a chance to test the root method for Mac users.
It worked with no problems for me.
I may continue working on the unroot method but that depends on my own free time.
If anyone is interested in assisting with it that would be great.

Sent from my Verizon Galaxy S4 using Tapatalk 2.
pm me instructions and i will try it out tonight. i dont mind being a flashaholic tonight
 
klabit87
Old
#8  
Senior Member - OP
Thanks Meter 123
Posts: 427
Join Date: Jul 2011
Quote:
Originally Posted by theidoctor View Post
pm me instructions and i will try it out tonight. i dont mind being a flashaholic tonight
I will finish my write-up and get it to you as soon as I can.
I'm not around a computer at work so it may be later this evening possibly.

Sent from my Verizon Galaxy S4 using Tapatalk 2.
If I have helped please hit the thanks button!
------------------------------------------------------
Verizon Samsung Galaxy S4
Rom: FOXHOUND DIAMONDDOGS 3.65UPDATED4MDKtoMK2&AnyCarrier-SS-NOKNOX-CLEAN-FAST-THEMED
Recovery: [RECOVERY LOCKED] Safestrap Recovery v3.71 [2013-12-27 EXFAT Fix]
 
klabit87
Old
#9  
Senior Member - OP
Thanks Meter 123
Posts: 427
Join Date: Jul 2011
Quote:
Originally Posted by theidoctor View Post
pm me instructions and i will try it out tonight. i dont mind being a flashaholic tonight
Pm has been sent. Let me know if you have any questions or concerns.

Sent from my Verizon Galaxy S4 using Tapatalk 2.
If I have helped please hit the thanks button!
------------------------------------------------------
Verizon Samsung Galaxy S4
Rom: FOXHOUND DIAMONDDOGS 3.65UPDATED4MDKtoMK2&AnyCarrier-SS-NOKNOX-CLEAN-FAST-THEMED
Recovery: [RECOVERY LOCKED] Safestrap Recovery v3.71 [2013-12-27 EXFAT Fix]
 
DarkMenace
Old
#10  
DarkMenace's Avatar
Senior Member
Thanks Meter 379
Posts: 1,032
Join Date: Jul 2009
Location: Burlington, WI

 
DONATE TO ME
You can unroot it the same way you root. Use Heimdall.
PM me for assistance and files for Unrooting / Rooting your Galaxy S3 and any support needs on your S4.
Press the "Thanks" button if I helped you out. It helps me keep fueled up

4G LTE

The Following User Says Thank You to DarkMenace For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes