Skip to content
Alex Tsitsimpis edited this page Sep 2, 2015 · 3 revisions

How to build

  • Create source dir
    mkdir -p cm10.1/sources && cd cm10.1/sources

  • Get Cyanogenmod 10.1 sources:
    repo init -u git://github.com/CyanogenMod/android.git -b cm-10.1
    repo sync

  • Get device specific code:
    git clone https://github.com/bleached/android_local_manifest .repo/local_manifests
    rm .repo/local_manifests/README.md
    repo sync

  • Get prebuilts:
    ./vendor/cm/get-prebuilts

  • Apply patches:
    ./device/samsung/msm7x27a-common/patches/install.sh

  • Setup environment:
    . build/envsetup.sh

    For NFC version:
    lunch cm_jena-userdebug
    For Non-NFC version:
    lunch cm_jenad-userdebug

  • Start compiling:
    mka bacon

Clone this wiki locally