Page 1 of 1
Set airplane mode without root?
Posted: 06 Mar 2018 17:18
by Wibbly
Can this be done (Oreo 8.1) by granting a permission via ADB?
Re: Set airplane mode without root?
Posted: 07 Mar 2018 10:40
by Desmanto
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.
Re: Set airplane mode without root?
Posted: 07 Mar 2018 13:20
by Wibbly
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
Re: Set airplane mode without root?
Posted: 07 Mar 2018 14:14
by Desmanto
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
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.
Re: Set airplane mode without root?
Posted: 07 Mar 2018 15:25
by Wibbly
Thanks - that seems more relaible...