[Galaxy S I9000 General] .kiz:
So 3 days of trying to install ubuntu on chroot and a little knowledge of linux and terminal, i was rather surprised to log into it and there i was, faced with an LXDE interface.

I want to thank coralic, burningbroccoli, lifehacker, josh_axeY and backfireNL for supplying the information i needed to make this possible.

So a brief overview of whats going to be done. First we will need to root our galaxy s in order to access terminal. An ubuntu image will be created and used in chroot environment by mounting (loading) it. Finally a vnc server will be setup and will be logged in using androidVNC.

So for the guide i suppose!

Guide:

First your going to need to root your phone. This is to access terminal and enter the commands required. This is taken from backfireNl's easy way to root your phone.

1. Download: 2.1 Update .zip

2. Put update.zip to root of /sdcard (not /sdcard/sd) (not on the physical SD card but the Internal SD card/Phone Memory)

3. Turn off phone

4. Hold down volume up + home button + power (tip: release the power button for half a second when you see the samsung logo)

5. Phone will reboot into recovery mode

6. Wait until you see the Recovery Screen and then release the buttons

7. With the volume down key go to the option: "apply: /sdcard/update.zip"

8. Press the home button

9. Phone will start updating

10. Phone reboots... and there you go! your phone is rooted!

So that wasnt too hard was it? Although once you have done this, you will need to download a couple of programs from the market. Goto market and download the following programs:

-Busybox

-Terminal Emulator

-androidVNC

Ensure all of these are installed as this is what you shall need in order to successfully run LXDE on your phone.

Next is the image for the install! i will post up an image file for download although for the sake of people wanting the whole info on how-to here it is.

1) login on your ubuntu machine and fire up terminal.

2) login as the super user by entering "sudo su"

3) you will be required to enter your su password, enter this and you will be logged in as root

4) In terminal enter "apt-get install rootstock"

5) One this package is all installed, enter the following code into the computer terminal:

sudo rootstock -f localhost --login ubuntu --password ubuntu --imagesize 1G --notarball --dist lucid --seed ssh,tightvncserver,lxde,expect

6)The image will be stored in the home folder. The image will need to be a .img file or it wont work. So extract the file if necessesary and rename the file so it reads "ubuntu.img"

7)Now you will need to put the ubuntu.img on the phone. The directory which it needs to be installed into is "/sdcard/ubuntu/"

8) All done for this step!

Ok so you have everything setup and ready to do the fun part! so lets get everything mounted and configured!

1)Open up terminal emulator on your phone

2)enter "su". this logs you in as superuser

3)I found you will need to make the following directories in order to work, so in terminal emulator enter:

mkdir /data/local/mnt

mkdir /data/local/mnt/proc

mkdir /data/local/mnt/dev

mkdir /data/local/mnt/dev/pts

4)enter "cd sdcard" then "cd ubuntu"

5)You will then be in the folder with the image. Type into terminal:

export HOME=/root

export USER=root

export PATH=$bin:/usr/bin:/usr/sbin:/bin:$PATH

busybox mount -t ext3 ubuntu.img /data/local/mnt

busybox mount -t proc proc /data/local/mnt/proc

busybox mount -t devpts devpts /data/local/mnt/dev/pts

busybox chroot /data/local/mnt /bin/bash

/etc/init.d/ssh start

6) Although it doesnt seem it, your now into your distro!

Okay so your into your distro but it looks all horrid and "text based". wouldnt it be lovely to see a proper desktop? so lets go!

1) enter into terminal "apt-get install x11vnc" this installs x11vnc to your phone. This may take a while depending on how your connected to the net

2) once x11vnc is installed, type "x11vnc -storepasswd" and enter a password. It will ask to verify the password so enter it again, then enter "y" to setup a password for it

3) first enter "vncserver" to initiate the server on your distro. For some reason without this, androidVNC will start to connect then crash

4)finally enter "x11vnc -usepw -find"

now your x11vnc is setup using a password :D hooray! last step in this guide and you will be away in no time! So is everyone ready?

1)hit the button on the bottom to return to the desktop but keep terminal emulator running

2)goto androidVNC and enter the following:

Nickname: root

Password: (whatever password you setup in x11vnc)

address: localhost

Port: 5900

color format can be anything, i set it to 4 bpp and use local mouse pointer

3)Simply click "connect" and viola! welcome to your impressive lxde environment!

This has been done before although i tried to do every step, base it around the phone as much as possible so no connecting to the computer.

any questions or problems i will try my best to help you guys, and thanks for the guys who helped me on this voyage.

i will write a bash script soon to try and incorporate as much of the manual typing in as possible :D

good luck!

Things which need to be done:

Upload image: Completed! - http://www.megaupload.com/?d=H55O5UEM

Bash script for terminal emulator: Completed, needs to be uploaded

Bash script for setup process of terminal emulator: Not completed

Startup script for image: Not completed

Youtube video: Not completed

Include internet browser and x11vnc in image file: Not completed

If anyone has any recommendations on how to make the process easier please let me know and i will try my best :)