Please follow these steps to reset your device back to factory settings:
Warning: Resetting your phone will delete all data stored on the device, including apps, calendar data, email accounts, and settings.
- Open the Settings application.
- Tap on the Device Information button.
- Tap on the More Information button.
- Tap on the Reset phone button.
- Tap OK to reset your device.