Post Reply

[PROGRAM] Heimdall - Open-Source Cross-Platform Flashing Suite (1.4.0 Now Available)

OP Benjamin Dobell

15th August 2010, 12:49 PM   |  #1  
OP Recognized Developer
Flag Melbourne
Thanks Meter: 561
 
842 posts
Join Date:Joined: Jul 2010
Donate to Me
What is Heimdall?
Heimdall is a cross-platform open-source tool suite used to flash ROMs onto Samsung Galaxy S devices.

How does it work?
Heimdall uses the same protocol as Odin to interact with a device in download mode. USB communication in Heimdall is handled by the popular open-source USB library, libusb-1.0.

Why “Heimdall”?
The flashing software Odin is named after the king of gods in Norse mythology. Loke, the software component on the Galaxy S that provides functionality to flash, may also to be named after an important character in Norse mythology, often translated as Loki. As such I have named my flashing software Heimdall, after the Norse god, and guardian of the Bifrost Bridge.

What platforms does Heimdall run on?
Linux, OS X and Windows (XP, Vista, 7 etc.)

Why use Heimdall when we can use Odin?
Odin is generally unreliable and only runs on Windows systems. Furthermore, Odin is leaked Samsung software that is not freely available or well understood by the community.

Is Heimdall safe?
No matter what method you chose, flashing firmware onto your phone has a lot of potential for disaster. We have tested Heimdall with a variety of phones flashing several different firmware versions resulting in a 100% success rate. As such we believe that Heimdall is generally reliable. However keep in mind, just like any flashing software, Heimdall has the potential to brick your phone if not used correctly.

How do Galaxy S phones get bricked when flashing?
Besides the inherent risks like power outs, accidental removal of the USB cable etc. The Galaxy S appears to be running extremely unreliable USB control software.

A failure to flash does not automatically equate to a bricked phone. However if you're extremely unlucky and the flash fails whilst transferring the primary boot-loader, secondary boot-loader or params.lfs (all quite small) than you've got yourself a paper weight that you're hoping Samsung will replace.

Please be extremely careful mixing files from different firmware releases. Don't do so unless you're certain it will work!

What Galaxy S variants has Heimdall been tested with?
We’ve tested Heimdall with a Galaxy S GT-I9000 (8 GB) from the United Kingdom and Galaxy S GT-I9000 (16 GB) from Australia. We don’t personally have access to any other devices to test with, however users have confirmed Heimdall functions correctly with the AT&T Captivate, Bell Vibrant, Telstra GT-I9000T, Epic 4G and the Galaxy Tab.

Enough talk, where can we get it?
The latest release is available here. Please read the instructions and README files included in the archives.

I love you, man. Will you have my baby?
No, but I will very gladly accept donations. If you appreciate my work and would like to support future development you can make a donation here. If you think you have something else to offer, then feel free to shoot me a PM or contact me via the contact form on the Glass Echidna website.
Last edited by Benjamin Dobell; 31st July 2013 at 01:23 PM.
The Following 217 Users Say Thank You to Benjamin Dobell For This Useful Post: [ View ]
15th August 2010, 01:42 PM   |  #2  
Senior Member
Thanks Meter: 18
 
848 posts
Join Date:Joined: Jul 2010
Sounds interesting.. Certainly something to watch in the future..
15th August 2010, 02:48 PM   |  #3  
invaderjohn's Avatar
Senior Member
Thanks Meter: 83
 
383 posts
Join Date:Joined: Jun 2009
More
for linux? YES! i love u
The Following 2 Users Say Thank You to invaderjohn For This Useful Post: [ View ]
15th August 2010, 03:23 PM   |  #4  
AllGamer's Avatar
Retired Forum Moderator
Flag buried under loads of work IRL
Thanks Meter: 1,579
 
11,521 posts
Join Date:Joined: May 2008
Donate to Me
More
Kudos for you! wow it looks impressive

A question though....

the instructions seems to be very... Windows oriented.
What about Linux or MAC OS?

Do we need to run it with WINE, or just run it as a DOS executable?

