[Help] Heimdall 1.3 - Galaxy S II Q&A, Help & Troubleshooting

I'm a mac user, and Kies is still in beta and can't perform updates, (its a pos anyways and I wanna refrain from using it either way).
So the only other alternative for Kies is Heimdall which is similar to Odin, but doesn't have much documentation for the newer version 1.3 other than the readme file that came with it that I have read but still am not confident enough to flash anything.
So can someone please write up a tutorial on how to use it or link me to one. I mainly only want to update my firmware keeping it stock and possibly root with CF-Root while I'm at it, if CF-Root is gonna even work with heimdall.
Thanks in advance.

This should cover it

Woaw. Thank you very much buddy ^_^

Not to hijack the OP's thread, but I have another and related question regarding Heimdall for mac:
When unraring archives either from Intratech or Samfirmware, all the extracted files are of the type .bin and/or .img. I really can't figure out how to get the proper .rfs files that should be used for flashing. Anyone able to show me in the right direction for the answer? I've searched up and down both on the forum and on Google
As of the time being I have a Bootcamp partition only for the sake of using Odin, and I would really like to have those 20GB's back as it should be unnecessary to use Odin in Windows when Heimdall looks like a great tool for the mac (when the proper files are used )

Hrti said:
Not to hijack the OP's thread, but I have another and related question regarding Heimdall for mac:
When unraring archives either from Intratech or Samfirmware, all the extracted files are of the type .bin and/or .img. I really can't figure out how to get the proper .rfs files that should be used for flashing. Anyone able to show me in the right direction for the answer? I've searched up and down both on the forum and on Google
As of the time being I have a Bootcamp partition only for the sake of using Odin, and I would really like to have those 20GB's back as it should be unnecessary to use Odin in Windows when Heimdall looks like a great tool for the mac (when the proper files are used )
Click to expand...
Click to collapse
Heimdall should flash the .bin's or .img's, Heimdall should flash just about anything.
I dont have an OSX machine and havent had time to build a virtualbox img so i cant test

I tried to follow your instructions @veyka but heimdall won't work
When I try to get heimdall to detect my phone it just says "FRONTEND ERROR: Heimdall crashed!"
I tried uninstalling/reinstalling heimdall, still didn't work, then uninstalled Kies cuz it might be interfering but it still doesn't work!
Man I really want this to work....

hank00k said:
I tried to follow your instructions @veyka but heimdall won't work
When I try to get heimdall to detect my phone it just says "FRONTEND ERROR: Heimdall crashed!"
I tried uninstalling/reinstalling heimdall, still didn't work, then uninstalled Kies cuz it might be interfering but it still doesn't work!
Man I really want this to work....
Click to expand...
Click to collapse
Just.. weird...
I do wish I could be more help, but I have no OSX machine to test it on.
Are you on 10.5? As another thread says that it wont run on it, but just crashes, but an upgrade to 10.6 made it work.
Yeh.. Im recommending upgrading your OS to fix a flashing issue, go me.

veyka said:
Just.. weird...
I do wish I could be more help, but I have no OSX machine to test it on.
Are you on 10.5? As another thread says that it wont run on it, but just crashes, but an upgrade to 10.6 made it work.
Yeh.. Im recommending upgrading your OS to fix a flashing issue, go me.
Click to expand...
Click to collapse
I'm on 10.7
I think its not compatible with 10.7 cuz some other apps had to be updated to work properly, including stupid Kies... So I guess downgrading is the solution lmao or waiting for it to be updated
And you've been plenty help by linking me to your other post, now at least I know that it should work...

hank00k said:
I'm on 10.7
I think its not compatible with 10.7 cuz some other apps had to be updated to work properly, including stupid Kies... So I guess downgrading is the solution lmao or waiting for it to be updated
And you've been plenty help by linking me to your other post, now at least I know that it should work...
Click to expand...
Click to collapse
Well, Im not sure, no one in that thread got it to work in the end, but I know people on linux who have flashed with it, and I have on windows so it should work!
Odin might be a iffy PoS but its a iffy PoS that works most of the time.

I've got Ubuntu Linux on an old ibm laptop, so I'll give it a try later.
And I only dream of using Odin but I don't have Windows unfortunately...

Related

[Q] help!

