Flashing Android Froyo in a Galaxy S with Ubuntu and Heimdall

22 thoughts on “Flashing Android Froyo in a Galaxy S with Ubuntu and Heimdall”

  1. Thanks a lot……how come we are not installing Drivers..Just how does the program differentiate between galaxy s and other usb devices?

  2. Hi Abhisek,
    I’m not saying that heimdal uses that, but in Linux you can type “lsusb” in any console and see some information about USB devices plugged in your system. With that, you can check for specific fields to see the manufacturer name, id, etc.

    Thanks for reading, regards! ;)

  3. How do you install heimdall? I’m new to Linux and have used Odin to flash in the past. I have tried to install the packages using ./heimdall and. /heimdall-frontend from terminal, the heimdall application seems to install but I have-not idea how to run it. The Frontend package says its missing a lib package that I dont know how to install either. Can you help?

  4. Hi Alan,
    You have two ways to install heimdall on Ubuntu.
    The quick and easy way is to download the .deb file from their website and install it (double-click). Here is the link https://github.com/downloads/Benjamin-Dobell/Heimdall/heimdall_1.1.1-1_i386.deb.


    If you want to compile it on your machine please follow these steps:
    1 – Open a linux terminal and execute the following command:

    sudo aptitude install build-essential libusb-1.0-0-dev

    2 – Download heimdall source code from http://www.glassechidna.com.au/products/heimdall/
    3 – Extract the package and look for a folder Heimdall-Source (or something like that)
    4 – Execute the following commands in a sequence:

      sudo make install

    After these steps you should be able to execute heimdall from your Ubuntu,

    Hope that helps!

  5. its possible if install custom ROM instead of installing froyo firmware?
    clearly if i download the custom ROM and putting it with pit instead of downloading froyo??

    thnaks alot.

  6. Hi جوتيار!
    Yes, heimdall is simple a flashing tool but you can use it with any image/ROM that you have. Of course that you have the same requirements (pit, modem, all other files…).
    So if you have all the required files for your custom ROM, flashing it should work the same way as the official ROM.

    Thanks for reading!

  7. Hi, Im brand new to Ubunut, just installed it an hour ago and I wanna flash my phone. I downloaded the heimdall binary file and the heimdall-frontend file and installed them both through Ubuntu’s Software Center but now I dont know how to run them….

    I tried and searched the hdd for them and found what seems to be the program but when I click on it, it doesnt launch. Can you guys help me out please

  8. Hey, great how-to!!! I got a question… If I flash my Galaxy S, will I lose all my data (contacts, photos, videos, music, docs, installed apps…)?

  9. Hi chinesegeek!
    Well, there is a risk of loosing your data. But, that risk is really low and in my experience it never happened. All my data was kept in my system. Also, you should think that most of your apps are already stored in your google account, so even if you buy another device and login with the same account, you will synchronize your account including all your apps on the new device.. ;) HTH

  10. Hi Moe, I’m not used to the heimdall-frontend and you can follow my tutorial in this post and use the command-line version. Just install the complete package of heimdall.

  11. Ok, I got another question… Why you dont use boot.bin and Sbl.bin in the heimdall parameters? It works without those two files?

  12. Yes, it works. Also, you can read a comment from other user (federico carrara) that did the upgrade and preserved his all his apps and data

  13. Aw, this was a very good post. Taking a few minutes and actual effort to produce a top notch article… but what can I say… I put things off a whole lot and don’t manage to get anything done.

  14. After I initially commented I appear to have clicked the -Notify me when new comments are added- checkbox and now whenever a comment is added I receive 4 emails with the exact same comment. There has to be an easy method you are able to remove me from that service? Kudos!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s