same question for MAC OS, you know people in MAC are so used to plug and play, If i were a MAC user i'll just plug my phone in, and expect to run Heimdall by click on it and have it come up.
However at the moment it seems to require Windows emulation for it to run.
Last edited by AllGamer; 15th August 2010 at 03:29 PM.
15th August 2010, 03:34 PM   |  #5  
OP Recognized Developer
Flag Melbourne
Thanks Meter: 561
 
842 posts
Join Date:Joined: Jul 2010
Donate to Me
Thanks guys.

Also, I forgot to add in the README that you also need the same PIT file as the one that is installed on your device, probably version 512.

I can see by my website's bandwidth usage that people have been downloading the alpha. Has anyone tested it yet?
The Following User Says Thank You to Benjamin Dobell For This Useful Post: [ View ]
15th August 2010, 03:39 PM   |  #6  
OP Recognized Developer
Flag Melbourne
Thanks Meter: 561
 
842 posts
Join Date:Joined: Jul 2010
Donate to Me
Quote:
Originally Posted by AllGamer

the instructions seems to be very... Windows oriented.
What about Linux or MAC OS?

Do we need to run it with WINE, or just run it as a DOS executable?

same question for MAC OS, you know people in MAC are so used to plug and play, If i were a MAC user i'll just plug my phone in, and expect to run Heimdall by click on it and have it come up.
However at the moment it seems to require Windows emulation for it to run.

The alpha release is just the Windows binaries. Whilst the source code certainly compiles for OS X and Linux I want to make sure that everything is running fine on Windows first, with Odin nearby if need be.
The Following User Says Thank You to Benjamin Dobell For This Useful Post: [ View ]
15th August 2010, 03:54 PM   |  #7  
AllGamer's Avatar
Retired Forum Moderator
Flag buried under loads of work IRL
Thanks Meter: 1,579
 
11,521 posts
Join Date:Joined: May 2008
Donate to Me
More
Quote:
Originally Posted by Benjamin Dobell

The alpha release is just the Windows binaries. Whilst the source code certainly compiles for OS X and Linux I want to make sure that everything is running fine on Windows first, with Odin nearby if need be.

ahh, Good to know, i was worried there for a second

I can't test it yet, my phone hasn't come back from repair.

i'll help test as soon as my phone is back.
15th August 2010, 04:43 PM   |  #8  
Member
Thanks Meter: 3
 
70 posts
Join Date:Joined: Jul 2010
go public linux binary too, else ppl will use odin instead your and you wont receive much feeback as much as if you release linux binaries.
15th August 2010, 05:04 PM   |  #9  
OP Recognized Developer
Flag Melbourne
Thanks Meter: 561
 
842 posts
Join Date:Joined: Jul 2010
Donate to Me
Quote:
Originally Posted by husq510

go public linux binary too, else ppl will use odin instead your and you wont receive much feeback as much as if you release linux binaries.

I know it's a pain that Linux users have to wait (as usual). As much as I do want feedback, I don't want feedback from Linux users saying that the flash failed for some reason and that they don't have access to Windows/Odin.

I'm not actually sure if I'll ever release Linux binaries as binary compatibility across multiple Linux distributions is problematic. Of course once I've confirmed everything is working on other peoples' devices, what phone models are supported etc. then I will release the source code with instructions to compile for all supported platforms.

EDIT: Has Heimdall really been downloaded ~45 and no-one has bothered to install and run it?
Last edited by Benjamin Dobell; 15th August 2010 at 05:58 PM.
The Following User Says Thank You to Benjamin Dobell For This Useful Post: [ View ]
15th August 2010, 07:03 PM   |  #10  
Senior Member
Thanks Meter: 23
 
403 posts
Join Date:Joined: Jul 2010
I'm having trouble with the following step:

4. Under Universal Serial Bus Controllers right click on the Samsung composite driver and chose Properties.

I don't have such device in device manager.
Windows 7 x86

The Following User Says Thank You to mike.sw For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Galaxy S I9000 Android Development by ThreadRank