Header Ads

Windows 7 running on an Asus Zenfone 2

XDA Developer forum member ycavan managed to get Windows 7 running on an Asus ZenFone 2. There’s even a video showing how it works, though note that there’s no audio.

It is NOT "running Windows on the phone directly (as the host OS)", it is "running VIRTUAL Windows PC on Android port of QEMU and connecting to it with aSPICE"


The Asus ZenFone 2 utilizes an Intel-based Atom processor.



Asus Zenfone 2 running Windows 7 from qemu-kvm under Arch x86_64 using aSpice to render the video & audio. Video captured using Asus PC Link software over usb. Needless to say, this phone is simply amazing! :) FHD 2.19.40 kernel with KVM support compiled on the phone itself under Arch x86_64 chroot.

At the beginning, I log into the Arch x86_64 chroot using VXConnect. Then I start up the script: start_win7.sh. The script starts up qemu-kvm using this command line:

  • qemu-system-x86_64 -full-screen -m 1G -enable-kvm -cpu host \
  • -drive file=/mnt/0/machine1.img,format=raw -boot menu=on \
  • --usbdevice tablet -smp 4 -vga qxl -monitor stdio -balloon virtio \
  • -soundhw hda -net nic,model=virtio \
  • -net user,smb=/mnt/MicroSD \
  • -spice port=5900,addr=127.0.0.1,disable-ticketi­ng $@

the $@ at the end just means: Pass any further arguments to qemu-kvm. ie, ./start_win7.sh -cdrom /mnt/MicroSD/Vcd/virtwithspice.iso would start up the virtual machine loading my cd image of virtio + spice drivers.

After starting up the Virtual Machine, I switch over aSpice ( from the Play store ) and that's an Android Spice client that supports audio. Make sure to click on the Advanced button and enable sound. Earlier, the qemu-kvm command line I used had a -spice section that said we're using localhost ( 127.0.0.1 ) port 5900 with no authentication; so we use 127.0.0.1 port 5900 and click Connect.

Windows starts up and then we visit xda-developers using the virtual network adapter ( and chrome of course ).

After browsing, we play a quick game of minesweeper and finish off briefly showing the shared drive, the vfat partition of my microSD card.

So that's Windows 7 fully running on an Asus Zenfone 2 ZE551.

source: Yua Ca Van



No comments

blogmytuts. Powered by Blogger.