Question: how to retrieve deleted messages on htc phone?
Answer: Connect HTC phone to computer and run the software. Download and install the HTC SMS Recovery software. ... 
Enable USB Debugging Mode on your phone (Optional) ... 
Scan for the lost text messages on your HTC phone. ... 
Preview and recover the target SMS.