Make compatible with CyanogenMod