Wifi enable/ disable functionality not working (even with latest helper 1.14.apk)

gauthambhat025

New member
Hey guys, Im on pixel with latest stable build. Wifi enable /disable used to work for me before the recent software update on Helper 1.10.apk. Now wifi enable/disable functionality is not working. The helper fails with the error 'Failed to set wifi state'. Screenshot attached. Used to work perfectly before the last software update. I also tried installing the latest helper 1.14.apk (using adb bypass install), granted all permissions, also granted adb secure settings permission. Still wifi functionality is broken. Pls help.
 

Attachments

  • Screenshot_20240116-121207.png
    Screenshot_20240116-121207.png
    392.2 KB · Views: 8

Dimlos

Well-known member
We have confirmed that Wi-Fi can be successfully switched in the following environment.
It is very likely that your settings are incorrect.

Pixel 8 Pro / MacroDroid v5.40.4 Pro / MacroDroid Helper 1.14
 

gauthambhat025

New member
I too have the same version of both apps. I have tried restarting, force closing helper & main app but still unable to toggle. Any idea the reason for this error in the screenshot
 

Endercraft

Moderator (& bug finder :D)
Likely a permission error, check MD Helper permissions like nearby devices or wifi permission
 

Dimlos

Well-known member
If you uninstall the helper and then reinstall it, start the helper and grant all permissions, you should be fine.
 

gauthambhat025

New member
Is there any mention of a wifi permission anywhere? What's your phone exactly?
Pixel 7 Pro. Stable build. Wifi control permission in special access is given. Screenshots attached. Is there any way I can share any detailed log or debug logs to analyse the cause?
 

Attachments

  • Screenshot_20240118-002337.png
    Screenshot_20240118-002337.png
    265.6 KB · Views: 7

MacroDroidDev

Administrator
Staff member
Please check that you have disabled battery optimization on the helper app (this is essential else it won't work).
 

gauthambhat025

New member
I found the reason. I was using system UI tuner in which I had tweaked airplane mode settings to not disable wifi. Apparently even after reverting the setting in system ui app, seems the setting still continued. I had to manually reset it using adb command - "adb shell settings delete global airplane_mode_radios" (as detailed in the xda link below)
Link of detailing the adb -

System ui tuner App link -

Now, wifi toggling working with the helper app. Finally, I fixed it. Thanks everyone for the help
 
Top