OH CRAP I SCREWED MY PHONE UP!!! Heimdall version.

Last Updated:

  1. txwolf1980

    txwolf1980 Well-Known Member

    The following is a similar recovery guide to my original employing ODIN, but it is for Heimdall users.
    The difference? Odin is a very clean, simple user interface. But, it can be unreliable on connection (as the last comment on http://androidforums.com/continuum-...rap-i-screwed-my-phone-up-recovery-guide.html demonstrates). While Heimdall is a more complicated interface, it allows more options for which files to flash. It's also more reliable. It also has a Mac version, whereas Odin does not.

    The tutorial I'm making is for a windows 7 computer, but I'd imagine that the UI for mac is similar. If it is not, Mac users, please let me know (screen shots would be useful).

    Also, Mac users, if this tutorial is not functional for you, feel free to make one of your own. First hand experience is always preferable to here say.

    To get started:
    You need the following
    1. Heimdall front end
    Heimdall – Glass Echidna

    Download the binaries appropriate to your system. If you are on windows, download the Microsoft Visuals C++ directly below the heimdall binaries.

    3. 7zip (or comparable zip extractor)

    4. Stock froyo files

    5. The PIT file

    6. your phone (obviously)

    7. USB cable

    To do:
    After downloading all files:
    1. Install the microsoft visual c++. If it asks you if you want to repair, or remove the files, hit cancel. You already have them installed.
    2. extract the Heimdall zip file to your desktop.
    3. Open the stock froyo files in 7zip (or whichever extractor you choose). Ignore the 'unexpected end of archive' warning. It's expected. Copy the files inside to your desktop, or a folder on your desktop.
    (The files inside will be boot.bin, factoryfs.rfs, chache.rfs etc. etc.)
    4. put your phone into Download mode (vol down+power until you get the large yellow triangle and 'do not turn off target') and plug into your computer.
    5. open up the folder you extracted Heimdall to. then open the folder called 'drivers', and finally open up zadig.exe. Ignore the warning from your antivirus.
    6. at the top of zadig.exe, there will be a tab called 'devices'. Click it, and select all devices. Then choose 'samsung usb composite device' from the dropdown menu. Give the drivers a couple of minutes to install (it took about 5 minutes for me). You will get a message when they are done.
    7. close out zadig, and go back to the Heimdall folder. open up 'hemdallfrontend.exe'. and go to the 'utilities' tab. Click on 'detect device'. to ensure you have a connection
    8. go back to the 'flash' tab, and click 'browse' in the 'PIT' section, and load the PIT file I linked. Then check 'repartition' if it's not already done. (Note: if you are flashing a rom, other than this one, leave repartition UNCHECKED)
    9. Next, go about halfway down and click on the 'add' button on the right. The first one that will pop up is 'IBL+PBL' click the browse button, and navigate to where you stored the individual files from stock froyo.tar and open boot.bin
    10. click add again, and browse the files as follows in the next section.

    SBL = sbl.bin
    Param = params.ifs
    Kernel = zimage
    Recovery = recovery.bin
    Factoryfs = factoryfs.rfs
    DBData = dbdata.rfs
    Cache = cache.rfs
    Modem = modem.bin
    You won't use SBL2, or EFS

    11. Once you have all of those files in place, click start. It will flash the files, and reboot your phone.
    12. Go back to the utilities tab, and click 'close pc screen' once your phone has completely rebooted.
    That is it.

    To get back to a dedexed rom you will need to flash the cwm kernel
    after ensuring you have update.zip on your sd card, along with a rom
    That is the rom I'm on.
    you can flash the kernel in ODIN after reinstalling the samsung drivers. Or you can flash it in Heimdall. AGAIN. IF YOU FLASH THE RECOVERY KERNEL IN HEIMDALL, MAKE SURE REPARTITION IS NOT CHECKED, even though you are using the PIT file. You might also want to check 'no reboot' when flashing the recovery kernel. But, if you don't, it's no big deal.
    After you flash the recovery kernel, reboot into recovery. Then install the rom, wipe dalvik cache, and enjoy.

  2. string14

    string14 New Member

    ERROR: Failed to access device. libusb error: -12

  3. string14

    string14 New Member

    I got a libusb error 12]

  4. txwolf1980

    txwolf1980 Well-Known Member

Share This Page