Please read the AOSP building instructions before proceeding.
Initiate core trees without any device/kernel/vendor:
$ repo init -u https://github.com/preetpatelcmdev/platform_manifest.git -b nougat --no-clone-bundle --depth=1
Sync the repository:
$ repo sync -j$( nproc --all ) --force-sync -c --no-clone-bundle --no-tags --optimized-fetch --prune
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
Remember to make clobber && make clean
every now and then!