Forked from CM to add drewis' RIL fix for legacy gsm devices (old RIL)