Copied from https://github.com/bart452/kitkat_kernel_lge_msm8974 as github wouldn't let me fork a fork