Samsung catching up with Xiaomi