Heimdall is a cross-platform open-source tool suite used to flash firmware (aka ROMs) onto Samsung Galaxy devices. https://git.sr.ht/~grimler/
Find a file
Henrik Grimler 02b577ec77
v2.0.2
* Fix segfault when file to flash does not exist

* Rename some fields in the flashing protocol, MMC4096 seem to be UFS,
  and what I thought was the protocol number seem to be the number of
  logical units in the storage
2022-07-12 17:42:55 +02:00
.builds builds: test build for ubuntu 20.04 as well 2021-11-22 17:26:43 +01:00
cmake cmake: replace LFS check with scripts from wireshark 2021-12-10 09:46:24 +01:00
heimdall v2.0.2 2022-07-12 17:42:55 +02:00
heimdall-frontend v2.0.2 2022-07-12 17:42:55 +02:00
libpit libpit: MMC4096 is really UFS 2022-05-04 13:12:31 +02:00
Linux */README: replace http with https in urls 2021-06-15 11:29:49 +02:00
OSX */README: replace http with https in urls 2021-06-15 11:29:49 +02:00
Win32 win32: remove zadig.exe from repo 2021-12-14 11:22:04 +01:00
.gitignore gitignore: ignore *~ as well 2021-06-15 10:46:25 +02:00
CMakeLists.txt CMake: bump minimum version 2021-05-03 14:07:33 +02:00
LICENSE It's 2017. Where did the years go? 2017-05-12 03:47:37 +10:00
README.md README: point to samsung-loki/samsung-docs for more docs 2022-01-01 20:38:27 +01:00

Heimdall

builds.sr.ht status builds.sr.ht status builds.sr.ht status

Heimdall is a cross-platform open-source tool suite used to flash firmware (aka ROMs) onto Samsung mobile devices.

Supported Platforms

Heimdall should work on AMD64/x86-64 (64-bit) or x86 (32-bit) computers running GNU/Linux, macOS or Windows.

However, several third-parties have reported success running Heimdall on ARM chipsets (in particular Raspberry Pi), as well as additional operating systems such as FreeBSD.

How does Heimdall work?

Heimdall connects to a mobile device over USB and interacts with low-level software running on the device, known as Loke. Loke and Heimdall communicate via the custom Samsung-developed protocol typically referred to as the 'Odin 3 protocol'.

USB communication in Heimdall is handled by the popular open-source USB library, libusb.

Free & Open Source

Heimdall is both free and open source. It is licensed under the MIT license (see LICENSE).

Heimdall is maintained and predominantly developed by Glass Echidna, a tiny independent software development company. If you appreciate our work and would like to support future development please consider making a donation.

Documentation

For more details about how to compile and install Heimdall please refer to the appropriate platform specific README:

Linux

OS X

Windows

Odin protocol and PIT format

For more details on the Odin protocol, and the PIT files, see the external project samsung-loki/samsung-docs.