androidx86 installation for virtualbox
TRANSCRIPT
android-x86-2.3-RC1-eeepc.isohttp://www.android-x86.org/download
VirtualBoxhttps://www.virtualbox.org/wiki/Downloads
請看圖,我懶的解釋囉。
mount -o remount,rw /mnt
vi /mnt/grub/menu.lst
Then duplicate the first menu entry (3 lines) and then edit the kernel parameters(the first “title” entry and two following lines.)
Default parameters are:
quiet root=/dev/ram0 androidboot_hardware=eeepc acpi_sleep=s3_bios,s3_mode DPI=240 SRC=/android-2.3-RC1
parameters I used:
quiet root=/dev/ram0 androidboot_hardware=generic_x86 acpi_sleep=s3_bios,s3_mode DPI=240 UVESA_MODE=480x720 SRC=/android-2.3-RC1
Set what you want for the title.
If you want to be able to select the resolution at boot time, you can also use:
quiet root=/dev/ram0 androidboot_hardware=generic_x86 acpi_sleep=s3_bios,s3_mode vga=ask SRC=/android-2.3-RC1
Save your menu.lst (:wq) and reboot the VM using the VirtualBox menu.
Quick tips for using the VM:
• if you don’t see the mouse on the Android screen, use the VirtualBox menu to disable mouse integration (Host key + I)
• the “Windows Key” corresponds to the Android Home button • Esc corresponds to the Android back button • F2 corresponds to the Android menu button • F3 corresponds to the Android search button • Alt+F1 => switch to console mode • Alt+F7 => switch to GUI mode
adb connect localhost
http proxysetprop net.gprs.http-proxy http://10.0.0.25:3128
References:http://www.nuxeo.com/blog/development/2011/10/speeding-up-the-android-emulator/http://www.android-x86.org/documents/debug-howto