Or Continue to Thread: Android v4.0.1 ICS VirtualBox …
Find Your Device:
25th November 2011, 05:32 PM   |  #17  
Junior Member
Thanks Meter: 9
 
19 posts
Join Date:Joined: Nov 2011
Mouse support & network
I tried the Virtualbox image. It runs out of the box on a VT enabled Windows 7 host. But as other posters recognized, there is no mouse and network support.

Today I did a little investigation before I wrote this blog entry ([w w w . borncity. com /blog/2011/11/25/ice-cream-sandwich-testdrive-in-virtualbox/ - unfortunately in German - therefore I will post the translated main parts below). The beef: I found a japanese guy who stated that he just managed to build also a Virtualbox image. And after I looked his Youtube video, it seems that he was able to build an image with mouse support and network. Unfortunately he hasn't released a dowloadable VBox-image.

I haven't time yet to set up my own build environment. But for thouse willing to experiment, here are some build commands obtained from these japanese web site).

Here are the commands to set up development environment

$ sudo add-apt-repository "deb http: //archive.canonical.com/ lucid partner"
$ sudo apt-get update
$ sudo apt-get install sun-java6-jdk
$ sudo apt-get install git-core gnupg flex bison gperf
build-essential \ zip curl zlib1g-dev libc6-dev
lib32ncurses5-dev ia32-libs \ x11proto-core-dev
libx11-dev lib32readline5-dev lib32z-dev \
libgl1-mesa-dev g++-multilib mingw32
tofrodos python-markdown \ libxml2-utils

Then it's necessary to download the ICS sources.

$ mkdir ~/bin
$ PATH=~/bin:$PATH
$curl https:// dl-ssl. google. com /dl/googlesource/git-repo/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
$ mkdir WORKING_DIRECTORY
$ cd WORKING_DIRECTORY
$ repo init –u https:// android. googlesource. com /platform/manifest -b android-4.0.1_r1

The japanese guy wrote that he need to try it several times, because of high traffic on google's server. After downloading source, here are the build commands for a virtualbox image

$ . build/envsetup.sh
$ lunch vbox_x86-eng

# it takes approximately 6 hours - depend on machine …
$ make –j4

# enable network to configure DNS
$ echo "net.eth0.dns1=8.8.8.8" >> out/target/product/vbox_x86/root/default.prop

$ echo "net.dns1=8.8.8.8" >> out/target/product/vbox_x86/root/default.prop
$ make
# Create Installer-VDI
$ make android_disk_vdi

Afterward the .vdi-disk should be available. As I wrote above, I haven't tested it at all. But maybe it will be helpful for thouse involved in building x86 ICS for Virtualbox.

HTH

Cheers

Günter Born

[Update: merde - it seem's that the anti spam policy of XDA developers prevents me to add the right build code - which containing links to the repositories - into my posting. Have a look into my blog post and also in the linked japanese page to obtain the whole build commands. sorry for that.]