[Q] Re-Enable VPN settings - Android Software/Hacking General [Developers Only]

Hi guys!
I've got a LG P970 running 2.2.2 and I am missing the VPN settings. My network settings show everything, even mobile hotspot, but no VPN settings. I even have a /system/app/VpnServices.apk
I've tried to figure out where I might find something, browsed every config file in /system/etc but didn't find anything, so I'm kind of stuck here...
Does anyone know where and how the VPN settings menu entry is controlled?
Thanks in advance
Kind regards
Steffen

Related

Wi-Fi Popups and Notifications Won't Stop

Hi,
I've got both a Fuze and a Diamond on AT&T, and both have the same problem. If WiFi is enabled, I get a constant stream of annoying popups and audible alerts as I drive down the street, letting me know about every Wi-Fi AP on my route, as if I cared. This is very annoying and I've struggled to make it stop.
I have gone into Settings, Sounds and Notifications, and disabled Wireless Network Notification MANY times. That works...until I reset. And the setting changes back on me!!! I reset every couple of days to keep the OS working smoothly, and so this @#[email protected] notification setting gets activated every time.
Please let me know if anyone else is having this problem, OR if you are NOT having this problem even with Wi-Fi on and moving around an urban area.
Please, tell me if there is a solution or registry hack. But please don't tell me to turn off Wi-Fi. Disabling a huge feature of the device isn't a solution. That's like a doctor cutting off my leg because of a sprained ankle.
FYI, the Diamond is stock HTC with tweaks from DiamonTweak, Advanced Config, and Diamond TF3D Config. The Fuze is running NATFs ROM with the same tweak tools.
Thanks.
3GJockey said:
Hi,
I've got both a Fuze and a Diamond on AT&T, and both have the same problem. If WiFi is enabled, I get a constant stream of annoying popups and audible alerts as I drive down the street, letting me know about every Wi-Fi AP on my route, as if I cared. This is very annoying and I've struggled to make it stop.
I have gone into Settings, Sounds and Notifications, and disabled Wireless Network Notification MANY times. That works...until I reset. And the setting changes back on me!!! I reset every couple of days to keep the OS working smoothly, and so this @#[email protected] notification setting gets activated every time.
Please let me know if anyone else is having this problem, OR if you are NOT having this problem even with Wi-Fi on and moving around an urban area.
Please, tell me if there is a solution or registry hack. But please don't tell me to turn off Wi-Fi. Disabling a huge feature of the device isn't a solution. That's like a doctor cutting off my leg because of a sprained ankle.
FYI, the Diamond is stock HTC with tweaks from DiamonTweak, Advanced Config, and Diamond TF3D Config. The Fuze is running NATFs ROM with the same tweak tools.
Thanks.
Click to expand...
Click to collapse
I've had a similar problem. Have you tried going to: Settings > Connections (tab) > WiFi > Click on Menu > Advanced > Untick "Turn on available network notification" > Save ??
I had the same problem where the setting wouldn't stick on reset. I just wrote a one line MortScript that disables the wifi notification registry setting that runs when phone boots.
Please Share
Please share the how to.
I'm not familiar with MortScript, but have you got a file or a method you can share here?
mark72501 said:
I've had a similar problem. Have you tried going to: Settings > Connections (tab) > WiFi > Click on Menu > Advanced > Untick "Turn on available network notification" > Save ??
Click to expand...
Click to collapse
I had not tried that. But the box was checked. I have now unchecked it and performed a reset, and as before, the wifi notifications returned. Good idea, but no fix.
3GJockey said:
Please share the how to.
I'm not familiar with MortScript, but have you got a file or a method you can share here?
Click to expand...
Click to collapse
Go to http://www.sto-helit.de/index.php?module=page&entry=ms_overview&action=view&menu=29
Download and install MortScript 4.1.
Using notepad or similar text editor, create a file containing the following line:
RegWriteDWord( "HKCU", "ControlPanel\Notifications\{DDBD3B44-80B0-4b24-9DC4-839FEA6E559E}", "Options", 0);
Save the file with an extension of .mscr (e.x. "DisableWiFiNotification.mscr").
Copy the file to your phone.
Finally create a shortcut to the file into the \\Windows\StartUp folder of your phone.
thanks
Great, thanks for the help ICWinner.
Similar to the problem above, I keep bluetooth on all the time and for some reason, the phone constantly has a notification which just says "Bluetooth is on". Does anyone know what the registry key is to disable this one? Or if there is a setting somewhere I am missing?
This May Be A Fix
Hi, I'm the OP, and it looks like I found a fix in another thread.
Check out what Chetstriker has posted at:
http://forum.xda-developers.com/showthread.php?p=2950391#post2950391
I will try it sometime this week, but some users have already confirmed it worked for them, so this may be it.

