iPhone reset to factory original settings
How Do I Perform A Master Reset On My Apple iPhone 4S?
A: How to Erase and Factory Reset an iPhone 4S / 4 / 3GS / 3G - How to Use My iPhone Tutorial 3
Hard Reset will erase all of your data
All described operations you are doing at your own risk.