In order to recover the data, turn off the iPhone, hold down the Home button, and connect it to your computer using the USB cable. After that, wait for iTunes to recognize the device, and press OK, when you receive a message saying that the iPhone is in Recovery Mode and needs to be restored before you can use it. Finally, select Restore iPhone.