網頁

Mobile cloud computing was referred as an infrastructure in which processing and data storage were outside the mobile device. The mobile cloud framework is going to extend the computing model from the client-server model to the application partitioning model.

Saturday, May 14, 2011

RUN Android-x86 by Virtual Machines

1.   Create a script qemu-android

#!/bin/sh
qemu-kvm -soundhw es1370 -net nic -net user -cdrom \
${@:
-out/target/product/eeepc/eeepc.iso}

2.1 Run the script qemu-android

qemu-android eeepc.iso

Fig. 1 Run Android-x86 without any user data partition on a virtual machine


2.2 Run the script qemu-android

qemu-img create -f qcow2 android.img 1G
qemu-android eeepc.iso -hda android.img -boot d

Fig. 2 Run Android-x86 with a user data partition on a virtual machine



RUN Android-x86 by Real Hardware

1.   Install to USB or HDD
a. find a linux machine with the latest grub installed
b. partition your USB drive with fdisk or gpartd and mark the partition as bootable format that partition to ext3 (recommended) or vfat.
c. mount your usb drive to /mnt

cd /mnt
grub-install --root-directory=. --no-floppy /dev/<your usb device node name>
cd /boot/grub

d. create your menu.lst based on the next section

title Run Android
kernel /android/kernel root=/dev/ram0 androidboot.hardware=eeepc acpi_sleep=s3_bios,s3_mode SRC=/android
initrd /android/initrd.img

title Run Android (VESA mode)
kernel /android/kernel root=/
dev/ram0 androidboot.hardware=eeepc acpi_sleep=s3_bios,s3_mode vga=788 SRC=/android
initrd /android/initrd.img

title Run Android (Debug mode)
kernel /android/kernel root=/dev/ram0 androidboot.hardware=eeepc acpi_sleep=s3_bios,s3_mode vga=788 SRC=/android DEBUG=1
initrd /android/initrd.img

Fig. 3 Run Android-x86 on real hardware

No comments:

Post a Comment