Ensure your device has at least 50% battery or is plugged into a power source to prevent the device from becoming unusable ("bricked") during the process.

Execute the following commands:

: If you have a Google account linked and "Find My Device" enabled, you can remotely wipe the device from another computer or phone using the Google Find My Device portal .

: The device will say, "This device was reset. To continue, sign in with a Google Account that was previously synced on this device."

A factory reset deletes all user data, including apps, files, photos, and configurations.