When you forgot your Android security pattern and don’t know the Google account you should factory reset your phone.
Follow these steps to do it:
1. Power off the phone
2. Hold the Home + End Call keys until you will see a picture with logo
3. Push Alt+W key

How can u press alt + w when the htc magic is touch screen and has no keypad