Data toggle on wifi connect/disconnect on MM - General Questions and Answers

Hello i have a problem, on LL i have a tasker profile wich toggle data on wifi connect/disconnect, but on MM i tried tasker and several options (macrodroid, securesettings, etc) with no results (i guess the reason is about MM permissions)
Anyone have the same problem and how resolved?
Thanks

That profile seems unneccessary as your mobile data automatically disconnects as soon as you have a wifi connection

No, I wanted to disable data
But i solved with a update in macrodroid, the script works again

Related

[Q] Cannot turn off wifi from settings menu, is there any config file to disable it?

Hi everyone,
My phone's wifi module (also bluetooth) is broken by my careless,
the water damaged it.
I can use all other functions normally.
But the problem is if I turned on wifi undesignedly, it then cannot be turned off.
The status of wifi is "Error". After reboot, the status is "on", but not work.
Thus, the system would defaultly disable using 3G to connect internet because the system considers the wifi is on.
I can do nothing unless restore the factory setting to enable the 3G internet connection.
What I want to know is that is there any way to turn off the wifi by force?
I guess (not sure) there is a config file that records all settings.
Maybe I can just edit it and change the status of wifi to off.
So where does the file locate?
Any other way that can do?
PS:
I also tried many wifi management apps to turn off it indirectly, but none of them works.
I think there must be a way to change the status of wifi except restore factory setting.
Please help me if you have an idea.
I think it would be not difficult if you just have the related knowledge.
Thank you very much for reading this.

Wifi constantly turns itself on

Hi!
I have a 14.71.8.falcon_umts retail german firmware @ android 4.3 + supersu rooted phone and recently I've noticed my Wi-Fi always turns itself on after some time (even in airplane mode!)
I tried disabling most user apps, disabling location services (in settings and google apps) and turning off all advanced wifi options (scanning always available, keep wifi during sleep = never, wi-fi optimisation) but no luck...
Is there maybe any way to figure out which app is turning wifi on?
Thanks for any ideas!
burma said:
Hi!
I have a 14.71.8.falcon_umts retail german firmware @ android 4.3 + supersu rooted phone and recently I've noticed my Wi-Fi always turns itself on after some time (even in airplane mode!)
I tried disabling most user apps, disabling location services (in settings and google apps) and turning off all advanced wifi options (scanning always available, keep wifi during sleep = never, wi-fi optimisation) but no luck...
Is there maybe any way to figure out which app is turning wifi on?
Thanks for any ideas!
Click to expand...
Click to collapse
That sounds like hardware...Do a reset to see if that helps. Not sure about rooted devices though.
Cheers,
Nicole
Try going into settings, wifi, Advanced and check the option to leave the wifi on during idle only when connected.
burma said:
Hi!
I have a 14.71.8.falcon_umts retail german firmware @ android 4.3 + supersu rooted phone and recently I've noticed my Wi-Fi always turns itself on after some time (even in airplane mode!)
I tried disabling most user apps, disabling location services (in settings and google apps) and turning off all advanced wifi options (scanning always available, keep wifi during sleep = never, wi-fi optimisation) but no luck...
Is there maybe any way to figure out which app is turning wifi on?
Thanks for any ideas!
Click to expand...
Click to collapse
Google Maps recently gained a new permission to be able to connect/disconnect wifi. Try uninstalling or freezing Google Maps and see if the problem stops.
abmantis said:
Google Maps recently gained a new permission to be able to connect/disconnect wifi.
Click to expand...
Click to collapse
I didn't know about that: and then they wonder why people use Xposed FW to access App Ops.

[Q] Creating night profile on cm12 to turn off cellular data

Hi all,
I'm using cm12 and trying to create a night profile with WiFi , GPS and cellular data turned off. It seems like you can't control the data on/off with profiles. I've put data connection off and still I see that the data is on. Any suggestions?
Tnx
razco7 said:
Hi all,
I'm using cm12 and trying to create a night profile with WiFi , GPS and cellular data turned off. It seems like you can't control the data on/off with profiles. I've put data connection off and still I see that the data is on. Any suggestions?
Tnx
Click to expand...
Click to collapse
Bug in CM12 - COS 12. Use Tasker app until an update fixes it.

[Q] won't automatically reconnect to known wifi (logcat attached)

