Re: how do i reset my phone to factory setting
Go to Settings>Backup & Reset, and tap Factory Data Reset. Remove your SD card prior to the reset. It's not supposed to be affected, but I've seen some posts where the card got wiped or corrupted during the reset.