[Galaxy S I9000 Android Development] AdamOutler:
Benjamin Dobell:

Critical error in Heimdall 1.3 beta. My phone is hard bricked. I didn't see Heimdall flash the requested partition table.

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 KERNEL

KERNEL upload successful
Uploading MODEM

MODEM upload successful
Uploading FACTORYFS

FACTORYFS upload successful
Uploading IBL+PBL

IBL+PBL upload successful
Uploading SBL

SBL upload successful
Uploading PARAM

PARAM upload successful
Ending session...
Rebooting device...
Re-attaching kernel driver...

I think everything was done correctly...

<?xml version="1.0" encoding="UTF-8"?><firmware version="1"><name>Andromeda</name><version>3</version><platform><name>Android</name><version>2.2</version></platform><developers><name>Team Komin</name><name>Adam Outler</name><name>Pirate Ghost</name><name>DAGr8</name><name>mxracer101</name><name>Ferman</name></developers><url>http://teamkomin.googlecode.com</url><donateurl>http://xdaforums.com/donatetome.php?u=3682533</donateurl><devices><device><manufacturer>Samsung</manufacturer><product>SGH-i897</product><name>Captivate</name></device><device><manufacturer>Samsung</manufacturer><product>SGH-i896</product><name>Captivate</name></device></devices><pit>part.pit</pit><repartition>1</repartition><noreboot>0</noreboot><files><file><id>0</id><filename>boot.bin</filename></file><file><id>3</id><filename>Sbl.bin</filename></file><file><id>21</id><filename>param.lfs</filename></file><file><id>6</id><filename>zImage</filename></file><file><id>22</id><filename>factoryfs.rfs</filename></file><file><id>11</id><filename>modem.bin</filename></file></files></firmware>

My program won't repartition unless bootloader flashing is enabled. I didn't see it upload the partition table and I flashed bootloaders.

I generated my package from my other phone with the following commands:

mkdir /sdcard/partitions
cd /sdcard/partitions
dd if=/dev/block/bml1 bs=4096 of=boot.bin
dd if=/dev/block/stl3 bs=4096 of=efs.rfs
dd if=/dev/block/bml4 bs=4096 of=Sbl.bin
dd if=/dev/block/stl6 bs=4096 of=param.lfs
dd if=/dev/block/bml7 bs=4096 of=zImage
dd if=/dev/block/stl9 bs=4096 of=factoryfs.rfs
dd if=/dev/block/stl10 bs=4096 of=dbdata.rfs
dd if=/dev/block/stl11 bs=4096 of=cache.rfs
dd if=/dev/block/bml12 bs=4096 of=modem.bin

I ran the strings command on my Sbl.bin

help [command]
M1reboot
Reboot system
0boot [kernel options]
Boot Linux with optional kernel options
kernel hex_adr
Change the Linux kernel base
format
format device
open
open device
close
close device
erasepart partition_id
erase part of units
- ex) erase 0x9(temp partition)
eraseall
erase all units
loadkernel
load kernel image
- loadkernel 0x80A00000 from kernel partition
showpart
show partition information
addpart <id> <attr> <unit>
add partition information
- ex) addpart 0x(id) 0x1(attr) 0x10(units)
delpart
delete last partition information
savepart
save partition information
nkernel command
* Usage : nkernel
read kernel from flash to DDR
nramdisk command
* Usage : nramdisk
read ramdisk from flash to DDR
* Usage : nandread <PARTID> <SIZE>
read partition from flash to SDRAM(0x80000000)
* Usage: nandwrite <PARTID> <SIZE>
write partition from SDRAM(0x80000000) to flash
usb download command
eSSD

It's an SBL.. that's the help command from the SBL prompt.

boot.bin returned this string

-----------------------------------------------------------
Samsung Primitive Bootloader (PBL) v3.0
Copyright (C) Samsung Electronics Co., Ltd. 2006-2010
Error Occurs During Boot. Please ReBoot.
FSR_BML_Init Error

So, the files were good.. I'm not too worried about my phone because I'm supposed to get a RIFF JTAG box in the mail soon. I'm getting nothing at all over UART. Usually I see a PBL flash by or something.

A possible future enhancement may be to group bootloaders and PIT into a category where they can only be flashed together. What do you think?