I decided to write a tutorial using the Heimdall command line version for mac because some of you, like me, might not have access to a Windows machine 24/7. Note to reader: This tutorial is based on the command line version of Heimdall because not only the Heimdall-frontend app(the GUI version) is straight forward, but in my opinion lacks features. Read entire post.
First off you are going to download Heimdall. Here is the link. After it downloads, install it and restart when you are notified.
Now for the fun part. After it installs, you will have to open Terminal to use Heimdall since we are doing the command line version. Terminal is located under
After Terminal loads, the command for using Heimdall is straight forward, here it is:
Here are the Actions/Arguments:
Common Arguments:
[--verbose] [--no-reboot] [--stdout-errors] [--delay <ms>]
Action: flash
Arguments:
--repartition --pit <filename> [--factoryfs <filename>]
[--cache <filename>] [--dbdata <filename>] [--primary-boot <filename>]
[--secondary-boot <filename>] [--param <filename>] [--kernel <filename>]
[--modem <filename>] [--normal-boot <filename>] [--system <filename>]
[--user-data <filename>] [--fota <filename>] [--hidden <filename>]
[--movinand <filename>] [--data <filename>] [--ums <filename>]
[--emmc <filename>] [--<partition identifier> <filename>]
or:
[--factoryfs <filename>] [--cache <filename>] [--dbdata <filename>]
[--primary-boot <filename>] [--secondary-boot <filename>]
[--secondary-boot-backup <filename>] [--param <filename>]
[--kernel <filename>] [--recovery <filename>] [--efs <filename>]
[--modem <filename>] [--normal-boot <filename>] [--system <filename>]
[--user-data <filename>] [--fota <filename>] [--hidden <filename>]
[--movinand <filename>] [--data <filename>] [--ums <filename>]
[--emmc <filename>] [--<partition identifier> <filename>]
Description: Flashes firmware files to your phone.
WARNING: If you're repartitioning it's strongly recommended you specify
all files at your disposal, including bootloaders.
Action: close-pc-screen
Description: Attempts to get rid off the "connect phone to PC" screen.
Action: download-pit
Arguments: --output <filename>
Description: Downloads the connected device's PIT file to the specified
output file.
Action: detect
Description: Indicates whether or not a download mode device can be detected.
Action: dump
Arguments: --chip-type <NAND | RAM> --chip-id <integer> --output <filename>
Description: Attempts to dump data from the phone corresponding to the
specified chip type and chip ID.
NOTE: Galaxy S phones don't appear to properly support this functionality.
Action: print-pit
Description: Dumps the PIT file from the connected device and prints it in
a human readable format.
Action: version
Description: Displays the version number of this binary.
Action: help
Description: Displays this dialogue.
---------------------------------------------------------------
You can reach the actions/arguments in Terminal by simply typing:
Here is an example of using this:
You want to install CWM recovery: How to ROOT Galaxy Note 10.1.
1) You are going to download the zip named RootGalaxyNote10.1 from his website.
2) After you downloaded it, unzip it.
3) In the folder, there will a file called "HighOnAndroidCWMRecoveryGTN8000.tar", untar it.
4) After it finishes, it will give you a file named "recovery.img".
5) Restart your device in download mode and plug it in your computer.
6) In Terminal, type
If all goes well, the Terminal will return “Device detected”.
7) Then type
Here is an example
8) After it finishes, your recovery should be the CWM recovery. Follow the rest of his tutorial for installing root.
Note: If this does NOT work AND you have Samsung Kies installed, type these three lines into Terminal:
The kexts interfere with Heimdall, it explains why at: Scott Wallace's blog
Side Note: There is also Heimdall for Linux and Windows.
Hope this helps someone. If it does, press the thumbs up .
Disclaimer: I nor the XDA-Developers are responsible for the bricking/ruining of your device/computer. By following this tutorial, you are taking full responsibility for your device/computer.
First off you are going to download Heimdall. Here is the link. After it downloads, install it and restart when you are notified.
Now for the fun part. After it installs, you will have to open Terminal to use Heimdall since we are doing the command line version. Terminal is located under
Code:
Applications/Utilities/
After Terminal loads, the command for using Heimdall is straight forward, here it is:
Code:
heimdall <action> <action arguments> <common arguments>
Here are the Actions/Arguments:
Common Arguments:
[--verbose] [--no-reboot] [--stdout-errors] [--delay <ms>]
Action: flash
Arguments:
--repartition --pit <filename> [--factoryfs <filename>]
[--cache <filename>] [--dbdata <filename>] [--primary-boot <filename>]
[--secondary-boot <filename>] [--param <filename>] [--kernel <filename>]
[--modem <filename>] [--normal-boot <filename>] [--system <filename>]
[--user-data <filename>] [--fota <filename>] [--hidden <filename>]
[--movinand <filename>] [--data <filename>] [--ums <filename>]
[--emmc <filename>] [--<partition identifier> <filename>]
or:
[--factoryfs <filename>] [--cache <filename>] [--dbdata <filename>]
[--primary-boot <filename>] [--secondary-boot <filename>]
[--secondary-boot-backup <filename>] [--param <filename>]
[--kernel <filename>] [--recovery <filename>] [--efs <filename>]
[--modem <filename>] [--normal-boot <filename>] [--system <filename>]
[--user-data <filename>] [--fota <filename>] [--hidden <filename>]
[--movinand <filename>] [--data <filename>] [--ums <filename>]
[--emmc <filename>] [--<partition identifier> <filename>]
Description: Flashes firmware files to your phone.
WARNING: If you're repartitioning it's strongly recommended you specify
all files at your disposal, including bootloaders.
Action: close-pc-screen
Description: Attempts to get rid off the "connect phone to PC" screen.
Action: download-pit
Arguments: --output <filename>
Description: Downloads the connected device's PIT file to the specified
output file.
Action: detect
Description: Indicates whether or not a download mode device can be detected.
Action: dump
Arguments: --chip-type <NAND | RAM> --chip-id <integer> --output <filename>
Description: Attempts to dump data from the phone corresponding to the
specified chip type and chip ID.
NOTE: Galaxy S phones don't appear to properly support this functionality.
Action: print-pit
Description: Dumps the PIT file from the connected device and prints it in
a human readable format.
Action: version
Description: Displays the version number of this binary.
Action: help
Description: Displays this dialogue.
---------------------------------------------------------------
You can reach the actions/arguments in Terminal by simply typing:
Code:
heimdall
Here is an example of using this:
You want to install CWM recovery: How to ROOT Galaxy Note 10.1.
1) You are going to download the zip named RootGalaxyNote10.1 from his website.
2) After you downloaded it, unzip it.
3) In the folder, there will a file called "HighOnAndroidCWMRecoveryGTN8000.tar", untar it.
4) After it finishes, it will give you a file named "recovery.img".
5) Restart your device in download mode and plug it in your computer.
6) In Terminal, type
Code:
heidall detect
7) Then type
Code:
heimdall flash --recovery <path to the recovery.img>
Code:
heimdall flash --recovery /Users/rag/Desktop/recovery.img
8) After it finishes, your recovery should be the CWM recovery. Follow the rest of his tutorial for installing root.
Note: If this does NOT work AND you have Samsung Kies installed, type these three lines into Terminal:
Code:
sudo kextunload -b com.devguru.driver.SamsungComposite
sudo kextunload -b com.devguru.driver.SamsungACMData
sudo kextunload -b com.devguru.driver.SamsungACMControl
Side Note: There is also Heimdall for Linux and Windows.
Hope this helps someone. If it does, press the thumbs up .
Disclaimer: I nor the XDA-Developers are responsible for the bricking/ruining of your device/computer. By following this tutorial, you are taking full responsibility for your device/computer.
Last edited: