yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] Qqqxxxzzz:
Should I try some other version like 1.3.0?
[Galaxy S I9000 Android Development] segelfreak2:
Just a short question:

Can I use the PIT file retrieved via Heimdall to flash my device with Odin + Repartition? Or should I only use the PIT file together with Heimdall?

Am I right, that I do not need a rooted device to retrieve the PIT file? So, just bringing my device in Download Mode, detect it with Heimdall & download the PIT file?

If this is correct, there should be absolutely no danger, right?

Thanks a lot,

Chris
[Galaxy S I9000 Android Development] Qqqxxxzzz:
Tried and it worked:D
[Galaxy S I9000 Android Development] pinpong:
Hompage is down since few days
[Galaxy S I9000 Android Development] sunseaker:
I'm having trouble flashing a Samsung stock ICS rom. I'm trying to flash GT-I9100_CPW_I9100XWLP7_I9100XXLPS_I9100CPWLP5.tar.md5 (XWLP7 with CPW CSC). My phone is currently Stock KI4 on GB 2.3.4. I downloaded the Pit from the phone.

When I try flash the phone I get the following output

Heimdall v1.3.2, Copyright (c) 2010-2012, Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/

Initialising connection...
Detecting device...
Claiming interface...
Attempt failed. Detaching driver...
Claiming interface again...
Setting up interface...

Checking if protocol is initialised...
Protocol is not initialised.
Initialising protocol...
Handshaking with Loke...

Beginning session...
Session begun with device of type: 131072

Downloading device's PIT file...
PIT file download sucessful

Uploading KERNEL
0%
1%
<snip>
.
.
.
</snip>
100%

KERNEL upload successful
Uploading CACHE
0%
1%
<snip>
.
.
.
</snip>
100%

ERROR: Failed to confirm end of file transfer sequence!
CACHE upload failed!
Ending session...
Rebooting device...
Re-attaching kernel driver...

Does anyone know why this is happening?
[Galaxy S I9000 Android Development] phlooke:
Guide

Hey all, hope I am not treading on anyone's toes with this.

I am a bit of a n00b when it comes to flashing ROM's and Kernels. I've used ODIN exclusively until recently.

I live in fear of the command line and so used the frontend GUI in windows to flash a kernel. It was all trial and error because I couldn't find a step by step guide but I made it no problems.

Anyway, in case it's of any use to anyone else I made a step by step guide of the process I followed for fellow n00bs.

Flash a Kernel using Heimdall Frontend in Windows

--
[Galaxy S I9000 Android Development] SpudULike:
What system are you using? I failed on an i386 Linux box in the same way you have here, but I know someone who had success on an x64 system.

Someone else suggested going back to 1.31.
[Galaxy S I9000 Android Development] Benjamin Dobell:
Yep, I recommend 1.3.1 :-P

1.3.2 does work for me with the two GT-I9000 devices I have, however 1.3.1 seems to have much better device support for other devices, so I'm just generally recommending 1.3.1 for now.
[Galaxy S I9000 Android Development] satadru:
Galaxy S III Support?

