repo init -u https://android.googlesource.com/platform/manifest -b refs/tags/android-4.1.1_r1
repo sync
cd device
mkdir samsung
cd samsung
git clone git://github.com/CyanogenMod/android_device_samsun
g_galaxys2.git
galaxys2
cd galaxys2
./exctract-files.sh
cd ../../..
. build/envsetup.sh
lunch
make -j3 otapackage
? 