Please read the AOSP building instructions before proceeding.
Initiate core trees without any device/kernel/vendor:
$ repo init -u https://github.com/EmotionOS/platform_manifest.git -b nougat
$ git clone local_manifest into ./repo
Sync the repository:
$ repo sync -c -f -j4 --force-sync --no-clone-bundle
After the sync is finished, please read the instructions from the Android site on how to build.
$ ./build-emotion.sh <device_codename>
Example for Note 4:
$ ./build-emotion.sh trltexx
For a list of supported options, run the script on it's own:
$ ./build-emotion.sh
Remember to make clobber && make clean
every now and then!