hey I installed the bionix 1.5 rom after i unistalled the one click lagfix. My application storage space was 0 after that and when i would reboot i would get a blank screen after the galaxs s load screen. I went back to the bionix 1.4 rom and now I can't load any other roms or recoveries from clockwork and application storage available space is still 0. I know I could use odin to get the froyo that doesn't brick rom but I have a mac so I can't use odin. any suggestions?
That was the lag fix, go to recovery and delete cache and user data
Sent from my SGH-T959 using Tapatalk
rskins26 said:
hey I installed the bionix 1.5 rom after i unistalled the one click lagfix. My application storage space was 0 after that and when i would reboot i would get a blank screen after the galaxs s load screen. I went back to the bionix 1.4 rom and now I can't load any other roms or recoveries from clockwork and application storage available space is still 0. I know I could use odin to get the froyo that doesn't brick rom but I have a mac so I can't use odin. any suggestions?
Click to expand...
Click to collapse
A suggestion to realize your up against a brick wall that's more easily solved by using a windows machine and odin3. I know mac users don't want to hear this, and I'm not dumping mac hate on you here, but the fact is that Odin is a Windows application and probably the only way for you out of your mess.
There is an open source project for an Odin compatible firmware tool, Heimdall, but it's still in alpha at this stage and no source has been released yet. So, it's Odin3 or nothing at this point.
Best of luck
masterotaku said:
A suggestion to realize your up against a brick wall that's more easily solved by using a windows machine and odin3. I know mac users don't want to hear this, and I'm not dumping mac hate on you here, but the fact is that Odin is a Windows application and probably the only way for you out of your mess.
There is an open source project for an Odin compatible firmware tool, Heimdall, but it's still in alpha at this stage and no source has been released yet. So, it's Odin3 or nothing at this point.
Best of luck
Click to expand...
Click to collapse
If you on a linux/mac just use something like VM Ware to simulate windows os...
Thats the only thing about using ubuntu that gets a little rough is all these smaller programs are usually made for windows
iwillkillyou said:
That was the lag fix, go to recovery and delete cache and user data
Sent from my SGH-T959 using Tapatalk
Click to expand...
Click to collapse
I already tried that. thanks for the suggestion though.
masterotaku said:
A suggestion to realize your up against a brick wall that's more easily solved by using a windows machine and odin3. I know mac users don't want to hear this, and I'm not dumping mac hate on you here, but the fact is that Odin is a Windows application and probably the only way for you out of your mess.
There is an open source project for an Odin compatible firmware tool, Heimdall, but it's still in alpha at this stage and no source has been released yet. So, it's Odin3 or nothing at this point.
Best of luck
Click to expand...
Click to collapse
thanks for the suggestion. i know macs do have their downfalls. the virtual machines look kinda complicated i might be better off just borrowing a friends computer.
Moved to the Q&A sub-forum.
The development sub-forum is for development only.
As far as Odin goes: Use a Virtual Machine with XP on it. XP SP3 doesn't require a key or to be activated for 30 days.
There was a replacement tool for Odin that was being worked on that was compatible with Linux and OS X but I don't know if it was ever finished.

Is there an Odin for Mac OS X?

got rid of my windows laptop and sticking with the macbook. currently on ultimate rom but if new roms start coming out for ics and I try it and screw up my phone how would I resort back to stock?
edit: i come back to you defeated. I've searched and tried every damn method mentioned but it just won't recognize my damn vibrant. heimdall can suck my ****
Heimdall
http://forum.xda-developers.com/showthread.php?t=834195
do I need the same tar and pit files with hiemdall that I needed for Odin?
ok I found where to put the pit file and maybe the tar file but not sure about that one. it doesn't recognize the vibrant on download mode.
any macheads here with experience using it?
I'm having trouble too
junglerumble said:
ok I found where to put the pit file and maybe the tar file but not sure about that one. it doesn't recognize the vibrant on download mode.
any macheads here with experience using it?
Click to expand...
Click to collapse
+1
I've been trying to find a way to do this through xda, google, and youtube and I could find a tutorial or a how to. I tried playing around with it, but my mac isn't reading the vibrant for some reason. Help please
I recently switched from PC to Mac and have sort of been dreading the first time I'm forced to figure out Hiemdall. I do know that a few people here actually prefer it over Odin though.
junglerumble said:
heimdall can suck my ****
Click to expand...
Click to collapse
Hahaha...Well said
if you get stuck you can always install a virtual desktop client on your mac like Vbox and run windows as xp is end of life install it and disable automatic updates and it wont tell you its a funky os copy.
then you can get odin if you prefer that.

Steve's kernel bricked my Samsung.

