Qualcomm platform grabs WiFi logs

Cnss log capture method
1. adb shell enters Android debugging

  1. First check if cnss_diag is running
# ps -A | grep cnss_diag
  1. If it is not running, run it
# cnss_diag -q -f & // 后台运行
  1. Logs are generally stored in the /sdcard/wlan_logs or /data/vendor/wifi/wlan_logs directory.
    The log here will print the log printed by the HDD in the WiFi Driver. If not, the wlan_logs directory is still not found. Use the find command to search in each path. can.

5. Of course, it does not matter if you don't find the txt file that saves the log. This can be run directly on the command line. Just like the logcat command. But use the userdebug version, otherwise you don't have permission to execute this command.

Guess you like

Origin blog.csdn.net/weixin_42271802/article/details/110188230