For devices with Android™ Device Protection turned on, it's imperative Google™ sign-in credentials are known prior to completing a factory reset with the device powered off. If credentials are unknown:
Attempt to sign in with any Google account previously used on the device.
Perform a factory data reset only if absolutely necessary as it removes all data including:
System and app data
Media (Music, pictures and videos, etc.)
If a pattern, PIN, etc. is or has ever been set up on the device, Google account sign in is required during initial setup.
Wi-Fi Calling settings don't transfer after switching devices and/or performing a factory data reset. You need to enable W-Fi Calling manually if you want to use it.
Ensure the device is powered off.
Simultaneously press and hold the Volume up and Power buttons until the device vibrates and the Android Recovery screen appears then release all buttons.
Allow up to 30 seconds for the recovery screen to appear.
From the Android Recovery screen, select Wipe data/factory reset.
Utilize the volume buttons to cycle through the available options and the power button to select.
Allow several seconds for the factory data reset to complete.
Select Reboot system now.
Allow several minutes for the reboot process to complete.
If applicable, set up your device.