Please read the AOSP building instructions before proceeding.
Repo initialization:
$ repo init -u https://github.com/AICP/platform_manifest.git -b q10.0
Add device specific files and repo changes (local manifest)
$ mkdir .repo/local_manifests
$ curl -o .repo/local_manifests/Z6.xml https://raw.githubusercontent.com/teemodk/manifest/q10.0/local_manifests/Z6.xml
sync repo (download it all) :
$ repo sync
After the sync is finished, please read the instructions from the Android site on how to build.
$ . build/envsetup.sh
$ lunch aicp_I01WD-userdebug
$ mka bacon
or
$ make -j# bacon
replace # with number of cpu threads you want to use