FORUMS

Android 5.1.1 Omni ROM For Motorola Xoom

Back in Feb 2011, the Motorola Xoom became the first device to be sold with Android 3.0 … more

CleanSlate Brings Fingerprint Scanner Mod to HTC One M9+

Work of XDA Recognized Developer tbalden, CleanSlate custom kernel for the HTC … more

Sunday Debate: Which Factors Caused HTC’s Woes?

Join us in a fun Sunday Debate on HTC’s situation. Come with your … more

HTC’s New Ad Campaign And What It Really Means

HTC has just released three new blind test adverts comparing app loading … more

[Guide]How to remove security lock when using VPN

305 posts
Thanks Meter: 510
 
By Petros_tigra, Senior Member on 27th April 2013, 01:49 PM
Post Reply Subscribe to Thread Email Thread
Good Morning

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:
1)Rooted Phone
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.


Steps:

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:




6)Thats it
It must be applied without reboot

PS:If you want to restore it do the same steps and make "0" value to "131072"
The Following 17 Users Say Thank You to Petros_tigra For This Useful Post: [ View ]
 
 
3rd May 2013, 01:21 PM |#2  
Imranhakro's Avatar
Member
Flag Karachi, Pakistan
Thanks Meter: 20
 
More
How about doing the same in non-rooted phones?
3rd May 2013, 04:19 PM |#3  
Pyr0x64's Avatar
Senior Member
Flag Merseyside
Thanks Meter: 68
 
More
Thanks for the guide
I was looking for a solution to the lockscreen security the other day while setting up a VPN to my home PC
Another alternative for rooted users not wanting to edit the sqlite db is to use something like the VPN Root app
https://play.google.com/store/apps/d...om.did.vpnroot
Last edited by Pyr0x64; 3rd May 2013 at 04:22 PM.
The Following User Says Thank You to Pyr0x64 For This Useful Post: [ View ]
3rd May 2013, 04:45 PM |#4  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by Imranhakro

How about doing the same in non-rooted phones?

As far as I know, you cannot modify these secure, locked down settings on a phone that isn't rooted.
10th February 2014, 05:49 AM |#5  
Member
Flag Kochi
Thanks Meter: 20
 
More
Works like a charm! Good guide. Now I can set up my work/home VPN without any enforced screen lock
18th April 2014, 11:30 AM |#6  
Junior Member
Thanks Meter: 0
 
More
The same issue - how to remove forced lock screen on Galaxy S5?
It's extremely annoying and stupid I need to use PIN instead fingerprint sensor which is the Galaxy s5's main feature when I have my VPN set up. Please somebody tell us how to get rid of forced lock on GS5. Thank you!
27th April 2014, 06:17 PM |#7  
bhalbower's Avatar
Senior Member
Thanks Meter: 92
 
More
Can't get this to work in Kitkat. SQLite Database Editor can't open locksettings.db. Any ideas?

Edit: Disregard. I think I am using the wrong program. Have to download SQLite Editor not SQLite Database.

---------- Post added at 10:17 AM ---------- Previous post was at 09:56 AM ----------

Thanks!

Worked great.
Last edited by bhalbower; 27th April 2014 at 06:00 PM.
26th May 2014, 06:12 PM |#8  
Hirishiolo's Avatar
Senior Member
Thanks Meter: 44
 
More
the method works, but after I reboot, when I enter VPN screen is aks me for "password for credential storage"... how can I solve? thanks in advance
27th May 2014, 09:53 AM |#9  
Member
Thanks Meter: 1
 
More
Thanks for the guide
27th May 2014, 08:58 PM |#10  
Member
Thanks Meter: 7
 
More
Not work on kitkat, value is 0 but security lock is...

Tapnięte z mojego S Advance
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes