Tutorial: Android 4.0 x86 ICS in VirtualBox with ethernet support and Google Play (Part 1 of 2)

Tutorial: Android 4.0 x86 ICS in VirtualBox with ethernet support and Google Play (Part 1 of 2)

This manual is for people who want to develop for android on the x86 platform or in general, and those who simply want to try before getting android more fully into the matter installing android on your netbook, laptop, or pileup compatible, although we also have the ability to use Android x86 in live mode and with a virtual sdcard, but we’ll see on another occasion 😀 .

The purpose of this manual is to set up a system Android 4.0 ICS in our virtual machine, in this case vbox, with access to the network, and with the google apps (we will see later what is that of the google apps ..), so here we go.

1- The first thing we will go to the website and download vbox case you had not already installed, What you can download from here..  https://www.virtualbox.org/wiki/Downloads or by clicking on the image below, I am using Linux, but the tutorial will serve the same for any operating system, win7, linux and mac, we selected our downloaded and installed.


2- With VirtualBox installed and the next thing we need is the file OVA, and can be found in the web of people who are continuing to develop the vbox target for google android on x86 which abandoned the site in question is http://www.buildroid.org there you can find all the info of the project, and the last OVA file as of today 18/04/2012 the can download by clicking on the image below.

UPDATE: to get the latest images visit this post in the blog : http://android-x86.sceners.org/en/?p=523


--- Android-4.0.3_bd2 Release Notes ---

AOSP source version : android-4.0.3_r1
Kernel : android-goldfish-2.6.29 

** Known issues
- OpenGL is software
- Cannot play video
- No Audio IN
- The status bar says "No Internet Connection" whereas Internet connection is working
- No static IP configuration for Ethernet (only DHCP)

** Changes from Android-4.0.3_bd1 to Android-4.0.3_bd2
- RTC driver integrated -> Clock and Alarm are now OK
- Power management OK : Battery level and charging status are updated (via a polling mechanism, as it seems VirualBox doesn't issue ACPI events on battery level changes), the only non-working thing is the "screen off" feature which has been disabled via a new Development setting ("Always stay awake")
- USB is now enabled
- USB mass-storage devices are now automatically mounted on /mnt/USB/
- Astro File Manager application included

The OVA file according to the nautilus (the file browser in linux) sees it as a TAR file, so here rename it to .TAR if you are in windows, we can use winrar to decompress and get these two files…

Fortunately or unfortunately, going to load the OVF file gave me an error that said that the imported image was 2 IDE devices, and to load it could only have an IDE device, so here we need to edit the OVF in case we show this error, and later fine tune the settings at the moment we open the VirtualBox menu and go to file> Import Service Virtualized> and look for the Android-4.0.3_bd2a.ovf file, we should see something like..

But in my case I get this crash when clicking next ..

And it says that we have many IDE devices, then remove one by editing the Android-4.0.3_bd2a.ovf, open it with the text editor that we like, and look this paragraph of text that you see in the image selected below ..

We erase it to make it in this way ..

Now when you load the file-4.0.3_bd2a.ovf Android instead of displaying TWO IDE devices, show just ONE, but no longer fails when importing .. now we do a hack, to run this after editing the OVF file , and that we will in the following manner, selecting our new virtual system imported into the VirtualBox menu, and clicking on SETTINGS as shown in the picture below..

Below we will see a menu like the one pictured below, and we change the value displayed on our VirtualBox by default will be “Primary IDE Master” and should look like in the picture below ..

You can click to accept, and we will have our android .. ready to start, press START and see the screen with GRUB, which will select the line below as we shall see in the image below ..

With this we have our android running, on the login screen maybe tells you that we do not have internet connection as I show below ..

But you see that the internet works there is a screenshot more: D

And one more screenshot of the desktop in Castilian and such … (currently without Google apps, we’ll see in the second part: D)

And that’s it for now, continue with part two showing how to install the google apps (Google play, Google Maps, Google Mail, etc. .. :D) I hope you liked it, and forgive my spelling mistakes, it is important it being understood as the successful end to our mission is to launch the emu.

If you copy this article does not forget cite the source, thanks for reading.


Cheers 🙂