- Official build environment as per Google and AOSP Android source page
- XDA user guides Ubuntu 14.04 Trusty LTS , Ubuntu 14.10 Utopic , Arch Linux
(Assuming you have a valid build environment setup)
- mkdir nougat (or whatever you want to name the source folder)
- cd ~/nougat
- repo init -u https://github.com/LiquidNougat/manifest.git -b ng
- repo sync -jx -f (x being however many cpu jobs, you can also use -c to sync only the current branch specified by repo init)
- . build/envsetup.sh
- lunch nougat_angler-userdebug
- cd ~/nougat
- repo sync -jx -f (x being however many cpu jobs, may also use -c as above)
- lunch and pick the right device (refer to above for choosing right device to build)
- make clean
- mka nougat