Does 1.3.2 work with the Galaxy S III? (I'm specifically inquiring about the US variants, but I suppose it would be useful to know if it has worked on the International version as well.)
[Galaxy S I9000 Android Development] jerdog:
I have used 1.3.2 on my Mac to flash my SGS3 (i9300) - don't see why it wouldn't work for the US variants
[Galaxy S I9000 Android Development] satadru:
Excellent. Can it be used to dump the filesystem w/o root? The Verizon SGS3 appears to have a locked bootloader, so the more tools at our disposal the merrier.
[Galaxy S I9000 Android Development] Tbenson:
Does it work for linux? I just got my phone but only have linux currently to perform the flash. I will wait to get to a windows computer to use odin. Has anyone confirmed that heimdall 1.3.2 works for sg3 (specifically verizon)?
[Galaxy S I9000 Android Development] pixbuf:
I tried 1.3.2 in Linux with my AT&T S3 but I got error messages to the effect, "unknown protocol". Big bummer. Had to use Odin in Windoze. Ugh.
[Galaxy S I9000 Android Development] ronmtorres:
mine says "Error: Failed to receive resposne" even if the device is detected.. :( Help please!

Edit: got it to work by removing bat from phone then putting back to DL mode :)
[Galaxy S I9000 Android Development] mav3rick478:
Has anyone headway been made on getting this to work on the VZW S3? Also with Mountain Lion on the horizon are we gonna see a working version soon?
[Galaxy S I9000 Android Development] berserkwarwolf:
is it down ? the official webpage I mean.
[Galaxy S I9000 Android Development] :
yes he told you should use; https://github.com/Benjamin-Dobell/Heimdall/downloads
[Galaxy S I9000 Android Development] nevzat74:
Heimdall Live CD?

Is there anywhere a Linux or WinPE Heimdall Live CD or USB image?

I wish we had a Ubuntu based live CD that is configured to run Heimdall GUI automatically at boot.

That way even an amateur can just boot the CD.
[Galaxy S I9000 Android Development] jerryp7:
I decided to search Android in Synaptic and found that I have Heimdall installed so it's in the repos. I use PCLinix OS. Just for grins I booted into Odin mode and Heimdall detected the device (Samsung Galaxy SII). It just said device detected. I don't have anything I'm interested in flashing but when I do I'll definitely try to use Heimdall and not Odin.

If you want to use a live CD I suppose you could boot it up and probably apt-get Heimdall since you use Ubuntu. You could also build your own bootable flash drive with it pretty easily.
[Galaxy S I9000 Android Development] sunseaker:
Thanks guys. Yes I am using 1.3.2 and I am on 32bit Linux (openSUSE 12.1). I'll check the repos for version 1.3.1 and see if that works better.
[Galaxy S I9000 Android Development] letinsh:
I picked up my Verizon SGS3 and coming from an OG Droid, this is my first exposure to Heimdall.

I downloaded 1.3.0, 1.3.1, and 1.3.2 since there were posts saying 1.3.2 wasn't cutting it.

I follow the instructions in the Readme. The USB Devices listed don't include the "Samsung USB Composite Device" but instead list my qualcom chip, MSM8960. I flash the driver for that without a problem (all 3 above listed versions do the same thing).

I have nothing to flash, so I open the front end and click over to Utilities to see if I can rip my PIT file, just to test the program. I click Detect, then try to Print the PIT. This is the output (in all 3 above listed versions):

Device detected

Heimdall v1.3.1, Copyright (c) 2010-2011, Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/

Initialising connection...
Detecting device...
Claiming interface...
Setting up interface...

Checking if protocol is initialised...
Protocol is not initialised.
Initialising protocol...
ERROR: Failed to initialise protocol!

Any fixes for this? I'm new at this so it could very possibly be my fault....

I'm running Winblows 7 64bit...
[Galaxy S I9000 Android Development] JGeZau:
I'm trying to go back to stock and was trying to use the files here http://xdaforums.com/showthread.php?t=1592994 but cannot figure out how to use them. Can someone please explain me??

Thanks
[Galaxy S I9000 Android Development] joebob296:
Im using Ubuntu 12.04 and am in the same boat as this guy. Any ideas on how to fix this?
[Galaxy S I9000 Android Development] jerdog:
I am assuming that you chose to list all devices in Heimdall when you're searching for your device?
[Galaxy S I9000 Android Development] letinsh:
Yep, I followed the directions in the read me to install the proper driver. Still produces the same result.
[Galaxy S I9000 Android Development] joebob296:
Can you give a link to the guide you followed?

Sent from Verizon's now unlocked Galaxy S3.
[Galaxy S I9000 Android Development] letinsh:
If you download the Windows version of Heimdall from the link in the OP, unzip what you downloaded and you'll find the README in there.
[Galaxy S I9000 Android Development] joebob296:
I am using ubuntu 12.04 I guess I could try the windows version in VB. But that seems odd sense I can't even get the Linux one to run.

Sent from Verizon's now unlocked Galaxy S3.
[Galaxy S I9000 Android Development] letinsh:
I was running ubuntu 10.04 and couldn't get it working, so I upgraded to Mint 13 and I still have that issue in all 3 tested versions of Heimdall. I think it'll have to be changes the developer makes if he decides to support the SGS3.
[Galaxy S I9000 Android Development] joebob296:
So how can we flash files in Ubuntu. I got Odin running but I can't get the drivers to work.

Sent from Verizon's now unlocked Galaxy S3.
[Galaxy S I9000 Android Development] letinsh:
Great question. I'm dual booting, so I can always run in Windows and use Odin, but I was kinda hoping to get Heimdall running...
[Galaxy S I9000 Android Development] damaa:
Download Link doesn't work. Does anybody know a mirror? I need the linux version.

Thanks.
[Galaxy S I9000 Android Development] liamwli:
Completely correct. The link has been dead for months!
[Galaxy S I9000 Android Development] jerryp7:
It should be in your repos. That's where I found it in Synaptic.
[Galaxy S I9000 Android Development] appagom:
I am getting large amounts of data corruption, some bits in nearly every file, using heimdall in linux to flash factoryfs.img to SGSII (SHW-M250K).. probably this bug:

https://github.com/Benjamin-Dobell/Heimdall/issues/37

and I did then pull the latest version from git (which does claim to be 1.4RC1 when executed) and I still get corruption.

This is bad. Most people don't diff the binaries on their phone against the ROM when things are acting weird (since most don't even know how to access the files on their ROM from a PC). Bad flashing wasn't my first guess either so it took me quite awhile to track this down. I hope nobody else needs to. The worst part is the ROMS usually boot, just very buggy. If it was bad enough to completely fail, most people would assume a bad flash I think, but it's not.

