Did you install the DCD carrier cab? If not, then the OTA provisioning might not work and for manual programming, only some of the ## codes work. It wouldn't have mattered for you because you were already provisioned before upgrading to Energy.
http://dcd1182.n715dp.com/index.php?...%2Fcarriers%2F
The cleanest solution (if your friend wants to go to Sprint) though would be to just install the stock Sprint 2.01.651.6 MR ROM.
http://www.htc.com/us/SupportDownloa...at=2&dl_id=683