Question: is xiaomi the same as huawei?
Answer: Putting both the brands side by side, you will notice that xiaomi uses snapdragon processors whereas huawei uses their own kirin processors. Xiaomi has miui (android one in mi A2) whereas huawei has emui. To be honest, miui is better than emui but both of these are way worse than pure android.