[HTC Inspire 4G] donnyevo4g:
First off i wanna say i take know credit at all for this i did not write the commands and i did not figure out how to do it i found this in the Desire HD thread and figured i would share it with all the HTC Inspire 4G people. This is a very simple process and within minutes your up and running Linux Ubuntu 10.10. Below i will post all the requirements, the steps, and the commands. Enjoy guys and girls and if you need any help with this just post to the Thread. Thanks Donny

Requirements:

​

*A rooted HTC Desire HD. For rooting instructions, see how to permanently root HTC Inspire 4G.

*A microSD card with 3 GB or more free space.

*Other custom kernel with LoopBack support

*Ubuntu image and required scripts

*Android Terminal Emulator app (install from the Android Market)

*Android VNC Viewer app (install from the Android Market)

*Before proceeding, move all your apps back to Internal Storage if you have moved them to SD using App2SD.

*An active internet connection on your phone (Wi-Fi is recommended).

Procedure:​

1 – Installing Ubuntu:

*Create a folder called ‘ubuntu’ on the root of your SD card.

Extract the contents of the downloaded Ubuntu.tar file and transfer them to the folder from Step 2.

*Launch Terminal Emulator and enter these commands:

su

pm setInstallLocation 1

cd sdcard/ubuntu

sh ubuntu.sh

bootubuntu

If all goes well, you should see “root@localhost:/#” now, indicating you are now running Ubuntu.

Entering Ubuntu at any time:​

*To enter Ubuntu terminal at any time from now onwards, you only have to launch Terminal Emulator, get su privileges, cd to the ubuntu directory and type ‘bootubuntu’:

su

cd sdcard/ubuntu

sh ubuntu.sh

bootubuntu

Configuring the Gnome Desktop GUI:​

*Now that you have Ubuntu 10.10 running, the next step would be enabling the Gnome Desktop GUI.

*If you aren’t already in the Ubuntu terminal, enter it using the above-mentioned instructions.

*Make sure that your phone’s internet connection is active and enter the following commands. Wait till each one finishes and enter ‘y’ (for yes) to confirm any prompt that you get:

apt-get update

apt-get install tightvncserver

cd /bin

cat >x

rm –r –f /tmp

mkdir /tmp

chmod 777 /tmp

export USER=root

export XKL_XMODMAP_DISABLE=1

vncserver –geometry 1024x800

Press Enter once more after entering the last command.

*Now you must configure your volume-down key as Ctrl in Terminal Emulator. Simply go to Menu > Preferences > Control Key and select Volume-Down key.

*Go back to the command line once done.

*Hold the Volume-Down key and press ‘d’. (This will basically enter Ctrl+D.)

Now enter these commands:

chmod 777 x

x

*This ‘x’ script basically lets you start the Gnome GUI. As this is the first time you are running this script, it will ask you to set a password for the VNC connection. Set a password of your choice.

*It will also ask you to set a password for “view-only” mode, which isn’t required so answer ‘n’ for no.

*Now launch Android VNC Viewer and create a new connection with the following settings:

*Nickname: Anything of your choice.

*Password: The password you set in Step 6.

*Address: localhost

*Port: 5901

*Color format: 24-bit color (4bpp)

*Now click ‘Connect’. In a minute or so, you should see your Ubuntu 10.10 Gnome desktop!!!

Links​

*Get the Ubuntu Files from the link below and install in Utorent

http://www.addictivetips.com/mobile/how-to-install-ubuntu-linux-on-htc-desire-hd/