Jump to content

Welcome to TeamBAMF
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account
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
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