Xiaomi is promising three Android operating system updates and four years of security patches for the 12.