Is there a software to reset/flash your iphone to factory without itunes?
There is a reset button that lets you reset several different properties to factory settings. If you open 'Settings' on the phone (if you are able) and goto 'General'. At bottom of 'General' is a reset button. Tapping that brings up options for reset.