Android

network mode

adb -d tcpip 5555 adb connect <ip>

Packages

Install

adb install <file.apk>

Pull package

Getting list of packages

adb shell pm list packages
adb shell pm path boriol.multiplication.tableslite

pull

adb pull /data/app/boriol.multiplication.tableslite-1.apk

Backup package

adb backup -f appBackup.ab com.corp.appName

This archive can be converted in tar with

dd if=appBackup.ab bs=1 skip=24|openssl zlib -d > appBackup.tar

Take screenshot

adb shell screencap -p | perl -pe 's/\x0D\x0A/\x0A/g' > screen_name.png