[HOWTO] install and run Ubuntu inside phone

snakehult

Senior Member
Jun 8, 2010
369
60
0
Installed and tested work on:
Azure 0919
Azure 1.0.1
Mdj 0.1

UPDATED script, tnx to TheGrammarFreak

1. Download ubuntu unzip and copy folder ubuntu to sdcard. (632MB zipped take a while, about 2GB unzipped)
2. Download my modified scripts and unzip them to ubuntu folder on your sdcard
3. Boot phone to recovery or fake-flash.
4. Start adb shell
5. cd /sdcard/ubuntu
6. sh ./ubuntu.sh

7. sh ./bootubuntu to test if it working, if you got prompt [email protected] :)

8. reboot phone
9. Open terminal on phone or adb shell
10. With terminal run su first then bootubuntu, on adb shell: only bootubuntu

11. update your system and install some good stuff:
apt-get update
apt-get install tightvncserver lxde openssh-server
set password for vnc
passwd root (for ssh access)


12. install whatever ubuntu stuff you need

Andriod-vnc apk

 
Last edited:

rajasyaitan

Senior Member
May 18, 2010
343
15
0
Excellent work here snake. Don't see any use for it myself but definitely would impress my friends! Two thumbs up. Another milestone achieve for the Legend.
 

BlaY0

Retired Recognized Developer
Sep 15, 2007
1,553
566
0
Medvode
Mmmmmm, When i launch adb shell I have :

Code:
- exec '/system/bin/sh' failed: No such file or directory (2) -
Did you (by any chance) try to copy/paste that error output into a Google search filed and hit enter??? You would have most probably got a gazillion of hits.
 

LilNes

Member
Mar 30, 2008
40
0
0
I try and walk =)
It is possible to make a full ubuntu rom replacing the system folder of Android by those of Ubuntu?
Just to see the performance of the phone.

ps : sorry i'm french...
 

TheGrammarFreak

Senior Member
Jul 29, 2010
2,820
678
0
twitter.com
On the nexus one we can boot from the SD card, why not on the legend ...

But the screen is too small for everyday use.
Boot from SD card? Well, look into how it's done, and see if it's possible on the Legend

----------------------------------------------------------

I have found that sometimes bootubuntu doesn't work, and that changing all the "loop1" into "loop5" sorts it out... Just an observation :D
 
Last edited:

areicko

Senior Member
May 7, 2010
129
3
0
That would be so nice that we could have both android and meego on our legend ! If you could keep us in touch with your progress, that would be nice ;-)
 

areicko

Senior Member
May 7, 2010
129
3
0
And just one quick feedback about ubuntu on my phone : I've a problem when I try to use ubuntu with the phone terminal, I've a "chroot: can't execute '/bin/bash': no such file or directory", then a few errors with unmount (unpossible 'cause there's no such file or directory), and finally a losetup: /dev/loop5: Device or ressource busy...

Any idea ?

Thank you for your help.
 

LilNes

Member
Mar 30, 2008
40
0
0
no progress yet was not even begin xD

for the dual boot, see if we can modify the boot process and integret a boot menu.
at the moment, no android can do this

@areicko, are you in fake recovery ?