Remove Wifi functionality? - Nook Color Q&A, Help & Troubleshooting

So my work has banned all cellphones and wifi capable devices. I work graveyards and absolutely DEPEND on my Nook for reading all night long. Is there a way with Root Explorer or ADB that I can totally kill Wifi?
I want to be able to hit the wifi toggle and show a supervisor that it won't work.
Hopefully someone can help...

You can do it quite easily with Tasker. Disclaimer: the way I did it, each time you hit the toggle, it will show the hollow (not connected) wifi bars for half a second, then nothing. This is on cm7 by the way.
There is a 2 week trial of Tasker if you want to try it. There may well be a better way to do it in Tasker too.
Context: State > Net > Wifi Connected (any time wifi tries to connect it will do the following)
Task: Net > Wifi > Set to Off (it sets wifi off)
Exit Task: Net > Wifi > Set to Off (this sets it off so it doesn't continuously attempt to reconnect)
Only a few clicks in Tasker to re-enable wifi if you need it too.

Thanks for the reply, I figured out a way with Root Explorer while I was at work last night. I navigated to /system/lib/modules and renamed the only file there (something like wlan.ko but longer) with an added .kill suffix to the end. No need to reboot or anything. Hitting the wifi toggle now does nothing, going into wireless settings and pressing the wifi on toggle shows ERROR where it would normally say TURNING ON or SCANNING or whatever. Easy to reverse when needed.
Thanks again!

Related

Keeping on wifi connection while on standby

My D2 will automatically disconnect the wifi connection when it goes in standby. My old cruise would always keep the connection alive, so that it would be available immediately after turning it on. Is there a fix for this?
A google search reveals!!
http://forum.xda-developers.com/archive/index.php/t-368241.html
Edit: although that worked on my XDA Orbit 2 (Touch cruise / polaris) it dont seem to work on my Diamond 2
I found this key in the registry:
HKLM\Comm\TNETW12511\Parms\HTCKeepWifiOnWhenUnattended
and changed it from 0 to 1, but that didn't work. After a restart the value was automatically changed back to 0.
Looking around on the HD forum it seems that HD has the same behaviour. People changed that using a program called HD Tweak. I guess we need D2 Tweak...
i would also like to see a solution for this
I have experienced this problem also. If you have push internet scheduled and the phone is on standby, it retrieves the data via data connection/3G as opposed to your WiFi.
Additionally, if you take your phone out of standby, it takes a few seconds for the phone to re-establish the WiFi connection. If you are too quick to access the internet or update weather - again it will start to do this through the data connection.
Does anyone know how to resolve this?
did you try Advanced Configuration Tool? You can enable/disable data connections, set them to always on and enable WiFi on standby.
tomkarb said:
did you try Advanced Configuration Tool? You can enable/disable data connections, set them to always on and enable WiFi on standby.
Click to expand...
Click to collapse
Does it exist for D2 too already?
Yeah got it and it works on D2, the enable WiFi option is there
You could also go to Settings -> More -> Connections -> Wi-Fi -> Wireless networks -> Menu -> Advanced, there you can change how long the Wi-Fi radio should be on if not connected to a wireless network.
Unfortunately, www.touchxperience.com is down, so I can't download it now.
helinus said:
You could also go to Settings -> More -> Connections -> Wi-Fi -> Wireless networks -> Menu -> Advanced, there you can change how long the Wi-Fi radio should be on if not connected to a wireless network.
Click to expand...
Click to collapse
Thanks for the tip. This doesn't solve my problem, but it's good to know.
I found a 3.3 cab elsewhere. What option exactly did you change to keep wifi on on standby? The only logical one I found is Network >Turn off wi-fi if no activity. I changed that from yes to no, but that didn't help...
I know how to do it but it requires some code to accomplish - I actually tested this yesterday on my TD2 (the advanced config trick does not work with TD2). Unfortunately I do not have the TD2 with me right now ... Perhaps I'll muck with it a bit later anyways, else you'll have to wait 'til I have the TD2 in hand again Monday or Tuesday.
It takes a ****load of power to do this though, and I'm not sure if it works in true suspend... it works for unattended mode though.
Well, I found the option in advanced config 3.3, hidden under "More options". But indeed it doesn't work. Wifi still disconnects on standby and starts reconnecting after standby. If you have a solution Chainfire, I'd be happy!
Tomkarb, can you confirm that the Advanced Config trick really works for you?
Isn't there anyone that has a solution? The Schapps advanced config thing just doesn't work
The solution is in here:
http://forum.xda-developers.com/showthread.php?t=524490
Thanks! That works indeed!
Code:
[HKEY_LOCAL_MACHINE\Comm\TNETW12511\Parms]
"HTCKeepWifiOnWhenUnattended"=dword:00000001
I never found that out, because I always soft reset immediately afterwards, thinking that was necessairy for the change to become effective. The soft reset wiped the change away though.
I've made a cab that changes the registry value to 1. It also copies the cab to the installationdir and adds a shortcut to it in the start menu. So you just have to run it from the start menu after each soft reset/restart (if you need wifi on standby). It only works when you execute it when wifi is off. Turn it on after installation.
There's a great freeware that i use called WkTask, which is a launcher, among other things, and it has the option of turning off the screen, but not putting the phone into standby. Disable the automatic power off and turn off the screen, this should solve your problem. However, i'm pretty sure your battery will drain a whole lot faster with the device never entering standby and the wifi on.
For added functionality, create a shortcut in the windows directory called 'long_power.lnk', and point it at the same file that WkTask uses (you'll see the path when you add it to the launcher, its a 'command call' btw). Then you can press and hold the power button to turn the screen off instead of powering off the phone (which is something i never do, does anyone?)
Hope that helps.
Thanks for the tip. I don't use wifi very often, only sometimes to remote control my pc. So most of the times I want it to go in standby and save as much power as possible with wifi off.
BTW, another solution for some of you may be to use a different ROM. I'm using Topaz Essentials 1.6 ROM (TESS1.6) from chef Aman now, and this ROM doesn't have the wifi turning off problem.
deechte said:
Thanks! That works indeed!
Code:
[HKEY_LOCAL_MACHINE\Comm\TNETW12511\Parms]
"HTCKeepWifiOnWhenUnattended"=dword:00000001
I never found that out, because I always soft reset immediately afterwards, thinking that was necessairy for the change to become effective. The soft reset wiped the change away though.
I've made a cab that changes the registry value to 1. It also copies the cab to the installationdir and adds a shortcut to it in the start menu. So you just have to run it from the start menu after each soft reset/restart (if you need wifi on standby). It only works when you execute it when wifi is off. Turn it on after installation.
Click to expand...
Click to collapse
Does not work on my HD2

Phone auto connecting to random Wifi access points

All,
My brother has a T-Mobile stock ROM HD 2 and he has the issue where device would just randomly connect to available access points, including a BT OpenZone and a Netgear home router. The worst thing is that if the device is connected to his home [preferred] router, it would all of a sudden connect to the BTOpenZone one and totally disable all activity and actually bring up their registration page, etc. It connects to this [random] Netgear one when he is at his in-laws place.
Just to say that these access points have never previously been added as a preferred network or otherwise.
I used to have a WM device (on to Android now) but never used the WiFi connection, so perhaps I'm missing something obvious (?!)
Any help would be greatly appreciated.
This is normal behaviour, if you leave your wifi on. It automatically searches for and tries to connect to any nearby wifi sources. All you have to do is turn wifi off. Just turn it on when you want to use it.
There's a toggle app in one of the stickied threads (cabs & tips)
Must go into the WIFI settings and after couple of Nexts, Uncheck the /Automaticaly Find The Key/ or something like that..also you can go into WIFI options and remove a certain routers setting,just play around a bit with the settings and you will find it.
johncmolyneux said:
This is normal behaviour, if you leave your wifi on. It automatically searches for and tries to connect to any nearby wifi sources. All you have to do is turn wifi off. Just turn it on when you want to use it.
There's a toggle app in one of the stickied threads (cabs & tips)
Click to expand...
Click to collapse
Surely it's not default behaviour? I vaguely remember that it automatically searches for wifi APs (if the WiFi is on) but never knew it automatcally connected without you asking it to do so, especially if you have never connected to that AP before or previously added it as a preferred network.
hagba said:
Must go into the WIFI settings and after couple of Nexts, Uncheck the /Automaticaly Find The Key/ or something like that..also you can go into WIFI options and remove a certain routers setting,just play around a bit with the settings and you will find it.
Click to expand...
Click to collapse
I shall have to give that a go and look for that setting.
I have the device in front of me now, but fail to find any settings to disable/prevent this behaviour.

[SOLVED] wifi keeps goin to off-with screen mode

yea so recently my nexus wont keep the option to keep wifi on during sleep checked, everytime i pickup the nexus its gone back to "never" keep connected.
also, in the wifi advanced settings theres an options called "direct-wifi" it bring up peer devices,,,, is this a file sharing feature?
edit: ok "facepalm" a reboot seems to have solved the wifi-on prob., but still wondering what wifi-direct is
edit 2: found it Wi-Fi Direct
Android now supports Wi-Fi Direct for peer-to-peer (P2P) connections between Android-powered devices and other device types without a hotspot or Internet connection. The Android framework provides a set of Wi-Fi P2P APIs that allow you to discover and connect to other devices when each device supports Wi-Fi Direct, then communicate over a speedy connection across distances much longer than a Bluetooth connection.
NEW REPLY,
ok now its gone back to resetting to switch wifi off with screen off,
with this option constantly re-enabling itself will i be able to receive notifications while screen off?
FOUND ANSWER.
problem was a app called wifi-unlocker that i had given admin right to, it was for some reason shutting off my wifi with the screen off.....dont know why but uninstalled checked the box rebooted and now no issue

[Q] More than 2 devices connected to hotspot.

On my wife's and my own Galaxy s4 running FreeGS4 v2.0 ROM - the hotspot works via menu, I have a toggle widget for it that works too. I can connect up with multiple devices to either phone...
But neither phone will allow more than 2 devices to connect at any one time.
I went into the LAN settings to confirm settings are correct - and they are, DHCP is active and allow up to 100 connects - this was default, i tried lower and lower numbers, all the way down to 8, but neither phone will allow more than 2 connections at the same time.
I tried to toggled airplane mode on and off, I've tried rebooting. I've tried manually entering the settings.
I'm starting to worry that it is a flaw in the ROM itself, but a friend of mine who also has the same phone and ROM as I do claims he can connect more than 2. So I'm not sure but I am at hair pulling out stage at this point.
Anyone have any ideas?
edit - search works! I found the solution, and I feel 3% more stupid for somehow missing it earlier
http://forum.xda-developers.com/showpost.php?p=43740035&postcount=143
go to settings - hotspot - "press on configure->show advanced options->maximum connections" Thanks
Click on configure hotspot and page down in the pop up menu that appears. Click the box that says show advanced options and then set the maximum connections you want to allow. You can also set 2.4ghz or 5.0ghz in this menu.

Systemless root + Secure Settings + Android Pay = Problem

Back story: I've always rooted in the past, but purely for entertainment / backup purposes. Now however, I actually NEED root for my phone to function as I believe it should due to a "glitch" in the system. Please reference the thread that I started in the google help forums here (sorry can't post outside links):
I'm a new Project Fi customer with a Nexus 6P. The phone is fantastic, but I'm having a problem making calls while at home. The Project Fi CSR that I chatted with was not very helpful and was only able to tell me what I already knew.
The problem is that one of my neighbors has a Sprint "home cell tower" device (I believe it's an Airave but no way to know for sure) that my phone connects to when I attempt to place a call. When I hit send, I hear 3 beeps followed by an automated message "We are unable to complete your call at this time, please try again later; Message 12: Switch 2195"
Currently, my only option if I want to make a call is to turn on "airplane mode" and then turn wi-fi back on so that it reconnects to my home wi-fi and then place the call. Obviously this is not ideal as it's not really practical to turn airplane mode off and on when I come and go from my house.
Is there another option that I am missing. It seems almost too obvious that there should be a "prefer wi-fi calling when available" toggle somewhere, but I don't believe there is.
Any ideas / suggestions?
Click to expand...
Click to collapse
and which I proceeded to find a solution for as detailed here (sorry can't post outside links):
I've found a better solution (or at least a more convenient one) to this problem. This solution is also workable for people who feel that wi-fi calling would be more reliable in specific places than their cellular connection for making phone calls. The only caveat: you need to root your phone for Tasker and System Settings to function as required for these tasks. I have used the apps Tasker and Secure Settings to set up a rule for my phone that will automatically turn off the cellular radios and leave wi-fi on when I'm at home. When my phone connects to my home wi-fi as identified by the SSID of my home wireless router, Tasker initiates the Task to turn the cell radios off thus forcing all incoming and outgoing calls be routed over wi-fi. When my wi-fi connection is lost (when I leave home), Tasker initiates another task to turn the cellular radios back on. This has been working flawlessly for about 3 weeks on my phone, and requires absolutely no user input after the initial setup. I highly recommend this solution as it is far more convenient than having to use separate dialer apps when at home and away.
Click to expand...
Click to collapse
Long story short, I need to use Tasker and Secure Settings to manipulate airplane mode based on my location as determined by the wifi SSID to which my phone is connected. I ALSO would like to be able to use Android Pay. Unfortunately, Android Pay doesn't work unless I remove SU from the /su/xbin_bind folder, and if I do that, then Secure Settings doesn't work.
I attempted to use tasker to automate the renaming of the SU file when the Android Pay app is started and then rename the file back to SU after Android Pay closes, but the results only work sometimes... it's flaky at best and I don't know why. Sometimes Android Pay works, sometimes not, other times Secure Settings Works, and sometimes not.
Does anyone have any suggestions for me? Is there going to be an update to Secure Settings so it will work with systemless root without having the create the symlinks? Is there a way to use Tasker to turn off the cell radios only without the need for the Secure Settings app? (I'm a relative novice with Tasker)
Thanks,
Adam
Oops! Posted in wrong section. Mods, please move.
mntnbkr said:
Does anyone have any suggestions for me? Is there going to be an update to Secure Settings so it will work with systemless root without having the create the symlinks? Is there a way to use Tasker to turn off the cell radios only without the need for the Secure Settings app? (I'm a relative novice with Tasker)
Thanks,
Adam
Click to expand...
Click to collapse
Don't bet on a Secure Settings update. It seems a dead project.
You can do it without secure settings, as you're rooted (as per this post)
In tasker, instead, set your task to perform Code -> Run shell -> Command: "settings put global airplane_mode_on 1; ; am broadcast -a android.intent.action.AIRPLANE_MODE --ez state true" -> Check Use Root checkbox, for going into airplane, change 1 to 0 and true to false to disable and return to normal operation.
rgawenda said:
Don't bet on a Secure Settings update. It seems a dead project.
You can do it without secure settings, as you're rooted (as per this post)
In tasker, instead, set your task to perform Code -> Run shell -> Command: "settings put global airplane_mode_on 1; ; am broadcast -a android.intent.action.AIRPLANE_MODE --ez state true" -> Check Use Root checkbox, for going into airplane, change 1 to 0 and true to false to disable and return to normal operation.
Click to expand...
Click to collapse
Thanks for the reply and info! I'm not terribly proficient with Tasker, but I'm going to give your suggestion a shot. If it works, that would be great!:good:

Categories

Resources