How to restore my iPhone 5 without using itunes?

My iphone5 has been jailbroken for quite a while with no problems. But today it suddenly woulndt get past the boot logo(apple sign). Somehow i got the iphone into the recovery mode but itunes says that there's aa problem and willnot restore the phone. The iphone is jailbroken under ios6.1.1

Hold the home and power button down at the same time for several seconds.

Let's look at it this way: If you were a criminal in jail, and you escaped, but ended up getting caught by the authorities, do you think you'd get away without an extended sentence or some other form for punishment?

Restoring it would force you to update to 6.1.3, and there's no jailbreak for that. Do what GKW said.

Try to put it in DFU mode and restore it.

Here's the DFU step: http://jailbreakhome.com/put-iphone-in-dfu-mode