Welcome to the guide on How to install Android on VirtualBox!
Are you looking to experience the Android operating system on your computer without using a mobile device? This guide will help you achieve that by installing Android on the VirtualBox virtual machine.
By utilizing VirtualBox, you can create a completely independent virtual environment to run Android on your computer. This will allow you to explore the features of this mobile operating system and conduct testing without impacting your real devices.
Let’s get started with the simple steps to install Android on VirtualBox and dive into the world of the Android operating system on your computer!
Prerequisites
- VirtualBox has been installed on your system
- Android ISO image

Read more
- How to Create a Linux VPS on Vultr
- How to Install VMware vSphere (ESXi) 8/7/6 on VMware Workstation
- How to Install Windows Server 2022 on VMware Workstation
- How to Install Android on VMware Workstation
- How to Install and Configure pfSense Firewall on VMware Workstation
Step 1 – Download the Android ISO image
You can visit the Android-x86 website https://www.android-x86.org to select the version you wish to install and download the Android-x86 ISO image

Step 2 – Create a new Virtual Machine for Android
On the desktop, Right-click on the Virtualbox icon – select Run as administrator option

On the Oracle VM VirtualBox Manager window, click on the New icon

In the Virtual Machine Name and Operating System window, set a Name and Location for the virtual machine and click Next.

Set RAM greater than or equal to 2 GB and click the Next in the Hardware window.

Set disk size greater than or equal to 20GB and click Next

In the Summary window, click on the Finish button.

Next, select the newly created virtual machine – then choose Settings option

In the Setting window, choose as shown below:
- Select Storage from left panel – choose Empty – choose Choose a disk file and select Android ISO image you have downloaded in Step 1


- Select Network from the left panel – select Adapter 1 tab – check to Enable Network Adapter option – Attached to select NAT mode and then click OK

Step 3 – Install Android on VMware Workstation
Now, click Start button to begin installing Android on VirtualBox

On the boot screen, select the Advanced option…from the menu boot and hit Enter

On the Advanced options screen, select Auto_Installation – Auto Install to specified harddisk option and hit Enter

In the Auto Installer window, select Yes and hit Enter

Before rebooting, please remove the Android-x86 ISO file by selecting Devices – select Optical Drivers – select Remove disk from virtual drive

Click Force Unmount button in the popped-up window

Now, select Reboot option – select OK and then hit Enter in the Congratulations! window.

At the boot selection screen, press the up or down arrow key to end the automatic boot process and select the first boot option and then press e to edit the boot commands before booting

Select the first boot option and press e to edit the boot command for GRUB

Press the left arrow key to move the mouse cursor to the left to find quiet and replace it with nomodeset xforcevesa
Before
grub edit> kernel /android-9.0-r2/kernel quiet root=/dev/ram0 androidboot.selinux=permissive SRC=/android-9.0-r2
After
grub edit> kernel /android-9.0-r2/kernel nomodeset xforcevesa root=/dev/ram0 androidboot.selinux=permissive SRC=/android-9.0-r2

After done, press Enter to exit
Comeback the boot option screen, Select the first boot option that you have edited and press b to boot.

As you see the Android system screen, press Alt+F1 to open the console

Create a directory to which a virtual disk will be mounted using the command below:
mkdir /mnt/sda
Mount the virtual disk to the created directory:
mount /dev/block/sda1 /mnt/sda
and edit the GRUB bootloader boot menu with the text editor vi:
vi /mnt/sda/grub/menu.lst

Press i to edit and find quiet and replace it with nomodeset xforcevesa
Before
kernel /android-9.0-r2/kernel quiet root=/dev/ram0 SRC=/android-9.0-r2
initrd /android-9.0-r2/initrd.imgAfter
kernel /android-9.0-r2/kernel nomodeset xforcevesa root=/dev/ram0 SRC=/android-9.0-r2
initrd /android-9.0-r2/initrd.img

After done, press Esc then type :wq and hit Enter to write changes to the file and quit

Comeback the console, and type the command reboot to reboot system

Step 4 – Setup Android
Now the Android VMware VM is booted and you can see the graphical user interface of Android, select your language and click Start

In the Connect to Wi-Fi window, click on See all Wi-Fi network option

and click on the VirtWifi option

Next, in the Copy apps & data window, click on DON’T COPY button

In the Google Sign window, click Skip button

Press Skip button to the next step

In the Google Services window, click More and then click Accept to the next step

In the Protect your tablet window, choose Not now option and then click SKIP ANYWAY button

Finally, choose the interface you want to use.

Success !!!

That’s it, you have successfully installed Android on VirtualBox. If you have any further questions or need additional support, please feel free to leave a comment.
Thank you for reading !!!