Sunday, 29 July 2012 09:57

Run Android 2.3 on VirtualBox

VirtualBox Ver 4.1.8 VirtualBox Ver 4.1.8
This guide is based on Android 2.3 (Gingerbread)  & VirtualBox 4.1.8 running on Microsoft Windows XP.

I choose Android 2.3 because I own a Samsung GALAXY Y (S5360) hand phone which preloaded with Android 2.3. I always test the applications on my computer before I download to the hand phone.

 

 

Step 1: Download & Install VirtualBox
1. Download VirtualBox from https://www.virtualbox.org/ 
2. I downloaded VirtualBox for Windows hosts since I'm using Microsoft Windows XP.
3. Follow on screen instructions to complete the installation.


 
Step 2: Get the Android-x86 ISO
Download the Android-x86 ISO image file from http://code.google.com/p/android-x86/downloads/list
Select android-x86-2.3-RC1-eeepc.iso since this guide is based on Android 2.3 & this ISO image is suitable for most of the Intel x86 processor.

 

Step 3: Crete a New Virtual VM
  1. Run VirtualBox
  2. Click on the New button and you’ll get a “Create New Virtual Machine” dialog. 
  3. The first screen is just some fluff, hit Next and jump to the useful stuff. 
  4. Name the new VM . The name can be anything you like, I named mine Android.
  5. Specify the OS  For Operating System, select Linux and for Version select Linux 2.6
  6. Use default settings for the rest of settings.

 VirtualBox Manager


 
 
Step 4: Mount the ISO image file
  1. Click on Settings & Select Storage
  2. Under IDE Controller you see an empty entry, click on the+CD/DVD icon next to the IDE Controller to get a "VirtualBox - Question" dialog
  3. Click on Choose Disk from the "VirtualBox - Question" dialog
  4. Select the ISO image that you downloaded on Step 2. The file name should be  android-x86-2.3-RC1-eeepc.iso

VirtualBox Storage Settings
 
 
 
Step 5: Making the network working
  1. Click on Settings & select Network
  2. Select Bridged Adapter for Attach to, the IP address is provided by the DNS server
  3. Select Realtek RTL8102/8103/8136 Family PCI-E NIC for Name
  4. Click Advanced for more option
  5. Select PCnet-PCI II (Am79c970A) for Adapter Type

    VirtualBox Network Settings

    Note:
    You must have a DNS server located in your network if you use Bridged Adapter. 
    You probably already running DNS in your network if you are computer is attached to the broadband router.
    You must select NAT

      

Step 6: Boot it Up
You’re now ready to boot the new VM. Double click on it and the VM will start running. If this is a fresh VirtualBox install, you should have several dialogs popping up. The first talks about the “Auto capture keyboard” option. The important thing to remember is that if you need to break out of the VM to control the rest of your system again, hit the right hand Ctrl key (at least on Windows) and the VM will release control back to the host OS. Next, you may get a dialog about your system’s color depth being greater than 16 bit. This can be safely ignored. Check the “Do not show this message again…” box and you’re set. Last will be a dialog about “Mouse pointer integration”, which we’ll actually need to turn off in a moment. Hit OK on these and you should see the Live CD’s boot menu:

Important:
Make sure turn off mouse pointer integration before your can use mouse in the Android OS.
To turn off mouse pointer integration, boot the new VM, select Machine from File menu then choose Disable Mouse Integration
VM boot menu for Android

If your goal is simply to boot the Live CD, select the “Live CD – VESA mode” option. Android should boot up.
 
To check VM IP address, press ALT F1 & enter netcfg from the black console. 
List IP address from console screen
Read 34840 times Last modified on Sunday, 12 June 2016 10:53

Leave a comment

Back to Top