Since the recovery I already had (CWM) wasn't helping me, I tried to flash a new recovery (TWRP) into the phone. After flashing (which worked), when I went to recovery mode, the touch screen nor the volume buttons were working in TWRP. Got frustrated and I tried to flash the old CWM recovery and it keeps giving me this error:
<bootloader> Formatting partition SOS done
Failed: <remote:err = 0xa>"
So, Things that are working in my phone are: Fastboot
Things that aren't working in my phone are: adb, not able to flash the recovery with fastboot, boot of course isn't happening..
Ideally I am planning to flash a new recovery and somehow copy a new boot.img and flash the same. Please help. If you feel this problem has already been discussed, you could just pass me on there.
PS: I have already tried solving this by looking at replies from many such forums...