To recover deleted text messages and photos:
- For Text Messages (Android):
- Check if the messages are in your backup (Google Drive or Samsung Cloud).
- Use a third-party app like Dr. Fone or SMS Backup & Restore.
- For Text Messages (iPhone):
- Restore from an iCloud or iTunes backup.
- Use third-party apps like PhoneRescue or Dr. Fone.
- For Photos (Android/iPhone):
- Check the Google Photos (Android) or iCloud Photos (iPhone) if synced.
- Use the Recently Deleted folder in the Photos app.
- For further recovery, use tools like DiskDigger or Dr. Fone.
Note: Ensure you stop using your phone to prevent data overwrite and increase recovery chances.