Galaxy Nexus


The Galaxy Nexus is a touchscreen slate Android smartphone developed by a partnership between Google and Samsung. This page covers short reference instruction on how to build, configure and run ICS virtualized Android 4.0 system for Galaxy Nexus that uses prebuilt fielsystem images.


Download the source code:

$ git clone
$ cd codezero-meta
$ git clone
$ git clone
$ git clone

Checkout the matching linux branch:

$ cd linux
$ git checkout tuna
$ cd ..

Load the single-tuna-ics meta-config and (optionally) configure the setup

$ ./ single-tuna-ics
$ make menuconfig # optional


$ make

Download binaries from here. It contains the following files

  • system.img – Android filesystem’s system binary image
  • userdata.img – Android filesystem’s userdata binary image
  • ramdisk.img – Android filesystem’s system ramdisk image

Build paravirt-boot.img:

$ mkbootimg --kernel current/codezero/Image --ramdisk ramdisk.img -o paravirt-boot.img

Install AOSP tools and configure fastboot device access by following the Installing AOSP host tools and Configuring USB Access sections of the Initializing the Host Environment page.

Connect the phone to the host machine via Micro-USB to USB converter. Press Volume UP, Volume Down and Power keys of the phone simultaneously, making the phone go into the fastboot mode.

Flash kernel and filesystem binaries and boot the phone:

$ fastboot erase cache
$ fastboot flash system system.img
$ fastboot flash userdata userdata.img
$ fastboot flash boot paravirt-boot.img
$ fastboot reboot

Comments are closed.