Answer the question
In order to leave comments, you need to log in
How to enable Airplane Mode via ADB?
How to enable Airplane Mode via ADB? without the help of keyevents and opening the settings module, there is also such a command:
adb shell settings put global airplane_mode_on 1
but it calls the flight mode only visually, help someone who fumbles, while preferably without root, thanks :)
Answer the question
In order to leave comments, you need to log in
From the first link on Google:
To enable Airplane Mode, use the following commands:
adb shell settings put global airplane_mode_on 1
adb shell am broadcast -a android.intent.action.AIRPLANE_MODE
To disable Airplane Mode, you must set the value to 0 and broadcast the intent again:
adb shell settings put global airplane_mode_on 0
adb shell am broadcast -a android.intent.action.AIRPLANE_MODE
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question