[Galaxy S I9000 Android Development] windraker:
This is great! I checked all posts to date and I still cant find my error:

Command not found.

This is when using:

sudo ./arm$$$$$.bin

I'm using the latest 11.04 of ubuntu 64bit in VMWare Player.

Anyone know howto install the toolchains on that?

Again thanks!

EDIT:

the installer for the bin file always fails for me or doesn't work. I got the JRE's, installed and working, no java error, just libc than it fails to load install.

Here's what I did after:

from terminal:

cd /opt

sudo mkdir toolchains

cd toolchains

sudo chown myusername .

chmod g+ws .

umask 2

wget http://www.codesourcery.com/sgpp/li...-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2

tar -xvf arm-2009q3-67-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2

From there I followed the rest of your steps.

Everything worked except I get this errors on repack/extract:

Extract:

admin@ubuntu:~/Downloads$ ./extracter.sh -s zImage.org -d temp
##### 01. Extracting kernel from /home/admin/Downloads/zImage.org (start = 16541) to /home/admin/Downloads/out/Image
346+1 records in
346+1 records out
5724227 bytes (5.7 MB) copied, 0.150831 s, 38.0 MB/s

gzip: stdin: decompression OK, trailing garbage ignored
##### reading initramfs from the uncompressed Image file #####
99+1 records in
27833+1 records out
14250816 bytes (14 MB) copied, 0.044178 s, 323 MB/s
1+0 records in
1+0 records out
4093520 bytes (4.1 MB) copied, 0.0051568 s, 794 MB/s
rm: cannot remove `/home/admin/Downloads/temp': No such file or directory
##### extracting the initramfs in /home/admin/Downloads/temp #####
cpio: Removing leading `/' from member names
cpio: premature end of file
admin@ubuntu:~/Downloads$

Repack:

admin@ubuntu:~/Downloads$ ./repacker.sh -s zImage.org -d zImage -r temp -c gzip
##### My name is ./repacker.sh #####
##### The source kernel is /home/admin/Downloads/zImage.org #####
##### The destination zImage file is /home/admin/Downloads/zImage #####
##### The directory of the initramfs has been selected #####
##### The initramfs is /home/admin/Downloads/temp (will be gzipped) #####
11944 blocks
##### 01. Extracting kernel from /home/admin/Downloads/zImage.org (start = 16541) to ./out/Image
346+1 records in
346+1 records out
5724227 bytes (5.7 MB) copied, 0.188985 s, 30.3 MB/s

gzip: stdin: decompression OK, trailing garbage ignored
##### 02. The size of the new initramfs is = 3546055 / original = 4093520
##### 03. The size of the Image is 14394176
##### 04. Making a head.img ( from 0 ~ 143360 )
1+0 records in
1+0 records out
143360 bytes (143 kB) copied, 0.000494863 s, 290 MB/s
##### 05. Making a tail.img ( from 4236880 ~ 14394176 )
2+1 records in
2+1 records out
10157296 bytes (10 MB) copied, 0.0506015 s, 201 MB/s
##### 06. Merging head + initramfs
##### 07. Checking the size of [head+initramfs]
##### 08. Merging [head+initramfs] + padding + tail
1+0 records in
1+0 records out
547465 bytes (547 kB) copied, 0.00378551 s, 145 MB/s
#==========================================
##### Now we are rebuilding the zImage #####
#==========================================
##### 09. Image ---> piggy.gz
##### 10. piggy.gz ---> piggy.o
./repacker.sh: line 162: /opt/toolchains/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: No such file or directory
##### 11. Compiling head
./repacker.sh: line 167: /opt/toolchains/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: No such file or directory
##### 12. Compiling misc
./repacker.sh: line 173: /opt/toolchains/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: No such file or directory
##### 13. head.o + misc.o + piggy.o ---> vmlinux
./repacker.sh: line 178: /opt/toolchains/arm-2009q3/bin/arm-none-linux-gnueabi-ld: No such file or directory
##### 14. vmlinux ---> zImage
./repacker.sh: line 182: /opt/toolchains/arm-2009q3/bin/arm-none-linux-gnueabi-objcopy: No such file or directory
##### 15. Getting finished!!
cp: cannot stat `arch/arm/boot/zImage': No such file or directory
rm: cannot remove `arch/arm/boot/compressed/vmlinux': No such file or directory
rm: cannot remove `arch/arm/boot/compressed/piggy.o': No such file or directory
rm: cannot remove `arch/arm/boot/zImage': No such file or directory
#==========================================
##### DONE!! #####
#==========================================

Do you have any advice on that? ^^;