I have a Sprint HTC One (US). I recently tried to put a new rom on my phone and messed up somewhere along the way. I think I wiped where I was loading the rom from . I now have no rom installed and my computer is not able to connect to or see the phone. When I try and use adb and run the "detect devices" command it comes back with nothing. So then I tried running the RUU for my phone and in versions 1.29.651.10, 1.29.615.7, and 1.29.615.6 I have received error code 155 in all of them. I read that means I need the boot loader to be locked but cannot find a way to do that if the adb is not detecting my phone.
I am able to get into TWRP v18.104.22.168. If I do not hold down the volume down key while trying to boot it will sit on the HTC logo screen.
At the top of the boot loader I have:
M7_WLS PVT SHIP S-ON RH
Jul 5 2013, 17:19:22:15705
I just want to be able to put the stock rom back on the phone. Any help?