WHOA WHOA WHOA why are you attempting to change CID? DONT lol this should help out a bunch!
[RUU][Firmware]Sprint HTC One M8 Harman | 1.54.654.9 | OTA | Decrypted | Stock Rooted - xda-developers
please read that carefully! plus has all the ROMS you need. On a side not I did the exact same...