Of course I did then test with Odin. It was a linux machine so to test identical hardware I actually installed odin in a windows vm, maybe a little bold, but it actually worked with no corruption for the same ROM.

I've used heimdall to flash many kernels, but it is certainly not suitable for flashing full ROMS on this phone. This needs to be a big red warning

---------- Post added at 04:14 AM ---------- Previous post was at 04:03 AM ----------

In all fairness, I can't find where it's advertised to work on this device. It is recognized though, and now that we know, I think some warnings for this device beyond just "it might not work" are appropriate for now.
[Galaxy S I9000 Android Development] edo_xda:
Thanks for this post - I tried it out and this is what I needed to uninstall / remove Heimdall 1.3.1 (installed after a 1.3.2 install)

macbook:~ root# rm /usr/local/lib/libusb-1.0.0.dylib
macbook:~ root# rm -rf /System/Library/Extensions/heimdall.kext
macbook:~ root# which heimdall
/usr/bin/heimdall
macbook:~ root# rm -rf /usr/bin/heimdall
macbook:~ root# rm -rf /Applications/heimdall-frontend.app
[Galaxy S I9000 Android Development] shag_on_e:
I can't wait for 1.4 to be released! When news of its source hit I desperately tried for weeks to get it to compile but just could not get it to work. After the prop file was added, which was the error I was getting before when building, I now get errors that files are missing for heimdall-frontend ui window or something to that effect. I have the correct version of QT along with the pro version of Visual Studio, and I just can't get it to work. I can post the errors if anyone feels froggy enough to help a bother out! I am excited to be able to dump a working PIT file for the Toro Galaxy Nexus using this, so hopefully I can get it figured out soon!
[Galaxy S I9000 Android Development] FunkyELF:
Heimdall vs. CWM / TWRP

What are the advantages / disadvantages in using Heimdall vs. CWM or TWRP?

Does Heimdall provide additional functionality?

I rooted my GS3 with kies or something like that and now that I have TWRP installed I don't see why I'd need anything else.

Just asking, not trolling. I'd like to understand.

Thanks,

~Eric
[Galaxy S I9000 Android Development] bluefa1con:
Some times you get stuck in a brick where u can't access recovery

U need this to recover in such conditions
[Galaxy S I9000 Android Development] jerryp7:
Heimdall is to Linux as Odin is to Windows (never thought of both being Norse gods - duhhh). You use these tools to root and flash things like CWM and custom ROMs. TWRP too I suppose but have never tried nor looked into it. I'm thinking you rooted with "something like" Odin. I'm sure you didn't root with Kies. If you haven't checked for root (root checker app) you should becasue maybe you're not.
[Galaxy S I9000 Android Development] shag_on_e:
TWRP is a recovery, so Heimdall, like you said, is much more powerful. Heimdall has always been my go to brick recovery/general flash tool since Odin would constantly freeze in the middle of a firmware flash. Heimdall is the Samsung Savior!

