The source code is here (check the README below):
https://github.com/AOKP/vendor_aokp
First of, clone the whole code from git
mkdir ~/bin
PATH=~/bin:$PATH
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
chmod a+x ~/bin/repo
repo init -u https://github.com/AOKP/platform_manifest.git -b jb
repo sync -j16
sudo sysctl -w net.ipv4.tcp_window_scaling=0
repo sync -j1
For building AOKP I prepare a handy script that set ups ccache (to speedup things) and builds for "crespo" that is Nexus S. This script might be on vendor/aokp/build.sh for instance:
export USER=alienmind export USE_CCACHE=1 export CCACHE_DIR=/$HOME/.ccache prebuilts/misc/linux-x86/ccache/ccache -M 40G source build/envsetup.sh lunch aokp_crespo-userdebug make -j1 otapackage # bacon #brunch $DEVThere are three build types:
Buildtype | Use |
---|---|
user | limited access; suited for production |
userdebug | like "user" but with root access and debuggability; preferred for debugging |
eng | development configuration with additional debugging tools |
References: http://source.android.com/source/building-devices.html