Compilation Notes Sources * Github repository repo init -u git://github.com/CyanogenMod/android.git -b cm-10.1 paste these lines inside new file .repo/manifests/local_manifest.xml and paste these lines inside new file .repo/local_manifest.xml <?xml version="1.0" encoding="UTF-8"?> <manifest> <!-- remote name="github" fetch="git://github.com/" /--> <remove-project name="CyanogenMod/android_system_core"/> <remove-project name="CyanogenMod/android_system_bluetooth"/> <project remote="github" revision="cm-10.1" name="ugers/android_device_907" path="device/softwinner/907" /> <project remote="github" revision="cm-10.1" name="ugers/android_system_core" path="system/core" /> <project remote="github" revision="cm-10.1" name="ugers/android_system_bluetooth" path="system/bluetooth" /> </manifest> now type this command repo sync -j16 finally you're ready to build it source build/envsetup.sh brunch cm_907-userdebug Prerequisites: Prebuilts cd into vendor/cm and do ./get-prebuilts