Remove wifi access - Android Q&A, Help & Troubleshooting

Hi,
I have rooted android 4.2 tablet.
I would like to destroy my wifi.
If I will remove MAC adress (if it possible??) will it make the job? I thought that would be possible through software code. or remove some systems folder.
also, if there is an option to remove the wifi icon from status bar and also from setting menu that would be great. I will turn it off then remove those symbols.
I need help with those things. if you have other better ideas I'll be happy to hear.
Thank you.

oriels said:
Hi,
I have rooted android 4.2 tablet.
I would like to destroy my wifi.
If I will remove MAC adress (if it possible??) will it make the job? I thought that would be possible through software code. or remove some systems folder.
also, if there is an option to remove the wifi icon from status bar and also from setting menu that would be great. I will turn it off then remove those symbols.
I need help with those things. if you have other better ideas I'll be happy to hear.
Thank you.
Click to expand...
Click to collapse
This by far is the strangest post I have ever encountered in all my time on xda, anyway, I don't think it's possible, atleast with simple ways, for removal of options from quick tiles and settings you will need to mod the settings and systemui which will make it impossible to access wifi on/off option which in turn will remove wifi in a sense. But doing it takes some advanced knowledge on the workings and manipulation of Android system files.

Mufrad said:
This by far is the strangest post I have ever encountered in all my time on xda, anyway, I don't think it's possible, atleast with simple ways, for removal of options from quick tiles and settings you will need to mod the settings and systemui which will make it impossible to access wifi on/off option which in turn will remove wifi in a sense. But doing it takes some advanced knowledge on the workings and manipulation of Android system files.
Click to expand...
Click to collapse
:laugh: I need it to block the internet for some reasons.
Does it possible with any firewall or specific app to block the internet?

oriels said:
:laugh: I need it to block the internet for some reasons.
Does it possible with any firewall or specific app to block the internet?
Click to expand...
Click to collapse
I don't think any app will help you turn wifi off if someone intentionally wants to use wifi on the device, a firewall can only stop apps from accessing the internet. But maybe you can try a method that I am not 100% sure about but it worked for some people, go to build.prop the find the lines;
wifi.interface=
wifi.supplicant_scan_interval=
And delete them, or if those lines aren't present then go to system>etc>wifi, find the files which are named "bcmdhd_" and delete them and reboot, but I definitely recommend taking a backup with a custom recovery before doing either of the two because these edits might cause adverse side effects or might bootloop your device, so use caution. Hope it helps.

Mufrad said:
I don't think any app will help you turn wifi off if someone intentionally wants to use wifi on the device, a firewall can only stop apps from accessing the internet. But maybe you can try a method that I am not 100% sure about but it worked for some people, go to build.prop the find the lines;
wifi.interface=
wifi.supplicant_scan_interval=
And delete them, or if those lines aren't present then go to system>etc>wifi, find the files which are named "bcmdhd_" and delete them and reboot, but I definitely recommend taking a backup with a custom recovery before doing either of the two because these edits might cause adverse side effects or might bootloop your device, so use caution. Hope it helps.
Click to expand...
Click to collapse
Thank you.!!
I found that line: "wifi.interface=wlan0" but didn't found "wifi.supplicant_scan_interval=".
Anyway I deleted that line. At first WI-FI woreked well but after reboot it stoped.
Now it show "WIFI" symbol and I can enter to wifi interface but he can't find any of the lans available. and the lans I used to connect it say "out of range" even I near the router. That enough for me and that is what I wanted.!!
Thank you!

oriels said:
Thank you.!!
I found that line: "wifi.interface=wlan0" but didn't found "wifi.supplicant_scan_interval=".
Anyway I deleted that line. At first WI-FI woreked well but after reboot it stoped.
Now it show "WIFI" symbol and I can enter to wifi interface but he can't find any of the lans available. and the lans I used to connect it say "out of range" even I near the router. That enough for me and that is what I wanted.!!
Thank you!
Click to expand...
Click to collapse
No problem, glad I could help you out. Still the strangest request ever. Lol. Take care buddy.

Related

[Q] Different security settings based on wifi connection/gps?

