Sync the cmds with CM
Change some code to be compatible with CyanogenMod telephony