When you say you have a problem with your IMEI; do you mean you have deleted it?
You can try and recover it by flashing the correct stock ROM from your carrier (It worked for me). You can then flash Cyanogen.
If you do manage to recover it use HCKtool to back up your EFS folder; then store that on your PC