Hey guys I was hoping you could help me out.. So last night I tried to flash Steve's kernel for the US version and I followed all the directions correctly. I put my samsung in download mode made sure re partition was unchecked etc. Is there a certain version of Odin I should have used? Well anyways it bricked up my samsung now all that shows up is a connect to computer image with a !. Any help would be greatly appreciated.
Try flashing again - you're in "forced download mode" which is what happens when a flash goes wrong.
If it fails agian, try the version of Odin from AdamOutler's resurrection thread - you don't need the full resurrector (you only need it if the screen doesn't even turn on), but you def. need to try flashing again in Odin.
Entropy512 said:
Try flashing again - you're in "forced download mode" which is what happens when a flash goes wrong.
If it fails agian, try the version of Odin from AdamOutler's resurrection thread - you don't need the full resurrector (you only need it if the screen doesn't even turn on), but you def. need to try flashing again in Odin.
Click to expand...
Click to collapse
I think it may be a driver issue. It's likely the Samsung driver on the computer I used was/is corrupted. Now I just have to find another computer. Do you know how I would go about fixing the driver properly on that computer? I tried uninstalling both the Samsung driver and Kies from remove programs but this morning when I went to install the driver package(found in XDA) it said it was already installed. I'm thinking maybe I need to uninstall something in device manager?
EDIT: could you possibly link me to that thread? I can't seem to find it.(Adam's res. thread)
http://droidangel.blogspot.com/2011/07/one-click-unbrick-tool-for-samsung.html
It works. I personally use the heimdall command line interface to do this, but this method will work for you.
apapousek said:
(link that im not allowed to repost)
It works. I personally use the heimdall command line interface to do this, but this method will work for you.
Click to expand...
Click to collapse
Is there a possible method that doesn't require administrative privileges? I'm on a public computer and admin access is prohibited.
UPDAAAAAAAAATE!
It was a driver issue. THANKS for the help guys!!

[Q] Heimdall Fails On Modem Install

Hey guys, I landed myself in a soft brick yesterday and odin wasn't working for me (which was a first). Then someone suggested I use Heimdall and it worked perfect. It brought me back to stock and I tried flashing CM7 from there. Now I am back in a soft brick but Heimdall is no longer working (and now odin doesn't even see my phone even though its in dl mode)
Here is what happens with the Heimdall process:
Uploading kernel...
Kernel upload successful
uploading Modem... <(this makes it no farther than 15%)
Modem upload failed!
Ending session...
If anyone has any suggestions it would be greatly appreciated!
If you get this fixed your may want to avoid CM7 / 9 or ICS for a while.
While flashing CM7 it may or may not have repartitioned your phone. The Heimdall error - is that from 1-Click or the full program?
Does Heimdall see the phone?
Maybe try the full Heimdall program with stock and repartition. Also try Odin again but on a different computer.
I had in instance where I couldn't get into Recovery - I had the ! sign. Odin didn't see the phone but Heimdall did. 1-Click error so I fired up the full Heimdall program and just flash a new kernel. Then restarted in recovery and went from there.
Yet another reason I stay with Froyo / GB and not CM7/9 or ICS. I want to keep a stock style of partition setup and avoid repartitioning the phone all the time.
I am using the one from the link you gave me here: http://www.filereactor.com/zcl1dy7zl...Click.jar.html
Where can I find the full version? NVM I found it my only question now is which files should I use for the flash? The same as what I would use with odin?
Also yeah tried different comps for odin... same thing :/ but heimdall can see it just fine
"I had in instance where I couldn't get into Recovery - I had the ! sign. Odin didn't see the phone but Heimdall did. 1-Click error" <<< Thats exactly where Im at
On a side note: I just said that same thing... after I get it back I'm done with this phone lol I'm sticking with my HTC's... I've NEVER had so many problems in my life, no I remember why I stopped updating my vibrant 6 months ago LOL!
mervant said:
I am using the one from the link you gave me here: http://www.filereactor.com/zcl1dy7zl...Click.jar.html
Where can I find the full version?
Also yeah tried different comps for odin... same thing :/ but heimdall can see it just fine
"I had in instance where I couldn't get into Recovery - I had the ! sign. Odin didn't see the phone but Heimdall did. 1-Click error" <<< Thats exactly where Im at
On a side note: I just said that same thing... after I get it back I'm done with this phone lol I'm sticking with my HTC's... I've NEVER had so many problems in my life, no I remember why I stopped updating my vibrant 6 months ago LOL!
Click to expand...
Click to collapse
Try leaving out the modem in the flash.
FaultException said:
Try leaving out the modem in the flash.
Click to expand...
Click to collapse
You cant with heimdall :/ I'm going to try using the full version like he suggested but cant find a working stock firmware link
This is getting extremely frustrating... Im reading the guide on heimdall and they say to add about 5 files but mine has nothing like that... I can only add the "heimdall firmware package" and the pit file :/ I tried getting the firmware file from sammobile but their download links dont work for some reason... nothing seems to ever go right with this phone
mervant said:
You cant with heimdall :/ I'm going to try using the full version like he suggested but cant find a working stock firmware link
Click to expand...
Click to collapse
Yeah you can but you'll need the real version, and I'm pretty sure the new one is based on packages, so you may want to get the command line version.
Paraphrasing of course:
Code:
heimdall flash --kernel zImage --cache cache.rfs
--dbdata dbdata.rfs --param param.lfs
--factoryfs factoryfs.rfs
When you say full version are you talking about this?
http://i.imgur.com/CFAaH.png
http://i.imgur.com/apm5G.png
also would you know where I can get the stock firmware other than sammobile?
It may have loaded a kernel for you via heimdall. Can you get to Recovery?
Im at work and cant check but - I think the Odin .tar package is just the Heimdall individual packages. Extract the odin image. You will also need the 512 pit file.
Heimdall should have come with instructions. That front end you will prob be working with the 2nd tab since you dont have a full Heimdall package.
Edit:
Also look for difference Odin versions. Sound silly but some folks got an older version to work.

