How to Bypass a pattern lockscreen on a oneplusone phone I have A one plus one phone and i forgot my password (pattern).
and i dont have a google recovery account and a recovery pin
and i need all my stuff from the phone.

what can i do to unlock it?
I succeeded in removing the lock pattern on a rooted OnePlus One using the below.

On the OnePlus forums an employee suggested this:


  You have to delete all your key files from system folder. Try this.
  Connect you device with usb and run following command. If you are not able to do so, i am afraid. You need a full wipe.

adb devices
adb shell
su
cd /data/system
rm *.key

  
  Even if shows lock screen after reboot, try a easy random pattern.


In my case that worked, besides the tiny detail that the su would spawn an approval prompt, which I of course couldn't confirm because of the pattern lock.

However, because the device was rooted (and you might be able to do this after the fact, that I don't know) I could boot it into recovery (holding Power + Volume Down), in my case TWRP. In there I could rename the 3 *.key files and pronto, after a reboot the pattern lock was gone.

As a side note, this is a demonstration that any screen lock is pretty useless from a security perspective.