[Verizon Samsung Galaxy S 4] klabit87:
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

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

sudo chmod +x run.sh

Then type

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

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.