There is a guide here on how to restore serial and imei but read everything before performing the task as I read there is the potential to brick your phone if not followed correctly.