Installing android firmware from default recovery mode via sd card
If you can connect it through adb then install modified 3e recovery from this post.

After it you can also install cwm 

But if you are unable to connect via adb then download stock signed zip of stock rom and place it in your sd card the try update from sd card.

Edit: you can try placing cwm update.zip in sd card and update from sd card. I know this can look weird but in some old Samsung mobiles I have done it because they did not check signature of zip while flashing.