How to recover iPhone 3GS stuck in apple logo?

Hi,

I have Apple iPhone 3GS 3.1.2 which was unlocked and jailbroken using black snow. Everything was working fine. I had SwirlyMMS installed. When I tried to uninstall it, it asked me to reboot. when it tried rebooting it got stuck in Apple logo. Now I'm not able to boot it at all. Eveytime I try to boot it, it shows apple logo for few seconds and thats it.

As of now, I do not have the ATT sim card that came with it. Can someone help me as to how I should restore this phone. I know how to put the phone in DFU mode but not sure as to which steps to follow right now as I do not have the ATT sim card with me. Please help...
There are many threads on this, Here is a start

http://forum.theiphoneblog.com/iphone-help/181353-iphone-3g-stuck-apple-logo-will-not-reboot.html
http://forum.theiphoneblog.com/iphone-jailbreak-unlock/177050-help-iphone-stuck-reeboot.html

Original thread: https://forums.imore.com/threads/how-to-recover-iphone-3gs-stuck-in-apple-logo.182871/