How to factory restore an iphone 3g with a broken power button?

I have a jailbroken iphone 3g, it has been bricked but when i connect it to the computer and hold the menu button it turns on with the itunes symbol, how can i restore it to an old f/w with out itunes?

Added (1). Since its bricked i can't go to settings

Go to settings > general > scroll at the way to reset > reset all settings

Download redn0w_win_0.9 and do stuff on it there, but on itunes just back it up then restore it to its factory settings

  • My iPhone power button is broken, what can I do? So out of nowhere, my power button stopped working. I have to use the home button to turn the screen on, and I can't turn the phone off, I just wait until it goes off by itself. I got it last November an it's been less than a year, am I still under warranty? What should I do? How much does it cost to get it fixed?
  • My iphone power button is broken, how do I cancel incoming calls? So my power button is broken and i'm on assistive touch but the problem with assistive touch is that to get to the power button i have to press the dot then a sub menu then the lock so to cancel an incoming call i have to press six times and it's kinda annoying, so is there a shortcut where i can cancel the calls by one or two touches can i change the function of other buttons to make it cancel the call?
  • My iPhone 5 lock/power button broken. Does it come with Warranty? I bought the phone when it came out and didn't get any "special care package".Is the standard warranty one year? Can I take it in to an apple store to replace/fix without paying any extra?
  • IPhone 4s screen black and power button broken My iPhone has went fully black and won't turn on again. I know that to turn it back on you need to hold down the power and home button, but my power button is broken and I have been using assertive touch as a substitute for the power button. Does anyone know how to turn on my iPhone without using the power button? Btw I have already tried plugging it in the the computer and into the wall.