I have same problem in my redmi 4x-santoni. But IMEI same as hardware.
Last month it's working fine, but after installation of Q based custom ROM 3g only mode works, GSM only mode failed to register the network.
Also GSM/WCDMA AUTO modes switch automatically according to signal strength. That network band switching and reconnect the signal have error.
1. Error in miui ROM restart the system processes, so another sim network also restart and entire system soft restarts like UI restart
2. Error in custom ROMs goes to black screen, unable to wake it. Force restart by power button only help to use the device .
I tried following methods:
installed latest firmware,
Restored persist and efs, modem partitions
Used another SIM card-same problem
Tried jio 4g both slots -working fine
Switching WCDMA Based bands- connect to signal immediately but weak signal or band changes make error, some times GSM mode (received good signal) changed in auto mode
Switching GSM only mode after receiving singal from auto mode- it's working good
Finally I need to fix GSM only mode, kindly help me.