Monday, September 2, 2013

Linux on Android Installation Notes

Recently when I was browsing google play, I found this app " Complete Linux Installer". Never did I expect it is so easy to install Linux system on Android phones. Just tested Ubuntu 10.10 on my old Android phone (lenovo lephone p700), and it works! Although the screen size is very small and the control is awkward, an almost fully functional Linux distribution was installed on the phone. And now I can use FireFox to browse the web, GIMP to draw and Emacs to edit texts, really cool!

Here are some notes for installing Linux on android phone (make sure your phone is rooted first):
1. Download and install the Complete Linux Installer app on Google Play:

2. Choose and download one Linux distribution on Android:
I chose Ubuntu 10.10(
After downloading, unzip and copy the file "ubuntu.img" to your phone's SD card.

3. Install Android Terminal Emulator:
and android-vnc-viewer:

4. Now, run the Complete Linux Installer app on your phone, go to Launch->Settings-Add, to add the file path of "ubuntu.img". After that, choose the added distribution from Launch,tap Start Linux.

5. Finally, open android-vnc-viewer, fill the Address with "localhost", Port"5900", Password "ubuntu", then tap "Connect". Now you're entering the Linux desktop.

solve the "Error: Unable to mount the loop device!" problem:

If you're trying ubuntu 10.10 on your android device and want to install some new software via the ubuntu software center:
How to install software or upgrade from old unsupported release?
Requires installation of untrusted packages?