I have VPN connection on my Android tablet (Asus Transformer Prime) and it required me to set up a password protection for my tablet. I don't want to use any dummy passwords to open my tablet, so how can I disable that without deleting the VPN connection?
-
really desperate for a solution to this too. I have a feeling it might be something that needs patching so root would be necessary. Having to unlock my phone is a ball ache, I'd rather have it just ask for a password when I connect to the VPN, typical, non-configurable bad defaults– RobCommented Oct 18, 2012 at 10:11
-
Those finding this a nuisance should vote for the bug at code.google.com/p/android/issues/detail?id=41130 to request a fully supported fix. Especially since the current workarounds are arguably security holes and might be "fixed", leaving us stuck.– Jon HannaCommented Jun 16, 2014 at 10:13
3 Answers
Found this, it's a hack but it works for on my galaxy nexus 2.1.2 Here's the steps:
- Set your lock screen security to what you want, slide/none
- Go to create VPN profile
- Create a pattern lock
- Setup VPN profile
- Lock device
- Unlock but input the wrong pattern until device locks for 30.
- Tap "Forgotten Pattern"
- Enter your google account details.
- Cancel the "Screen Security" page
- Now device will unlock without pattern requirement
-
Awesome! Thanks! It worked on HTC One S, but my tablet doesn't seem to have option to reset the pattern in the lock screen...?– MikkoPCommented Oct 19, 2012 at 8:19
-
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
http://www.teambamf.net/topic/4488-guidehow-to-use-vpn-in-jellybean-without-security-lock/
-
I did it directly on my (rooted) phone, using the same commands, in a terminal window, using the sqlite3 executable in my linuxonandroid.org environment. If you don't have sqlite3 on your phone, see stackoverflow.com/questions/3645319/… You might also try copying the locksettings.db file to your PC and running sqlite3 there. Of course, you need write access to /data/system. Sigh. Let's just say that if you're rooted and have sqlite3 installed, this is the way to go. Commented Apr 24, 2013 at 4:53
-
On some devices this settings is in
settings.db
: android.stackexchange.com/questions/35847/…– basinCommented Mar 21, 2014 at 12:58 -
After
set value=0
and reboot my VPN page says: "type the password for credential storage"– basinCommented Mar 21, 2014 at 13:03
Variant 1 - answer by kiiwii with locksettings.db
Variant 2 - settings.db
, SYSTEM
, lock_pattern_autolock
Variant 3 (when there's no lock_pattern_autolock
in SYSTEM
):
/data/data/com.android.providers.settings/databases/settings.db
SECURE
none:
lockscreen.disabled|1
lockscreen.password_type|65536
lock_pattern_autolock|0
slide:
lockscreen.disabled|0
lockscreen.password_type|65536
lock_pattern_autolock|0
pattern:
lockscreen.disabled|0
lockscreen.password_type|65536
lock_pattern_autolock|1
pin:
lockscreen.disabled|0
lockscreen.password_type|131072
lock_pattern_autolock|0
password:
lockscreen.disabled|0
lockscreen.password_type|262144
lock_pattern_autolock|0