Heimdall
Heimdall is a free, open-source flash tool for Samsung devices, and many people use it as an Odin alternative on Mac and Linux. Benjamin Dobell of Glass Echidna, a small Australian software company, develops it. It flashes firmware to Samsung phones and tablets over USB from Windows, macOS or Linux.
What Heimdall does
- Flashes firmware files to chosen partitions of a Samsung device in Download mode.
- Downloads and prints the PIT file, the partition table of the device.
- Offers a command line tool (
heimdall) and a graphical program called Heimdall Frontend. - Can load Heimdall Firmware Packages, which bundle the files with a list of supported devices.
Heimdall talks to Loke, the low-level software on the phone, with the same Samsung protocol that Odin uses. USB access goes through the open-source libusb library. The Heimdall repository on GitHub has the source code and the README files for each system.
Supported devices and requirements
The developer lists older models as tested, such as the Galaxy S (GT-I9000), Galaxy S II (GT-I9100), Galaxy S III (GT-I9300) and Galaxy S4 (GT-I9505). Users have reported success on many other Samsung devices, but there is no official list for new models.
- A 32-bit or 64-bit computer with Linux, macOS or Windows.
- Windows: the Microsoft Visual C++ 2012 redistributable, and a WinUSB driver that you install with the Zadig tool included in the package.
- Linux: many distributions offer a Heimdall package, or you can build it from source.
- The phone in Download mode and a good USB cable.
How to install Heimdall
- Download the Heimdall Suite for your system from the official links.
- On Windows, extract the zip. On macOS, open the dmg and run the installer.
- On Windows, put the phone in Download mode, connect it and run
zadig.exefrom the Drivers folder. - In Zadig choose Options, then List All Devices, select the Samsung USB Composite Device and press Install Driver.
- Open Heimdall Frontend, or run
heimdall detectin a terminal to check the connection.
Good to know
The original project is old. The last ready-made downloads are version 1.4.0 from 2013, and the last source code version is 1.4.2 from May 2017. Recent bug reports show errors on newer Galaxy models, so do not expect it to work on every current phone.
The Zadig step replaces the normal Samsung driver for Download mode. Odin will not see the phone on that PC until you put the Samsung driver back in Device Manager.
A community fork by Henrik Grimler continues the work for Linux and is at version 2.2.2. It is source code only. Flashing always carries risk, and a wrong file can leave the phone unable to boot.
https://droid-developers.com/tools/heimdall/Heimdall is a free, open-source flash tool for Samsung devices, and many people use it as an Odin alternative on Mac and Linux. Benjamin Dobell of Glass Echidna, a small Australian software company, develops it. It flashes firmware to Samsung phones and tablets over USB from Windows, macOS or...Fahim MahmudFahim Mahmud[email protected]AdministratorDroid-DevelopersTool details
| Developer | Benjamin Dobell (Glass Echidna) |
| Works on | Windows, macOS, Linux |
| License | MIT |
| Latest version | 1.4.2 |
| Official site | glassechidna.com.au |
Download Heimdall
| Version | Platform | Date | Size | Notes | Download |
|---|---|---|---|---|---|
| 1.4.2 | Windows, macOS, Linux | 2017-05-11 | Latest source code tag. No ready-made program files, you compile it yourself. | DownloadOfficial source | |
| 1.4.0 | Windows | 2013-05-12 | 9.5 MB | Heimdall Suite for Windows with Frontend and Zadig driver tool. | DownloadOfficial source |
| 1.4.0 | macOS | 2013-06-12 | 7.0 MB | Heimdall Suite for OS X (dmg). | DownloadOfficial source |
| 1.4.0 | Linux | Official downloads page with the Linux packages. | DownloadOfficial source |
Guides and fixes
Common questions
Is Heimdall safe and legal to use?
Heimdall is open-source software under the MIT licence and it is free to use. Like every flash tool it can leave a phone unable to boot if you flash the wrong files.
Does Heimdall work on Mac and Linux?
Yes. The developer supports Linux, macOS and Windows, which is the main reason people choose it over Odin, a Windows program.
Does Heimdall work with new Samsung Galaxy phones?
There is no guarantee. The tested device list covers old models up to the Galaxy S4, the last original version is from 2017, and open bug reports describe errors on newer devices.
Why does Heimdall not detect my phone on Windows?
Heimdall needs a WinUSB driver for the phone in Download mode. Run zadig.exe from the Drivers folder, list all devices, pick the Samsung USB Composite Device and install the driver.
Can Heimdall flash the firmware files made for Odin?
Heimdall does not load an Odin tar.md5 package directly. You extract the package and flash the single partition images, each one to its partition name from the PIT file.
Firmware and tools are the property of their respective owners and are listed unmodified. Product names and logos are trademarks of their owners. Flashing is at your own risk.
