Intro

This page collects my notes on porting Firefox to Android.

Current status

October 7, 2009

Previous statuses

Android Notes

Building Android on Snow Leopard

1. Get the sources.

2. Apply changes making sure there spaces before refs.

This almost works but resets the head each time. Both of the last two changes are needed but the Java one gets written over by the very last change. Also, changes downloaded this way get blown away on repo sync.

repo download platform/system/core 11845/2
repo download platform/external/qemu 11846/2
repo download platform/prebuilt 12014/1
repo download platform/prebuilt 12075/1
repo download platform/build 12074/1
repo download platform/build 12093/1

3. make

4. You are set and you can now run the emulator, e.g.

export AND_HOME=/Volumes/android/mydroid
export AND_BIN=$AND_HOME/out/host/darwin-x86/bin
export AND_PROD=$AND_HOME/out/target/product/generic
export AND_QEMU=$AND_HOME/prebuilt/android-arm/kernel/kernel-qemu
export AND_IMG=$AND_HOME/out/target/product/generic/userdata.img

hdiutil attach ~/work/android/android.dmg -mountpoint /Volumes/android

$AND_BIN/emulator -sysdir $AND_PROD -kernel $AND_QEMU -system $AND_IMG

Vlad's Android Notes

Can be found here.