rbandroid:adbcommands
ADB commands
Nothing really original here, just a reference for myself.
List attached devices
[ ~]$ adb devices -l List of devices attached 42f75e0a6f40bfbb device usb:3-1.4 product:m3xx model:GT_I9305 device:m3 [ ~]$
Show device information
[ ~]$ adb pull /system/build.prop 96 KB/s (4476 bytes in 0.045s) [ ~]$ [ ~]$ cat build.prop | grep ro.product.device ro.product.device=m3 # ro.build.product is obsolete; use ro.product.device [ ~]$
List installed third party packages (-3)
[ ~]$ adb shell pm list packages -3 package:de.blau.android package:org.connectbot package:org.geometerplus.zlibrary.ui.android package:tv.condor.timecode edited....
Get a screenshot and pull it to host computer
[ ~]$ adb shell screencap /sdcard/screen-18-10-16.png [ ~]$ [ ~]$ adb pull /sdcard/screen-18-10-16.png 145 KB/s (6345 bytes in 0.042s) [ ~]$
CLI shell access
$ adb shell shell@matissevewifi:/ $ ll drwxr-xr-x root root 2015-07-07 00:52 acct drwxrwx--- system cache 2023-02-12 23:22 cache dr-x------ root root 2015-07-07 00:52 config $
rbandroid/adbcommands.txt · Last modified: by 127.0.0.1