Forked from https://android.googlesource.com/device/lge/mako