[Galaxy S I9000 Android Development] AdamOutler:
Yeah... this is definately a problem with Heimdall Windows. repartitioning bricks my device.. It's UnBrickable.. Don't worry. It works fine on Linux.

I'd recommend not flashing PIT with repartition option on Windows at this time.

For reference this is the same commands run under Linux. Everything worked fine.

Writingjava.io.BufferedOutputStream@da6bf4Writingjava.io.BufferedOutputStream@10bbf9eWritingjava.io.BufferedOutputStream@1d5a0Writingjava.io.BufferedOutputStream@15aed57Attempting to write /tmp/adamHeimdallOneClick78B76934/firmware.xmlAttempting to write /tmp/adamHeimdallOneClick78B76934/firmware.xmlWritingjava.io.BufferedOutputStream@ab7165Writingjava.io.BufferedOutputStream@633d51Writingjava.io.BufferedOutputStream@b533b8
###executing: dpkg###Response from command "dpkg":
Debian `dpkg' package management program version 1.15.8.10ubuntu1 (amd64).
This is free software; see the GNU General Public License version 2 or
later for copying conditions. There is NO warranty.
###executing: arch###Gingerbread Bootloaders UCKF1 is ready for your device.
Response from command "arch":
x86_64Verifying /tmp/adamHeimdallOneClick78B76934/ . Result=trueResult=trueSet Temporary Folder:/tmp/adamHeimdallOneClick78B76934/Statics.setSystemInfo(): Debian Based x86_64Operating System: Debian Based x86_64
###executing: heimdall###Response from command "heimdall":
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.
###executing: heimdall###Response from command "heimdall":
v1.3.0Found Heimdall Version: v1.3.0Attempting to write /tmp/adamHeimdallOneClick78B76934/heimdall_amd64.debSetting executable /tmp/adamHeimdallOneClick78B76934/heimdall_amd64.deb. Result=trueVerifying /tmp/adamHeimdallOneClick78B76934/heimdall_amd64.deb . Result=trueResult=true
###executing: gksudo###Response from command "gksudo":
(Reading database ... 236433 files and directories currently installed.)
Preparing to replace heimdall 1.3.1 (using .../heimdall_amd64.deb) ...
Unpacking replacement heimdall ...
Setting up heimdall (1.3.1) ...
###executing: heimdall###Response from command "heimdall":
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.Device not connected.Ready for flash.FLASH ROUTINE INITIATED!!!![heimdall, flash, --pit, /tmp/adamHeimdallOneClick78B76934/part.pit, --11, /tmp/adamHeimdallOneClick78B76934/Modem.bin]nullnullHeimdall v1.3.0, 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...
Attempt failed. Detaching driver...
Claiming interface again...
Setting up interface...

Beginning session...
Handshaking with Loke...

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

Uploading MODEMMODEM upload failed!
Ending session...
Re-attaching kernel driver...ERROR: Failed to send file part packet!ERROR: Failed to send end session packet!
Device not connected.Ready for flash.FLASH ROUTINE INITIATED!!!![heimdall, flash, --repartition, --pit, /tmp/adamHeimdallOneClick78B76934/part.pit, --0, /tmp/adamHeimdallOneClick78B76934/boot.bin, --3, /tmp/adamHeimdallOneClick78B76934/Sbl.bin, --4, /tmp/adamHeimdallOneClick78B76934/Sbl.bin, --21, /tmp/adamHeimdallOneClick78B76934/param.lfs, --11, /tmp/adamHeimdallOneClick78B76934/Modem.bin]nullnullHeimdall v1.3.0, 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...
Attempt failed. Detaching driver...
Claiming interface again...
Setting up interface...

Beginning session...
Handshaking with Loke...

Uploading PIT
PIT upload successful
Uploading MODEM
MODEM upload successful
Uploading IBL+PBL
IBL+PBL upload successful
Uploading SBL
SBL upload successful
Uploading SBL2
SBL2 upload successful
Uploading PARAM
PARAM upload successful
Ending session...
Rebooting device...
Re-attaching kernel driver...
Device not connected.Ready for flash.Device not connected.Ready for flash.Device not connected.Ready for flash.Device not connected.