To factory reset the phone through Android SDK Tools, firstly install it and then access the command prompt. Go to Start > Run > cmd. Once you are in the command prompt, type adb shell recovery --wipe_data. The phone will restart and then initialize itself to the factory condition.