How to Install Android on Hyper-V in Windows

In this article, we will explore How to Install Android on the Hyper-V platform. Android-x86 is a version of the Android operating system optimized to run on x86-based computers, while Hyper-V is a powerful virtualization tool by Microsoft. By combining the two, you can create a virtual Android environment on your computer and experience Android applications and features directly on your computer interface.

In this guide, we will walk through each specific step to install Android-x86 on Hyper-V. You will start by downloading the Android-x86 ISO image, then create a virtual machine on Hyper-V and configure it to run Android-x86 smoothly.

Prerequisites

  • Hyper-V has been enabled on your system
  • Android ISO image
install-android-on-hyper-v

Read more

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

install-android-on-hyper-v

Step 2 – Create a new Virtual Machine for Android

On the desktop, Right-click on the Hyper-V icon – select Run as administrator option

install-android-on-hyper-v

On the Hyper-V Manager window, right-click on your hostname – select New option – select Virtual Machine…

install-android-on-hyper-v

Click the Next button in the Before You Begin window.

install-android-on-hyper-v

In the Specify Name and Location window, enter a name for the virtual machine and click Next

install-android-on-hyper-v

In the Specify Generation window, keep default and click the Next button.

install-android-on-hyper-v

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

install-android-on-hyper-v

In the Configure Networking window, choose a Virtual Network with an internet connection and click Next button

install-android-on-hyper-v

In the Connect Virtual Hard Disk window, create a virtual hard disk with a size greater than or equal to 20 GB and click Next

install-android-on-hyper-v

Select the Android-x86 ISO image you have downloaded in Step 1 and click Next

install-android-on-hyper-v

Finally, click Finish in the Completing the New Virtual Wizard window.

install-android-on-hyper-v

Step 3 – Install Android on VMware Workstation

In step 1, we created a VM for Android. Now, right-click on it and select Connect option

install-android-on-hyper-v

Click on Start to begin installing Android on Hyper-V

install-android-on-hyper-v

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

install-android-on-vmware

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

install-android-on-vmware

In the Auto Installer window, select Yes and hit Enter

install-android-on-vmware

Before rebooting, please remove the Android-x86 ISO file by selecting Media – select DVD Drive – select Eject android-x86…iso

install-android-on-hyper-v

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

install-android-on-hyper-v

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

install-android-on-vmware

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

 install-android-on-vmware

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

 install-android-on-vmware

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.

 install-android-on-vmware

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

install-android-on-vmware

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

install-android-on-vmware

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.img

After

kernel /android-9.0-r2/kernel nomodeset xforcevesa root=/dev/ram0 SRC=/android-9.0-r2
initrd /android-9.0-r2/initrd.img

install-android-on-vmware

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

install-android-on-vmware

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

install-android-on-vmware

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

install-android-on-vmware

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

install-android-on-vmware

and click on the VirtWifi option

install-android-on-vmware

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

install-android-on-vmware

In the Google Sign window, click Skip button

install-android-on-vmware

Press Skip button to the next step

install-android-on-vmware

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

install-android-on-vmware

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

install-android-on-vmware

Finally, choose the interface you want to use.

install-android-on-vmware

Success !!!

install-android-on-vmware

That’s it, you have successfully installed Android on Hyper V. If you have any further questions or need additional support, please feel free to leave a comment.

Thank you for reading !!!

Video

Leave a Reply

Your email address will not be published. Required fields are marked *