Invalid IMEI after factory reset
If it has a Mediatek (which usually cleared IMEIs after flashing), you can try entering the IMEIs (found on the retail box) manually using *#*#3646633#*#*, and finding the option in Radio settings. I can't be sure if this works with newer MTK devices.