When Samsung S8 is running Android 7.1 OS, the Bluetooth HCI log is located in the folder Android/data
. But when I updated the device to Android 8.0, the HCI log cannot be found in any folder.
I also tried to generate the hci log through the following commands but it does not work. These commands work fine with my Pixel 2.
adb shell dumpsys bluetooth_manager
adb bugreport > BUG_REPORT.txt
This is tested and verified working for S8, S9, S10+ Android 8.0 through to 9.1:
Input *#9900#
in the dial pad. An engineer mode menu will pop up.
Click Run DUMPSTATE/LOGCAT/
. Wait. It may take several minutes for this to generate logs.
Click Copy To sdcard...
or Copy to ext sdcard
/sdcard/logs
will contain an extensive dump of system logs
/sdcard/logs/bluetooth/
will contain your timestamped btsnoop_hci_
log files