Thanks in advance for all the suggestions.
So i have an HTC Inspire 4G and i made a mistake while rooting the phone.
I used the ace hack kit and followed all the steps until the point where you turn S-OFF using the command prompt. So when the phone restarted with out turning S-OFF i tried to install a custom ROM using ClockworldMod Recovery v18.104.22.168. After updating when i rebooted the phone, it freezes displaying just the HTC logo.
Now i have lost the stock ROM. So is there any way to Turn S-OFF or even install a new or any ROM without turning S-OFF.