[Thanks to
http://blog.coralic.nl/2010/01/21/how-to-create-a-custom-rom-for-hero-from-android-sources/]
- Build Android
- In the Android SDK directory, make a copy of the platform that you customized
- cd /opt/android/android-sdk
- cd platforms
- cp -rf android-8 custom-froyo
- Replace the images
- cp ~/ws/froyo/out/target/product/generic/*.img custom-froyo/images
- Copy build.prop from your custom build
- Edit Pkg.Desc in source.properties
- Test that the correct strings show up
- cd tools ./android list targets
- Create an AVD using your custom platform