How do you wipe a phone without a password?

How do you wipe a phone without a password? Press and hold the Volume Up button and the Power button. Once the startup screen appears, release the Power button, and 3 seconds later release the Volume Up button. Your phone will enter recovery mode. Use the Volume buttons or touch the screen to select Wipe data/factory reset.

Press and hold the Volume Up button and the Power button. Once the startup screen appears, release the Power button, and 3 seconds later release the Volume Up button. Your phone will enter recovery mode. Use the Volume buttons or touch the screen to select Wipe data/factory reset.