forked from https://github.com/nitroglycerine33/device_samsung_d2-common.git