Android or WebOS? Try before you buy!

October 12th, 2009 by Ross Larson in

Your rating: None Average: 4.7 (11 votes)
With Google and Verizon recently announcing that several Android phones will be coming out on their network, a Linux lover might have smartphones on the brain.  Obviously, having Linux running on your phone is awesome, but which Linux OS should you choose? AndroidWebOS?  Maybe even Maemo (Nokia N900) or roll your own on a Neo Freerunner?

This article will help you run two of these (Android and WebOS) as virtual appliances using VirtualBox. In the first part of the article I'll cover Android, in part two (now available), I'll cover WebOS.  



In this article, I will be using: Ubuntu 9.04 and VirtualBox (the most recent version is 3.0.8- download it here)

This tip is pretty distro- and OS- independent, though.  You could run this appliance on any other distro, or even Windows, if that's the way you butter your bread.



This article piggybacks on the "Put Android Anywhere" article that was featured in the October 2009 issue of Linux Journal, as it mentions running Android in VirtualBox using the "Porting Android to x86" project (http://www.android-x86.org/).  I will perform the same task using the Live Android Google Code project. (http://code.google.com/p/live-android/).

Go to the Live Android Google Code Project and download the latest liveCD (0.3 as of this writing. Torrent available here.)

Make a new virtual machine in VirtualBox.  Call it "Android" or some other witty name if you are motivated to do so.

Choose the Base Memory Size.  VirtualBox defaults to 256MB.  Since the HTC Dream (AKA the T-Mobile G1) has only 192 MB Megs of RAM, I figured that this is probably enough.

VirtualBox asks you to select a virtual hard disk.  Since we are running Android from a live CD, we don't need one.  Uncheck the box to choose a virtual disk, and check "Continue" when the warning box comes up.


Finish creating your virtual appliance, then select "Android" (or whatever your machine name is) from the main VirtualBox window, and click the "Settings" button.

Go to the CD/DVD-ROM section and check "Mount CD/DVD Drive", then select "ISO Image File".  Click the folder icon to the right and select the "liveandroidv0.3.iso" file that you just downloaded.  Press 'OK".



Click "Start" to start your Android virtual appliance. 
 
    

Since VirtualBox automatically configures a working Internet connection, feel free to stop by the Linux Journal Website using your shiny new Android Virtual Appliance!



Since it is a live CD, you don't get the resolution of a normal Android phone device, but at least you can kick the tires of the OS. In Part Two we'll look at WebOS.

__________________________


Special Magazine Offer -- Free Gift with Subscription
Receive a free digital copy of Linux Journal's System Administration Special Edition as well as instant online access to current and past issues. CLICK HERE for offer

Linux Journal: delivering readers the advice and inspiration they need to get the most out of their Linux systems since 1994.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
LinkChecker's picture

A couple of broken links

On October 14th, 2009 LinkChecker (not verified) says:

The first and third image have broken links.
1) http://www.linuxjournal.com/ufiles/android-webos/large/large/android-palm-sidebyside.png
Apparently it's two large :-)
2) http://www.linuxjournal.com/ufiles//ufiles/android-webos/large/VirtualHardDisk-Warning.png
Apparently ufile two deep :-)

LC

Mitch Frazier's picture

Fixed

On October 14th, 2009 Mitch Frazier says:

Just an editor snafu on my part, fixed now.

__________________________

Mitch Frazier is an Associate Editor for Linux Journal and the Web Editor for linuxjournal.com.

Post new comment

Please note that comments may not appear immediately, so there is no need to repost your comment.
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <pre> <ul> <ol> <li> <dl> <dt> <dd> <i> <b>
  • Lines and paragraphs break automatically.

More information about formatting options

Newsletter

Each week Linux Journal editors will tell you what's hot in the world of Linux. You will receive late breaking news, technical tips and tricks, and links to in-depth stories featured on www.linuxjournal.com.
Sign up for our Email Newsletter

Tech Tip Videos

From the Magazine

December 2009, #188

If last month's Infrastrucuture issue was too "big" for you then try on this month's Embedded issue. Find out how to use Player for programming mobile robots, build a humidity controller for your root cellar, find out how to reduce the boot time of your embedded system, and if you're new to embedded systems find out the basics that go into one. You can also read about the Beagle Board, the Mesh Potato and a spate of other interestingly named items. And along with our regular columns don't miss our new monthly column: Economy Size Geek.


Read this issue