H everyone.
I currently have a major problem that I dont know how to solve.
I have an iPhone 3g with 3.1.2 on it, and I unlocked/jailbroke it with BlackRa1n/Blacksn0w. But my sleep/wake button is broken. So for some stupid reason I decided to reset my phone by going to general settings>reset>reset all settings to factory settings. I did this in the phone itself(stupid mistake.)So now the phone is stuck in reset/recovery look Idk what to call it, its the apple logo with a tiny dashed ring on it then it turns off and on and does the same thing again and again. Also iTunes does not recognize it so I cant even do a reset like that. Can anyone help me please????

To Recap:
-iPhone 3g with 3.1.2
-sleep/wake button does NOT work
-unlock/jailbreak with BlackRa1n/BlackSn0w
-iTunes does not recognize phone
-stuck in reset/recovery loop thing

Can somebody please help me? I just want to get it back to normal.