How to use? Clone this repo to device/xiaomi/wps Inherit it from device.mk in device tree: $(call inherit-product-if-exists, device/xiaomi/wps/config.mk) Inherit it from BoardConfig.mk in device tree: include device/xiaomi/wps/BoardConfig.mk