Heimdall is a free and open-source software[1] for Linux, Macos and Unix,[2] to manage and flash files on electronic devices[3] through the Thor (protocol). It's a free/libre/open-source equivalent[4] of the Windows software Odin, provided by Samsung.

Function

edit

Heimdall is a free/libre/open-source, cross-platform[5] (Linux, OS X and Windows (XP, Vista, 7 etc.))[6] replacement for Odin which is based on libusb.[7] The name Heimdall, like Odin, is an allusion to Norse mythology; both Odin and Heimdall are among the deities of the Norse pantheon.

It can be used both through the Command-line interface or with a Graphical user interface (called "Heimdall Frontend"[8]).

As in Download mode, the following example command permits to heimdall to flash a recovery file on some devices:[9][10]

heimdall flash --RECOVERY /path/to/twrp.img

as for Samsung devices released after 2018, the following one is necessary regarding Samsung new mechanisms :

heimdall flash --RECOVERY /path/to/twrp.img --VBMETA /path/to/vbmeta.img

Heimdall also has the ability to print/download information about the partitions (with 'heimdall --print-pit' / 'heimdall download-pit [...]') or, reboot the phone if it's stuck in download mode (with 'heimdall close-pc-screen'), or even repartitions the device (which can be dangerous).

References

edit
  1. ^ linuxserver/Heimdall, LinuxServer.io, 2024-08-04, retrieved 2024-08-04
  2. ^ "Heimdall | Glass Echidna". glassechidna.com.au. Retrieved 2024-08-04.
  3. ^ "flash firmware using Heimdall for Linux". XDA Forums. 2017-04-05. Retrieved 2024-08-04.
  4. ^ "Heimdall installation". /e/OS community. Retrieved 2024-08-04.
  5. ^ "Self Host with IPv6rs - IPv6 Provider - How to Install Heimdall on Alpine Linux Latest". ipv6.rs. Retrieved 2024-08-04.
  6. ^ The Heimdall FAQ states that Heimdall runs on "Linux, OS X and Windows (XP, Vista, 7 etc.)".
  7. ^ "Android hacker's handbook | WorldCat.org". search.worldcat.org. Retrieved 2024-08-04.
  8. ^ The heimdall website states has that: "Heimdall Frontend package includes: Heimdall Frontend - graphical UI only."
  9. ^ The partitions are device specific. For instance on the Galaxy Nexus the RECOVERY partition is named 'recovery' instead of 'RECOVERY' as shown in some installation instructions. Though other distributions typically use fastboot not heimdall for installing the Galaxy Nexus mentioned in the link.
  10. ^ "Arch Linux - heimdall 1.4.2-8 (x86_64)". archlinux.org. Retrieved 2024-08-04.