I make this guide because i dint find any similar thread here..
When you set up a vpn connection Android system force you to create a pin or pattern security lock for lockscreen.This is for security reasons in case you lost your phone.But many users want to use VPN without security lock.
In this guide I will describe how to remove security lock when using VPN.
This guide will work on any GN2 Rom and also in all other android phones
What you will need:
2)Root explorer or any other file editor
3)Sqlite Editor or Sqlite Manager
Before you proceed make sure you make a nandroid backup.Im not responsible for any damage.
1)First of all configure your VPN Connection
2)Open your file Explorer and browse /data/system/locksettings.db
3)Open it with sqlite editor and choose locksettings
4)Choose lockscreen.password.type and press "Edit record" button.
5)Change 131072 value to 0 (131072 may differ from security type)
The result must be this:
It must be applied without reboot
PS:If you want to restore it do the same steps and make "0" value to "131072"