adb - Android debug

2019 Using docker https://github.com/sorccu/docker-adb

  1. run adb server

    docker run -d --privileged -v /dev/bus/usb:/dev/bus/usb --name adbd sorccu/adb
  2. run adb command, need to autorize on phone

    ~$ docker run --rm -ti --net container:adbd sorccu/adb adb devices
    List of devices attached
    977673415955384f5a      device
  3. capture image of the phone screen

    $ docker run --rm -ti --tty=false --net container:adbd sorccu/adb adb exec-out screencap -p > screen.png

2016 Commands

adb start-server

adb reboot-bootloader adb root

adb logcat

adb push C:\SANKET\apps\papertoss.apk /sdcard/nimbuzz

adb shell Run remote shell interactively

...

mobilephone/adb (last edited 2019-12-24 11:10:28 by PieterSmit)