Question: how to retrieve deleted messages from galaxy s7?
Answer: Connect Your Samsung Phone. Download and install this software, then run it on your PC and make a connection with your galaxy s7(edge).
Enable USB Debugging. ... 
Choose the File Type(s) and Recovery Mode to Scan. ... 
Recover the Deleted Text Messages from S7/S7 Edge.