Jump to content


Photo
- - - - -

[GUIDE][HOW-TO] Use VPN in Jellybean without security lock


  • Please log in to reply
No replies to this topic

#1 shauder

shauder

    Web Guru

  • Administrators
  • PipPip
  • 209 posts
  • LocationFlagstaff, AZ
Offline

Posted 18 October 2012 - 11:22 PM

I am not responsible for anything that may come of or from this information.  Use at your own risk!

Step #1)
Create security lock through Settings (pattern, pin, password).

Step #2)
Add VPN connections

Step #3)
Plug the phone in and run these commands (requires adb to be setup properly and drivers).  I am sure there is a way to do this directly on the phone but this is easier for me.

Commands to remove security:
adb shell
sqlite3 /data/system/locksettings.db
update locksettings set value=0 where name='lockscreen.password_type';
.exit
exit

Finished!
For me no reboot was required and you do not have to restore pattern in order to create more VPN connections.

Optional Step:
If you decide that you want to restore the security run the one that fits you.

Commands to restore pattern:
adb shell
sqlite3 /data/system/locksettings.db
update locksettings set value=65536 where name='lockscreen.password_type';
.exit
exit

Commands to restore pin:
adb shell
sqlite3 /data/system/locksettings.db
update locksettings set value=131072 where name='lockscreen.password_type';
.exit
exit

Commands to restore password:
adb shell
sqlite3 /data/system/locksettings.db
update locksettings set value=262144 where name='lockscreen.password_type';
.exit
exit