e.g.
CMD> adb shell
# tcpdump -vv -i any -s 0 -w /data/01.pcap
(-v; verbose, -i; interface, -s 0;capture all bytes of data within the packet)
to take the pcap file from the phone;
CMD> adb pull /data/01.pcap
CMD> adb shell
# tcpdump -vv -i any -s 0 -w /data/01.pcap
(-v; verbose, -i; interface, -s 0;capture all bytes of data within the packet)
to take the pcap file from the phone;
CMD> adb pull /data/01.pcap