Android device tree for HTC One XL (evita)
Thread on xda-developers here http://forum.xda-developers.com/showthread.php?t=1688448
Follow the steps in this document first http://source.android.com/source/initializing.html
To get the source:
repo init -u git://github.com/vmagro/android.git -b ics
repo sync -j4
To build
repo sync -j4
. build/envsetup.sh
lunch cm_evita-userdebug
cd vendor/cm
./get-prebuilts
cd ../..
make -j4
To make a recovery flashable zip, run
make otapackage