March 02, 2010

I need a wiki – Android reminders

I really need to bring my own wiki online for notetaking. In the meantime, here are some things to remember for working with Android on the Droid

This is a record for myself on how I built Koush’s CyanogenMod port for the Motorola Droid. It may come in handy for others.

  • mkdir clockworkmod
  • cd clockworkmod/
  • repo init -u git://github.com/koush/android.git -b eclair
  • repo sync
  • cd vendor/motorola/sholes-open
  • ./extract-files.sh
  • cd ../../../
  • source build/envsetup.sh
  • lunch cyanogen_sholes-eng
  • mkclockworkmod
    • make PLATFORM_VERSION_CODENAME=bekit HOST_PLATFORM=zoom2 CROSS_COMPILE=~/android/builds/koush/clockworkmod/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi- KERNEL_DIR=~/dev/android/builds/AOSP/kernel_experimental clean
    • make PLATFORM_VERSION_CODENAME=bekit HOST_PLATFORM=zoom2 CROSS_COMPILE=~/android/builds/koush/clockworkmod/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi- KERNEL_DIR=~/dev/android/builds/AOSP/kernel_experimental

Mounting/unmounting /system read/write (when booted into OS NOT recover)

  • mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
  • sync && mount -o remount,ro -t yaffs2 /dev/block/mtdblock4 /system

Leave a Reply