features
init
# repo init -u git://github.com/CyanogenMod/android.git -b cm-12.1
# repo sync
# source build/envsetup.sh
# lunch cm_rainbow-eng
recoveries
# . build/tools/device/makerecoveries.sh cm_rainbow-eng
# mka bootimage
full build
# brunch cm_rainbow-eng
Few words about mtk related binaries, services and migration peculiarities.
Services requires root:
system/core/rootdir/init.rc
surfaceflinger depends on sched_setscheduler calls, unable to change process priority from 'system' user (default user 'system')
mediaserver depends on /data/nvram folder access, unable to do voice calls from 'media' user (default user 'media')