xiaomi reverse engineering