Airplane mode not disabling/enabling consistently

chaoscreater

Active member
Do these secure system settings work on all phones?
Not sure. I certainly haven't used all the phones and therefore I wouldn't be able to verify this. Just give it a try yourself and see?

Also, when you change the SECURE settings, you can tell it to use the MacroDroid Helper app to run it. The Helper app uses older APIs and so this could potentially help. Also, pay attention to the setting you're choosing. SECURE and GLOBAL setting are not the same. In my previous post, if I change from SECURE to GLOBAL for the same key-value pair, it wouldn't work.
 

Jotzi

New member
Anyway, I figured out what the problem is and it seems to be a bug with MacroDroid. If you manually adjust the default voice assist setting OUTSIDE of MacroDroid's context, then MacroDroid will not recognize this setting change. Instead, what you need to do is change the default voice assist to something else (e.g. Google Assistant). You will get a popup notification from MacroDroid that permission setting is missing. Click on the notification, it will take you to the same default voice assist setting page. Change it to MacroDroid and this time the setting will get recognized and MacroDroid will be able to toggle airplane mode on/off without issues. Alternatively, you can ignore the notification popup and just go into your macro. You should find a purple highlight warning for the airplane mode action (or whatever action that requires MacroDroid running as default voice assist). It will prompt you to change the default voice assist and just change it there.

Basically, you are taken to the same setting page, but you have to go through MacroDroid to get to that setting, rather than get to the setting OUTSIDE of the MacroDroid context.

I think the same is true for when you adjust other permission settings, such as Accessibility. I've seen this for other apps like Greenify, where if you change it outside of the app context, it doesn't recognize that the Acessibility setting is turned on.
Thank you for the solution.
This bug still persists.
 

dhj49er

Well-known member
Thank you for the solution.
This bug still persists.
I had phone issues using the voice assist to change airplane phone. For example on a Samsung S22 it would, every couple of days, stop the Macrodroid accessibility services and stop Macrodroid as the voice assist. It didn't change the settings just stopped the services , so several macros stopped working correctly. I developed macros to turn these features back on.
I do not remember seeing the bug you mention. All my voice assist issues were phone related.
With the latest versions of Macrodroid I use the new ADB hack option to control Airplane mode and have had no issues using it. Also it means I can leave voice assist app to the phone default setting of Google.
On my current phone, Xperia 5 iv, I don't have any of the issues I was experiencing on my S22. Both on Android 12. Samsung phone full of bloatware and the Sony close to Android stock.
 

Endercraft

Moderator (& bug finder :D)
I had phone issues using the voice assist to change airplane phone. For example on a Samsung S22 it would, every couple of days, stop the Macrodroid accessibility services and stop Macrodroid as the voice assist. It didn't change the settings just stopped the services , so several macros stopped working correctly. I developed macros to turn these features back on.
I do not remember seeing the bug you mention. All my voice assist issues were phone related.
With the latest versions of Macrodroid I use the new ADB hack option to control Airplane mode and have had no issues using it. Also it means I can leave voice assist app to the phone default setting of Google.
On my current phone, Xperia 5 iv, I don't have any of the issues I was experiencing on my S22. Both on Android 12. Samsung phone full of bloatware and the Sony close to Android stock.
I do know about accessibility and assistant, and made macros for that too but I don't know about airplane mode because it doesn't matter if I use ADB or assistant it doesn't work.
 

dhj49er

Well-known member
I do know about accessibility and assistant, and made macros for that too but I don't know about airplane mode because it doesn't matter if I use ADB or assistant it doesn't work.
I've had quite a few phones over the last couple of years and never experienced airplane not working via voice assistant, until the phone stopped the service.
The adb hack option is relatively new, but so far I've had zero issues using it. So is your issue a bug or a phone issue?
 

Endercraft

Moderator (& bug finder :D)
I've had quite a few phones over the last couple of years and never experienced airplane not working via voice assistant, until the phone stopped the service.
The adb hack option is relatively new, but so far I've had zero issues using it. So is your issue a bug or a phone issue?
Just Xiaomi doing its thing, probably.
 

dhj49er

Well-known member
Just Xiaomi doing its thing, probably.
I suspect you are right.

I had a Xiaomi 12 recently...but didn't keep it very long.
There were 2 issues that were the deal-breaker.
The first was not allowing gestures when using third party launcher. I've used gestures and Nova launcher on all my phones for years. I had to have Nova, so I tried using buttons, but couldn't get use them.
The second was the unnecessary warning screens with 10s waits when changing each of the accessibility settings. Unfortunately rather than warn the user once, the warnings popped up every time on every setting. I couldn't live with it.
While Xiaomi persist with the above, I will never consider buying another Xiaomi phone.
 

Endercraft

Moderator (& bug finder :D)
The second was the unnecessary warning screens with 10s waits when changing each of the accessibility settings. Unfortunately rather than warn the user once, the warnings popped up every time on every setting. I couldn't live with it.
I hate those too, but I live with it (especially with ADB hack).
 
Top