Hello,
Every known wifi network I walk into, I get an wifi connection failure and my phone does not get connected. After going to the wifi network settings and manually choose connect, there is no problem...
Also overnight, my connection get lost and when I wake up I have the same error. I have to do the same thing (manually connect to my known wifi network(s).) before I can use it...
Deleting the network and adding it again will not solve the issue. I have attached the logcat. I also have enabled extended wifi logging for the logcat.
At 16.21 I enabled wifi and it does not connect
At 16.50 I manually connect to the network
Also added a logcat during night. I loose my wifi connection over night and when I wake up, I have to manually reconnect to my wifi.... Really annoying
I have done a factory reset, with no luck. Did a rom update with full wipe, still no luck.
Did removed the data/misc/dhcp and data/misc/wifi folders and removed all known wifi networks and readded them... No luck
Using catalysm 5.1.1 with faux kernel 025u
Does anybody know what's going on?
Thnx!
Same problem for me . Already reported from a guy https://code.google.com/p/android/issues/detail?id=170078

6.0 Wifi slow to connect using quick settings tile

Hi all,
I installed the release Marshmallow factory image yesterday - MRA58K - userdata and cache wiped. I've got a very frustrating Wifi problem which wasn't present in Lollipop - connecting to Wifi via the quick settings tile is really slow.
If I toggle Wifi off and on again via the quick settings tile it takes anything between 10-15 seconds for the wifi connection to re-establish.
If I toggle Wifi off and on from the Settings --> Wifi menu the wifi connection is re-established almost instantly as expected.
Both toggle methods were almost instant in LMY48M connecting to the same router/wireless network.
I've tried various combinations of advanced wifi options, i.e. different frequency bands options (my network is 2.4ghz, so have tried 2.4ghz and automatic), network notification toggled on/off, have tried with mobile data enabled/disabled - same behavior.
Is anyone experiencing the same issue? I've opened the following bug on the android bug tracker - I'd be grateful if people could comment/star this if it affects them :good:
https://code.google.com/p/android/issues/detail?id=188806
Will root later on to see if logcat shows anything.
Cheers,
Dave.
Yeah mine is doing that same too.
And During that update I didn't wipe data.
Glad to hear it isn't just me. I actually use Better Wifi On/Off to turn wifi on/off with the screen and it does the same thing as the quick settings tile - takes 10-15 seconds to reconnect. Most annoying - I'm used to picking up my phone and having wifi working by the time I've put the unlock pattern in
Feel free to star the issue on the bug tracker...
Have the same issue though it takes more like 6 to 10 seconds to connect.
Edit: now when i think about it i don't think it's a bug. It only turns on when there's an established connection. It takes time for the DHCP to give out a new ip-adress to the phone.
Stupid google.
Sent from Pure Nexus 5
yeah its a bug.
i reported that on dev preview 3 thread also, along with other users. But in the preview it was even worse i think
I have got a workaround of sorts... If I go to location settings and enable WiFi scanning from the 3 dot menu, WiFi connects instantly using the quick setting tile. I've updated the google bug tracker, and the bug is at least assigned to an engineer now.
I'd prefer not to have WiFi scanning enabled though[emoji4]
froggy666uk said:
I have got a workaround of sorts... If I go to location settings and enable WiFi scanning from the 3 dot menu, WiFi connects instantly using the quick setting tile. I've updated the google bug tracker, and the bug is at least assigned to an engineer now.
I'd prefer not to have WiFi scanning enabled though[emoji4]
Click to expand...
Click to collapse
if you do so you will get wifi battery drain bug ( or wrong battery statistics )
here's my thered about it.. http://forum.xda-developers.com/google-nexus-5/general/guys-call-wifi-battery-drain-6-0-t3219870
i'm also facing WiFi slow to connect bug since yesterday and i wrote it in my OP but no one replied about it so i thought i'm the only one ..glad you reported it to google
Edit: i also faced critical bug of No sound at all and reported here if anyone catch-up with it plz take bug report and upload here
https://code.google.com/p/android/issues/detail?id=189194
btw it seems Google put scavenger hunt for bugs in marshmallow all are related to one another
Same here, WiFi takes long to connect via quick settings (WiFi scanning is off).
Anyone without this problem or is it affecting everyone?
Glad I found this thread. I thought it was just me. WiFi connects in a split second if I turn it on inside Settings/WiFi, but the toggle takes at least 10 seconds. I'm using a static IP, too, and I wiped my device before flashing 6.0. Hopefully the reported bug will receive priority attention. Ugh, Google, really?! It's the same on my Nexus 9.
The 6.0.1-MMB29K update fixed the WiFi toggle bug on my Nexus 5. Happy happy happy!
(Haven't updated the N9 yet.)
You're lucky you have 6.0.1! I'm on a Moto X Play and the problem still persists u less I enable the Scanning toggle in Location settings. Lucky for me I have a big battery so this doesn't really faze me too much.
I'm glad it's fixed in 6.0.1. This is true even without the Location scanning on?
Thanks for creating this thread, Dave. Glad to see I hadn't messed something up in my system settings.

Categories

Resources