Solve Android x86 No Network Problems in VMware Workstation

When you want to test Android on your PC, Android-x86 might be your solution. Android-x86 is an open source project that has ported Android to x86 platform. This allows us to install Android in a Virtual Machine with VMware Workstation or ESXi. Driver support is very limited, so there are many problems around with Android VMs that cant access the network. This post shows how to install Android in VMware Workstation and how to solve Network Connectivity issues.

android-vmware-workstation

The following Android-x86 releases are currently available. All versions can be installed and used in VMware Workstation:

  • Android 4.3 (Jelly Bean)
  • Android 4.2 (Jelly Bean)
  • Android 4.0 (Ice Cream Sandwich)
  • Android 3.2 (Honeycomb)
  • Android 2.3 (Gingerbread)
  • Android 2.2 (Froyo)

Download Page
Some older versions are available as separate Isos for different devices. Take whatever version you want. You can either boot an Android-x86 live system, or install it to the virtual disk.

No Network?
Edit the VM config File (.vmx) and changed the network adapter type to  vlance:
vlance

Some versions do not run DHCP automatically. You can verify that with the netcfg command. To get network access:

  • Press CTRL+F1
  • Type dhcpcd eth0
  • Type setprop net.dns1 8.8.8.8 (or replace with your DNS Server)
  • Press CTRL+F7

fix-android-no-network-issue

Installation Guide

  1. Create a new virtual Machine
  2. Configuration Type Typical
    typical
  3. Select the disc image you've downloaded from android-x86.org
    installer-iso
  4. Select Name and Location
    name-path
  5. Don't change Disk Settings
  6. Deselect Power on this virtual machine after creationpower-on-vm
  7. Open the VM Configuration File (.vmx) in Notepad
  8. Change the Network Adapter Type from "E1000" to "vlance" (Note: This Step is no longer required with Android 4.2/4.3 (Jelly Bean)
    vlance
  9. Save the File
  10. Power on the Virtual Machine

Run Android Live
When you want to run the Live CD (No installation), just use the first option.
android-live

Install Android

  1. When you want to install Android, select "Installation"
    android-install
  2. Select Create/Modify partitions
  3. New
  4. Primary
  5. <ENTER>
  6. Bootable
  7. Write
  8. Type Yes
  9. Quit
    partition
  10. Select sda1
    sda1
  11. Select ext3
    ext3
  12. Select Yes, until the installation has finished. Your Android Virtual Machine is now ready.
  1. Dylan Maniatakes

    Hi Im having this problem were it can use my mic but i cant hear audio on vmware workstation

  2. You need select freeSDB on intallation to see this option vlance

  3. i am not able to sign up for google play acoount it is asking to switch on wifi

  4. it shows me error 17 when i rebooted after installation and even after restarting the virtual machine

  5. There is a question whether you want to install EFI GRUB2. Either select Skip there, or adjust your VM to use EFI-boot (haven't tested that one myself)

Leave a Comment

NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>