HTC Thunderbolt Security warning and S-ON
So long story short I have this thunderbolt that is not working any longer. All of this happened over a year ago so I am vague on what I did to get the phone in its currently ruined state. It was rooted with the stock image and after trying to put a CM rom on it that didn't work I mistakenly booted into the phones recovery instead of clock work. I now get a security warning and it is now s-on. If i do a recovery or factory reset it just boots back into the bootloader. If I mess around with it, it will eventually boot normally but the current ROM is all buggy and certain features don't work. I have ADB working and can see the device but I am not really sure how to proceed.