The lost text messages, contacts, photos, you can use recovery method to recover them.
You can try this program to scan your phone and restore lost data from it -
FORecovery Samsung Data Recovery.
Only a few steps you can get back your lost data from your phone:
Step 1: Run the data Recovery tool and connect your phone to PC
Step 2: Scan your lost data from your phone
Step 3: Preview the found data and start to recover.