Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

53 lines (28 sloc) 1.361 kb

Android Open Kang Project

Download the source

Please read the AOSP building instructions before proceeding.

Initialize

repo init -u https://github.com/AOKP/platform_manifest.git -b jb-mr1

Run the following to sync the source

repo sync

Download the kernel source

Integrated kernel building is now required to compile AOKP for all supported devices (even Nexus devices!)

From the root of your source tree, run the following script to grab the kernel sources required

. ./platform_manifest/manual_add_kernel_manifest.sh

Then run another repo sync

Advanced users: Since the kernel trees are fairly large, you may want to sync only specific kernel trees for devices you build for, take a look at the file .repo/local_manifests/kernel_manifest.xml. You can edit this file to suite your needs.


Building

After the sync is finished, please read the instructions from the Android site on how to build.

. build/envsetup.sh
brunch

You can also build (and see how long it took) for specific devices like this:

. build/envsetup.sh
time brunch aokp_mako-userdebug

Remember to make clobber every now and then!

Jump to Line
Something went wrong with that request. Please try again.