Forgot the answer to your security question or misplaced your Gmail password and you can’t get passed the pattern password on your Xperia Android phone? Don’t worry; here are two options on how to fix it.
1.
If your phone is asking you for your Gmail password to unlock the pattern password you can change your Gmail password according to the guide on
www.gmail.com > “Can’t access your account”.
When you’ve changed the password you simply enter the new password in your phone to unlock it.
(Note that in order for this to work your phone needs to have a working Internet connection)
2.
If your phone is asking you to enter the answer to a set security question you will need to perform a software repair on the phone using PC Companion. Note by doing this the internal memory on the phone will also be reset.
Start by downloading and install PC Companion.
http://www.sonymobile.com/gb/tools/pc-companion/
In PC Companion go to Support Zone > Software update > Repair phone
(Do this while phone is not connected via USB)
Now follow on-screen instructions to repair the phone software.