How to install Android-x86 on your PC with a virtual machine

Last update: 12/09/2025
Author Isaac
  • Android‑x86 runs well in VMs with 2 GB RAM, 8–16 GB disk, and 2-thread CPU.
  • VirtualBox and VMware require video and GRUB settings; on VMware, 'nomodeset xforcevesa' helps.
  • WSA, Android Studio and Phoenix OS are alternatives depending on the objective and resources.
  • Virtualization offers security, snapshots, and convenience compared to installing natively.

android x86

Testing Android on your PC with a virtual machine is a fantastic idea when you want to run mobile apps without affecting your main system. With VirtualBox or VMware, you can set up Android-x86 in minutes, run tests, create snapshots, and, if something goes wrong, revert to a previous version without any hassle.

This guide brings together everything you need to install Android-x86 in VirtualBox and VMware , including hardware recommendations , compatible versions, installation steps, and solutions to common problems (black boot screens, display adapters, GRUB, network issues, etc.). You'll also explore alternatives like WSA , the Android Studio emulator, and Phoenix OS , and learn when virtualization is more advantageous than a native installation.

What is Android‑x86 and why virtualize it on your PC?

Android-x86 is a port of Google's operating system to x86/x64 architectures, designed to run on computers and virtual machines . Unlike the official Android images (which are ARM-based), this project adapts the kernel, drivers, and framework for PCs.

However, there are limitations: the included drivers are more limited than those found in desktop Windows or Linux , so certain hardware (graphics, audio, Wi-Fi, touch) may cause problems. Furthermore, you won't receive over-the-air (OTA) updates , and some apps may fail to detect an uncertified environment or because they rely on Google Play Services and physical sensors (accelerometer, gyroscope, GPS).

The great advantage of virtualization is that you lose very little performance with modern virtualization ; you can run Android and Windows simultaneously, isolate risks, and share resources. Installing on a physical disk might perform slightly better, but you lose the convenience and immediate "undo" that snapshots provide.

If your goal is to develop, test apps, or use mobile tools on your PC , a VM is the ideal playing field. For demanding gaming, graphics performance and compatibility can be a barrier , although for lightweight games and productivity apps, it's usually sufficient.

Virtual machine with Android-x86

Requirements and recommended Android‑x86 versions

For a smooth experience, aim for a PC with active hardware virtualization ( Intel VT-x/AMD-V in BIOS/UEFI) and sufficient memory. Android-x86 is lightweight, but when running two systems simultaneously, more RAM is better.

Typical recommendations for VirtualBox/VMware: 2 GB of RAM (minimum), 8–16 GB of virtual disk space, CPU with 2 threads or more . If your computer has plenty of RAM, you can allocate more; if you're short on resources, don't overdo it to avoid overloading the host.

Commonly supported versions of the project: Android 7.1 (Nougat), 8.1 (Oreo), 9 (Pie) , and experimental builds of Android 10 and 11. In general, many guides agree that 8.1 and 9 are the most stable and offer the best support for keyboards, mice, Wi-Fi, and external displays.

If you're looking for the latest version, always check the release notes on the official website or repositories like GitHub to confirm compatibility with your hardware and any known bugs before downloading the ISO.

Note that if your CPU does not support 64-bit architecture or your environment prevents it , you will need to use the 32-bit ISO. The VM cannot utilize resources that your hardware does not have.

Download Android-x86 and ISO

Preparations: Downloads and choosing a virtualizer

Start by downloading the Android-x86 ISO from the project website in your preferred version. The file will be something like 'android-x86_64-8.1-r3.iso' in the case of 64-bit Oreo, for example.

Next, install your preferred virtualization software. VirtualBox is free, cross-platform, and very easy to use. Its installer is clean, without bloatware, and you can usually just click "Next" and you're done. VMware Workstation/Player (on PC) or VMware ESXi (bare-metal hypervisor) are also excellent options for more advanced scenarios.

  Change the number of apps on Android: How to rename and change the number of apps?

Check in your BIOS/UEFI that VT-x/AMD-V is enabled . Without it, the VM will be severely limited or won't even boot. And if you're using Windows 11 with WSA, remember that the system's 'Virtual Machine Platform' feature must also be enabled, even though we'll be working with VirtualBox/VMware here.

Keep the ISO file handy in an easily accessible folder. Avoid paths with unusual permissions or network locations to prevent problems when mounting it on the VM.

Configure VirtualBox for Android-x86

hardware virtualization
Related articles:
How to enable virtualization from the BIOS or UEFI step by step

