옛날 안드로이드 기기에서 airplane mode toggle


https://stackoverflow.com/questions/10506591/turning-airplane-mode-on-via-adb


  • Windows/DOS: adb shell am start -a android.settings.AIRPLANE_MODE_SETTINGS & adb shell input keyevent 19 & adb shell input keyevent 23 & adb shell input keyevent 4
  • Unix/Linux: adb shell am start -a android.settings.AIRPLANE_MODE_SETTINGS ; adb shell input keyevent 19 ; adb shell input keyevent 23 ; adb shell input keyevent 4




adb 설치 번외


Ubunt 에서 adb tool 설치 하기

https://www.linuxbabe.com/ubuntu/how-to-install-adb-fastboot-ubuntu-16-04-16-10-14-04


apt 이용

$ apt-get install android-tools-adb


OS X 에서 adb 설치

https://stackoverflow.com/questions/31374085/installing-adb-on-mac-os-x


homebrew 이용


$ brew cask install android-platform-tools

+ Recent posts