Computers, Gaming, & Technology Here you can talk about anything with circuit boards, or dilithium crystals, or flux capacitors. Show off your technology, computing, and gaming knowledge.

My Android runs Ubuntu, how about yours?

Thread Tools
 
Old 03-11-2011, 12:15 PM
  #1  
DTN
Moderator
Thread Starter
 
DTN's Avatar
 
Join Date: Feb 2009
Location: Leesville, Louisiana
Posts: 11,731
Received 5 Likes on 5 Posts
Vehicle: 2001 Hyundai Tiburon
Default 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
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
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.
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
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.
Old 03-11-2011, 12:25 PM
  #2  
Senior Member
 
TibbyTurbo's Avatar
 
Join Date: Sep 2010
Location: Hoffman Estates, IL
Posts: 269
Likes: 0
Received 0 Likes on 0 Posts
Vehicle: 1998/Hyundai/Tiburon FX Turbo
Default

Nice! Too bad I dont have a Linux machine
Old 03-11-2011, 01:28 PM
  #3  
Administrator
 
187sks's Avatar
 
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
Default

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?
Old 03-11-2011, 01:29 PM
  #4  
Senior Member
 
AtomicX's Avatar
 
Join Date: May 2010
Location: Boston, Massachusetts
Posts: 126
Likes: 0
Received 0 Likes on 0 Posts
Vehicle: 2000 Hyundai Tiburon
Default

Can you make/recieve texts and calls within linux
Old 03-11-2011, 02:56 PM
  #5  
DTN
Moderator
Thread Starter
 
DTN's Avatar
 
Join Date: Feb 2009
Location: Leesville, Louisiana
Posts: 11,731
Received 5 Likes on 5 Posts
Vehicle: 2001 Hyundai Tiburon
Default

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.




All times are GMT -6. The time now is 07:23 AM.