Android Linux Posts Ubuntu

Flashing Samsung Galaxy S (I9000) ROMs with Heimdall

This Tutorial is just a documentation of how I flashed my Samsung Galaxy S (I9000) using heimdall with Darky’s Rom v10.1, follow the steps at your own risk. I am in no way liable for any damage caused to your phone following these steps. I would advise reading up on flashing before proceeding along with pre-reading the guide first.

If you don’t know what you’re doing, you should probably not do it.

For more information, help and most anything check out xdadevelopers forum and

This guide is using a fresh install of Ubuntu 11.04 on a memory stick, I was unable to get heimdall installed on Fedora 15 or Ubuntu 10.04.
For this guide I will use Darkys Rom v10.1, however it should work for all ROMs that come with the correct files, as shown below.

Installing Heimdall

First install the Qt Gui libraries:

 sudo apt-get install libqtgui4

Once that’s installed head over to the heimdall website and download heimdall and the frontend for it, here I went for version 1.1.1 as the latest version (as of writing this guide 1.2.0 does not have a frontend).

Here simply download the .deb file and run it once it’s downloaded, you should be able to install them no problem.

(direct links for the version used in this guide)
Heimdall –
Heimdall-frontend –

Getting The Files

Download the ROM you wish to flash your phone with, for example download Darky’s Ressurection v10.1.

Inside also extract Darky_Resurrection_10.1.tar

You should have the following files:

Darky_Resurrection_10.1_i9000 (folder)

  • Darky_Resurrection_10.1 (folder)
    • boot.bin
    • cache.rfs
    • dbdata.rfs
    • factoryfs.rfs
    • modem.bin
    • param.lfs
    • Sbl.bin
    • zImage
  • Odin3 v1.3,exe
  • Odin3 v1.7.exe
  • s1_odin_20100512.pit

Preparing Your Phone

Make sure you have full battery and disabled all lagfixes.

Flashing The Phone

Press Alt+F2 and then type “heimdall-frontend” and hit enter.

Add the files to the correct heidmall options as so:


PIT : s1_odin_20100512.pit


FactoryFS : factoryfs.rfs
Kernel(zImage) : zImage
Param.lfs : param.lfs
Primary BootLoader : boot.bin
Secondary Bootloader : Sbl.bin


Cache : cache.rfs
Database Data : dbdata.rfs


Modem : modem.bin
Recovery :

Finally put your phone into download mode.

Once your phone is in downloadd mode, make sure it’s connected via USB and then press start on Heimdall.

After a few minutes your Heimdall will say Finished. Boom you’re done. Just wait for your phone to finish doing whatever it’s doing and you should end up back at the home screen soon enough.

11 replies on “Flashing Samsung Galaxy S (I9000) ROMs with Heimdall”

Just wanted to to say thank you. I bricked my SGS with a failed flash about 2 weeks ago. I scoured the internet trying to find something on how to fix this is OS X. Your guide is the only one that was able to help me. Thank you!

Thanks a lot for this simple tutorial. It worked for me. However, ca you explain the repartition because i don’t understand what do the files mean ? If i want to try another ROM i wouldn’t be able to replace the files.

awesome thanks bud, just bricked my phone using the fail windows, with this I can use a proper os when my jig arrives, hopefully have a working phone again

Thank you so much for this, works perfect except when i pushed “Alt+F2 and then type “heimdall-frontend”” it didn’t show up so instead just type “heimdall-frontend” into the terminal

Could you please confirm, how can it works if my phone is completely dead, black screen, no phone or computer icon……thnks.


As far as I am aware, it’s only possible to do this if you have 3-button recovery enabled.

(press and hold Volume Up & Home Key. Now also press and hold the power button, when the logo comes on release only the power, keep the other two held until you’re in recovery mode.)

If that method doesn’t work, it might be possible to force it through adb (

If you can get to recovery mode, you can fix your bricked phone.

Leave a Reply

Your email address will not be published. Required fields are marked *