To get started with LeafOS, you'll need to get familiar with Source Control Tools.
To initialize your local repository, use this command:
repo init -u https://github.com/LeafOS-Project/android.git -b leaf-3.2
Then to sync up:
repo sync
Initialize the ROM environment with the envsetup.sh script.
. build/envsetup.sh
Fetch official device trees.
fetch_device {device}
To lunch your device after cloning all device sources.
lunch {device}-{buildtype}
Then start building.
m leaf