You cannot restore the data after factory restoring until unless you have taken all the back up into your pc or laptop. Before you do a factory restore, take all the phone memory back up into your PC or other system. Once you are done with factory reset, you can add all the data back to your phone.