[Q] VPN Setup on ICS - Samsung Galaxy Nexus

When you try to setup VPN on the phone ICS enforces a pin screen lock policy. Why the hell do I need to use a numberic pin if I want to use VPN, and to make matters worse there is no timeout on the lock so as soon as your screen goes off you'll have to enter the pin again. WTF, is there a way to bypass this?

ilogik said:
When you try to setup VPN on the phone ICS enforces a pin screen lock policy. Why the hell do I need to use a numberic pin if I want to use VPN, and to make matters worse there is no timeout on the lock so as soon as your screen goes off you'll have to enter the pin again. WTF, is there a way to bypass this?
Click to expand...
Click to collapse
It doesn't on mine.... I have not pin set btw.. just face recog unlock.

ilogik said:
When you try to setup VPN on the phone ICS enforces a pin screen lock policy. Why the hell do I need to use a numberic pin if I want to use VPN, and to make matters worse there is no timeout on the lock so as soon as your screen goes off you'll have to enter the pin again. WTF, is there a way to bypass this?
Click to expand...
Click to collapse
I found the same for SSTP/IPsec/PPTP
If you can use OpenVPN, you can get around it, since it's 3rd party and not integrated into that stupid forced lock. I'd imagine someone must have fixed this in a custom rom? but don't know of any personally.

I've noticed that if you set up facial recognition unlock before attempting the VPN settings, that will work out fine. You can't add it after the fact though.
Personally, I just use a simple pattern. It's not terribly secure, but is just as quick to unlock as slide-to-unlock would be.

We attempted to find an answer earlier, but it died off.
thread: http://forum.xda-developers.com/showthread.php?t=1462026
and here: http://forum.xda-developers.com/showthread.php?t=1443505
and here: http://www.google.com/support/forum/p/gmail/thread?tid=31b8c3b478787fef&hl=en
and here: http://android.modaco.com/topic/349519-vpn-access-now-demands-a-pin-lock/
and here: http://androidforums.com/android-lounge/488613-ics-forcing-me-enable-pin-lock-screen.html
*edit: added links

ilogik said:
When you try to setup VPN on the phone ICS enforces a pin screen lock policy. Why the hell do I need to use a numberic pin if I want to use VPN, and to make matters worse there is no timeout on the lock so as soon as your screen goes off you'll have to enter the pin again. WTF, is there a way to bypass this?
Click to expand...
Click to collapse
Hy,
I wrote an application that can connect to a PPTP VPN Server
without having to use PIN or Pattern :
PPTP VPN Manager

Work around found..
I'm not sure if it's again the rules.. to post a link to another thread...
but a work around was found.
http://forum.xda-developers.com/showthread.php?t=1597093

Related

[Q] VPN on Galaxy Nexus

Is there anyway to setup a PPTP VPN connection on ICS without being forced to use a lock screen with PIN/password/pattern? VPN works but I don't want to lock my screen with a PIN.
This was possible on 2.x so why did they change it? Tried using a 3rd party solution like 1VPN but it doesn't even connect to my VPN..
I hate to bump this thread but I really need to know if there is a workaround for this. VPN is the only way I am able to access the Onlive servers to play.
Yea, I just came across this "feature." There has to be a way to disable it. I wish people would stop insisting on handling my security for me. I'm a big boy, I can do it myself.
Sent from my Galaxy Nexus using Tapatalk
What's wrong with using a pattern? Its just as quick and easy as the drag to unlock.
Still haven't found a workaround.. a pattern is not as annoying as a password but it removes the quick access to the camera from the lockscreen doesn't allow you to use face unlock.
I've managed to muck around with the Settings.apk, and I've gotten it to allow me to configure and connect to my VPN without having to set a pin code on the lockscreen. However, it doesn't SAVE the VPN entry. Once you back out of Settings, the entry is lost and will have to be re-added again.
While I'm no stranger to line-based coding, I have to say I'm rather new to Android and I'm learning as I go. Lots of trial and error.
Hey, it's progress.
For those wanting to muck around themselves, I'm tinkering inside the VpnSettings.smali file -- specifically in the onResume method. That's where the check is to see if the Credential Storage is unlocked/locked/uninitialized. I can circumvent that check -- but I think the issue is that it's not ACTUALLY unlocked hence why the settings aren't saved.
Any progress since your last post? I got the same annoying issur.
I am also looking for this annoying "feature" to be overcome.
Just wanted to reply so you know others are also wanting credentials to be stored without losing the ease of access from the lockscreen.
+1
_____________
+1. Wtf is the point of quick camera access if you're forced to lose it?
+1
I'm also interested in removing this annoying "feature"!
I can't wait for the day this problem will be fixed! Annoying as hell!
Sent from my Galaxy Nexus
gabster21 said:
Is there anyway to setup a PPTP VPN connection on ICS without being forced to use a lock screen with PIN/password/pattern? VPN works but I don't want to lock my screen with a PIN.
This was possible on 2.x so why did they change it? Tried using a 3rd party solution like 1VPN but it doesn't even connect to my VPN..
Click to expand...
Click to collapse
Hy,
I wrote an application that can connect to a PPTP VPN Server
without having to use PIN or Pattern :
PPTP VPN Manager
Hope this post can help you:
http://forum.xda-developers.com/showthread.php?t=1597093