disable wifi windows mobile 6.5? Any ideas please

Hi everyone,
I'm new to this forum, and was wondering if anyone can help me out. I have an Acer S200 but figured that perhaps this could relate to any windows mobile 6.5 device. Basically due to restrictions at work, we need to disable internet access from our work mobile devices!
I have read various posts that state that this can be achieved by disabling wifi access by altering the registry keys, however none of the methods that i have come accross seem to apply to my Acer S200 mobile 6.5.
Sorry to be a pain, but does anyone know how i can do this?
Thanks in advance everyone.
alan
Like it has to be unable to turn on, or off? Does the default winmo comm manager not work? If not, just try a third party one, theres plenty out there
Hi cmstackar
thanks for the reply. Yes thats right, there should not be an ability to toggle it on or off - just for the wifi to be disabled for the user. I understand that changing registry keys is only a temporary solution since hard resetting would put things back to normal, but even that's okay for the time being.
Any ideas anyone?
What third party software did you particularly have in mind?
What about your internet access from the phone network? Surely that would be the issue, not wifi which you can't use to connect to the internet unless you're near a internet accessible wireless network which you have the network key to access...
hi xaccers,
the phone doesn't have a data connection plan with it, so it would be too expensive to use for internet access i imagine.
but, likewise then, is there a way to disable both of these (wifi, data connection)?
I know this is such a strange request, but appreciate any pointers from forum members.
Thanks
If would be easy if you could cook your own ROM, but if the user is willing to do a hard reset, there is nothing you could do to a factory ROM to prevent it from coming back after a hard reset.
hi trueg
that is true. However, I am a complete newby to cooking ROMS etc, and also if the user did hard reset the device, it would need to be taken back to technical department to have software reinstalled, etc. So the temporary changes could be reintroduced again.
So, given the above, do you you know how to temporary disable wifi/data connection? I have read others state that this can be achieved by altering registry keys - but the ones that are referred to are not present on my acer.
any expert willing to depart a little advice my way?
So your Acer phone has a wifi thats always on? I never encountered such a device but nonetheless if your wifi network at work is secured then your phone won't be able to connect to the wifi router hence won't get any internet connection.
hiya,
The users can use the devices in public wifi areas. But also, now that i've been trying to do this for ages, i really would just like to know how to fiddle with the registry keys. its kind of bugging me that I haven't managed to figure this out...
will I really need to learn how to cook my own ROM? (I'm not sure I want to take the risk :S)
I'm sure there is a really easy way to disable wifi/data connection (even if temporarily upon hard resetting) that the more experience members can help with... Please
thanks for all the input so far guys.
alan
OK, so you want to prevent users from accessing the Wireless Manager, or do you want WiFi to not work?
How smart are the users that you are dealing with?
You can easily hide the Wireless Manager from the Control Panel and you could possibly overwrite wrlsmgr.exe with a dummy file, but preventing access to the Wireless Manager would mean they couldn't put the phone in aeroplane mode.
There should be several ways to change the registry to prevent WiFi from working at all.
I like to use FdcSoft Task Manager v3.1 to edit my registry.
Hi Alan, You can try cooking a ROM..it's not so difficult unlock your device go to XDA WIki find your phone then check step by step the procedure, connect Acer to the PC download the ROM you think is better for you, copy it to desktop, then to your device. That's it
Thanks trueg,
you say there should be several ways of changing the registry to prevent wifi from working at all. Would you be kind enough to let me know how? sorry - complete newbie here.
francomur99: thanks for pointing that out buddie. I'll look into that too...
OK, well do you have the following key in your device?
HKLM\System\State\Hardware
WiFi = dword:00000001
Changing this to 0 removes the WiFi option from the default Windows Wireless Manager.
Does your device use the default Wireless Manager or do you have a 3rd party Manager?
Update: Hmm, that only works until you soft reset and if you have a separate WiFi manager, it can still turn it on. Well I can make you an application that will set this back to 0 after every soft reset and you can hide any WiFi managers from the control panel, but they will still exist in the \Windows directory.
The best way may be to create invalid entires for the WiFi driver. Do you have this entry in your registry?
HKLM\Software\Drivers\WLAN
AdapterName = ....
OK, well do you have the following key in your device?
HKLM\System\State\Hardware
WiFi = dword:00000001
Changing this to 0 removes the WiFi option from the default Windows Wireless Manager.
Does your device use the default Wireless Manager or do you have a 3rd party Manager?
Update: Hmm, that only works until you soft reset and if you have a separate WiFi manager, it can still turn it on. Well I can make you an application that will set this back to 0 after every soft reset and you can hide any WiFi managers from the control panel, but they will still exist in the \Windows directory.
The best way may be to create invalid entires for the WiFi driver. Do you have this entry in your registry?
HKLM\Software\Drivers\WLAN
AdapterName = ....
Hi Trueg,
Thanks for the tip. Yes, you're advice has removed the WLAN display from the comm manager. However, I do not have the HKLM\Software\Drivers|WLAN entry.
Infact, under HKLM\Software, there is no Driver folder. There is a HKLM\Driver folder however this doesn't contain a WLAN subdirectory.
Any ideas?
Schaps Advanced Config allows you to edit the com manager. You could easily remove the wifi toggle from there, but it would still be fairly easy to work around if you wanted to turn the wifi on. Maybe someone else could tell you how to remove it from the settings menu.
Sorry alan303487, what is your status with this?
hi trueg
I haven't been able to move forward with this since the post on 16th April 2010 11:01.
i.e. the wifi connectino from the comm manager isn't showing, but I can still connect via windows menus.
would still appreciate any advice - so far, it seems that cooking my own ROM is the only other method thats been suggested.
still would appreciate your help trueg. Any ideas?
thanks mate.
OK, well how would you like to proceed? Would you like to try and hide all of the options that will allow WiFi to be turned back on, or disable WiFi permanently?
Also, what do you have listed under HKEY_LOCAL_MACHINE\Comm\?
Example: the WiFi driver on my HTC Touch Pro is
[HKEY_LOCAL_MACHINE\Comm\TNETW1251]
hi trueg,
thanks for helping..
well, either of the options would do - depends on the complexity of the method involved.
regarding what listed under HKEY_LOCAL_MACHINE\Comm\
there are many subfolders - below is a selection.
AFD
Application Download
AxyncMac
AsyncMac1
BCMSD
BCMSD1
BTCEPAN..
....
connection sharing
..
connMfr
CXPort
..
Devices
...
Wifi
Thanks for your help.
Alan
hi trueg
any ideas? any leads?
thanks buddy
alan

[Q] HTC HD2 - how to Stop 3g

Hi all, please help.
I've got a HTC HD2 that wont stop connecting to 3g. I've tried setting it to 'my work network, but it still keeps connecting. Also tried new modem connection to 'offline', it says that already exists, but I can't select it.
It doesn't cost much, but each time it's a few 'p', once added up it can amount to £1 a day easily.
Is there another way to stop it?
Any thoughts?
Hi there,
I assume your still using winmo 6.5 by the sounds of it
Two simple ways i would recommend, download a free app found in XDA (advanced config (v3.3 i think)) as there is a setting to turn off data there.
or
More simply, go into your apn settings and remove/change the apn name; so for mine i would change "internet" and just remove the t of it.
Can use data if the settings are wrong so it never connects
Cheers.
Yes, am using wm 6.5. Thanks for the quick reply.
Where are the 'apn' settings?
I'm not very savvy when it comes to changing things.

[Completed] Remove global proxy on LG G3 (D855 Android 5.0.2) [Unrooted]

Hi everbody,
today I tried the hidden menu com.android.settings.ProxySelector and added the adblock plus proxy settings (127.0.0.1:2020).
Started adblock plus and everything was running well.
When I turned off adblock plus my internet connection getting lost, because of the unavailable proxy.
So I tried to remove the proxy in com.android.settings.ProxySelector menu. Clicked on finish, but nothing happens.
When I take a look at com.android.settings.ProxySelector the proxy settings (127.0.0.1:2020) were set again (or were never changed).
To get my internet connection to work again I added "*" in the "No Proxy for"-field.
Is there a possibility to remove the proxy setting totally from the system without reset the device.
Thanks in advance
Jip0815
Btw my device is a unrooted LG G3 32GB (D855)
JIP0815 said:
Hi everbody,
today I tried the hidden menu com.android.settings.ProxySelector and added the adblock plus proxy settings (127.0.0.1:2020).
Started adblock plus and everything was running well.
When I turned off adblock plus my internet connection getting lost, because of the unavailable proxy.
So I tried to remove the proxy in com.android.settings.ProxySelector menu. Clicked on finish, but nothing happens.
When I take a look at com.android.settings.ProxySelector the proxy settings (127.0.0.1:2020) were set again (or were never changed).
To get my internet connection to work again I added "*" in the "No Proxy for"-field.
Is there a possibility to remove the proxy setting totally from the system without reset the device.
Thanks in advance
Jip0815
Btw my device is a unrooted LG G3 32GB (D855)
Click to expand...
Click to collapse
Hello, thanks for using XDA Assist!
Please post your question here:
http://forum.xda-developers.com/lg-g3/help/help-thread-lg-g3-question-t2947298
You'll get expert help there.
Good luck!
Thread closed.

Disable New WiFi Feature in Android 5.1.1

Hello Everyone,
I recently upgraded to CM 12.1 and discovered that my WiFi won't automatically connect to my router anymore if it doesn't detect access to the internet (I'm in China and Google is Blocked). I believe this explains why this is happening as there is internet and having to manually connect each time is annoying at least Is there a way to disable this "new feature" ?
Regards,
Bob
In Settings, got to WiFi, press the menu button in the top right and there should be an Advanced settings section or something similar (sometimes varies based on ROM/Language). Then untick the Avoid poor connection option. This should resolve your problem. If not, you may not have the correct firmware for 5.1.1
I already have Avoid poor connections unchecked. Any other way to fix this?
Does anyone have any ideas? Any help would be appreciated. Thanks
Try disable mobile data before connect to wifi, maybe this way should help
Sent from my A0001 using Tapatalk
viper134 said:
Hello Everyone,
I recently upgraded to CM 12.1 and discovered that my WiFi won't automatically connect to my router anymore if it doesn't detect access to the internet (I'm in China and Google is Blocked). I believe this explains why this is happening as there is internet and having to manually connect each time is annoying at least Is there a way to disable this "new feature" ?
Regards,
Bob
Click to expand...
Click to collapse
I have the EXACT same problem - it really does happen because you're in China and the method of internet access testing is through Google servers blocked in here.
I'm still trying to figure out how to disable the test or maybe reroute the destination.
It would definitely be a temporary solution to make the VPN active 24/7 if you put it on the router instead of on the phone / computer etc.
Let us know if you find a solution!
Itai
this was a very popular and general problem for every Chinese user with google service device.
you have to root your phone and manually change the google server address to a local substitute site, or just turn off the google server detect.
the easiest way is to use an APK developed by Chinese to have all these things done in a click.
search NoExclamation Portal Server 1.5
+1
syzkk said:
this was a very popular and general problem for every Chinese user with google service device. you have to root your phone and manually change the google server address to a local substitute site, or just turn off the google server detect. the easiest way is to use an APK developed by Chinese to have all these things done in a click. search NoExclamation Portal Server 1.5
Click to expand...
Click to collapse
came here with a google search. this problem is generic to later android versions. i'm on cyanogenmod 12.1 which is i gather is android 5.1.
looking at DNS logs, it tries to access: http://connectivitycheck.android.com - which redirects to google and fails as it's blocked by the GFW.
just downloading the chinese apk to fix it... the link to it i found is: http://m.hiapphere.com/apk-org.foxteam.noisyfox.noexclamation
EDIT: so now got noexclamation the app running, but not sure it's doing anything. UI is in chinese, not sure what options to deal with and how. anyone have success with it?
EDIT2: it's like this: install the app. leave it at defaults where it's using the developers website for connectivity check. toggle it ON if it's not already (i believe needs root). reset network settings by toggling airline mode ON/OFFl. you're good.
however - conceptually better fix would is to take the "feature" OUT, not alter the server that it's checking the accessibility of. from the chinese thread, i gather this will get done by:
su
settings put global captive_portal_detection_enabled 0
this seems to survive reboot as well. problem solved, end of monologue!

Categories

Resources