My Android runs Ubuntu, how about yours?
#1
Moderator
Thread Starter
My Android runs Ubuntu, how about yours?
I'm working on a project called AndBuntu. It allows you to run Ubuntu on your android. Since we have alot of Android users here, I thought I would post here and see if it will work on other models.
Here you can see Ubuntu with LXDE (lightweight X11 desktop environment) running on my phone. LXDE was optimized for low memory/small processor applications, unlike Ubuntu Desktop.
You will need:
A rooted Android.
A terminal emulator on your android (android market)
A VNC app like 'androidVNC' on your android(android market)
A Linux machine to create an Ubuntu img file.
rootstock installed (apt-get install rootstock on ubuntu)
1. building an image file on your linux computer
This will create a .img file distribution of Ubuntu 11.04, Maverick meercat LXDE which is 2gigs on your desktop
2. rename the newly generated file to ubuntu.img. It will be a whole bunch of numbers and end with .img.
3. create a sdcard /ubuntu/ folder on your phone and copy your ubuntu.img file and this script to the ubuntu folder script:
http://andbuntu.goog...svn/trunk/uboot
4. using your terminal emulator type the following:
follow the prompts to set your X server password. Note the X Server number (usually :1)
5. press the home button and open up your VNC viewer application.
6. connect into your new ubuntu running on the phone with
VNC Server: 127.0.0.1
port: 5901 (if the desktop is :2, then use 5902, if :3, then 5903)
password: ******** (password you selected in step 4.
I'm working on turning this into an app for easy download and use. For now we have to do things manually. Let me know if there are any problems.
Here you can see Ubuntu with LXDE (lightweight X11 desktop environment) running on my phone. LXDE was optimized for low memory/small processor applications, unlike Ubuntu Desktop.
You will need:
A rooted Android.
A terminal emulator on your android (android market)
A VNC app like 'androidVNC' on your android(android market)
A Linux machine to create an Ubuntu img file.
rootstock installed (apt-get install rootstock on ubuntu)
1. building an image file on your linux computer
Code:
cd ~/Desktop sudo rootstock --dist maverick --seed lxde,tightvncserver,ssh -fqdn localhost --login ubuntu --password ubuntu --imagesize 2000M --notarball --fullname "Ubuntu for Android" --kbmodel pc104 --locale en_US.UTF-8 --serial ttyS0 --doswap --swapsize 256M
2. rename the newly generated file to ubuntu.img. It will be a whole bunch of numbers and end with .img.
Code:
mv ./############.img ./ubuntu.img
3. create a sdcard /ubuntu/ folder on your phone and copy your ubuntu.img file and this script to the ubuntu folder script:
http://andbuntu.goog...svn/trunk/uboot
4. using your terminal emulator type the following:
Code:
su cd /sdcard/ubuntu sh ./uboot firstRun tightvncserver
5. press the home button and open up your VNC viewer application.
6. connect into your new ubuntu running on the phone with
VNC Server: 127.0.0.1
port: 5901 (if the desktop is :2, then use 5902, if :3, then 5903)
password: ******** (password you selected in step 4.
I'm working on turning this into an app for easy download and use. For now we have to do things manually. Let me know if there are any problems.
#3
Administrator
Join Date: Mar 2006
Location: Lacey, WA
Posts: 12,515
Likes: 0
Received 2 Likes
on
2 Posts
Vehicle: Two Accents, Mini, Miata, Van, Outback, and a ZX-6
So this uses VNC to display the Linux desktop that is resident on the Android phone itself? Interesting. I still haven't rooted my phone but if I do I'll give this a shot.
Home button reverts to Android correct?
Home button reverts to Android correct?
#5
Moderator
Thread Starter
Here is a better pic
Ubuntu runs as a background service on the phone. The interface is an app. Its not dual booting. It is basically an app.
It runs the same way your email app works and can be interrupted by phone calls or text messages. You can install software and have all the power of a desktop is in the palm of your hand.
Ubuntu runs as a background service on the phone. The interface is an app. Its not dual booting. It is basically an app.
It runs the same way your email app works and can be interrupted by phone calls or text messages. You can install software and have all the power of a desktop is in the palm of your hand.