S21 - Enabling WIFI in airplane mode?

Mat

New member
Hello,

Looking to see if this is possible: is there any way to enable wifi with a macro while airplane mode is enabled? MD helper shows an error "failed to enable wifi state - cannot set when in airplane mode".

Anyone know if there is a way around this? TIA
 

Mat

New member
Sorry I should have added - this is doable manually by just pushing the WIFI button, so not sure why it couldn't be done through macro somehow...thanks again
 

Josué García

MacroDroid Support
Staff member
If you have adb or root permissions, you can modify a system setting so that airplane mode does not affect Wi-Fi (current Wi-Fi status)
 

dhj49er

Well-known member
What do you change to enable WiFi in airplane mode.
Attached are the 2 settings from my phone (not an S21)
 

Attachments

  • Screenshot_2021-10-28-14-27-38-95_01c085aa929b1599fddd4ea6d6812c2d.jpg
    Screenshot_2021-10-28-14-27-38-95_01c085aa929b1599fddd4ea6d6812c2d.jpg
    43.9 KB · Views: 13

dhj49er

Well-known member
I'm on Android 11, but I expect Google haven't removed the restrictions relating to apps not being able to directly control WiFi in airplane mode.

I assume this is your issue - WiFi ON action in MD does nothing.

Unfortunately , the only way I know around this issue is to UI integration to click on the WiFi icon in the status bar. This only works with the screen ON.

On my Oppo there is a system setting which enables the status bar on the lock screen. So if the screen is off and WiFi needs to be turned on, I enable this setting, turn on the screen and use UI actions to click on the WiFi icon, then turn off the screen and disable the setting. It works a treat and the screen is on for less than a second. Avoids having to unlock the screen.
 

dkeidh

New member
Using the action system configuration > global (airplane_mode_radios and airplane_mode_toggleable_radios)
But this takes root or adb, you can see more about adb guide here or tutorial from @Jacob L here
Thanks! I just used ADB to run this command: settings put global airplane_mode_radios cell,bluetooth,nfc,wimax. Now when I flip to airplane mode, I cannot text or make phone calls. I can do other things that require data. Any thoughts?
 

Josué García

MacroDroid Support
Staff member
Thanks! I just used ADB to run this command: settings put global airplane_mode_radios cell,bluetooth,nfc,wimax. Now when I flip to airplane mode, I cannot text or make phone calls. I can do other things that require data. Any thoughts?
Delete "cell"
 
Top