based on https://github.com/TaichiN/android_device_samsung_crespo