After you get the root access of your android phone and download the tcpdump binary file to your phone, it's time to try. While many instructments only shows the command below :
For me, this command never worked, the bash always show
-s 0 -
"got 0" or "0 packets received"The reason is I didn't setup the right network interface to monitor. We can use netcfg to list all the network interfaces and find the one with the right ip address as our target. So the right command should be like this:
"tcpdump -i rmnet1 -p -s 0 -w out.pcap "