add support for Xiaomi, Lenovo and Huawei