THIS WIKI IS OBSOLETE AND OUTDATED
CLICK HERE TO GO TO THE NEW SITE

Table of Contents

Get Involved

This page includes instructions to help you set up an Android build system.

Communication

Visit the IRC channel #htc-linux on Freenode or visit the Kaiser or Polaris development threads on XDA-Developers or visit the Vogue android page hosted by dzo. Submit bugs in a bugtracker.

Building Android For HTC Devices

This guide is based off the one at the XDA Developers Wiki.

Prerequisites

If you are running a Debian/Ubuntu based distribution, you can simply run the following command in a Terminal to download and install all the necessary prerequisites:

sudo aptitude install git-core git jfsutils xfsprogs quota isdnutils-base nfs-common oprofile

If you are running another distribution, you'll need to find out the equivalent packages and download/install them.

Building the Kernel

  1. Create android-kernel directory in your home
    mkdir ~/android-kernel
    cd ~/android-kernel
  2. Obtain the ARM toolchain
    wget http://www.codesourcery.com/downloads/public/gnu_toolchain/arm-none-linux-gnueabi/arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 -O arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
    tar xjf arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
    export PATH=~/android-kernel/arm-2008q3/bin:$PATH
  3. Obtain the kernel source from the git repository (this takes a while)
    git clone git://git.linuxtogo.org/home/groups/mobile-linux/kernel.git
  4. Switch to the htc-vogue branch
    cd kernel
    git checkout -b htc-vogue origin/htc-vogue
    1. In the future, to update your local copy after git commits, simply cd to the kernel directory and run “git pull”
  5. Prepare .config file by choosing the output targets
    make vogue_defconfig ARCH=arm; make menuconfig
  6. Compile the kernel
    make zImage ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
get_involved.txt · Last modified: 2010/01/28 07:08 by jmj_is
CC Attribution-Noncommercial-Share Alike 3.0 Unported www.chimeric.de Donate