[BKM]Use VPN without Pattern/Pin lock

Please find the new method to resolve the reboot issue
http://forum.xda-developers.com/showthread.php?p=27090201#post27090201
----------------------- old post -----------------------
From ICS, if you want to use VPN, you have to set pattern/pin lock, it's very inconvenience, today, I found a ICS bug which can remove the pattern/pin lock after you setup the VPN.
My device is 4.0.2, I'm not sure if it works on later version.
Steps:
1. Set pattern lock
2. Set your VPN and save
3. lock the screen, and press power button, the screen shows pattern unlock points, try a wrong pattern 5 times, then system will say you may forget the pattern and you will be blocked to try for 30 seconds, and then a new option "forget password" will display in the button.
4. click the "forget password" button, use google account to unlock it. it's done.
Now, check you VPN setting, it's still there and you can use it normally. Again, lock your phone and press power button to open it, the unlock method changes to normal instead of pattern.
Enjoy it!
Found a Known Issue: If you reboot your device, the VPN will be losted again, you have to redo all steps above. It sounds like untethered jailbreak
Works!
Thanks! I've been looking for a work around!
It works for my HTC One X also!
great! i'd like to test on my 4.0.4
momingpa said:
from ics, if you want to use vpn, you have to set pattern/pin lock, it's very inconvenience, today, i found a ics bug which can remove the pattern/pin lock after you setup the vpn.
My device is 4.0.2, i'm not sure if it works on later version.
Steps:
1. Set pattern lock
2. Set your vpn and save
3. Lock the screen, and press power button, the screen shows pattern unlock points, try a wrong pattern 5 times, then system will say you may forget the pattern and you will be blocked to try for 30 seconds, and then a new option "forget password" will display in the button.
4. Click the "forget password" button, use google account to unlock it. It's done.
Now, check you vpn setting, it's still there and you can use it normally. Again, lock your phone and press power button to open it, the unlock method changes to normal instead of pattern.
Enjoy it!
Click to expand...
Click to collapse
好吧...怎么不发到国内的论坛呢?
a95788 said:
好吧...怎么不发到国内的论坛呢?
Click to expand...
Click to collapse
http://bbs.gfan.com/android-4004323-1-1.html
Worked on my Galaxy Nexus and Transformer. But for me, I had to have my VPN connected otherwise, it wasn't working.
But thanks for trick.
It works for my HTC One X
thanks
MomingPa said:
Found a Known Issue: If you reboot your device, the VPN will be losted again, you have to redo all steps above. It sounds like untethered jailbreak
Click to expand...
Click to collapse
So this only works until you reboot? No better way?
Works!
Excellent! This is what I was looking for, thanks. Just tried it on my (not-yet-rooted) One X with 4.0.3 works like a charm.
Have to add: You probably do need a working network connection to check and validate your Google account. I tried it offline and I didn't get in.
worked like a charm, thanks a lot!
Stemvers said:
Excellent! This is what I was looking for, thanks. Just tried it on my (not-yet-rooted) One X with 4.0.3 works like a charm.
Have to add: You probably do need a working network connection to check and validate your Google account. I tried it offline and I didn't get in.
Click to expand...
Click to collapse
You are right, it can't work offline
So simple yet so effective. Thanks sooo much for this!
This only worked for a day. It then asked me for credentials password to use the vpn. Since there was no password it ended up deleting the vpn. Sooo annoying, back to square one.
Sent from my HTC One X using XDA
+ htc sensation
Works on Htc Sensation EU, ICS. Thx
ozaghloul said:
This only worked for a day. It then asked me for credentials password to use the vpn. Since there was no password it ended up deleting the vpn. Sooo annoying, back to square one.
Sent from my HTC One X using XDA
Click to expand...
Click to collapse
Actually, I found that if you use a Password, instead of a Pattern, to lock the screen initially, you can use the same Password to re-access your VPN settings when prompted for your credential password.
SE Xperia Ray
Thanks!
Works on my Sony Ericsson Xperia Ray (ST18i) phone!
Doesn't work with 4.1.1
I just tried this with my Galaxy Nexus running JB 4.1.1 without success. I get the wait and try again in 30 seconds screen but no forgot password option. I can however make an emergency call so there's that.
This is stupid, I can't even think of a reason why you would need to select a PIN just to setup a VPN on your own device. Come on Google your starting to act like big brother [email protected]!
It works! From jb 4.1.1
Sent from my Galaxy Nexus using xda app-developers app
I can't get mine to work after a reboot. Asks me for a password for cred storage, and I can't get a password to work.
Tried:
Using password and resetting - can't because it never says forgot password?
Using password, setup vpn, change to pattern, resetting - after reboot it doesn't like my original password, I think it knows it was a pattern
Any suggestions? Is it possible to type in a pattern as a password maybe? Tried using corresponding numbers for nodes on the pattern... no luck
-Edit: On Nexus 7, 4.1.1

