efs problem (emergency calls only)
Back when I owned a Samsung phone this too would happen to me. I would have to flash a stock TW based rom and see if the network connection comes back. If so, I would boot into recovery and make a backup of EFS. Then reflash the custom rom, Then restore the EFS backup after you flashed the custom rom.