Creating the virtual machine in VirtualBox (fine-tuned configuration)

Open VirtualBox and click on 'New' . Give it a clear name, for example 'Android-x86'. In 'Type' choose Linux and in 'Version' select Linux 2.6/3.x/4.x (32 or 64-bit depending on the ISO) . Don't overcomplicate things: this loads some base values ​​that we'll fine-tune later.

Allocate memory. The Android-x86 team usually recommends 2 GB of RAM as a starting point . If you have a host with plenty of RAM, you can increase it to 3–4 GB; if you're short on RAM, stick with 2 GB to avoid overloading the system.

When creating the disk, choose VDI, dynamic sizing, and a minimum of 8 GB . That's sufficient for installing the operating system, but if you plan on adding apps and files, 16 GB or more is better . Dynamic sizing will only use what you actually use on the host.

Before starting, go into the VM settings and adjust the following: Under 'System', allocate 2 CPUs/threads if your host has Hyper-Threading/SMT ; this will prevent apps from crashing. Under 'Display', slightly increase the video memory and, if you don't have Guest Additions Linux, change the adapter to VBoxVGA (many ISOs won't boot with VMSVGA without GA). 3D acceleration can be enabled, but it requires Additions and its effect may vary.

In 'Storage', mount the ISO to the virtual optical drive. In 'Audio', select Intel HD Audio for maximum compatibility. In 'Network', the default setting (NAT) provides internet access to the VM; if you prefer Android to obtain an IP address from your router , use Bridged Adapter . If you encounter problems, see common VirtualBox errors.

Install Android‑x86 on VirtualBox step by step

Boot the VM and select the ISO if prompted. In the boot menu, choose 'Installation – Install Android‑x86 to harddisk' ; this will prevent you from booting into Live mode.

The installer will ask you for a partition. Since the virtual disk is blank, go to 'Create/Modify partitions' . When it asks about using GPT, answer no for this simple scenario. The partition manager (cfdisk) will open.

In cfdisk, create a new partition with 'New' → 'Primary' , accept the full size, mark it as 'Bootable' , and write changes with 'Write' (type 'yes' to confirm). Exit the manager.

Back in the installer, you'll see your partition ready to be formatted . Select it and choose ext4 . Accept the GRUB installation and allow '/system' to be read-write . After copying files, finish and reboot.

The first time the system starts, complete the initial setup wizard: language, network connection, Google account (optional) . If you prefer to avoid the Play Store, you can install APKs or use alternative app stores ; keep in mind that many apps depend on Google services and may not function perfectly.

Optimization and solutions to common problems in VirtualBox

If the VM doesn't start or you see a black screen, check the most common things: the video adapter is set to VBoxVGA when Guest Additions are not installed, there's enough video memory, and the ISO file isn't corrupted. Sometimes, enabling/disabling 3D makes a difference.

  There was a problem with this web page, so it has been reloaded.

The mouse on Android emulates a finger. Complex multitouch is not supported and may feel unnatural on a mobile phone/tablet. If you use a touchpad on a laptop and notice "jumping," try enabling or disabling pointer integration in the VirtualBox menu during the session.

The network usually works well with NAT, but if the app you're using needs to discover services on your LAN, the Bridged Adapter helps. Also, check that the host firewall isn't blocking VirtualBox and that you're not using the system's immutable mode (this option causes problems with VMs on some distributions).

For moving files between the host and Android, basic VirtualBox is limited. Syncthing on both sides works wonderfully for syncing folders, and Telegram is handy for transferring specific documents.

Enable developer options by tapping the build number seven times in Settings → About. There you can reduce animations, view processes, and fine-tune performance. If needed, you can also use a native Linux terminal on Android for advanced tasks. Don't expect miracles in 3D apps ; VM 3D support is reasonable, but not as good as native support.

Install Android‑x86 on VMware (Workstation/Player and ESXi)

In VMware, the process is similar: create a new VM with the Linux family and version 'Other 3.x or later (64-bit)' if your ISO is 64-bit. Allocate 1 vCPU/1 core (or more), 2 GB of RAM, and 8–16 GB of disk space . Mount the ISO to the CD/DVD drive and select 'Connect on power-up'.

Install Android-x86 using the same partitioning steps with cfdisk, ext4 formatting, GRUB installation , and setting '/system' to read-write. After rebooting, you might encounter a common problem: Android doesn't display a graphical interface and remains stuck in the console.

