I would like to enable Bluetooth HCI Snoop logging, however, when I enable the option in Developer Settings, no file shows up in my internal storage directory. I took a look at the /etc/bluetooth/bt_stack.conf
file as well, and there are no lines indicating that BtSnoop is enabled or the location where the Bt Snoop log file will be stored. I also tried manually enabling logging with adb shell settings put secure bluetooth_hci_log 1
but that doesn't fix the issue either. I'm running Android 8.1 on a Pixel 2. Any way to actually get the logging enabled or any workarounds?
A Bluetooth HCI snoop log is a type of log file that stores all of the transmissions sent through Bluetooth on your Android device. If you can access a Bluetooth HCI snoop log, it means you've downloaded an app that logs data on your phone through Bluetooth communication and transmission.
It is completely safe to delete this file, but it will be recreated unless HCI snooping is disabled.
The Host Controller Interface (HCI) is used for interacting with a Bluetooth controller.
It turns out that Google doesn't simply output the logs to the internal memory on Pixel devices. Instead, these are the steps to obtain the logs:
FS/data/misc/bluetooth/logs/btsnoop_hci.log
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With