Android on Virtual Box

Installing android on PC is really helpful on some case when you are testing app or any reason you want to run the app. If you need more than one device along with the device you have on your hand is create a virtual device. It would be the best way to run the app.

To solve this problem you can create a virtual device on your pc using the virtual box. You can download the android x86 os on your pc or virtual box to make this happen.

Just follow the few steps to create it.
  1. Download the Disk image from THIS LINK. this will take you to the  URL https://www.android-x86.org/
  2. Then Download the Virtual Box using THIS LINK or https://www.virtualbox.org/
  3. Then Create a Virtual Machine using Followings:
    Name: Android (anything you wish)
    Machine Folder: (Leave default)
    Type: Linux
    Version: Other 64-bit
  4. Then Link the image file on the machine as you start

  5. Give put desirable amount of RAM. I think 4096 MB is enough for 4GB.
  6. Create a virtual Hard Disk
  7. Then Choose the Hard Disk File type as VDI (Virtual Box Disk Image)

  8. Storage on physical hard disk 'Dynamically allocated'
  9. File location and size around 32 GB
Now the time has come to run the Virtual device,

Go to settings and adjust the followings,
  • SYSTEM 
    • Motherboard
      • Pointing Device> PS/2 Mouse
    • Processor
      • Processor(s) : 4
  • DISPLAY
    • Screen
      • Video Memory: 128 MB
      • Graphics Controller: VBoxVGA
      • Acceleration: Tik the Enable 3D acceleration
Then Click OK and save it.

Next, Load the Downloaded iso file and run the machine.
As the machine runs the Go to Advance Option.
> Advance Option
    >Auto _Installation-Auto Install to specified Hard disk 
        >Auto Installer Option (YES)
            >Run Android-X86

If you have a fucing Fate then a black screen with console# may appear or it will stuck then you need to close the virtual box and Power off the machine.

Start the Machine again and Go to Advance Option and Boot from the Local drive.

    >Hovering the first option press 'e'
then replace this line 
grub edit> kernel /android-9.0-r2.kernel force root=/de/ram0 S><dev/ram0 SRC=/android-9.0-r2
into
grub edit> kernel /android-9.0-r2.kernel nomdeset xforcevesa root=/de/ram0 S><dev/ram0 SRC=/android-9.0-r2

Then press enter and press 'b'

Now your machine is ready to run.