https://www.androidpolice.com/how-to-factory-reset-motorola-phone/
Since Motorola runs a stock version of Android, wiping your phone is simple. You can easily erase your data from the Settings menu.
Create an account or login to join the discussion