[Q] How to bypass the need of having a security when accessing a secured WiFi network

Hey guys,
I have a simple question, which I hope, has a simple, but atleast an positive answer.
When I try to connect my HTC One X with the school Wifi network, it says 'You need to have a pincode, password or path-unlock security, otherwise you cannot access the network' (when you open the phone)
So the question: Anyway of bypassing it? I only want to move the ring to unlock the phone, instead of ALSO having a pincode, password or path-unlock.
Blackvibes said:
Hey guys,
I have a simple question, which I hope, has a simple, but atleast an positive answer.
When I try to connect my HTC One X with the school Wifi network, it says 'You need to have a pincode, password or path-unlock security, otherwise you cannot access the network' (when you open the phone)
So the question: Anyway of bypassing it? I only want to move the ring to unlock the phone, instead of ALSO having a pincode, password or path-unlock.
Click to expand...
Click to collapse
Are you sure this isn't something to do with the Wireless encryption rather than security for unlocking your phone?
dr9722 said:
Are you sure this isn't something to do with the Wireless encryption rather than security for unlocking your phone?
Click to expand...
Click to collapse
Pretty sure it has something to do with the network itself, but hope someone can tell me how to bypass it
Sent from my HTC One X using XDA
If I understand you correctly, you are wanting to hack a WEP code? I would respectfully suggest that particular area of the forum is devoted to the HTC One X whereas your query would be better directed to a website that deals with security issues.
I think the OP doesn't want to hack.
@ OP: Ever tried opening up the browser, type in an address and then the security screen of the network appears so you can log in and probably even safe your credentials?
Elsewise I don't know either, sorry.
The problem is that the the OS requires a pin code to be set up in order to store the WifFi credentials.
So if you want to log onto the network you must set up a pin. I have this problem at Uni.
No solution yet.
JamesBarnes said:
The problem is that the the OS requires a pin code to be set up in order to store the WifFi credentials.
So if you want to log onto the network you must set up a pin. I have this problem at Uni.
No solution yet.
Click to expand...
Click to collapse
On Android 2.3.x (in CM7 at least) there was the option to turn off this requirement. Annoying that it's been removed in ICS!
Hi,
I also face this issue when connecting to my office WIFI hotspot. But, after you have set the pin and then set the password to connect to your WIFI. You can disable the PIN lock in Security setting right away. It's just one-time setting.
laruku said:
Hi,
I also face this issue when connecting to my office WIFI hotspot. But, after you have set the pin and then set the password to connect to your WIFI. You can disable the PIN lock in Security setting right away. It's just one-time setting.
Click to expand...
Click to collapse
Yeah. I removed the pin and stuff and now it still reconnects..
The only problem: I can browse the web, but cannot send mails. It keeps saying 'mail not sent'.
Any ideas?
It's more than likely to do with the exchange setup, I know at our offices we have the option to enforce encryption and various different things from the server before allowing people to connect. As to why it's showing when you try to connect to the wifi network, I've no idea. It must be trying to access the domain.
Dave Trouser said:
On Android 2.3.x (in CM7 at least) there was the option to turn off this requirement. Annoying that it's been removed in ICS!
Click to expand...
Click to collapse
It has not been removed in ICS - this appears to be an HTC implementation.
I connect to the company 802.1x EAP network using PEAP and on my Galaxy Nexus there is no requirement to set a password/pattern, etc to store said 'credentials'. Only now that I'm trying this with my One X do I see this pop-up.
Yes, VPN credentials always required a password/pattern in ICS, but this ain't no VPN.

VPN without screen lock

