Originally cloned from https://github.com/CyanogenMod/android_device_samsung_smdk4412-common