[How To] Install Ubuntu on Android terminals
|Material Needed
- Android phone with permissions root
- Sdk installed and running
- Busybox (Download)
- UbuntuPack (Download)
Process
Installing BusyBox:
- Download from the market and Root Terminal Emulator Explorer
- Save the file in the root of the SD card busybox busybox appointing him
- Open Root Explorer, and go into the directory /system/ and click “Mount R/W“
- Open Terminal Emulator and type the following commands:
mkdir /system/xbin cat /sdcard/busybox > /system/xbin/busybox chmod 755 /system/xbin/busybox busybox-install /system/xbin sync reboot
- The device will be restarted. To check the successful installation, open a new terminal and type busybox.
Installing Ubuntu:
- Remove the pack you downloaded and copy it to the root of the SD card
- At this point you have to remove the sd card and activate the USB Debugging (go to Settings>Applications> Development)
- At this point, through the command prompt, you must position yourself sdk/toolsdirectory and type
adb shell
- Type “of” (if you have problems, probably the device does not have root permissions)
- At this point we must enter into this folder in Ubuntu SD and then type
cd /sdcard/ubuntu
- Subsequently
sh. /ubuntu.sh
- And finally
bootubuntu
- If the installation is successful, it should appear localhost
- Ubuntu is already theoretically be used but only from the command line and if we want to use it via the GUI, we have to perform these additional steps:
apt-get update apt-get install tightvncserver (for installing tight vnc server) apt-get install lxde (to install LX DE) -export USER = root, vncserver-geometry 1024 × 800
(Varies depending on the resolution of your terminal)
- Set the password for vnc of your choice
- Now we issue the following commands:
cat> /root/.vnc/xstartup #!/bin/sh xrdb $ HOME/.Xresources xsetroot-solid gray & icewm lxsession
- Enter twice CTRL+D and then Enter
- At this point you have to open Android VNC application on the terminal, enter the password you set previously and set the port to 5901 and click connect, at this point if all goes well, you should see the desktop of Ubuntu
- Now to make it easier to begin, we must add the following code:
cat > Front export USER = root cd / rm -r -f tmp mkdir tmp cd / vncserver-geometry 1024 × 800
- Enter twice CTRL+D and then Enter
- Type:
front cat /root/.bashrc > temp cp temp /root/.bashrc
- At this point, to run Ubuntu just open Terminal Emulator and type:
of bootubuntu
If all goes well, you end up with an operating system running at 100% where you can launch the native application for Ubuntu, test the system and so on!
[box type=”info”] The Ubuntu installation does not compromise the Android operating system because Ubuntu is installed as a “subsystem”.[/box]
[Video] (How to Install Ubuntu on Android!)
[Video] (How to Install Ubuntu Linux on your Nexus One or Android phone!)
[Video] (How to Install Ubuntu on Galaxy Tab 10.1 Android Tablet!)
Source: chimerarevo.com