Port for aokp from CyanogenMod