How To Install Android On VMware - A Step-by-Step Guide PDF
How To Install Android On VMware - A Step-by-Step Guide PDF
NAKIVO Blog > VMware Administration and Backup > Installing Android on VMware ESXi: A How-To Guide
https://www.nakivo.com/blog/installing-android-on-vmware-esxi-a-how-to-guide/ 1/22
5/26/2020 How to Install Android on VMware: A Step-by-Step Guide
First, download the Android installation image. In this example, we are using the 64-
bit version of Android Oreo (the third release). While the ARM and ARM64
architecture is used on most smartphones and tablets, the image applied in this
example is ready for devices using the x86-64 architecture. You can also see all
available images for different architectures on the official web site of the Android
project.
Go to Hosts and Clusters in VMware vSphere Client, select the necessary ESXi host
(10.10.10.74 in this case), click Actions and in the displayed menu, hit New Virtual
Machine.
Privacy - Terms
https://www.nakivo.com/blog/installing-android-on-vmware-esxi-a-how-to-guide/ 2/22
5/26/2020 How to Install Android on VMware: A Step-by-Step Guide
2. Select a name and folder. Enter a name for the new virtual machine, for example,
Test-Android. Select a datacenter and a VM folder in vCenter as a location for the
VM.
Privacy - Terms
https://www.nakivo.com/blog/installing-android-on-vmware-esxi-a-how-to-guide/ 3/22
5/26/2020 How to Install Android on VMware: A Step-by-Step Guide
3. Select a compute resource. Select the destination ESXi host on which a VMware
Android VM must be run. In our case, we are using the 10.10.10.74 ESXi host.
4. Select storage. Select a datastore in which to store the configuration and disk files
of the Android VMware VM. You can leave the default value for the VM storage
policy. If you see the compatibility checks succeeded message, go to the next step
of the wizard.
Privacy - Terms
https://www.nakivo.com/blog/installing-android-on-vmware-esxi-a-how-to-guide/ 4/22
5/26/2020 How to Install Android on VMware: A Step-by-Step Guide
5. Select compatibility. Select the required hardware version for your Android
VMware VM. The higher the VM version you select, the better VM performance you
get. The newest VMware features are available for the latest hardware versions of
virtual machines. The Android version that is installed on VMware ESXi in this
example is compatible with ESXi 6.5 VM hardware version. Hence, ESXi 6.5 and later
is selected as the virtual hardware version.
Privacy - Terms
https://www.nakivo.com/blog/installing-android-on-vmware-esxi-a-how-to-guide/ 5/22
5/26/2020 How to Install Android on VMware: A Step-by-Step Guide
6. Select a guest OS. A selected guest operating system allows the wizard to provide
the appropriate default VM settings for installing an operating system. As Android is
based on a modified Linux Kernel version, you can select Linux as the guest OS
family. The guest OS version may be selected as Other 3.x or later Linux (64-bit). If
you wish to install a 32-bit version of Android on a VMware VM, select the
appropriate (32-bit) version of the guest OS.
7. Customize hardware. Configure hardware for the virtual machine. Edit the
following settings for your Android VMware VM.
CPU: 1 (1 CPU, 1 core)
Memory: 2 GB
New Hard Disk: 8 GB (or more)
In the New CD/DVD Drive settings, select the Datastore ISO file option in the drop-
down menu, select the Android ISO installation image file (android-x86_64-8.1-r3.iso
that was uploaded to the ESXi datastore in this case), and tick the Connect At Power
On checkbox. Other settings may have default values.
Privacy - Terms
https://www.nakivo.com/blog/installing-android-on-vmware-esxi-a-how-to-guide/ 6/22
5/26/2020 How to Install Android on VMware: A Step-by-Step Guide
Privacy - Terms
https://www.nakivo.com/blog/installing-android-on-vmware-esxi-a-how-to-guide/ 7/22
5/26/2020 How to Install Android on VMware: A Step-by-Step Guide
Privacy - Terms
https://www.nakivo.com/blog/installing-android-on-vmware-esxi-a-how-to-guide/ 8/22
5/26/2020 How to Install Android on VMware: A Step-by-Step Guide
Choose Partition. When the Android installer is loaded, on the Choose Partition
screen select Create/Modify partitions and hit OK.
Confirm. Select No when you see the “Do you want to use GPT?” question.
The cfdisk utility is now opened. Select New to create a new disk partition.
https://www.nakivo.com/blog/installing-android-on-vmware-esxi-a-how-to-guide/ 9/22
5/26/2020 How to Install Android on VMware: A Step-by-Step Guide
Set all available space of the 8-GB virtual disk to be used as a partition to install
Android on VMware.
After creating a new partition, make the partition bootable. Select the partition,
navigate to the Bootable option, and press Enter.
When the Boot flag is set for the partition, write changes to the disk. Navigate to the
Privacy - Terms
Write option and press Enter. After that, you will see the question: Are you sure you
https://www.nakivo.com/blog/installing-android-on-vmware-esxi-a-how-to-guide/ 10/22
5/26/2020 How to Install Android on VMware: A Step-by-Step Guide
Now the partition has been created. You can quit the cfdisk by selecting the Quit
option.
Now on the Choose Partition screen, you can see the created 8-GB partition. Select
this partition and hit OK to continue.
Privacy - Terms
https://www.nakivo.com/blog/installing-android-on-vmware-esxi-a-how-to-guide/ 11/22
5/26/2020 How to Install Android on VMware: A Step-by-Step Guide
Choose filesystem. Select ext4 as a filesystem to format the sda1 partition created
during the previous step.
Confirm. Select Yes to confirm that you want to format the sda1 partition.
Privacy - Terms
https://www.nakivo.com/blog/installing-android-on-vmware-esxi-a-how-to-guide/ 12/22
5/26/2020 How to Install Android on VMware: A Step-by-Step Guide
When you see the next question (Do you want to install /system directory as read-
write?), select Yes.
After that, you can see existing boot commands in the boot sequence. Select the
upper item as shown on the screenshot below and press e once more to edit the Privacy - Terms
https://www.nakivo.com/blog/installing-android-on-vmware-esxi-a-how-to-guide/ 13/22
5/26/2020 How to Install Android on VMware: A Step-by-Step Guide
After editing the boot command, press Esc to exit back to the boot menu. Select the
first boot option that you have edited and press Enter to boot.
Now the Android VMware VM is booted and you can see the graphical user
interface of Android. Select your preferred language and hit Start. In this
walkthrough, English (United States) is used.
Privacy - Terms
https://www.nakivo.com/blog/installing-android-on-vmware-esxi-a-how-to-guide/ 14/22
5/26/2020 How to Install Android on VMware: A Step-by-Step Guide
Connect to Wi-Fi. Android is intended for use on mobile devices that don’t have a RJ-
45 Ethernet port and are dependent on a wireless network connection. For this
reason, Android doesn’t determine wire networks. Click See all Wi-Fi networks
anyway, since the network connection is essential for the majority of applications
developed for Android.
On the next screen, you should see the VirtWiFi network. This is the name of your
network to which a virtual Ethernet controller of your Android VMware VM is
connected. You can try to use a USB Wi-Fi adapter and connect the adapter directly
to the VM as explained in our blog posts about installing Kali Linux on VMware and
VirtualBox hypervisors. To do this, insert a USB Wi-Fi adapter to the USB port of a
physical computer running a VMware hypervisor (VMware ESXi or VMware
Workstation) and use the USB pass-through feature.
Privacy - Terms
https://www.nakivo.com/blog/installing-android-on-vmware-esxi-a-how-to-guide/ 15/22
5/26/2020 How to Install Android on VMware: A Step-by-Step Guide
Configure Date & time, user name, and log in by using a Gmail account, configuring
Google services options if needed. After passing all steps of the Android
configuration wizard, you will reach the main interface of Android.
Privacy - Terms
https://www.nakivo.com/blog/installing-android-on-vmware-esxi-a-how-to-guide/ 16/22
5/26/2020 How to Install Android on VMware: A Step-by-Step Guide
https://www.nakivo.com/blog/installing-android-on-vmware-esxi-a-how-to-guide/ 17/22
5/26/2020 How to Install Android on VMware: A Step-by-Step Guide
Much as you have done before, edit the first boot option and change quiet to
nomodeset xforcevesa
After editing, the first boot loader option string must appear as the following:
kernel /android-8.1-r3/kernel nomodeset xforcevesa root=/dev/ram0
androidboot.selinux=permissive SRC=/android-8.1-r3
Press Esc, then type :wq to write changes to the file and quit.
After that, you can reboot the Android VMware virtual machine and Android should
boot successfully without manual manipulations. Disable the sleep mode. You can
configure the sleep mode by going to Setting > Display > Sleep. You can also enable
graphics acceleration (Accelerate 3D graphics) in the VM settings. Notice that there
are no VMware Tools compatible with the Android operating system.
Conclusion
Deploying an Android VMware virtual machine may be useful for software
development and testing. As Android is optimized for devices with a touch screen,
using this operating system on a desktop is not a practical option. Today’s blog post
has explained how to install Android on VMware ESXi. The installation algorithm is
quite simple – you need to download the ISO image, create a new VM, boot the
Android installer from the ISO image mounted to the VM, create a new bootable
partition on the virtual disk, and install the Android operating system. Android is
provided on mobile devices whose vendors collaborate with Google. When you
have an Android VMware VM, you can back up that virtual machine to different
backup repositories including Google Cloud. To learn more, be sure to read the blog
post about how to back up VMware VMs to Google Cloud.
5 (100%) 14 votes
Privacy - Terms
https://www.nakivo.com/blog/installing-android-on-vmware-esxi-a-how-to-guide/ 18/22
5/26/2020 How to Install Android on VMware: A Step-by-Step Guide
Share:
Privacy - Terms
https://www.nakivo.com/blog/installing-android-on-vmware-esxi-a-how-to-guide/ 19/22
5/26/2020 How to Install Android on VMware: A Step-by-Step Guide
Categories
Top Posts
Privacy - Terms
https://www.nakivo.com/blog/installing-android-on-vmware-esxi-a-how-to-guide/ 20/22
5/26/2020 How to Install Android on VMware: A Step-by-Step Guide
Sales Support
Email: [email protected] Email: [email protected]
Fax: +1 408 516 9464 .
Americas: +1 408 335 7367 (worldwide) Americas: +1 702 605 4495
EMEA: +44 20 7097 1535 Europe: +44 207 193 1230
Taiwan: +886 2656 5928 Asia: +886 2 2656 5927
Subscribe
Privacy - Terms
https://www.nakivo.com/blog/installing-android-on-vmware-esxi-a-how-to-guide/ 21/22
5/26/2020 How to Install Android on VMware: A Step-by-Step Guide
Privacy - Terms
https://www.nakivo.com/blog/installing-android-on-vmware-esxi-a-how-to-guide/ 22/22