How to delete everything on my iPhone without a restore?

Whenever I try to restore my jailbroken tethered iPhone 4 it says that my device isn't eligible for the selected build. Also erase all settings and data doesn't work either.

I don't think you can reset your phone without losing your jailbreak. I have tried that mine is just stuck at the white circle spinning and black background