
7th May 2012, 04:00 AM
(Last edited by kxhawkins; 7th May 2012 at 04:02 AM.)
|
Recognized Developer - OP
Thanks Meter 218
Posts: 341
Join Date: Dec 2010
Location: Little Rock
DONATE TO ME
|
Ubuntu for Vivid
Saw a thread a while back asking about the super-cool Ubuntu for Android on the Vivid. Unfortunately, we'll probably never see this for the Vivid, but we do have a comparable alternative...
Using the images from the Linux on Android Project we can run a virtual instance of Ubuntu and VNC into it.
This will probably work on any ROM, so long as you're rooted with busybox.
Before we start, install android-vnc-viewer and Android Terminal Emulator. Other VNC / Terminal apps will probably work, but the following instructions will be for these apps, specifically.
Okay, now...
- Make an "ubuntu" directory on your SD card (internal/external, doesn't matter. You'll need at least 3 gigs of space though). For the purpose of these instructions, I'll refer to it as /sdcard/ubuntu.
- Grab this script and unzip it as /sdcard/ubuntu/ubuntu.sh
- Then download either (or both, whatever) the full-sized, Gnome-based image, or the smaller, LXDE image. Unzip as /sdcard/ubuntu/ubuntu.img
- Open up Terminal Emulator, type "su" and hit enter. A superuser prompt will pop up (or that SuperSU thing, whatever you use). Accept/Agree/Whatever to allow root.
- Now you're at a root shell. Go to your ubuntu directory by typing "cd /sdcard/ubuntu" (/sdcard/ext_sd/ubuntu for external card) and pressing enter.
- Type "sh ubuntu.sh" and hit enter. This will start the launch script.
- When it asks for a screen resolution, type "960x540" (the resolution of the Vivid).
- A bunch of stuff will fill the terminal. When you see "root@localhost:/#", celebrate! You have Ubuntu running!
Now, unless you want CLI only... hit your home button (leave terminal running in the background) and launch android-vnc-viewer.
Enter whatever for the nickname, and the following settings:
Password: ubuntu
Address: localhost
Port: 5900
Color Format: 24-bit color (4 bpp) Now click "Connect" in the top-left corner. Hopefully you'll see Ubuntu! Now add a bluetooth keyboard/mouse and an MHL, and proceed to rubbing it in your Apple-fanboy-friends faces.
When you're done, head back into Android Terminal Emulator and type "exit".
NOTES: - I don't take credit for any of this. This is 100% Zachary Powell et al @ the Linux on Android Project.
- I really don't see how anyone could screw a phone up with this, but standard disclaimer applies. I'm not responsible for anything, anywhere, ever.
- This post is kind of long, but this is really super easy. Good luck!
|
|
The Following 2 Users Say Thank You to kxhawkins For This Useful Post: [ Click to Expand ]
|
|
|
|

7th May 2012, 04:20 AM
|
Senior Member
Thanks Meter 24
Posts: 307
Join Date: Jan 2008
Location: Toronto
|
The problem is this need this loop support in the kernel and none of the kernel people in this thread responded to my request for it.
Kernel stuff was not my cup of tea so never could get this running
HTC Raider (Bell)
Right now running Stock
|

7th May 2012, 04:41 AM
|
Recognized Developer - OP
Thanks Meter 218
Posts: 341
Join Date: Dec 2010
Location: Little Rock
DONATE TO ME
|
Works perfect on Virtuous, which uses the Faux kernel. I don't know of any kernels that DON'T support loopback, which is why I said it should work on just about any ROM. Haven't tested on any others though.
|

7th May 2012, 04:46 AM
|
Senior Member
Thanks Meter 107
Posts: 896
Join Date: Aug 2010
|
Did this aeons ago. It works flawlessly, but the GUI is mad slow. Works fine for command-line business, though.
Goodbye XDA, you won't be missed. Never have I seen a lousier Android community unwilling to take care of its devs.
Also, give me a refund for my XDA Premium app.
|

7th May 2012, 05:03 AM
|
Recognized Developer - OP
Thanks Meter 218
Posts: 341
Join Date: Dec 2010
Location: Little Rock
DONATE TO ME
|
Cool story. It's been out for less than six months, but I guess that could be aeons. This is for people who haven't seen it.
Also, the GUI is extremely fast. With an MHL it's totally usable as a full computer. Did you try with LXDE?
|

7th May 2012, 05:11 AM
(Last edited by Aus_Azn; 7th May 2012 at 05:15 AM.)
|
Senior Member
Thanks Meter 107
Posts: 896
Join Date: Aug 2010
|
Quote:
Originally Posted by kxhawkins
Cool story. It's been out for less than six months, but I guess that could be aeons. This is for people who haven't seen it.
Also, the GUI is extremely fast. With an MHL it's totally usable as a full computer. Did you try with LXDE?
|
I just realized that we are not talking about the exact same thing.
This has existed for aeons (Feb 1 2011). Same theory and application, but based on Karmic 9.10 and very slow indeed.
Hmm, might have to give this one a try.
Goodbye XDA, you won't be missed. Never have I seen a lousier Android community unwilling to take care of its devs.
Also, give me a refund for my XDA Premium app.
|

7th May 2012, 05:16 AM
|
Recognized Developer - OP
Thanks Meter 218
Posts: 341
Join Date: Dec 2010
Location: Little Rock
DONATE TO ME
|
Yea, ran that on my old X10. Bad hardware + bad implementation. This is 10.10, and they have a working beta for 12.10.
The LOA project really got it right. Especially running LXDE. Gnome is obviously slower.
IMO it's a good replacement for the official Ubuntu project.
|

7th May 2012, 05:23 AM
|
Junior Member
Thanks Meter 3
Posts: 26
Join Date: Mar 2012
|
It would be nice to install a custom arch linux or a debian netinstall with only the necessary things to work, fluxbox, xfce, lxde or some lightwheight desktop manager and see what happens. With the micro usb 2 hdmi cable and attached to a big screen it would be a real killer.
With some time I can prepare a custom debian or arch linux image to our devices.
Sent from my HTC PH39100 using Tapatalk 2
|

7th May 2012, 05:31 AM
|
Recognized Developer - OP
Thanks Meter 218
Posts: 341
Join Date: Dec 2010
Location: Little Rock
DONATE TO ME
|
Quote:
Originally Posted by Archector
It would be nice to install a custom arch linux or a debian netinstall with only the necessary things to work, fluxbox, xfce, lxde or some lightwheight desktop manager and see what happens. With the micro usb 2 hdmi cable and attached to a big screen it would be a real killer.
With some time I can prepare a custom debian or arch linux image to our devices.
|
The micro usb to hdmi is an MHL adapter. And yes, it makes it awesome.
LOA has a working debian image ( http://sourceforge.net/projects/linu.../Debian/Image/) and are working on Arch.
A bare bones Arch installation with LXDE would be amazing, but alas, I have no spare time for side-projects anymore =(. I'm sure I wouldn't be the only one very appreciative if you could put it together.
|

7th May 2012, 05:39 AM
|
Senior Member
Thanks Meter 107
Posts: 896
Join Date: Aug 2010
|
I'm personally thinking about doing a portable HDD installation of a completely barebones Ubuntu from CLI, and just dropping pure XFCE on it. I think I've just found my testing platform.
Goodbye XDA, you won't be missed. Never have I seen a lousier Android community unwilling to take care of its devs.
Also, give me a refund for my XDA Premium app.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
|
|