I was trying to set up a VPN on my phone and I was forced to set up a screen lock pattern. Otherwise you are not able to use a VPN. This is driving me crazy. Do custom roms cure this issue?
Does anyone even use a VPN? Anyone have a solution?
Yeah waiting for cm9. I could disable the pattern after enable VPN in cm9.
I was hoping one of the custom Sense roms would have solved this issue (or is this controlled from the kernel?) I'm not a big fan of AOSP roms. Maybe a third party app might help. I'm not fussed over which vpn protocol to use (IPSEC, PPTP, OPENVPN, etc...). Any ideas?
I'm wondering the same thing. I already had a screen lock set but wasn't able to remove it after a few days till I saw this post and realized it was because of me setting up a VPN. I hope there's a way on sense to setup a VPN without a forced screen lock.
Sent from my HTC Evo 4G LTE using Tapatalk
I setup VPN first
I setup VPN first, so it asked me to set a password/pattern. I didn't want this security, but i guess it defeats the purpose of VPN
Set the lock time to 15min
Can we change/modify even the 15 min lock time to a possibly 1 day limit? It would be ok for me this way.
try to unlock your phone with wrong password or pattern. Then you have to wait for 30seconds but go to forgot password or pattern then provide your email ID and password then it will take you to the pattern Page or screen. Then do not set any password press the home button the you it won't ask you any password until you restart your phone.
It works on sgs 3
Sent from my GT-I9300 using xda premium

[Q] Using Pattern Lock with VPN/Credentials

I have FoxFi and FoxFi must use a VPN/Credentials storage. This disables the pattern lock. I can re enable pattern lock by clearing credentials however than I have to go through the process of disabling it every time I use FoxFi. Is there a way to have both?
JeffATL said:
I have FoxFi and FoxFi must use a VPN/Credentials storage. This disables the pattern lock. I can re enable pattern lock by clearing credentials however than I have to go through the process of disabling it every time I use FoxFi. Is there a way to have both?
Click to expand...
Click to collapse
I'm sorry that I don't have an answer for you, but can I ask how you clear the credentials so that you can change the screen lock method? I'm using fingerprint and it works fine with Foxfi, but sometimes I like to just use swipe and I can't choose it (its greyed out). I have gone into "Trusted Credentials" and manually removed the FoxFi credential under the User setting (so that user setting is now blank), but when I try to change screen lock to swipe, its greyed out. What am I supposed to do so I can choose any of the screen unlock methods, not just the ones FoxFi allows?
I apologize for hijacking your post and you don't have to answer me if that upsets you. Thanks anyway.
FlattFoxJohnson said:
I'm sorry that I don't have an answer for you, but can I ask how you clear the credentials so that you can change the screen lock method? I'm using fingerprint and it works fine with Foxfi, but sometimes I like to just use swipe and I can't choose it (its greyed out). I have gone into "Trusted Credentials" and manually removed the FoxFi credential under the User setting (so that user setting is now blank), but when I try to change screen lock to swipe, its greyed out. What am I supposed to do so I can choose any of the screen unlock methods, not just the ones FoxFi allows?
I apologize for hijacking your post and you don't have to answer me if that upsets you. Thanks anyway.
Click to expand...
Click to collapse
Security - Clear Credentials (Removes all) works. But I have to add back credentials to use FoxFi
I was trying to work this out this morning myself. I came across a thread with "fixes" but none worked for me. Feel free to give them a try and let me know if anything works for you.
http://forum.xda-developers.com/showthread.php?t=2739469
vwpiper said:
I was trying to work this out this morning myself. I came across a thread with "fixes" but none worked for me. Feel free to give them a try and let me know if anything works for you.
http://forum.xda-developers.com/showthread.php?t=2739469
Click to expand...
Click to collapse
Thanks. This one worked for me.
e4c said:
found a fix for getting all lock screen options back.
log into google device manager: google.com/android/devicemanager
click on the lock button for your device.
enter a new pass and save.
now go to your phone and use the new pass to unlock the phone.
you should now be able to go to your lock screen settings and pick whichever lock option you need.
Click to expand...
Click to collapse
just to clarify. login to google device mgr from pc, not phone - I guess I now have to plop down $8 for the key, I thought I did already.
"log into google device manager: google.com/android/devicemanager
click on the lock button for your device.
enter a new pass and save.
now go to your phone and use the new pass to unlock the phone.
you should now be able to go to your lock screen settings and pick whichever lock option you need."
You can do this from chrome on your phone.
This worked for me!
Thanks for the help!
Running an sgs3 i747 and tried ththis to no avail. All other lock methods are still locked out.

Categories

Resources