Adb Shell netcfg // Set TCP connection port (6666 is the port number). Adb tcpIP 6666 // Connect to the phone via TCP (192.168.1.110:6666 is IP + port, Adb disconnect 192.168.1.110:6666 adb disconnect 192.168.1.110:6666 adb disconnect 192.168.1.110:6666 adb disconnect 192.168.1.110:6666 Can drag and drop the file directly to a command line terminal), the adb install d: \ XXX apk / / get the top activity name adb shell dumpsys activity | findstr searches mResumed list the adb / / get the current process Shell shell ps | ps / / process list search the adb findstr searches searchKeyword / / to obtain a list of applications running service adb shell dumpsys activity services | findstr searches PackageName / / by logcat view the current shell killed keywords of the application of the adb logcat - b events | findstr searches am_kill / / screenshot erlian / / (save to SDCard) adb shell /system/bin/screencap -p /sdcard/screenshot. PNG // From SD card to PC, note D:\\screen is the computer path, Must exist adb pull /sdcard/screenshot. PNG D:\\screenCopy the code