Partly forked from philz_touch_cwm6_device_vendor