Android Compiling Virtual Machine

From Wandboard Wiki
Jump to: navigation, search


Here is a guide regarding compile android with a virtual machine.

Host OS is a PC with 64bit Windows/Ubuntu

Guest OS is a Ubuntu-12.04 64bit.

Username and password are both imx6.

Download and Install VMPlayer

Go to

Download VMware Player and VMware Player Plus for Windows

or VMware Player and VMware Player Plus for Linux 64-bit

Install it to your windows or ubuntu.

Download Pre-installed VM

Paste the link below to your browser.

Download and uncompress. Use the VMplayer to execute the virtual machine.

Download and Compile Android

Source code tarball
md5sum : b7d744c31883c0faf9b27a7b4c8559b9 

Download and uncompress it.

$ wget
$ tar xvf wandboard_android-4.3_fullsource_20140205.tar.xz

Build Process

$ cd wandboard-4.3-pre-source/wand-4.3
$ source build/
$ lunch wandboard-userdebug
$ make -j4


$ sudo dd if=/dev/zero of=/dev/sdX bs=1M count=1
$ sudo ./ /dev/sdX
$ dd if=wand-4.3/bootable/bootloader/uboot-imx/SPL of=/dev/sdX bs=1K seek=1
$ sudo mount -t vfat /dev/sdX1 /media/imx6
$ sudo mount -t ext4 /dev/sdX5 /media/system
$ mkdir -p /media/imx6/boot
$ cp wand-4.3/kernel_imx/arch/arm/boot/uImage /media/imx6/boot/
$ cp wand-4.3/bootable/bootloader/uboot-imx/u-boot.img /media/imx6/boot/
$ cp wand-4.3/bootable/bootloader/uboot-imx/out.bmp.gz /media/imx6/boot/
$ cp wand-4.3/bootable/bootloader/uboot-imx/uEnv.txt /media/imx6/boot/
$ mkimage -A arm -O linux -T ramdisk -C none -a 0x10800800 -n "Android Root Filesystem" -d wand-4.3/out/target/product/wandboard/ramdisk.img /media/imx6/boot/uramdisk.img
$ sudo cp -a wand-4.3/out/target/product/wandboard/system/* /media/system/
$ sudo umount /dev/sdX*

Compatible Google APPS