高通Modem qmi log

Sometimes we might encounter QMI sending timeout issue, most of them is not easy to be
reproduced, thus we need to collect necessary logs within one shot.
[Solution]
0. First of all, you need root permission on your phone;
1. QMI framework log
<a>Set below items in vendor/qcom/proprietary/qmi-framework/etc/qmi_fw.conf:
QMI_CCI_DEBUG_LEVEL=0
QMI_CSI_DEBUG_LEVEL=0
<b>Execute below commands:
adb root
adb remount
adb push qmi_fw.conf /system/etc/qmi_fw.conf
adb push qmi_fw.conf /etc/qmi_fw.conf
adb shell sync
adb reboot
<c>After rebooting, you should be able to find QMI framework debug message in your ADB
main log;
2. IPC router log:
adb shell cat /d/ipc_logging/MPSS_IPCRTR/log_cont > mpss_IPCRTR.txt
3. SMEM log:
adb shell cat /sys/kernel/debug/smem_log/dump_sym_cont > smem_raw.txt
4. ADB radio/main/kernel logs, along with QXDM log;
5. In some case, we also need to collect RAM dump as soon as the issue occurs.

猜你喜欢

转载自blog.csdn.net/sdrgtywretyeruet/article/details/78464362