Compiling CyanogenMod - manakeri/android_device_samsung_xcover GitHub Wiki
This article is only about compiling CyanogenMod. For installation, check the Wiki homepage.
It is mainly borrowed from this post at XDA.
First you'll need the tools: http://forum.xda-developers.com/showthread.php?t=2464683
And then something like that:
repo init -u git://github.com/CyanogenMod/android.git -b ics
repo sync
git clone git://github.com/manakeri/android_device_samsung_xcover.git device/samsung/xcover
cd device/samsung/xcover/ && ./extract-files.sh && cd ../../..
cp device/samsung/xcover/armv7-a.mk build/core/combo/arch/arm/
cp device/samsung/xcover/overlay/bootable/recovery/ui.c bootable/recovery/ui.c
cp device/samsung/xcover/overlay/bootable/recovery/ui.c bootable/recovery/ui.c
cp device/samsung/xcover/overlay/development/build/sdk.atree development/build/sdk.atree
rm -rf development/samples
. build/envsetup.sh
cd vendor/cm && ./get-prebuilts && cd ../..
brunch cm_xcover-eng