Things You Will Need
1. VirtualBox
Preparation
1. You have to download ANDROID OS ISO file from its Google code page.
2.
You have to install VirtualBox on your computer.
In VirtualBox click on the
“New” button. You have to enter a name for this virtual machine (choose whatever you like) and for the type select “Linux” and for the version select “Linux 2.6″
3. Now you have to allocate a minimum of 256MB RAM for this VirtualMachine. In this tutorial, I have allocated a 1GB of RAM to this VirtualMachine.
4.
Now you can create a new virtual hard drive, or you can use the existing one. For a new
virtual hard drive, I would recommend you to allocate a minimum of 4GB storage
space.
5. Once you have created the virtual machine, select your VirtualMachine from the dropdown list and click on the “Settings” button.
6. Under the Storage section list, select the CD/DVD drive slot and add the Android iso to the list.
7.
Now under the Network section, you can select NAT for the Network Adaptor.
Some people have also reported success with the “Bridged Adaptor” mode as
well, but I have not tried it yet. Now click on “OK” to return to the main screen.
Installing Android OS
Once you are ready to install your ANDROID OS, click the Start button. This will boot up the virtual machine.
1.
On the boot screen, you can use the arrow key to select “Installation – Install
Android -x86 to hard disk”. (If you just want to test it out without installing it then, select
“Run Android -x86 without installation”)
2. Now after that select “Create/Modify partitions”.
3.
Now assuming that you have assigned a 8GB to the virtual hard drive, you can see 8587.20MB of Free Space in the screen. Now use the right arrow
key to navigate to “New” and press Enter. On the next prompt select “Primary” .
4. Now you will see a screen like this:
Now you have to select
the “Bootable” option to make your partition bootable. Next, select
“Write” and press Enter.
Type “Yes” when prompted.
Lastly, select “Quit”
to quit the cfdisk (Partition manager).
5. Now come back to the main screen and, select the partition that you have created and click on OK.
6. When prompted you have to format the partition to “ext3″.
7. Now you have to select “Yes” to install bootloader GRUB.
8. Select “Yes” to install /system directory as read-write.
At the end of the ANDROID OS installation, you will see a screen like this:
7. Now you have to select “Yes” to install bootloader GRUB.
Running Android 4.3 in VirtualBox
Reboot
your virtual machine. On the first bootup (only first time), it can take some time for
the OS to load and initialize. From next time the booting process will be faster. Once
you are on the Welcome screen, you have to follow the Setup wizard to setup Android
4.3.
NOTE : At
this point, you might want to disable the mouse integration so that the
mouse cursor will appear in the screen. This will make your navigation
process much easier and simpler.
While
setting it up, it might not be able to detect any WiFi network (Normally Happens). You can skip the WiFi setup as it won’t affect your Internet connection.
It is also not necessary to sign in to your Google account. It will
take you to the Home screen once the setup is completed.
I have taken some screenshots of Android 4.3 running in VirtualBox.
CHECK THEM BELOW
Web browsing. Yeah, the Internet is working!
App drawer.
The User Profile configuration section in Settings.
About Android section in Settings.
One
thing more I will like to mention, the sound driver doesn't perform well in VirtualMachine,
so don’t bother to watch Youtube videos, or even listen to music in the
virtual machine.
Obviously, the Camera and the Phone app don’t work as
well.
That’s it. If you face any difficulty in setting this up, feel free to let me know in the comments. I will be here to help.
You Can Follow Me On Facebook Just Click Here To Visit My Facebook Profile...