How to restore iphone to factory settings
how do i restore iphone to factory setting
Go to Settings>General>Reset>Erase all Content and Settings
Connect the iPod to your computer and restore to factory settings via iTunes
iTunes: Restoring iOS software
Place the iOS device in Recovery Mode if necessary to allow the restore.
If recovery mode does not work try DFU mode.
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings