You can take a screenshot on LG smartphones by pressing the power and volume down buttons at the same time.
Recovering deleted text messages on Android is difficult, and the best strategy is to have Google Drive back up your phone.