我是靠谱客的博主 真实耳机,最近开发中收集的这篇文章主要介绍050@ 高通845平台抓取3a log,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

 

需要打开如下AF log:

 adb shell "echo logVerboseMask= 0x08000000>> /vendor/etc/camera/camxoverridesettings.txt"

adb shell "echo logEntryExitMask= 0x08000000>> /vendor/etc/camera/camxoverridesettings.txt"

adb shell "echo logInfoMask= 0x08000000>> /vendor/etc/camera/camxoverridesettings.txt"

adb shell "echo dumpSensorEEPROMData=1 >> /vendor/etc/camera/camxoverridesettings.txt"

重启后,搜索关键词“CAF_SCAN”

 

一:

log level:

adb root

adb remount

adb shell rm /vendor/etc/camera/camxoverridesettings.txt

adb shell mkdir /vendor/etc/camera/

adb shell touch /vendor/etc/camera/camxoverridesettings.txt

adb shell "echo logVerboseMask=0xFFFFFFFF > /vendor/etc/camera/camxoverridesettings.txt"

adb shell "echo overrideLogLevels=0xffff >> /vendor/etc/camera/camxoverridesettings.txt"

adb shell "echo exposeFullSizeForQCFA=FALSE >> /vendor/etc/camera/camxoverridesettings.txt"

adb shell cat /vendor/etc/camera/camxoverridesettings.txt

adb reboot

 

二:如下可以直接打包做成 sh 脚本使用

adb wait-for-device
adb root
adb wait-for-device
adb remount
adb wait-for-device
adb shell setenforce 0
adb shell rm /vendor/etc/camera/camxoverridesettings.txt
adb shell mkdir /vendor/etc/camera
adb shell chmod 777 -R /vendor/etc/camera
adb shell touch /vendor/etc/camera/camxoverridesettings.txt

::3a exif
adb shell "echo enable3ADebugData=TRUE >> /vendor/etc/camera/camxoverridesettings.txt"

::dump metadata
adb shell "echo enableTuningMetadata=TRUE >> /vendor/etc/camera/camxoverridesettings.txt"

::tintelss enable
::adb shell "echo tintlessEnable=TRUE >> /vendor/etc/camera/camxoverridesettings.txt"

::dump eeprom
adb shell "echo dumpSensorEEPROMData=TRUE >> /vendor/etc/camera/camxoverridesettings.txt"

::AE scan
::adb shell "echo enableAEScan=16 >> /vendor/etc/camera/camxoverridesettings.txt"

::AF scan
::adb shell "echo afFullsweep=1 >> /vendor/etc/camera/camxoverridesettings.txt" 
  
::dump raw
::adb shell "echo reprocessDump=TRUE>> /vendor/etc/camera/camxoverridesettings.txt"

::强制切换res
::adb shell "echo overrideForceSensorMode=2 >> /vendor/etc/camera/camxoverridesettings.txt"

::enablePDLibDump
::adb shell "echo enablePDLibDump=1 >> /vendor/etc/camera/camxoverridesettings.txt"

::dump outputimage
::adb shell "echo autoImageDump=TRUE>> /vendor/etc/camera/camxoverridesettings.txt"
::adb shell "echo autoImageDumpMask=2>> /vendor/etc/camera/camxoverridesettings.txt"
::adb shell "echo autoInputImageDumpMask=0x7>> /vendor/etc/camera/camxoverridesettings.txt"
::adb shell "echo autoImageDumpIFEoutputPortMask=0x400001>> /vendor/etc/camera/camxoverridesettings.txt"
::adb shell "echo forceDisableUBWCOnIfeIpeLink=1 >> /vendor/etc/camera/camxoverridesettings.txt"
::adb shell "echo offlineImageDumpOnly=TRUE>> /vendor/etc/camera/camxoverridesettings.txt"
::adb shell setprop persist.camera.dump.formatmask 15

::adb shell "echo autoImageDump=TRUE >> /vendor/etc/camera/camxoverridesettings.txt"
::adb shell "echo autoImageDumpMask=0x04>> /vendor/etc/camera/camxoverridesettings.txt"
::adb shell "echo offlineImageDumpOnly=TRUE >> /vendor/etc/camera/camxoverridesettings.txt"
::adb shell "echo autoImageDumpIPEoutputPortMask=0x400 >> /vendor/etc/camera/camxoverridesettings.txt"

::systemlog
::adb shell "echo systemLogEnable=TRUE >> /vendor/etc/camera/camxoverridesettings.txt"
::adb shell "echo numberOfCHIThreads=8 >> /vendor/etc/camera/camxoverridesettings.txt"

::AE+sensordebug
adb shell "echo logVerboseMask= 0x08000000>> /vendor/etc/camera/camxoverridesettings.txt"
adb shell "echo logEntryExitMask= 0x08000000>> /vendor/etc/camera/camxoverridesettings.txt"
adb shell "echo logInfoMask= 0x08000000>> /vendor/etc/camera/camxoverridesettings.txt"
adb shell "echo logWarningMask= 0x08000000>> /vendor/etc/camera/camxoverridesettings.txt"
adb shell "echo logPerfInfoMask= 0x08000000>> /vendor/etc/camera/camxoverridesettings.txt"
adb shell "echo overrideLogLevels =0xFF>> /vendor/etc/camera/camxoverridesettings.txt"
::3a sync
adb shell "echo multiCameraEnable=TRUE >> /vendor/etc/camera/camxoverridesettings.txt"
adb shell "echo enableSensorHWSync=TRUE >> /vendor/etc/camera/camxoverridesettings.txt"
adb shell "echo multiCameraFrameSync=1 >> /vendor/etc/camera/camxoverridesettings.txt"
adb shell "echo enableSensorFpsMatch=TRUE >> /vendor/etc/camera/camxoverridesettings.txt"
adb shell "echo MultiCamera3ASync=QTI >> /vendor/etc/camera/camxoverridesettings.txt"

adb shell "echo advanceFeatureMask=0x27 >> /vendor/etc/camera/camxoverridesettings.txt"
adb shell "echo useFeatureForQCFA=1 >> /vendor/etc/camera/camxoverridesettings.txt"
adb shell "echo exposeFullSizeForQCFA=TRUE >> /vendor/etc/camera/camxoverridesettings.txt"

::AE sync log
::adb shell "echo logWarningMask=0x10088>> /vendor/etc/camera/camxoverridesettings.txt"
::adb shell "echo logInfoMask= 0x0201008A>> /vendor/etc/camera/camxoverridesettings.txt"

::adb shell "echo activeNodeMask=7 >> /vendor/etc/camera/camxoverridesettings.txt"
::adb shell "echo overrideHAFAlgoMask=0x10 >> /vendor/etc/camera/camxoverridesettings.txt"
::pause
::adb reboot

adb shell "ps -A | grep  cameraserver | awk '{print $2}' | xargs kill -9"

adb shell sync
adb shell sync
adb shell sync
adb shell sync
adb shell sync
::adb reboot
::adb shell setprop vendor.remosaic.debug.dump 15

最后

以上就是真实耳机为你收集整理的050@ 高通845平台抓取3a log的全部内容,希望文章能够帮你解决050@ 高通845平台抓取3a log所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(58)

评论列表共有 0 条评论

立即
投稿
返回
顶部