【Log and Dump Summary】

Before opening the log of each module, it is recommended to close the selinux permission first, and make sure that the camera logD has been printed. If there is no print, you can use the following command to open it:

adb shell setenforce 0

adb shell setprop persist.vendor.mtk.camera.log_level 3  

adb shell pkill camera*

Then open the log of the corresponding module as follows:

1. Open MTK Camera2 APP log

adb root

adb shell setprop vendor.debug.mtkcam.loglevel 3  

2. 开camera device hal3 log

log tag: mtkcam-dev3

adb root

adb shell setprop debug.camera.log.CameraDevice3 2

Guess you like

Origin blog.csdn.net/Sugar_wolf/article/details/130082838