mkdir ~/bin export PATH=~/bin:$PATH curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo chmod a+x ~/bin/repo mkdir android-repo cd android-repo repo init -u https://android.googlesource.com/platform/manifest wget http://selinuxproject.org/~seandroid/local_manifest.xml mv local_manifest.xml .repo repo sync