Run Android on your PC
QEMU How To
This article describes how to run eeepc.iso inside Qemu, a generic and open source machine emulator and virtualizer.
The tested version is 0.10.5 on Fedora 11, and 0.9.1 on Debian 5.0.
• Internet access (DHCP mode).
• Audio, playing music.
Create a script qemu-android like
Run it by:
qemu-kvm -soundhw es1370 -net nic -net user -cdrom \
The script configures the qemu machine to have a sound card es1370, and a network card rtl8139 (the default one), and use the user mode network stack.
qemu-android <path to eeepc.iso>
Note the script runs qemu in KVM mode.
You must have kvm module (kvm-intel or kvm-amd) installed for your kernel, and the permission of /dev/kvm is set to allow your user to access it.
Otherwise the KVM support will be disabled and it may run very slow.
If you don't have qemu-kvm in your distribution, use qemu.
Like Virtual Box, you can save data to a qemu virtual disk.
First, create a qemu virtual disk (size 1GB) by
qemu-img create -f qcow2 android.img 1G
Then follow the VirtualBoxHowTo for how to mount user data and sdcard on the virtual disk.
qemu-android eeepc.iso -hda android.img -boot d
You can also follow that article to upload music files and play them.
(Use wget to pull file from the host. Adb push may not work)
If the Android inside Qemu enters suspend mode, it cannot wake up. So it is better to set the Screen timeout to be Never (Setting -> Sound & display -> Screen timeout).