To get started with Infamous, you'll need to get familiar with Git and Repo.
You will need to set up some directories in your build environment.
To create them run:
mkdir -p ~/bin
mkdir -p ~/infamous
Enter the following to download the "repo" binary:
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
You may need to reboot for these changes to take effect. Now enter the following to initialize the repository:
cd ~/infamous
Before you continue --> run this in the terminal
repo init -u git://github.com/XxWhiterhinoxX/android.git -b lollipop-cm
repo sync
Build Infamous with the following command
. build/envsetup.sh
lunch
time make infamous