Wednesday, August 11, 2010

Compiling Android Froyo for HTC's EVO4

This is a WIP.
  1. Grab the latest source code from http://developer.htc.com/ - As of this writing, the latest is http://member.america.htc.com/download/RomCode/Source_and_Binaries/supersonic-2.6.32.15-g746f4f0.tar.gz
  2. Download the Android NDK (not a typo) from http://developer.android.com/sdk/ndk/index.html - As of this writing, the latest for Linux is http://dl.google.com/android/ndk/android-ndk-r4b-linux-x86.zip
  3. Extract both archives, set env vars as convenient
  4. Add android-ndk-r4b/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin to your $PATH
  5. export ARCH=arm
  6. export PLATFORM=supersonic
  7. supersonic-2.6.32.15-g746f4f0/make supersonic_defconfig
  8. supersonic-2.6.32.15-g746f4f0/make
eric@fender:~/supersonic-2.6.32.15-g746f4f0$ ls -l vmlinux
-rwxr-xr-x 1 eric eric 54552672 2010-08-11 21:48 vmlinux

Similar instructions should work for other Android phones, but YYMV.

Now to apply the AAC patch and remove those crappy Sprint apps.

No comments: