Beating Apple, Xiaomi and the gang in China