Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,785,791 Members 54,283 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
Benjamin Dobell
Old
(Last edited by Benjamin Dobell; 31st July 2013 at 01:23 PM.)
#1  
Recognized Developer - OP
Thanks Meter 558
Posts: 842
Join Date: Jul 2010
Location: Melbourne

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

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.
The Following 214 Users Say Thank You to Benjamin Dobell For This Useful Post: [ Click to Expand ]
 
andrewluecke
Old
#2  
Senior Member
Thanks Meter 18
Posts: 848
Join Date: Jul 2010
Sounds interesting.. Certainly something to watch in the future..
 
invaderjohn
Old
#3  
invaderjohn's Avatar
Senior Member
Thanks Meter 36
Posts: 302
Join Date: Jun 2009
for linux? YES! i love u
LG G2 Mini d620r
stock 4.4.2,
Status: rooted
The Following 2 Users Say Thank You to invaderjohn For This Useful Post: [ Click to Expand ]
 
AllGamer
Old
(Last edited by AllGamer; 15th August 2010 at 03:29 PM.)
#4  
AllGamer's Avatar
Retired Forum Moderator
Thanks Meter 1,577
Posts: 11,521
Join Date: May 2008
Location: buried under loads of work IRL

 
DONATE TO ME
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.

Donation is appreciated but not required, a cup of Coffee would suffice

Samsung i9000m: on CM10
Samsung Nexus S: on JB 4.2.2
Samsung Galaxy S II SGH-T989: on CM10
Samsung Galaxy NOTE SGH-i717r: on CM10
Samsung Galaxy NOTE 3 SM-N900W8: stock 4.3
 
Benjamin Dobell
Old
#5  
Recognized Developer - OP
Thanks Meter 558
Posts: 842
Join Date: Jul 2010
Location: Melbourne

 
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: [ Click to Expand ]
 
Benjamin Dobell
Old
#6  
Recognized Developer - OP
Thanks Meter 558
Posts: 842
Join Date: Jul 2010
Location: Melbourne

 
DONATE TO ME
Quote:
Originally Posted by AllGamer View Post
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: [ Click to Expand ]
 
AllGamer
Old
#7  
AllGamer's Avatar
Retired Forum Moderator
Thanks Meter 1,577
Posts: 11,521
Join Date: May 2008
Location: buried under loads of work IRL

 
DONATE TO ME
Quote:
Originally Posted by Benjamin Dobell View Post
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.

Donation is appreciated but not required, a cup of Coffee would suffice

Samsung i9000m: on CM10
Samsung Nexus S: on JB 4.2.2
Samsung Galaxy S II SGH-T989: on CM10
Samsung Galaxy NOTE SGH-i717r: on CM10
Samsung Galaxy NOTE 3 SM-N900W8: stock 4.3
 
husq510
Old
#8  
Member
Thanks Meter 3
Posts: 70
Join Date: 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.
 
Benjamin Dobell
Old
(Last edited by Benjamin Dobell; 15th August 2010 at 05:58 PM.)
#9  
Recognized Developer - OP
Thanks Meter 558
Posts: 842
Join Date: Jul 2010
Location: Melbourne

 
DONATE TO ME
Quote:
Originally Posted by husq510 View Post
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?
The Following User Says Thank You to Benjamin Dobell For This Useful Post: [ Click to Expand ]
 
mike.sw
Old
#10  
Senior Member
Thanks Meter 23
Posts: 403
Join Date: 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: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes