An updated version of this guide is posted here: http://www.nerd65536.com/2011/07/installing-ubuntu-in-android-version-2.html
Choosing Debian or UbuntuUbuntu does not support earlier ARM CPUs like the ones used in the T-Mobile G1 and Motorola Cliq. You need a at least an ARMv7 CPU like the kind found in the Motorola Droid, T-Mobile G2 or most newer phones (Hummingbird, Snapdragon, Tegra2, etc.) If you're not sure what CPU your device has, look up your device on http://pdadb.net/, click the link under CPU, and read the line for "Supported Instruction Set(s)".
Debian will work on practically all Android devices, so if you want to run Debian or you can't run Ubuntu, simply replace any instance of "
ubuntu" with "
debian" in the instructions to follow.
You will need to root your device.
Required Files:Either android-ubuntu-maverick.7z or android-debian-squeeze.7z.
Required Apps:BusyBox Installer
A terminal emulator like ConnectBot or Terminal Emulator
Phase 1 - Preinstall:
(Mount the SD card on your computer.)
Extract the .7z file you downloaded to your SD card. You should now have a folder named "
ubuntu" on your card.
(Unmount the SD card.)
Open Busybox Installer, and install Busybox.
Phase 2 - Install
Open your terminal emulator. (If using ConnectBot, connect to 'local', not 'ssh'.)
Run the following commands:
Ubuntu is now installed.
Phase 3 - Running Ubuntu
Open your terminal emulator.
To start a chroot session
To start the SSH server
You can then use ConnectBot (SSH: user@localhost) on your device, or any SSH client to connect to your device. See Login Information, below.
To start a VNC session
The first time you run this, it will prompt you to create a VNC password.
You can then use androidVNC (host: localhost port: 5901), or any VNC client to connect to your device.
Note: The images come with icewm as the desktop environment. If you wish to replace it, for example, with LXDE
Run the following as root in Ubuntu.
apt-get autoremove icewm- lxde+
Please remember to change these passwords if you are planning on using the SSH server. Malicious people can do very bad things to your device if you don't.
There are two accounts included in the images: