I had the same problem when fixing a "service required" dare, esn was wiped, so I used a template that tonycortes created, wrote the esn, and all was good to go..at least I thought, but none of the apps worked. I downloaded a firmware upgrade and it did the trick.