Initializing:
First, create a folder to hold the source code:
mkdir ~/RR
Next..
cd ~/RR
Initialize local repository:
repo init -u https://github.com/ResurrectionRemix/platform_manifest.git -b lollipop5.1
Also add the local manifests:
git clone https://github.com/mikelmulti460/local_manifests .repo/local_manifests
Sync up:
repo sync --force-sync --force-broken
First:
cd ~/RR
Second:
. build/envsetup.sh
Third:
brunch codename
Example:
brunch hwY550