I would like to know if its possible to log network traffic on an android device and to see what app is causing each bit of traffic without rooting the phone.

migrated from stackoverflow.com May 31 '11 at 15:18

This question came from our site for professional and enthusiast programmers.


A surely working, but hard to achieve solution would be to set up an access-point where you log all the traffic and connect your phone to it.

  • 1
    This is easy to achieve with a desktop that has a "host-mode" or "AP-mode" wireless device. For example, Mac OS X devices with AirPort can be put into access point mode, by enabling Internet Sharing. From there, you'd use something like WireShark to trace all the traffic coming from your Android device through the Mac. Windows and/or Linux hosts would work the same way, as long as your wifi adapter supports AP mode. – Joe Jun 2 '11 at 3:39

At lest some devices seem to have a setuid root copy of tcpdump installed

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.