~~~~There is no spoon~~~~
[Galaxy S I9000 Android Development] jerryp7:
Eric, I should also point out (for your understanding) that Heimdall also works in Windows but my being a Linux user I tend to forget that. It does seem to me though, that the "go to" Windows tool that is primarily used to flash Android (which is Linux based) is Odin. God and Bill Gates only know why Android users go to proprietary based Windows to flash their open source Androids instead on Linux. I even do it becasue that seems to be the way the instructions read but if I were into development I'd probably only work with open source if only on general principles.
[Galaxy S I9000 Android Development] shag_on_e:
Hey jerryp7, have you tried to build the new 1.4 RC on either your windows or Linux box?

~~~~There is no spoon~~~~
[Galaxy S I9000 Android Development] JOMM:
Not 'Samsung composite driver' option in Zadig (Can't continue)

I have the same problem, Options avaliable in 'Zadig' when my GT-P5100 is detected are "SAMSUNG USB DRIVER" and "SAMSUNG SERIAL CONTROL", I do not know if any of those 2 options would work fine, so I'd rather not take the risk of bricking. Have anyone had this issue? Maybe a solution?

GT-P5100 is 4.0.4 from purchase so I guess Heimdall is the best way to get root. Thank you in advance for any answer you may give on this.
[Galaxy S I9000 Android Development] Pac-Man:
Yesterday I had to flash my SGS I9000 to XXJVU because I got a semi-brick for doing some stuff I hadn't had. Odin did not work because it didn't detect my phone, so I started to look some tutorials to flash with Heimdall...

Sir, I have to say that I never go back to odin, because I tried your software and it's much better than closed-source Odin software.

Thanks you so much to make it possible! :laugh:
[Galaxy S I9000 Android Development] delsus:
Heya guys, I'm moving as much as I can to Ubuntu, so I installed Heimdall so I can flash my Galaxy S3 in Ubuntu, just one question before I start using it:

Do I need to extract .tars and flash the imgs? (so I flash system.img, recovery.img, cache.img etc)
[Galaxy S I9000 Android Development] diegoviola:
You meant Qt.

Qt == Qt

QT == QuickTime
[Galaxy S I9000 Android Development] shag_on_e:
Woooot! 1.4.0 is released! Now I'm stuck in a driver disaster trying to get zadig to get the right drivers installed. I'll have to wait until I get off work, but I'm damn sure excited! Thanks Benjamin!

~~~~There is no spoon~~~~
[Galaxy S I9000 Android Development] pietro_spina:
did you mean autogen.sh not autogen-sh?

using Ubuntu 10.4

after changing the dependency to 1.0.6 in 'configure.ac'

$ ./autogen.sh

Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf2.50 line 189.
Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf2.50 line 189.
configure.ac:8: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf2.50: /usr/bin/autoconf failed with exit status: 1
[Galaxy S I9000 Android Development] Benjamin Dobell:
Oops, yeah I meant "autogen.sh".

You might be missing some autotools requirements, libtool etc. I wouldn't worry about it too much as it's much simpler to just download and compile libusb-1.0 1.0.8.
[Galaxy S I9000 Android Development] dirk1978:
sudo apt-get install build-essential

should do it.
[Galaxy S I9000 Android Development] Akrilee:
Ok, did compile without problems with 1.0.6. If this works (I mean flashing..), it's easier for others, because they don't need to manually compile 1.0.8 and doing some PKG_CONFIG_PATH ninja magic :p.

Btw. If you have a linux box. You could have used the same setup for sniffing like I did. The linux wireshark version supports usb sniffing. The only thing you have to do is:

1) Downloading the oracle version of VirtualBox

2) ..and install ...say Windows XP.

3) Activate USB Passthrough.

4) Install the driver sh** from Kies (boy, this was a major pain in the a**)

5) Flashing from within VirtualBox

6) Start Sniffing with Wireshark

7) ???

8) PROFIT

End of the story... you don't need any money for a usb sniffer + the wireshark UI is awesome. I would even say very intuitive, as long as someone knows a few things about sniffing (which I guess, you do ;).

Programmer? I'M NO PROGRAMMER. I'M A PROBLEM SOLVER. PROGRAMMER IS CONSIDERED NERDY. XD

