[Galaxy S I9000 Android Development] AdamOutler:
I'm having a problem with flashing on Windows.

Here's some one-click stuff...

Writingjava.io.BufferedOutputStream@15fea60Writingjava.io.BufferedOutputStream@1891d8fWritingjava.io.BufferedOutputStream@b179c3Writingjava.io.BufferedOutputStream@7a78d3Attempting to write C:\DOCUME~1\adam\LOCALS~1\Temp\adamHeimdallOneClick67E21558\firmware.xmlAttempting to write C:\DOCUME~1\adam\LOCALS~1\Temp\adamHeimdallOneClick67E21558\firmware.xmlAttempting to write C:\DOCUME~1\adam\LOCALS~1\Temp\adamHeimdallOneClick67E21558\heimdall-win32.zipAttempting to write C:\DOCUME~1\adam\LOCALS~1\Temp\adamHeimdallOneClick67E21558\heimdall-win32.zipSearching for heimdall in folder:C:\DOCUME~1\adam\LOCALS~1\Temp\adamHeimdallOneClick67E21558\Searching C:\DOCUME~1\adam\LOCALS~1\Temp\adamHeimdallOneClick67E21558\heimdall-win32Searching for heimdall in folder:C:\DOCUME~1\adam\LOCALS~1\Temp\adamHeimdallOneClick67E21558\heimdall-win32\DriversHeimdall Binary:C:\DOCUME~1\adam\LOCALS~1\Temp\adamHeimdallOneClick67E21558\heimdall-win32\heimdall.exe
###executing: C:\DOCUME~1\adam\LOCALS~1\Temp\adamHeimdallOneClick67E21558\heimdall-win32\heimdall.exe###Writingjava.io.BufferedOutputStream@1c99159Response from command "C:\DOCUME~1\adam\LOCALS~1\Temp\adamHeimdallOneClick67E21558\heimdall-win32\heimdall.exe":
v1.3.1Verifying C:\DOCUME~1\adam\LOCALS~1\Temp\adamHeimdallOneClick67E21558\ . Result=falseResult=falseStatics.setSystemInfo(): Windows Operating System: Windows
###executing: C:\DOCUME~1\adam\LOCALS~1\Temp\adamHeimdallOneClick67E21558\heimdall-win32\heimdall.exe###Writingjava.io.BufferedOutputStream@91ceeWritingjava.io.BufferedOutputStream@1e0ff2fGingerbread Bootloaders UCKF1 is ready for your device.
Response from command "C:\DOCUME~1\adam\LOCALS~1\Temp\adamHeimdallOneClick67E21558\heimdall-win32\heimdall.exe":
Usage: heimdall <action> <action arguments> <common arguments>

Common Arguments:
[--verbose] [--no-reboot] [--stdout-errors] [--delay <ms>]

Action: flash
Arguments:
--repartition --pit <filename> [--factoryfs <filename>]
[--cache <filename>] [--dbdata <filename>] [--primary-boot <filename>]
[--secondary-boot <filename>] [--param <filename>] [--kernel <filename>]
[--modem <filename>] [--normal-boot <filename>] [--system <filename>]
[--user-data <filename>] [--fota <filename>] [--hidden <filename>]
[--movinand <filename>] [--data <filename>] [--ums <filename>]
[--emmc <filename>] [--<partition identifier> <filename>]
or:
[--factoryfs <filename>] [--cache <filename>] [--dbdata <filename>]
[--primary-boot <filename>] [--secondary-boot <filename>]
[--secondary-boot-backup <filename>] [--param <filename>]
[--kernel <filename>] [--recovery <filename>] [--efs <filename>]
[--modem <filename>] [--normal-boot <filename>] [--system <filename>]
[--user-data <filename>] [--fota <filename>] [--hidden <filename>]
[--movinand <filename>] [--data <filename>] [--ums <filename>]
[--emmc <filename>] [--<partition identifier> <filename>]
Description: Flashes firmware files to your phone.
WARNING: If you're repartitioning it's strongly recommended you specify
all files at your disposal, including bootloaders.

Action: close-pc-screen
Description: Attempts to get rid off the "connect phone to PC" screen.

Action: download-pit
Arguments: --output <filename>
Description: Downloads the connected device's PIT file to the specified
output file.

