Tcpdump on Android X86 via Android emulator

I am trying to get tcpdump to work with my android emulator and run into problems in every direction. On my Android tablet, which is already rooted, everything works fine for me, but I would like to do it from my laptop as well.

So I can of course use root and then shell to the device, but there is no real su program (... or so I thought ...), so the Android apps themselves cannot run as root. I wanted to run BusyBox on my emulator to get my usual set of tools, the installer didn’t say the application was not root as you would expect. SuperSu installation fails because it says su does not exist even though I have root on the device and there also happens to be sitting in / system / xbin there, so I don't know why I am getting an inconsistent error message.

After that I still need to install tcpdump. ARM is there, but I didn't find one for Android x86. When running from source even in / data / local / container it gives me the file not found for the error. / configure when trying to run. I also want to have apt-get on my machine, so installing Debian side-by-side with Android would be the best route?

+3


source to share





All Articles