0% found this document useful (0 votes)
153 views

ADB Commands

The document provides various ADB shell commands for getting device information, registering and deregistering devices, controlling device settings like unlocking, airplane mode, wifi, and clearing application data for a specific package. Some of the commands listed are to get the device serial number, OS version, model, brand, unlock the device, enable/disable airplane mode, enable/disable wifi, and connect to a wifi network.

Uploaded by

sangeethaag19
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
153 views

ADB Commands

The document provides various ADB shell commands for getting device information, registering and deregistering devices, controlling device settings like unlocking, airplane mode, wifi, and clearing application data for a specific package. Some of the commands listed are to get the device serial number, OS version, model, brand, unlock the device, enable/disable airplane mode, enable/disable wifi, and connect to a wifi network.

Uploaded by

sangeethaag19
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

adb devices adb get-serialno adb shell getprop ro.build.version.release adb shell getprop ro.build.display.

lay.id adb shell cat /proc/version To get the incremental platform no: adb shell getprop ro.build.version.increment
al adb shell getprop ro.product.model adb shell getprop ro.product.brand adb shell getprop ro.product.device To register device : adb shell am broadcast -a android.intent.action.register -e
username <username> -e password <passwd> -n com.amazon.kdsotter/.commandCenter To Deregister device : adb shell am broadcast -a android.intent.action.deregiste
r -n com.amazon.kdsotter/.commandCenter To unlock a device : adb shell input keyevent 82 To turn on airplane mode : adb shell am broadcast -a android.intent.action.FMODE
-e fmode off -n com.amazon.kdsotter/.commandCenter To turn off airplane mode : adb shell am broadcast -a android.intent.action.FMOD
E -e fmode on -n com.amazon.kdsotter/.commandCenter To turn on wifi : adb shell am broadcast -a android.intent.action.wifi -e wifi t
rue -n com.amazon.kdsotter/.commandCenter or adb shell svc wifi enable To turn off wifi : adb shell am broadcast -a android.intent.action.wifi -e wifi
false -n com.amazon.kdsotter/.commandCenter or adb shell svc wifi disable To connect to wifi with ssid: adb shell am broadcast -a android.intent.action.wificonnect -e ssid belkin.3296
-e password 4ea28698 -n com.amazon.kdsotter/.commandCenter Clear application data for a package : adb shell pm clear <package>

You might also like