Action: detect
Description: Indicates whether or not a download mode device can be detected.

Action: dump
Arguments: --chip-type <NAND | RAM> --chip-id <integer> --output <filename>
Description: Attempts to dump data from the phone corresponding to the
specified chip type and chip ID.
NOTE: Galaxy S phones don't appear to properly support this functionality.

Action: print-pit
Description: Dumps the PIT file from the connected device and prints it in
a human readable format.

Action: version
Description: Displays the version number of this binary.

Action: help
Description: Displays this dialogue.

Here is heimdall stuff.

###executing: C:\DOCUME~1\adam\LOCALS~1\Temp\adamHeimdallOneClick67E21558\heimdall-win32\heimdall.exe###Response from command "C:\DOCUME~1\adam\LOCALS~1\Temp\adamHeimdallOneClick67E21558\heimdall-win32\heimdall.exe":
v1.3.1Found Heimdall Version: v1.3.1Ready for flash.Device not connected.Ready for flash.FLASH ROUTINE INITIATED!!!![C:\DOCUME~1\adam\LOCALS~1\Temp\adamHeimdallOneClick67E21558\heimdall-win32\heimdall.exe, flash, --pit, C:\DOCUME~1\adam\LOCALS~1\Temp\adamHeimdallOneClick67E21558\part.pit, --11, C:\DOCUME~1\adam\LOCALS~1\Temp\adamHeimdallOneClick67E21558\Modem.bin]nullnullHeimdall 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...
Handshaking with Loke...
ERROR: Failed to receive response!

FLASH ROUTINE INITIATED!!!![C:\DOCUME~1\adam\LOCALS~1\Temp\adamHeimdallOneClick67E21558\heimdall-win32\heimdall.exe, flash, --repartition, --pit, C:\DOCUME~1\adam\LOCALS~1\Temp\adamHeimdallOneClick67E21558\part.pit, --0, C:\DOCUME~1\adam\LOCALS~1\Temp\adamHeimdallOneClick67E21558\boot.bin, --3, C:\DOCUME~1\adam\LOCALS~1\Temp\adamHeimdallOneClick67E21558\Sbl.bin, --4, C:\DOCUME~1\adam\LOCALS~1\Temp\adamHeimdallOneClick67E21558\Sbl.bin, --21, C:\DOCUME~1\adam\LOCALS~1\Temp\adamHeimdallOneClick67E21558\param.lfs, --11, C:\DOCUME~1\adam\LOCALS~1\Temp\adamHeimdallOneClick67E21558\Modem.bin]nullnullHeimdall 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 initialised.

Here is the second log.

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

Uploading PIT
PIT upload failed!
Ending session...
ERROR: Failed to confirm end of PIT file transfer!ERROR: Failed to send end session packet!
Device not connected.Ready for flash.FLASH ROUTINE INITIATED!!!![C:\DOCUME~1\adam\LOCALS~1\Temp\adamHeimdallOneClick67E21558\heimdall-win32\heimdall.exe, flash, --repartition, --pit, C:\DOCUME~1\adam\LOCALS~1\Temp\adamHeimdallOneClick67E21558\part.pit, --0, C:\DOCUME~1\adam\LOCALS~1\Temp\adamHeimdallOneClick67E21558\boot.bin, --3, C:\DOCUME~1\adam\LOCALS~1\Temp\adamHeimdallOneClick67E21558\Sbl.bin, --4, C:\DOCUME~1\adam\LOCALS~1\Temp\adamHeimdallOneClick67E21558\Sbl.bin, --21, C:\DOCUME~1\adam\LOCALS~1\Temp\adamHeimdallOneClick67E21558\param.lfs, --11, C:\DOCUME~1\adam\LOCALS~1\Temp\adamHeimdallOneClick67E21558\Modem.bin]nullnullHeimdall 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...
Handshaking with Loke...
ERROR: Failed to receive response!

Heimdall exited at this point.

on the second upload, 1/2 of the bar shows uploaded but it fails and ends the session, leaving the device on. It also does not reconnect the kernel driver

The only error messages I'm receiving is this:

ERROR: Failed to confirm end of PIT file transfer!ERROR: Failed to receive session end confirmation!

The problem does not exist on Linux, only Windows.

As troubleshooting I