[BKM]Use VPN without Pattern/Pin lock - Samsung Galaxy Nexus

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

Related

[Q] VPN Setup on ICS

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

[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.

Connect button grayed out when entering password for Wifi

Hey, I'm unable to connect to "eduroam" (my school Wifi) because the "connect button" appears to be grey when my username and password is written. I googled the web and found out that having a password of less than 8 numbers or letters may cause this problem. But this is not the case. I have Samsung Galaxy S5 and HTC ONE M7, and both of them have no issues of such matter. BTW, I do use Wifi at home with no problem on my Nexus 5X. Any suggestions? M7 runs Android 5, while S5 runs Android 6. Nexus 5x is updated to Android 7 (bought it yesterday).
capitalization matters. If all characters are lowercase it will not accept it. check that you are not using a theme also. And if you have any apps that draw on screen (like messenger) close them temporarily.
My password includes capitalized letters, lowecase letters, numbers and is longer than 8 spaces. I'm not sure if I understand the "theme" thing. I use stock Android wallpaper and theme. I will check the last thing but I don't think it's the case since I tried restarting the device and entering password right after without any luck. Anyway, thank you for your time. Btw if I change "PEAP" option to "password" (if I do remember right) then the connect button becomes clickable. But I havn't tried it since it should work with "PEAP". Or so the school guide for Android smartphones tells that and HTC ONE M7 + Galaxy S5 works with "PEAP".
I had the same problem. Try changing the Phase 2 authentication to MSCHAPV2 and the CA certificate to "do not validate" At least those are the settings that worked with my network.
But then the connection will not be private? or it says so if I do choose your suggested settings. It's really strange that I can't use the settings recommended by the school and that works on other versions of Android.
Edit: It works if I choose "do not validate" option. But are there any downsides choosing this particular "do not validate" option?
xene97 said:
I had the same problem. Try changing the Phase 2 authentication to MSCHAPV2 and the CA certificate to "do not validate" At least those are the settings that worked with my network.
Click to expand...
Click to collapse
Thank you very much! It worked for me
i need to revive this. had the same issue. changing to "do not validate" got it to work. didn't need to change phase 2 authentication though.
so 2 questions:
what does this phase 2 authentication?
and what does it mean that my connection isnt private then?
thanks!
xflowy said:
i need to revive this. had the same issue. changing to "do not validate" got it to work. didn't need to change phase 2 authentication though.
so 2 questions:
what does this phase 2 authentication?
and what does it mean that my connection isnt private then?
thanks!
Click to expand...
Click to collapse
You should not change to "do not validate". You have to download the correct certificate (e.g. from the webpage of university ) and install and it on your phone. Pay attention that you install it for wlan and not for VPN. When you now connect to eduroam, you can select the installed certificate. Hope this helps
The official solution is a bit clumsy, but better from a security point of view. Download the configuration app called "eduroam CAT" from Google Play. Then go to cat.eduroam.org to download the right profile, open it with the app, and tada! (And then uninstall the app which is no longer needed.)

Categories

Resources