To restore the device back to the default settings, select Menu > Settings > Rest. fact. sett..
To reset all preference settings without deleting any personal data, select Settings only.
To reset all preference settings and delete all personal data, such as contacts, messages, media files, and activation keys, select All.