当前位置:网站首页>How to open UMD, KMD log and dump diagrams in CAMX architecture
How to open UMD, KMD log and dump diagrams in CAMX architecture
2022-06-28 06:15:00 【彧玊】
1.UMD Log
stay UMD log In two parts , Namely camx This way log and chi This way log. Yes camx This is the core , So there are many corresponding modules , The module is distinguished .chi This is mainly OEM There is only one customization here prop Control
CAMX log:
camx Of grop:
File name involved :camxypes.h( Back camx Split into three folders , Remember to look for them all )

camx Designed to group There are these , Just put the corresponding position 1, You can print out the corresponding log.
Involved prop There are mainly these kinds , In fact, it's the corresponding log level:
File name involved :camxsettings.xml( Almost all prop It's all in it )
persist.vendor.camera.logConfigMask
persist.vendor.camera.logEntryExitMask
persist.vendor.camera.logWarningMask
persist.vendor.camera.logInfoMask
persist.vendor.camera.logVerboseMask
persist.vendor.camera.logDRQEnable( open DRQ log, I usually just put this prop Set as true)persist.vendor.camera.enableAsciiLogging( qualcomm case You need to catch offline at ordinary times log, You need to turn on this switch , Set as true That's it )
In fact, there are other configuration schemes , I feel that these are enough for normal use
note: offline log
I take offline log Yes, just a little bit , Last log Will appear on the mobile phone /data/vendor/camera Under the path
Then export that folder , Use Qualcomm's tools to synthesize a log file
Tool path :vendor/qcom/proprietary/chi-cdk/tools/binary_log/
command :python merge_text_logs.py -d xxx( Folder name ) -o xxx( Generated log file name )
CHI log:
Because there are not so many modules, there is only one prop control
vendor.camera.camera.overridLogLevels

There's a total of 8bit control , You can set the corresponding value as required
open log The way :
1. command :adb shell setprop xxxx( Corresponding prop) 0xxxx(16 Base number )
2. According to camxsettings.xml The corresponding variable name is written in camxoverridesettings.txt In file
then push To mobile /vendor/etc/camera In the path
All the above mobile phones need root jurisdiction , And it needs to be killed after the setting is completed camera The process will take effect
2.KMD Log
stay KMD It is also divided into many modules , We switch mainly by writing the value of the node log
The path of the corresponding node :/sys/module/camera/parameters ( The path in the phone )
Our main operation nodes are the two in the red box
kernel Corresponding module :
file name :cam_debug_util.h ( In the corresponding camera Just search under the driver directory )

Usage method : echo 0xxxx(16 Decimal digit ) > debug_mdl
stay kernel There is a corresponding log level these

Usage method :echo xxx( Enumerated values ) > debug_type
It seems that there is also a kind of separate opening of a single module log Methods , I will update it later
3.Dump Images
dump Images can only be used for IFE Output and subsequent nodes dump, But some formats (TP10) We cannot parse locally , You can ask Qualcomm for help in parsing
File name involved :camxsettings.xml
There are several corresponding ones here prop: But the control here is more delicate , Can be accurate to the corresponding node Example , And the corresponding node Of port
persist.vendor.camea.autoImageDump This is a dump output The switch of
persist.vendor.camea.dumpInputatOutput This is a dump imput The switch of , Premise is output Need to open , After opening, because dump More , So it will be very too laggy
persist.vendor.camea.autoInputImageDumpMask This is a dump Which? node Of prop, Configure according to your own needs

persist.vendor.camea.autoImageDumpMask

persist.vendor.camea.autoImageDumpIFEoutputPortMask
persist.vendor.camea.autoImageDumpIFEInstanceMask

These two are corresponding port and node Of instance id You can confirm the flow of your own running and the corresponding pipelie To assign , Usually mainly in dump (IFE IPE) There are a series of corresponding node Can be done dump, Need to go camxsettings.xml Middle confirmation
In fact, there are many prop Can be used in combination , These are enough for me to use , You can continue to communicate later .
边栏推荐
- Failed to start component [StandardEngine[Catalina]. StandardHost[localhost]]
- Caused by: com. fasterxml. jackson. databind. exc.InvalidDefinitionException: Cannot construct instance
- Oracle fundamentals summary
- easyui 重置多条件查询
- The custom cube UI pop-up dialog supports multiple and multiple types of input boxes
- Independent station sellers are using the five e-mail marketing skills, do you know?
- Using pytorch and tensorflow to calculate the confusion matrix of classification model
- 借助nz-pagination中的let-total解析ng-template
- Xcode13.3.1 项目执行pod install后报错
- MR-WordCount
猜你喜欢

链表(二)——设计链表

Iframe switching in Web Automation

Independent station sellers are using the five e-mail marketing skills, do you know?

Deep learning 19 loss functions

YYGH-BUG-02

pytorch详解

Oracle condition, circular statement

AutoCAD C polyline self intersection detection

MySQL(一)——安装

What is the e-commerce conversion rate so abstract?
随机推荐
借助nz-pagination中的let-total解析ng-template
整型提升和大小端字节序
pkg打包node工程(express)
使用SSM框架,配置多个数据库连接
预训练模型参数不匹配
Caused by: com.fasterxml.jackson.databind.exc.InvalidFormatException:异常解决
Select trigger event from easyUI drop-down box
Linux MySQL implements root user login without password
@The reason why the Autowired annotation is empty
高质量国产立体声编解码器CJC8988,Pin to Pin替代WM8988
深度学习19种损失函数
Uni app wechat applet sharing function
Caused by: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance
Alert pop-up processing in Web Automation
socke. IO long connection enables push, version control, and real-time active user statistics
Valueerror: iterative over raw text documents expected, string object received
Drop down list processing in Web Automation
Using pytorch and tensorflow to calculate the confusion matrix of classification model
MySQL (I) - Installation
socke.io长连接实现推送、版本控制、实时活跃用户量统计