In Android mode click on settings, backup and restore, restore to factory data. Deleted all data from Google accounts, favorites, downloaded applications and all data, leaving the system clean as received.|
In Windows you will have to go to the symbol of windows, click on the icon settings, it will open a screen with several options and in update and security, recovery, and there click on reset this equipment.
We will ask if you want to keep the data or delete it, here you have to choose to erase the data.
This process takes several hours so you must connect the charger to make the process run smoothly.