Set airplane mode without root?
Moderator: Martin
Set airplane mode without root?
Can this be done (Oreo 8.1) by granting a permission via ADB?
Re: Set airplane mode without root?
I am pessimist it will works. But you can try to use action Set System Action. You have to grant write secure setting to Automagic. Then you can try to change the value of airplane_mode_on to 1. Wait and see if the phone respond to that change and switch to airplane mode. At mine, it doesn't work, but the setting glitch. I have to tap airplane mode 2 times to reset the airplane mode.
Other method is using Control UI. Invoke the quickSettings() and tap the Airplane mode icon. If quick setting won't work, you need to use launch app to open settings, use control UI to navigate to the airplane mode and enable it.
Other method is using Control UI. Invoke the quickSettings() and tap the Airplane mode icon. If quick setting won't work, you need to use launch app to open settings, use control UI to navigate to the airplane mode and enable it.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: Set airplane mode without root?
Setting airplane_mode_on to 1 didn't work on Pixel 2 on 8.1, sadly
Quicksettings approach works excpt if the phone happens to be running Android Auto, where the Quicksettings shade comes down, but the button isn't clicked
Quicksettings approach works excpt if the phone happens to be running Android Auto, where the Quicksettings shade comes down, but the button isn't clicked
Re: Set airplane mode without root?
Then you only have the last resort, shortcut settings to airplane. At mine, the location is at com.android.settings.Settings$WirelessSettingsActivity. From there I only need single control UI click to toggle the airplane. Try to find yours at the launch app - settings. Usually it is the advanced setting at wireless/network. Consider it is android auto, I think you mind the split seconds UI distraction caused by the launch app + Control UI.Wibbly wrote:Setting airplane_mode_on to 1 didn't work on Pixel 2 on 8.1, sadly
Quicksettings approach works excpt if the phone happens to be running Android Auto, where the Quicksettings shade comes down, but the button isn't clicked
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: Set airplane mode without root?
Thanks - that seems more relaible...