Debugging things on the Android Emulator (incluced in the SDK) can be a very slow and cumbersome process. Thanks to the Android-x86 Project it’s quite easy to run Android in VirtualBox. This is highly useful when you need to test mobile apps and websites from the Android Browser (as well as Chrome Mobile).
Download an Ethernet enabled ISO from Tablets x86
- Create new ViratualBox VM
Important Settings (see screenshots)
- OS: Linux, Version: Linux 2.6
- Enable VTx/AMD-V
- Use Bridged Network Adapter (if you want to allow direct Internet Access)
- Mount the ISO file downloaded previosly and start the VM
- Create the Root Filesystem (ext3) on the VBox .vdi created with the new VM, mark as bootable
- Write the Filesystem changes to disk (VDI) and format the disk
- Install GRUB Boatloader
- Copy files from ISO to VDI
- Unmount the ISO image and reboot
- Start the Android Setup Wizard to set locale and you should be up and running (network should already function to test external sites from Android browser) !
Note: You need to disable the mouse pointer integration (if you have installed VirtualBox Client Add-ons) in the menu of Virtualbox (‘Machine’ –> ‘Disable Mouse Integration’) when you start the VM (see screenshot). I have not found a way to disable this by default on Virtualbox on Ubuntu (If anybody has managed this I would love to know how !)
This Post Has 4 Comments
I am running Linux Mint 13 Cinnamon 64 Bit on my HP Pavillion dv7 with Virtualbox v4.1.12 and no matter what I try, including your instructions, I can not get ICS to install. I have tried several ISO’s and keep getting the following errors, can not format /dev/sda1, tried all options, If I use ntfs it will format, BUT, then it says failed to create data.img
I know that the problem is likely the short between the seat and the keyboard, but any help would be nice. And thank you for your time.
@CJW293: not sure on this, but is the virtual disk already partitioned ? if not delete the partitions first and create during install.
You can fix the mouse with this command
VBoxManage modifyvm “Android” –mouse ps2
Hi to all Android-virtualization experts!
I have the same problem like CJW293 states and I also think that it´s only a little thing I´ve overlooked by now. Any help is appreciated!
I use VMWare Server V1.0.10 on an old MSI-Machine (2GHz, 2GB RAM) wih XP Home (I know how disgusting…), but my ambitious aim is to get Android 4.x running, including Google Play!
I try to use the latest Asus-Laptop ISO 4.0RC2 from http://www.android-x86.org, but the integration of an .vmdk Harddisk always fails. At least I can´t create the data.img-File. Now I will tryout the .OVA-Images from AndroVM.org, but first I have to convert them to old VMware Server wich will take now some time…
Of course I could go easier with my modern ASUS Notebook + VirtualBox + using the predefined .OVA-VMs directly there, but why shouldn´t it be possible to get that stuff running on my old system?
If someone has a hint for me, I am sending many thanks in advance!