Beats having to buy another one due to my screw up.
I shattered the screen on my Nexus 5 so I ordered a replacement from Google and before switching to the new one, I made a nandroid backup using TWRP.
I put my SIM in the new Nexus, transferred my nandroid backup, and restored it to my new phone.
Now, I cannot connect to AT&T due to my IMEI showing as 0.
I think I have narrowed down the problem to restoring the EFS partition on the new phone when I wasn't supposed to? So far, I have tried restoring the phone to stock (from this guide). I even tried manually changing the IMEI to the correct number (but it doesn't stick, just reverts to 0).
Is there something else that needs to be wiped in the stock restore process that's not covered in that guide? What am I missing? Any help is greatly appreciated.