Download the Source
Please read the AOSP building instructions before proceeding.
Initiate core trees without any device/kernel/vendor:
$ repo init -u https://github.com/AOKP/platform_manifest.git -b mm
Sync the repository:
$ repo sync
After the sync is finished, please read the instructions from the Android site on how to build.
. build/envsetup.sh lunch
You can also build for specific devices (eg. hammerhead) like this:
. build/envsetup.sh lunch aokp_hammerhead-userdebug mka rainbowfarts
make clobber && make clean every now and then!