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?
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
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
Variant 1 - answer by kiiwii with
Variant 2 -
Variant 3 (when there's no
/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