index











zhaoyatao.com

go to bottom

how to get a screenshot in limit system



























# 1
# USB connect to the android device

adb devices
adb shell 



# open netwotk debug mode
setprop service.adb.tcp.port 5555 











# 2

# setup android device listen TCP/IP connect on 5555 port 
adb tcpip 5555  



# remove USB 
# conncet to a same local network



adb connect #ip:port
#already connected to 172.18.1.111:5555


adb devices
# List of devices attached
# 172.18.1.111:5555       device

adb shell screencap -p /sdcard/230320.png
adb pull /sdcard/230320.png F:/1share
# check the .png picture in disk F:/1share




# done








back to top