tweaking the code

Hilarious WTF. Almost wet my pants.

To relieve the pain for some people here. I will try to start cracking on a rpm/deb package, but don't count on it for now. I maybe need some time (1-2 weeks) - depending on how easy it is, and how much time I have.
[Galaxy S I9000 Android Development] pietro_spina:
It was libtool I was missing. :-D

after installing that there were no problems building.

I still have not tested flashing.

-p
[Galaxy S I9000 Android Development] rjmjr69:
Phone Name: Samsung Epic 4G sph-d700

Country: United States!

Carrier: SPRINT

Hardware IDs:

USB\VID_04E8&PID_6601&REV_021;

USB\VID_04E8&PID_6601

__________________

* Galaxy S GT-I9000 - Product ID: 681C

-> Australia (Optus)

Share the same info so do you think it will work?
[Galaxy S I9000 Android Development] Benjamin Dobell:
Just a quick update...

After a lot of searching through both Galaxy S kernel source and OS X's IOUSBFamily source I've discovered why the device can't be recognised on OS X. The solution requires either a custom IOUSBFamily or a custom Galaxy S kernel. I've chosen to go with the custom Galaxy S kernel as it appears as though the Galaxy S is the one at fault.

Hopefully I'll be able to release a custom kernel and the relevant source patch sometime in the next few days. At the same time I'll likely be making another release which has support for repartitioning.
[Galaxy S I9000 Android Development] techmik67:
Always remember that bad things CAN happen when you mess with the areas this program messes with. Also, bad things can ALSO happen when you aren't VERY careful with beta releases in general. Therefore, if you put those things together, like you are doing with this program, you are doing a dangerous thing. YOU CAN KILL YOUR PHONE!!!

I'm not saying it WILL happen, just that it CAN..... so BE CAREFUL!! Don't be afraid to test, but carefully.....;)

And yes, I support this program, I just don't wanna see people willy-nilly jumping in and possibly damaging their devices, then saying it's not their fault.

I have testing and will probably continue to.... just want people to go slow. Read the OP. And remember what beta means :D
[Galaxy S I9000 Android Development] Benjamin Dobell:
Definitely agree with what techmik67 is saying about going slow and reading instructions. Heimdall flashes files to your phone, if you're not careful you definitely can brick your phone.

Whilst based on the experience of myself and others I'd definitely call the current release stable that doesn't necessarily mean you can't brick your device. All that means is that if you follow the instructions Heimdall will copy files from your computer to your phone. Where things can go wrong is definitely in the choosing of what files to flash. In particular based on what techmik67 has told me about his experiences. Please be extremely careful mixing files from different firmware releases. Don't do so unless you're certain it will work!

Just like Odin, Heimdall has no way of telling whether files are compatible.

I believe the current release to be stable. If anyone does encounter an error then please let myself and the rest of the community know.
[Galaxy S I9000 Android Development] techmik67:
I definitely want to say that when I followed instructions it DID work. I successfully flashed from JI6 to JF6. Smooth as silk.
[Galaxy S I9000 Android Development] Benjamin Dobell:
After some serious investigation and a bit low-level debugging it appears as though there is very little I can do to correct the GT-I9000's lack of USB specification compliance when in download mode. When in download mode the GT-I9000 is using an embedded Gadget Serial driver and not the one provided by the linux kernel (zImage). As such I have made Samsung aware of the issue although I don't know if they will resolve it or how long it will take.

Alternatively I could make a custom IOUSBFamily driver that works around the issue. However, I'd rather not as I'm substantially more comfortable with producing correctly functional code, as opposed to changing correctly functional code to behave in an incorrect fashion.

Anyway that seems to have been a lot of wasted effort so I'll now get back to work on Heimdall itself. The next release will include functionality to dump firmware and and to repartition a device when flashing.
[Galaxy S I9000 Android Development] gnac:
hell yeah!

this just saved my a**. was dorking around and screwed up a rom update.

"Only" documented way to fix was odin. Took a while to figure out where to get the files I needed etc, but once I got the command parameters figured out it worked like a charm.

beer coming your way.
[Galaxy S I9000 Android Development] pietro_spina:
Can you report back which tool you used?(linux/windows) And maybe list the files you sucessfully flashed?