Quick fix: In the GRUB menu, select the first entry and press 'e' to edit . In the kernel line, replace 'quiet' with 'nomodeset xforcevesa' . Return with 'Esc' and boot that entry. This will boot Android into a generic graphical mode.

To make it permanent, open a console in Android with Alt+F1 and run: create the mount point '/mnt/sda', mount '/dev/block/sda1' there, and edit '/mnt/sda/grub/menu.lst' with vi to change 'quiet' to 'nomodeset xforcevesa' in the first entry. Save with ':wq'. After rebooting, you won't need to edit it manually anymore.

Other notes for VMware: There are no official VMware Tools for Android , so integration is limited. In the initial setup wizard, you might see a 'VirtWiFi' network; this is how Android represents VMware's bridged/NAT connection. Disable screen timeout in Settings → Display if you're going to be working for extended periods.

VMware and Android-x86

WSA on Windows 11 and other recommended alternatives

If you're using Windows 11, you have the Windows Subsystem for Android (WSA) , which allows you to run apps without emulators. You need at least 8 GB of RAM , to enable the 'Virtual Machine Platform' feature, and to download the Amazon Appstore from the Microsoft Store.

Its biggest drawback is that it only installs apps available on the Amazon Appstore . While you can load APKs, many apps fail because they rely on Google services . It's convenient, but its ecosystem still falls short compared to a full-fledged virtual machine or a development emulator.

For pure development, the Android Studio emulator is Google's official method, with updated device profiles and few limitations. However, it consumes more resources and can run slower than Android-x86 in a VM on modest hardware.

If you want a native experience, there are projects like Phoenix OS (desktop-like interface and more recent support in some branches) or community ROMs (formerly CyanogenMod/LineageOS ) for different devices, including Raspberry Pi . On Linux, you can also look at Anbox or QEMU-based solutions , depending on your needs.

  These are the best phones under 300 euros for COD Mobile or PUBG.

Is it better to install native or virtualize Android on your PC?

Installing on a physical partition can push the hardware a little harder, but it complicates booting , eliminates the parallel use of Windows , and leaves you tied to driver limitations . Virtualization, on the other hand, results in minimal performance loss and increased security and convenience (snapshots, cloning, rollback).

For everyday PC use, Android doesn't compete with desktop Windows or Linux in terms of usability. However, for testing, running specific apps, or automating mobile tasks , a VM running Android-x86 shines due to its flexibility.

Practical tips and little tricks that save time

Before you begin, save the ISO and the VM to an SSD if possible: the performance jump compared to an HDD when opening apps and navigating the system is significant. If you're short on space, VirtualBox's dynamic disk helps avoid taking up too much space.

If you need to copy/paste between systems, remember that Android in a VM doesn't integrate a clipboard like a desktop VM . Using the cloud (Drive, Dropbox), Syncthing , or messaging solves almost everything without headaches.

On a network, NAT offers minimal friction; for advanced testing with local services, use bridging . And if an app doesn't appear in the Play Store or fails due to Google services, try installing its APK from its official website or trusted repositories.

If apps are crashing randomly, increase the number of vCPUs to 2 if your host allows it . Android processes benefit from extra threads. If you see graphical glitches, toggle 3D on/off and check your display adapter (VBoxVGA vs. VMSVGA with Additions).

What you can do with Android in a VM

You can run mobile apps that aren't available on Windows , test versions, take screenshots, record demos, automate tasks with tools like Tasker , or simply use messaging in a separate window. The Android-x86 interface typically includes a desktop-style taskbar , making it easy to work with a mouse and keyboard.

For light gaming, it works well. For graphically demanding titles, the VM might fall short . If you just want to play popular games without technical hassles, check out the best emulators ; BlueStacks is more plug-and-play and sufficient for many.

Where a VM truly makes a difference is in development and QA : snapshots before every change, environment cloning, and the ability to break things without fear . In VMware environments, you can also back up the VM to repositories or clouds like Google Cloud.

However, remember that this isn't a real phone : it lacks sensors, the camera may be simulated or nonexistent, and some apps won't behave the same way. For truly mobile experiences, the official emulator or a physical device remains the best option.

With all of the above, you have a clear path to installing Android-x86 in VirtualBox or VMware , fine-tuning its configuration, and overcoming the usual pitfalls. The project isn't perfect, but with the right version, proper CPU/RAM tuning, ext4, GRUB, and, if necessary, the 'nomodeset xforcevesa' trick , you'll be able to work with Android apps on your PC comfortably, securely, and without affecting your main installation.