I want to capture network packages on android phones.At first i choose tcpdump to achieve this function,and it did on HTC phones because HTC contains tcpdump 开发者_运维技巧under system folder. But when i install on the Samsung phones,the function failed, becase Samsung phones don't have tcpdump under system folder. So, can somebody provide some ways to achieve this function by generial ways.(I mean that without building new img to reflash devices)
So, plz help!
You should be able to use tcpdump on Samsung too, just copy the executable to /data/local/.
精彩评论