Perform a soft, factory, and alternate master reset of the device.