NAME
androiddump - Provide interfaces to capture from Android devicesSYNOPSIS
androiddump [ --help ] [ --version ] [ --extcap-version ] [ --debug ] [ --extcap-interfaces ] [ --extcap-dlts ] [ --extcap-interface=<interface> ] [ --extcap-config ] [ --capture ] [ --fifo=<path to file or pipe> ] [ --adb-server-ip=<IP address> ] [ --adb-server-tcp-port=<TCP port> ] [ --logcat-text=<TRUE or FALSE> ] [ --bt-server-tcp-port=<TCP port> ] [ --bt-forward-socket=<TRUE or FALSE> ] [ --bt-local-ip=<IP address> ] [ --bt-local-tcp-port=<TCP port> ]DESCRIPTION
Androiddump is a extcap tool that provide interfaces to capture from an Android device. There are only two requirements: 1.You must have the Android SDK and add it to
your PATH environment variable. PATH should contain directory with tools like
"adb" and "android". Android SDK for various platform are
available on:
<https://developer.android.com/sdk/index.html#Other>
2.You must have permission to capture from
the Android device. Some Android devices require on-screen
authentication.
1.Logcat Main (binary [<=Jelly Bean] or
text)
2.Logcat System (binary [<=Jelly Bean] or
text)
3.Logcat Events (binary [<=Jelly Bean] or
text)
4.Logcat Radio (binary [<=Jelly Bean] or
text)
5.Logcat Crash (text; from Lollipop)
6.Bluetooth Hcidump [<=Jelly Bean]
7.Bluetooth Bluedroid External Parser
[Kitkat]
8.Bluetooth BtsnoopNet [>=Lollipop]
9.WiFi tcpdump [need tcpdump on phone]
OPTIONS
--helpEXAMPLES
To see program arguments:androiddump --help
androiddump --version
androiddump --extcap-interfaces
interface {display=Android Logcat Main unknown MSM7627A}{value=android-logcat-main-MSM7627A} interface {display=Android Logcat System unknown MSM7627A}{value=android-logcat-system-MSM7627A} interface {display=Android Logcat Radio unknown MSM7627A}{value=android-logcat-radio-MSM7627A} interface {display=Android Logcat Events unknown MSM7627A}{value=android-logcat-events-MSM7627A} interface {display=Android Bluetooth Hcidump unknown MSM7627A}{value=android-bluetooth-hcidump-MSM7627A} Human-readable display name of interfaces contains interface type, one of: android-logcat-main (Android Logcat Main) android-logcat-system (Android Logcat System) android-logcat-radio (Android Logcat Radio) android-logcat-events (Android Logcat Events) android-logcat-text-main (Android Logcat Main) android-logcat-text-system (Android Logcat System) android-logcat-text-radio (Android Logcat Radio) android-logcat-text-events (Android Logcat Events) android-logcat-text-crash (Android Logcat Crash) android-bluetooth-hcidump (Android Bluetooth Hcidump) android-bluetooth-external-parser (Android Bluetooth External Parser) android-bluetooth-btsnoop-net (Android Bluetooth Btsnoop Net) android-wifi-tcpdump (Android WiFi) Then Android Device's name if available, otherwise "unknown". Last part of it is DeviceID - the identificator of the device provided by Android SDK (see "adb devices"). For example: "Android Logcat Main unknown MSM7627A" "Android Logcat Main" - user-friendly type of interface "unknown" - name of Android Device "MSM7627A" - device ID
androiddump --extcap-interface=android-bluetooth-hcidump-MSM7627A --extcap-dlts
dlt {number=99}{name=BluetoothH4}{display=Bluetooth HCI UART transport layer plus pseudo-header}
androiddump --extcap-interface=android-bluetooth-hcidump-MSM7627A --extcap-config
arg {number=0}{call=--adb-server-ip}{display=ADB Server IP Address}{type=string}{default=127.0.0.1} arg {number=1}{call=--adb-server-tcp-port}{display=ADB Server TCP Port}{type=integer}{range=0,65535}{default=5037}
androiddump --extcap-interface=android-bluetooth-hcidump-MSM7627A --fifo=/tmp/bluetooth.pcapng --capture
SEE ALSO
wireshark(1), tshark(1), dumpcap(1), extcap(4)NOTES
Androiddump is part of the Wireshark distribution. The latest version of Wireshark can be found at <https://www.wireshark.org>.AUTHORS
Original Author2023-11-17 |