= Running ADB commands - pCloudy documentation

Running ADB commands

The Android Debug Bridge (adb) provides a Unix shell which you can use to run various commands on an emulator or a connected Android device.

pCloudy also allows you to execute ADB Shell command on the connected device.

  • Select your desired device from the list and connect.
  • On the Device Connection Page, once the device is ready, click on the "Android ADB" icon.

Steps to execute ABD shell command on the devices in the New User Interface (New UI)

Step 1 Enter ADB shell command to the given text box and click on Execute

enter adb shell command

Step 2 ADB shell command execution result, you can click on the copy icon to copy the result.

output

Step 3 Once the results are copied you will see a success message on the screen as shown below

copy

Steps to execute ABD shell command on the devices in the Old User Interface (Old UI)

Step 1 Enter ADB shell command to the given text box and click on Execute

enter adb shell command

Step 2 ADB shell command execution result

output

Step 3 Results can be copied for future use as shown below

copy

ADB commands for reference

Adb Shell commandsAction performed by command
adb shell dumpsys batterystatscollects battery data from your device
adb shell lslist directory contents
adb shell ls -ado not hide entries starting with
adb shell ls -iprint index number of each file
adb shell ls -sprint size of each file, in blocks
adb shell ls -nlist numeric UIDs and GIDs
adb shell ls -Rlist subdirectories recursively
adb shell netstatlist tcp connectivity
adb shell pwdprint current working directory location
adb shell dumpstatedumps state
adb shell psprint process status
adb shell am start -a android.intent.action.VIEW -d http://www.stackoverflow.comopens browser
adb shell am start -t image/* -a android.intent.action.VIEWopend gallery