Run Android ICS (Ice Cream Sandwich) on VirtualBox

@ 2012-02-19 by João Paulo Pizani Flor

Some time ago I wrote a post here, saying that I had just bought an Android tablet. In fact, I’ve been recently very interested in Android… And last week, while reading the Android Reddit, I (re)discovered a very nice initiative: Android-x86.

Android-x86
Android-x86

Android-x86 is a community-driven effort to port all versions of Android made available through the AOSP (Android Open-Source Project) to the x86 platform. Thus, Android can be executed in computers such as Asus EEE PCs, or in PCs from Dell, HP, etc… Even cooler is the fact that a team of developers is also making sure that Android support to VirtualBox is as good as possible. This way, an Android developer can test his/her apps inside VirtualBox, without having to use the (very slow) Android Emulator - that comes bundled with the SDK…

Also through a post on Reddit I came to know the work of a romanian developer that helps with porting Android 4.0 to VirtualBox, and publishes daily work-in-progress ISO images on his blog (http://www.buildroid.org/blog). What I then did was to download the latest ISO available there, create and configure a nice VirtualBox machine, install and configure Android. As a “bonus”, I also installed a bunch of Google apps (GMail, YouTube, Maps, Android Market, etc.). There it goes, a glorious screenshot with the result of all this “tuning” :D

Android 4.0 on VirtualBox on Ubuntu :)
Android 4.0 on VirtualBox on Ubuntu :)

The system itself works VERY WELL, I’m very well impressed. Internet, audio, video, and all Google apps worked out-of-the-box, with no crashes until now. This setup that I created has the Android Market installed, so you can even install Market apps directly into your virtual Android //. After doing all the configuration, installation and tuning of the system, I “packaged” the VM into an OVA file, so that everyone can play with it, with no effort :)

There it goes the OVA image, ready for you to download, import into VirtualBox and use: Androidx86-ICS-VBox

The pre-configured VM above makes it all an easy process. BUT, if you really want to know how I performed the configuration, there it goes the “recipe”:

That’s all, folks! Now I’m a happy guy, testing a lot of the apps that I intend to install onto my tablet when it arrives! :) And, as soon as I code something for Android, I can also use this VM to test my own apps! \o/\o/

Once again, the ready to use virtual machine image of Android ICS is available HERE: Androidx86-ICS-VBox