Instructions to Build Android Jelly Bean on Pandaboard and Origen Boards

About 2 weeks ago, Linaro showed Android Jelly Bean running on Origen board with hardware accelerated, and last week they provided instruction to build Jelly Bean for the Pandaboard (OMAP4430) and the Origen board (Exynos 4212).

Android Jelly Bean for Pandaboard: Pre-build Image and Build Instructions

The fastest way to try Android Jelly Bean on the Pandaboard is to download the latest binaries available at in a PC running Ubuntu. For example (12/08/2012):


Install linaro-image tools:

sudo add-apt-repository ppa:linaro-maintainers/tools
sudo apt-get update
sudo apt-get install linaro-image-tools

Insert an SD card, make sure it is not mounted and flash it with the firmware (Replace /dev/sdc by the corresponding drive in your system):

./linaro-image-tools/linaro-android-media-create --mmc /dev/sdc --dev panda --system system.tar.bz2 --userdata userdata.tar.bz2 --boot boot.tar.bz2

Finally install the graphics libraries:

chmod a+x

Remove the SD card from your PC, and insert it in the Pandaboard to start Android 4.1.

If you want to modify the source, you can also build the bin files:

chmod +x
./ -m /path/to/pinned-manifest.xml

system.tar.bz2, boot.tar.bz2 and userdata.tar.bz2 will be located in out/target/product/pandaboard.


Android Jelly Bean for Pandaboard: Pre-build Image and Build Instructions

The instructions to try Android Jelly Bean on the Orgien board are basically the same, but you have download the latest binaries from in a PC running Ubuntu. As you may know Samsung has a lot of lawyer, and when they don’t have to handle Apple lawsuit, they spend there time writing license agreement for all downloads, so that you can’t download them the easy way (with wget). Here are the link for 13/08/2012 build:

  • system.tar.bz2 – Contains Android “system” directory
  • userdata.tar.bz2 – Contains the “data” directory with some benchmark and test apps
  • boot.tar.bz2 – Contains uImage, uInitrd, U-boot, U-boot spl and cmdline file

Install linaro-image-tools (as explained in Pandabord section), and flash the image to an SD card:

./linaro-image-tools/linaro-android-media-create --mmc /dev/sdc --dev origen --system system.tar.bz2 --userdata userdata.tar.bz2 --boot boot.tar.bz2

That’s it, you can now insert the SD card in the origen to try Android 4.1 out.

Build instructions for the Origen board is slightly more complicated than for the Pandaboard. First download the build script and the manifest files (This is for build 22):

chmod +x

Download the vendor tarball (via a License agreement), and build Android Jelly Bean as follows:

./ -m /full/path/to/pinned-manifest.xml -o /full/path/to/vendor.tar.bz2

system.tar.bz2, boot.tar.bz2 and userdata.tar.bz2 will be located in android/out/target/product/origen/.

By the way, in the instructions above, when they write “/full/path/to/” they mean it, and if you have downloaded the vendor file in the current directory, simply using -o vendor.tar.bz2 will fail.

Building in Debian Wheezy also appear to work,  just install Linaro binary toolchain, and possibly some extra packages.

If you’ve changed the source and want to rebuilt, do the following in a terminal:

export TARGET_PRODUCT=origen
export CPUS=grep -c processor /proc/cpuinfo
export TARGET_TOOLS_PREFIX=android-toolchain-eabi/bin/arm-linux-androideabi-
. build/
make -j${CPUS} boottarball systemtarball userdatatarball


Leave a Reply

Notify of