I recommend you to use another application to sync/save your messages locally or on a cloud service from what device you have using before and then using same application restore them on your new phone.
Because for me trying to "fix Xiaomi SIM Activation" is a "lost battle", I'm using the...