Using Heimdall with Linux, and a bricked i777

First off, I am not a noob. Flashed many roms on many different phones, and up until yesterday was happily flashing away on my s2. But now I'm stumped and no guide or search function has helped me so far. I've tried Entropy's return to stock, and several other threads, to no avail. I was flashing JB yesterday when something borked on the install. Long and short of it is that I cannot even get into recovery to fix it. I CAN however, get into download mode. I downloaded Heimdall with the frontend, downloaded the latest stock image, and booted my phone into download mode to install the image. The frontend says it detects the phone, but when I try to install the firmware it gives a .libs error and will not establish a connection to the phone. I am using Ubuntu 12.04 32bit, do I need ADB set up to use Heimdall? If so, then I need a guide to install on 12.04 since I have not had any luck getting ADB working on my machine. I am a noob to Linux, so be kind.
Regards, Scott
I would just use heimdall command line. I don't use linux much, but Entropy512 always said he didn't use the front end on linux. The command line directions are in his thread, and also in my guides.
I saw your thread, tried the command line, that's when I got the could not connect with phone error.
Sent from my HTC Sensation using xda app-developers app
Scott41373 said:
I saw your thread, tried the command line, that's when I got the could not connect with phone error.
Sent from my HTC Sensation using xda app-developers app
Click to expand...
Click to collapse
If you haven't tried it already, try running heimdall as root. If I remember correctly, that's what I had to do on my Fedora 16 system to flash an image with heimdall.
run heimdall with su or sudo command.
Sent from my SAMSUNG-SGH-I777 using XDA Premium HD app
Will try, also didn't realize firmware needed to be in same path as Heimdall. Thanks
Scott41373 said:
Will try, also didn't realize firmware needed to be in same path as Heimdall. Thanks
Click to expand...
Click to collapse
The firmware really doesn't need to be in the same path as heimdall. When I flashed the rooted GB firmware I didn't have it in the same directory as heimdall and it flashed with no problem.
None of this worked. My phone is still in download mode, but it gave me an error when trying to flash the firmware. Hoping I am not completely hosed
As long as you can put the phone into download mode, you almost certainly can recover. I don't know all the ins and outs of using Heimdall with various linux distributions. You would have to talk to the developer or find a support board for Heimdall. Maybe you need to make arrangements to get access to a windows computer so that you can use odin to flash back to stock.
Scott41373 said:
None of this worked. My phone is still in download mode, but it gave me an error when trying to flash the firmware. Hoping I am not completely hosed
Click to expand...
Click to collapse
This is my be the problem "ATTENTION: Heimdall 1.3.2 broke compatibility for several devices. In most case it is recommended that you use version 1.3.1 instead." via http://www.glassechidna.com.au/products/heimdall/ if you need help getting it set up search YouTube for "Using Heimdall command line"
To get ADB working you need to get the Android SDK android-sdk_r20.0.1-linux.tgz http://developer.android.com/sdk/index.html if you need help getting it set up search YouTube for "Setting up Android SDK Ubuntu 12.4"

Categories

Resources