I cart my Transformer Prime back and forth between campus and home every day, and there's important enough information on my tablet that I use as complicated a swipe pattern as I could possibly make to keep it secure.
Except it's a royal pain in the butt when I'm at home. I tried both just dealing with it and changing the setting every time I got to either place but got annoyed with both solutions. Plus, with Tasker installed I always ask myself why do something when I can automate it?
I'm just wondering if what's asked in the thread title is possible, and if so, how? Thanks guys.
I thought tasker or a similar app could do something like that. Or find a widget or toggle button for THST feature you want.
I'm sure that tasker could do it, but on my own I haven't been able to figure out to have it change depending on which wifi network I connect to.
irishtexmex said:
I'm sure that tasker could do it, but on my own I haven't been able to figure out to have it change depending on which wifi network I connect to.
Click to expand...
Click to collapse
I'm sure that there are apps out there that let you set different user profiles. I would think that would include everything.
Bob

Yet Another Wifi Question: Unrequested Shifts to AlwayOn...

Hey All,
I'm S-On and on the latest stock firmware, and some rendition of the latest OTA (I got there from the Global Leak OTA and fastboot flashing the zipfile, OTA-Global-Stock-4.05.605.14 710RD-Rooted, I found in one of the development forums here on xda-developers).
My question relates to this scenario: I arrive home, turn on my wifi and check that I've set the wifi advanced setting to leave wifi enabled "Only when plugged in". Then, I connect to my access point. When I immediately relook at the wifi advanced settings, I see that it's been switched to "Always," without my requesting that that happen. I don't know that I recall this ever happening before, and now it's completely repeatable.
I'd like to have my setting stay on leave on only if connected. Can anyone offer up a way to overcome it getting changed to always?
Thanks!
cheers,
john
jrredho said:
Hey All,
I'm S-On and on the latest stock firmware, and some rendition of the latest OTA (I got there from the Global Leak OTA and fastboot flashing the zipfile, OTA-Global-Stock-4.05.605.14 710RD-Rooted, I found in one of the development forums here on xda-developers).
My question relates to this scenario: I arrive home, turn on my wifi and check that I've set the wifi advanced setting to leave wifi enabled "Only when plugged in". Then, I connect to my access point. When I immediately relook at the wifi advanced settings, I see that it's been switched to "Always," without my requesting that that happen. I don't know that I recall this ever happening before, and now it's completely repeatable.
I'd like to have my setting stay on leave on only if connected. Can anyone offer up a way to overcome it getting changed to always?
Thanks!
cheers,
john
Click to expand...
Click to collapse
My guess is you have an app that has permission to activate WiFi, or something is corrupt... Try Permission Explorer and look for apps that have WiFi control (I don't remember how the actual permission is worded), if you can't find anything then I think a factory default is in order and try it before restoring any apps.
acejavelin said:
My guess is you have an app that has permission to activate WiFi, or something is corrupt... Try Permission Explorer and look for apps that have WiFi control (I don't remember how the actual permission is worded), if you can't find anything then I think a factory default is in order and try it before restoring any apps.
Click to expand...
Click to collapse
Hey Ace,
Thanks for pointing Permission Explorer out to me. I'll give it a try and let you know what I learn. As you might expect, I'd pretty much like to avoid going the route of the factory default reset...
Thanks again,
john
jrredho said:
Hey Ace,
Thanks for pointing Permission Explorer out to me. I'll give it a try and let you know what I learn. As you might expect, I'd pretty much like to avoid going the route of the factory default reset...
Thanks again,
john
Click to expand...
Click to collapse
Do it a few times and a factory reset is easy... I switch ROMs in my Rezzy so much I don't even hesitate anymore. It is a basic troubleshooting tool and done correctly you won't lose anything.
Sent from my Nexus 4 using Tapatalk

[Q] Having some issues with aggressive wifi to cellular handover

My issue is that I am constantly stepping outside, out of reach of my modem, and I'll have to turn my Wi-Fi off or my phone will stay connected to the the incredibly weak wifi signal.
So, I tried turning the dev option for "aggressive wifi to cellular handover" on thinking this would help and allow me to just leave wifi turned on while stepping outside and have it switch over to data without my assistance. And it worked, for the most part (it still held on to wifi signals *I* would deem too slow, but not often), BUT whenever I reboot the option in dev settings un-ticks so I have to go back in and turn the setting back on.
My question is, is there a way to prevent the aggressive wifi to handover from turning off on reboots, or is there another option I could try that may even be more aggressive?
Thank you in advance!
Have you tried the setting to automatically disconnect from a poor WiFi signal? It's under WiFi>settings>advanced WiFi>avoid unstable connections
Juggernaut79 said:
Have you tried the setting to automatically disconnect from a poor WiFi signal? It's under WiFi>settings>advanced WiFi>avoid unstable connections
Click to expand...
Click to collapse
That says it'll automatically disconnect from no connection, but I still have an internet connection off the wifi, it's just like slow as all get out
6NomoN6 said:
That says it'll automatically disconnect from no connection, but I still have an internet connection off the wifi, it's just like slow as all get out
Click to expand...
Click to collapse
For me it disconnects from a weak signal.
I'll be back!
6NomoN6 said:
My question is, is there a way to prevent the aggressive wifi to handover from turning off on reboots, or is there another option I could try that may even be more aggressive?
Click to expand...
Click to collapse
I have the same problem, discovered the same solution, and have run into the same issue with no persistence after reboot! I'm googling now for a solution because going into developer options every reboot is incredibly damaging to the smoothness of the user experience I've worked so hard to customize.
Whether I find a solution or not I'll post in this thread again to let you know. If the latter is the result I will personally either write a tasker script, init.d script, or if nesseceary an Xposed module depending on factors I've yet to research. Can you Beta test for me if it comes to that? Maybe it's as simple as editing build.prop, I don't know yet, but I wanted to make this post ASAP so that you know you aren't alone on this and someone capable is working on the issue. For a developer like myself tapping menus every boot is unacceptable! Hopefully there is already a fix out there in the wild and I won't have to do any work.
P.S. Don't forget to also enable cellular radio always active for fast network switching at the price of some battery life. It's a few options below aggressive handover in Developer Options and thank jolly the setting is sticky unlike it's counterpart. Also, sorry for the poor turnout on your thread. I figured there'd be 100 posts by now, but at least you got my attention.
Edit 1: "setprop persist.{i-dont-know-yet}" in terminal emulator may do the trick. Checking for variables for the setting we want now. Hopefully they exist!
Edit 2: :laugh: I FOUND EVERYTHING I NEED FOR A FIX!!! However, an Xposed module will be required. I need some sleep but I should have something by tomorrow night. In case any other developers are reading this, here is the information required to make things work the way Iwe want them to:
http://android.stackexchange.com/qu...-cellular-handover-option-in-developer-settin
https://android.googlesource.com/pl...ndroid/settings/DevelopmentSettings.java#1061
Edit 3: Now that I know how this setting actually works together with wifi_watchdog (see source code WifiWatchdogService.java) I think I may have changed my mind regarding how to go about solving the root problem at hand (network switching) which this setting really does a "hack" job of taking care of. The developer that made it decided on a arbitrary, static number to be used for decreasing the connected WiFi AP's RSSI value (thereby making handover more "aggressive") instead of exposing any kind of grainular control to the user. So yes I could easily make the developer options setting stick but a much better approach would be to hook the method android.net.wifi.WifiManager with an Xposed module and implement additional logic to the network switching. The great thing about this method is there is the possibility for adding additional checks besides just periodically pinging the current primary dns server and monitoring the delay and timeout of the result. I also know for a fact modding the framework persists after reboot which is afterall all we originally wanted to have. The second or alternative route would be to edit the secure settings database using SQLite. The pro of this method is it is guranteed to be compatible with nearly ANY rom, won't break anything after an update, and doesn't use resources like an Xposed module. The con is that you are limited to the variables built into android, can't implement any new logic, and the worst is that I'm not even sure the modified tables would even persist after a reboot (or network state change for that matter) which if true would defeat the original purpose of this expedition. I'll make a fourth edit to this post after I've thought about and considered how to best proceede to reaching the goal of having a solution to our problem. :victory:
FoxysWorkplace said:
I have the same problem, discovered the same solution, and have run into the same issue with no persistence after reboot! (...)
Click to expand...
Click to collapse
First of all, thank you so very much for looking into this!
I'm sorry for not responding sooner, but I had honestly lost hope of finding a solution to this issue mainly because I am not a developer myself and haven't the foggiest how to get started with it on Android
But when I opened my notifications and saw a response to this post (!) I got *extremely* excited, and as I read through your post, my excitement intensified to great happiness!
I can't express my gratitude, but I would be more than happy to help with anything that I can!
Any news on this?
Has anyone found a solution?
Had anyone found a solution that doesn't require root access?
Can we expect that fourth update any time soon? Any solution without xposed?
I'm following this thread in the event that someone finds a non-rooted solution. The Galaxy S7 really cannot be rooted without a serious performance hit (and yes I've gone through the two or three best/popular lag-fix solutions) but it works best in stock :-/

Let's kill the "Mobile data is turned off" notification!!

Hi Fellow ATT S7E Owners,
Some of us have chosen to stay Stock on this phone. My primary reason is not tripping Knox and using Samsung Pay. I have been trying to fix most issues or workarounds:
1. AdBlocking
2. Mobile Data toggle
3. Package Disabler to turn down the bloat
But for us ATT users, there is this annoying continuous notification that pops when we turn off data for the first time, after a reboot, EVER IF, we have WiFi on ! It goes, "Mobile data is turned off."
Googled and researched ways of getting rid of this annoying message. Wondering if any of you had success with it? Getting all of us to talk about it to see if there is a solution, thank you!
ProFragger said:
Hi Fellow ATT S7E Owners,
Some of us have chosen to stay Stock on this phone. My primary reason is not tripping Knox and using Samsung Pay. I have been trying to fix most issues or workarounds:
1. AdBlocking
2. Mobile Data toggle
3. Package Disabler to turn down the bloat
But for us ATT users, there is this annoying continuous notification that pops when we turn off data for the first time, after a reboot, EVER IF, we have WiFi on ! It goes, "Mobile data is turned off."
Googled and researched ways of getting rid of this annoying message. Wondering if any of you had success with it? Getting all of us to talk about it to see if there is a solution, thank you!
Click to expand...
Click to collapse
There is very simple solution . Turn your data on. If you worry that you get overages turn off some background data for apps. When you on WiFi your mobile data is not in use.
For all the hype about having control over your notifications, not being able to change this one is super annoying. I'm also guessing AT&T is trying to get us to us as much data as possible so they change charge us more.
norbarb said:
There is very simple solution . Turn your data on. If you worry that you get overages turn off some background data for apps. When you on WiFi your mobile data is not in use.
Click to expand...
Click to collapse
It shouldn't have to be this way, if I don't want data on, don't you agree? Why have needless signal processing or searching when I don't need something? ?
aggiesherpa said:
For all the hype about having control over your notifications, not being able to change this one is super annoying. I'm also guessing AT&T is trying to get us to us as much data as possible so they change charge us more.
Click to expand...
Click to collapse
Tell me about it bud! Wish we had a way to slay it... For people wondering what this is, I'm attaching a screen shot...
The only way to get rid of it for now which is not very fun btw, Swipe right on the notification until you see the gear on the left and tap the gear. After that tap "phone" with the green icon next to the word "phone" and then tap "force stop".
So far that's the only way to get rid of it.
Vicpdx18 said:
The only way to get rid of it for now which is not very fun btw, Swipe right on the notification until you see the gear on the left and tap the gear. After that tap "phone" with the green icon next to the word "phone" and then tap "force stop".
So far that's the only way to get rid of it.
Click to expand...
Click to collapse
Thanks, but couldn't that endanger us getting a phone call, necessarily 100% of the time?
any news ? any way to disable it permanently ?
Interesting. I've never seen this on my S7E & I have mobile data permanently off.
Is it solved yet???
ProFragger said:
It shouldn't have to be this way, if I don't want data on, don't you agree? Why have needless signal processing or searching when I don't need something?
Tell me about it bud! Wish we had a way to slay it... For people wondering what this is, I'm attaching a screen shot...
Click to expand...
Click to collapse
Hello! did you found a way to solve this problem? and what theme were you using when you took that screen shot? thank you!!
ChavaG. said:
Hello! did you found a way to solve this problem? and what theme were you using when you took that screen shot? thank you!!
Click to expand...
Click to collapse
No Sir it was never solved and I moved on to the S8+.
The Theme I was using was called, "Red Strokes" I believe with custom icons and a wallpaper.
Hope someone cracks this!
Galaxy s9, Android 8.0.0 here. Following worked for me, check if it works for you:
1. Go to Settings
2. Go to Developer Options
3. Look for "Keep Mobile data turned on". Uncheck that.
And hopefully, voila...
EDIT:
This method does not work anymore...
1. Settings
2. Apps
3. Select Options, then Show System Apps
4. Locate "Phone" (Maybe there will be 3)
5. Select every "Phone" App that you find and select "Force to Stop"
and the message dissapers.
(If you restart the phone you will need to do this again).

Can't change static wifi settings

Just wondering if anyone else has this issue. We have two networks at home and I need to switch between them quite often. I do so by changing the default gateway on my statically-set wifi settings, but since Pie the changes aren't saved. I can't even change my IP without forgetting and re-adding the connection. I change the gateway IP then go back (since I see no "save" button) but googling "ip" shows I'm still on the original network and if I go back into the wifi settings I can see it hasn't changed.
This is super frustrating. Am I alone? Is there a fix for this?
At the bottom right corner should be the Save-Button. Maybe you have to hide the keyboard to make it visible
profi_fahrer said:
At the bottom right corner should be the Save-Button. Maybe you have to hide the keyboard to make it visible
Click to expand...
Click to collapse
How odd. I don't remember seeing that but I see it now. I'll check whether it's different when editing the settings on my home wifi after work. Hopefully I was just blind because I'd like to be able to save my wifi settings.
profi_fahrer said:
At the bottom right corner should be the Save-Button. Maybe you have to hide the keyboard to make it visible
Click to expand...
Click to collapse
Right so I tested it again. Definitely wasn't blind. I was already pressing Save without noticing but yeah, it still doesn't work. Very much broken. Does it actually save any changes for you? For instance, if you go in and attempt to change your IP address, are you able to save it?
I've tried it, and it also doesn't save any changes. Then this is a bug of the Firmware.
profi_fahrer said:
I've tried it, and it also doesn't save any changes. Then this is a bug of the Firmware.
Click to expand...
Click to collapse
Yeah I assumed it was but I wasn't certain if it was just me or not. Thanks for testing that and confirming! I'm on live chat with Samsung atm and the dude is checking with his phone, which is also on Pie apparently. Hopefully he can file a bug report if he can replicate.
Was a bug ever filed for this? I have the same. Issue. Cannot get it to change and save the static ip
Brensplitloop said:
Was a bug ever filed for this? I have the same. Issue. Cannot get it to change and save the static ip
Click to expand...
Click to collapse
I'm not sure when it changed but I noticed recently that on the current update it's fixed for me. I'm on Android 9 Pie. The exact build number in settings is PPR1.180610.011.G965FXXS4CSDH, if that's helpful.
If you still can't get it working, tell the network to "forget" and then re-add it, and set the static IP before you save for the first time and that should work.
That workaround works thanks.
hi guys, i tried on build PPR1.180610.011.N950FXXS7DSH1 its not saving wither with workaround or with normal way.
Any suggestio
Clonkex said:
I'm not sure when it changed but I noticed recently that on the current update it's fixed for me. I'm on Android 9 Pie. The exact build number in settings is PPR1.180610.011.G965FXXS4CSDH, if that's helpful.
If you still can't get it working, tell the network to "forget" and then re-add it, and set the static IP before you save for the first time and that should work.
Click to expand...
Click to collapse
Forget and add again with static settings works! Thanks!
Note 8

Categories

Resources