@MerProject kernel adaptations based on @CyanogenMod sources.