Overview

Some initial rough notes on building Android (http://www.android.com/about) for Balloon 3.

The hardware used for the initial proof of concept port (http://www.youtube.com/watch?v=YkOl6xyAHr8)

Steps

# CONFIG_ANDROID_GADGET is not set
# CONFIG_ANDROID_RAM_CONSOLE is not set
CONFIG_ANDROID_POWER=y
CONFIG_ANDROID_POWER_STAT=y
CONFIG_ANDROID_LOGGER=y
# CONFIG_ANDROID_TIMED_GPIO is not set
CONFIG_ANDROID_BINDER_IPC=y

At the top level of the Android source tree enter:
. build/envsetup.sh
lunch 1
emulator -debug-all -verbose -logcat main

Tips

adb shell
su
cd /data/data/com.android.providers.settings/databases
sqlite3 settings.db
INSERT INTO system (name, value) VALUES ('device_provisioned', 1);
.exit

out/host/linux-x86/bin/mkyaffs2image -f out/target/product/generic/system out/target/product/generic/system.img

Guides

An overview of the steps is detailed in the Android porting guide, development/pdk/docs/index.html within the downloaded source tree.

https://groups.google.com/group/android-porting can be quite useful although you may need to search around. Most problems have already been hit by others.

Balloonboard: AndroidBalloon (last edited 2009-04-28 22:20:32 by JRayner)