How to install Android x86 on Hyper-V – Part 1: Install

 

Note: Recommend the latest post for Android x86 4.4 RC2

How to install Android x86 4.4 RC2 on Hyper-V – Part 1: Install
How to Install Android x86 4.4 RC2 on Hyper-V – Part 2: Configuration, Screen resolution and Network

 

Greetings,

I am here to share with you guys How to install Android on Hyper-V. Android is an handy piece for my Lab for BYOD demos to test the client access onall the new fancy stuff (Azure Multi Factor Authentication, WS 2012 R2 Web Application Proxy, etc).

Some important tips for Android x86:

  • Android x86 images prior to 4.3 had no support for Ethernet (there was some custom images that were more complex to build), you’ll just need the generic build 4.3 out-of-the-box;
  • Ethernet support only through DHCP or non-persistent manual network configuration;
  • Sleep is not supported, a few seconds on the initial lock screen with no activity or 30m after unlock and it will sleep, if it happens you’ll have to reboot.
  • Screen resolution can be changed through GRUB boot loader changes
  • No Synthetic drivers for Hyper-V, you need a Legacy Network adapter

I will divide this Blog post in 2 Parts

Part 1: How to install Android x86 on Hyper-V – Part 1: Install

– Phase 1: Download Android x86 4.3 and prepare a VM to run it
– Phase 2: Install Android x86 4.3 on a VM
– Phase 3: Run and Configure Android x86 for the first time

Part 2: How to Install Android x86 on Hyper-V – Part 2: Screen resolution and Network configuration

– Phase 4: Advanced settings – Screen resolution
– Phase 5: Advanced settings – Network configuration

 

[Phase 1: Download Android x86 4.3 and prepare a VM to run it]

1. Download Android ISO: http://code.google.com/p/android-x86/downloads/list

Android Live and Installation ISO
Version: 4.3 Jelly Bean
File name: android-x86-4.3-20130725.iso
Size: 199MB
SHA1: b2b4ba3da4b90e9a95bfa0a088bcaa8eb5ce0c30

2. Open the Hyper-V Manager to Create a Virtual Switch for your Virtual environment Network

On the right pane Click “Virtual Switch Manager”

Create an “Internal” or “External” Virtual Switch depending on your network needs

3. On the Hyper-V Manager create a new Virtual Machine and Virtual Hard Disk:

On the right-pane Actions menu Click “New” –>Virtual Machine

On the New Virtual Machine Wizard –> Next

Define the Machine Machine Name “Android43” and the desired location of the Virtual Machine configuration files

If your are running a Windows 8.1 or Windows Server 2012 R2 host Select the Virtual Machine “Generation 1

Set the Memory size “1024” MB (should be enough, if you need intensive network usage consider more memory)

Select the “Not connected” Virtual Switch Network (we will have to remove the Synthetic NIC and add a Legacy NIC afterwards)

Create a Virtual Hard Disk (default: differential) with no more than “5GB” (depending on your needs, such as logging)

Select “Install Operating System from a Boot CD/DVD” and Select the Android “image file (ISO)”

Review the VM configuration and click “Finish” to complete the VM creation

Right-click on the new Android VM and select “Settings

On the Android VM properties click on the Network Adapter and select “Remove

On the Android VM properties on the “Add Hardware” section select “Legacy Network Adapter” and click “Add

Select the Virtual Switch “External Network“ or any other you prefer and click “OK

 

[Phase 2: Install Android x86 4.3 on a VM]

1. Start the VM and on the Boot menu select “Installation – Install Android-x86 to harddisk

Capture

2. After boot Press [ENTER] on the default option “Create Modify partition

Capture1

3. On the Partition configuration Select “New”, on the Next Screen Select “Primary

Capture2  Capture3

4. Confirm the Volume size (e.g 5362MB) and mark the Partition as “Bootable” through the menu options

Capture4  Capture5

5. Select “Write” to write the partition table to disk and select “Quit” to complete

Capture6  Capture7

6. Select the new partition installation partition “sda1” and the File system format “ext3

Capture8  Capture9

7. Confirm the partition format “Yes” and confirm the GRUB boot loader install with “Yes

Capture10  Capture11

8. Confirm the read-write directory with “Yes” and wait a few seconds for the installation to complete. Following this select “Run Android-x86” for the first Boot and configuration

Capture12  Capture13

[Phase 3: Run and Configure Android x86 for the first time]

During the First boot of Android you need to configure the initial settings

1. Ignore the Bluetooth warning and click “Ok” and select the preferred Language option “English United-States

Capture14  Capture15

2. Ignore the Wifi Selection and click “Skip” and on the next screen confirm that by selecting “Skip anyway

Capture16  Capture17

3. On the Google location click on the right arrow and on the Date & time select your time zone settings and click on the right arrow

Capture18  Capture19

4. On the Google Services screen click on the right arrow and on the Setup complete window click on “Finish

Capture20  Capture21

This completes the Part 1 of “How to install Android x86 on Hyper-V” with the installation process. You can access the Part 2 for the configuration process on “How to install Android on Hyper-V – Part 2: Screen resolution and Network configuration”.

R-Tape Loading error,
Luís Rato

Anúncios

~ por Luis Rato em 15 de Outubro de 2013.

2 Respostas to “How to install Android x86 on Hyper-V – Part 1: Install”

  1. Luis,
    Just wanted to say thanks for your great post on Hyper V and Android x86. I don’t think I would have ever figured out you needed to delete the synthetic network adapter before the legacy adapter would work. Although Android 4.3 works OK on my machine (Win 8.1 64), I get no sound and many times applications crash. I suppose this is to be expected since Android 4.3 x86 is in development. Thanks again for a great article and your help.
    Bob Brenneman

  2. You get no sound because Hyper-V has no sound…

Deixe uma Resposta

Preencha os seus detalhes abaixo ou clique num ícone para iniciar sessão:

Logótipo da WordPress.com

Está a comentar usando a sua conta WordPress.com Terminar Sessão / Alterar )

Imagem do Twitter

Está a comentar usando a sua conta Twitter Terminar Sessão / Alterar )

Facebook photo

Está a comentar usando a sua conta Facebook Terminar Sessão / Alterar )

Google+ photo

Está a comentar usando a sua conta Google+ Terminar Sessão / Alterar )

Connecting to %s

 
%d bloggers like this: