Skip to content

Latest commit

 

History

History
52 lines (28 loc) · 1.33 KB

README.mkdn

File metadata and controls

52 lines (28 loc) · 1.33 KB

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!