MTK相机调试adb命令
AE 开启log
adb shell setprop vendor.debug.ae.enable 9
adb shell setprop vendor.debug.drv.ccu_drv 6
adb shell setprop vendor.debug.ccuif.ccu_drv 6
adb shell setprop vendor.debug.aaa.pvlog.enable 1
adb shell setprop vendor.debug.camera.log.hal3a 1
adb shell setprop vendor.debug.mapping_mgr.enable 1
adb shell setprop debug.cam.drawid 1
adb shell setprop debug.lce.core.enable 1
adb shell setprop vendor.debug.lce.face.log.enable 1
adb shell setprop vendor.debug.dynamic_ggm.log 1
adb shell setprop vendor.debug.dynamic_lce.log 1
adb shell setprop vendor.persist.logmuch.detect false
adb shell setprop vendor.debug.ae_mgr.enable 1
adb shell setprop vendor.debug.ae.plineinfo 1
adb shell setprop vendor.drv.ccu.log.ccuaealgo 1
adb shell setprop vendor.drv.ccu.log.ccuflowae 1
adb shell setprop vendor.drv.ccu.log.reserve1 1
Dual AE log
adb shell setprop vendor.persist.logmuch.detect false
adb shell setprop vendor.debug.aaa.pvlog.enable 1
adb shell setprop vendor.debug.ae.plineinfo 1
adb shell setprop vendor.debug.drv.ccu_drv 6
adb shell setprop vendor.debug.ccuif.ccu_drv 6
adb shell setprop vendor.debug.camera.log 1
adb shell setprop vendor.debug.ae.enable 9
adb shell setprop vendor.debug.ae_mgr.enable 1
锁定AE
adb shell setprop vendor.debug.ae_mgr.enable 1
adb shell setprop vendor.debug.ae_mgr.lock 1
adb shell setprop vendor.debug.ae_mgr_ccu.enable 0
手动设定AE
adb shell setprop vendor.ae_mgr.enable 1
adb shell setprop vendor.ae_mgr.lock 1
adb shell setprop vendor.ae_mgr.preview.update 1
adb shell setprop vendor.ae_mgr_ccu.enable 0
adb shell setprop vendor.ae_mgr.shutter 80000
adb shell setprop vendor.ae_mgr.sensorgain 2048
adb shell setprop vendor.ae_mgr.ispgain 1024
adb shell setprop vendor.ae_mgr.preview.update 1
5G平台
adb shell setprop vendor.debug.ae_mgr.ISOspeed 100
AWB 开启log
adb shell setprop vendor.debug.awb_mgr.enable 1
adb shell setprop vendor.debug.awb.enable 1
adb shell setprop vendor.debug.awb_log.enable 1
锁定AWB
adb shell setprop vendor.debug.awb_mgr.enable 1
adb shell setprop vendor.debug.awb_mgr.lock 1
AF 开启log
adb shell setenforce 0
adb shell setprop vendor.debug.af_mgr.enable 4
adb shell setprop vendor.debug.af.enable 1
adb shell setprop vendor.debug.af.log.enable 1
adb shell setprop vendor.debug.pd.enable 1
adb shell setprop debug.cam.drawid 1
adb shell setprop vendor.debug.camera.dbginfo 1
adb shell setprop vendor.debug.pd.vpu.log.enable 1
手动设定AF
adb shell setprop vendor.debug.af_motor.disable 1
adb shell setprop vendor.debug.af_motor.position 200
关闭pdaf命令
adb shell setprop vendor.debug.pdflow.disable 1
6873 FullScan,进相机,touch AF 是 Full scan
adb shell setprop vendor.debug.af.enable 1
adb shell setprop vendor.debug.af.localfullscan 3
adb shell setprop vendor.debug.af.fullscan.step 1
TSF
关闭TSF
adb shell setprop vendor.debug.lsc_mgr.manual_tsf 0
adb shell setprop vendor.debug.lsc_mgr.ratio 32
关闭LSC
adb shell setprop vendor.debug.lsc_mgr.enable 0
ISP 开启log
adb root
adb shell setenforce 0
adb shell setprop persist.vendor.mtk.camera.log_level 3
adb shell setprop vendor.debug.aaa.pvlog.enable 1
adb shell setprop vendor.debug.camera.log 1
adb shell setprop debug.camera.log 1
adb shell setprop vendor.debug.camera.log 1
adb shell setprop vendor.debug.hal3av3.log 263
adb shell setprop debug.camera.log.hal3a 3
adb shell setprop vendor.debug.3a.log 1
adb shell setprop debug.camera.log 3
adb shell setprop debug.hal3a.task 1
adb shell setprop vendor.debug.hal3a.taskmgr 1
adb shell setprop vendor.debug.paramctrl.enable 1
adb shell setprop vendor.debug.isp_debug.enable 1
adb shell setprop vendor.debug.isp_tuning_mgr.enable 499
adb shell setprop vendor.debug.aaa.perframe_prop.enable 1
adb shell setprop vendor.debug.isp_mgr.enable 1
adb shell setprop vendor.debug.mapping_mgr.enable 3
adb shell setprop debug.idxcache.log 1
adb shell setprop vendor.debug.camera.log.p1node 2
adb shell pkill camer*
关闭ISP参数
adb shell setprop vendor.isp.lce.disable 1
adb shell setprop vendor.isp.ccm_r1.disable 1
adb shell setprop vendor.isp.ccm_d1.disable 1
Hal3a 开启log
adb root
adb shell setenforce 0
adb shell setprop persist.vendor.mtk.camera.log_level 3
adb shell setprop vendor.debug.camera.log 1
adb shell setprop vendor.debug.hal3av3.log 511
adb shell setprop vendor.debug.3a.log 1
adb shell setprop vendor.debug.resultpool.log 1
adb shell setprop vendor.debug.statistic_buf.enable 1
adb shell setprop vendor.debug.thread_raw.log 1
adb shell setprop vendor.debug.idxcache.log 1
adb shell setprop vendor.debug.hal3a.taskmgr 1
adb shell setprop vendor.debug.aao_mgr.enable 1
adb shell setprop vendor.debug.aaa.pvlog.enable 1
adb shell pkill camera*
Flashlight 校准
Android P 校正闪光灯命令:
adb shell setprop vendor.flash_calibration 1
adb shell setprop vendor.flash_quick_calibration_2 1
User版本
user版本开启root权限(待验证)
adb shell setprop service.adb.root 1
user版本打开camera LOGD命令:
adb root
adb shell setprop persist.vendor.mtk.camera.log_level 3
adb shell pkill camera*
APP相关
看APK包名
adb shell dumpsys window
meta dump数据
adb shell dumpsys media.camera -v 2 > meta.info.txt
adb shell cat /proc/driver/camera_info >info.txt
开启mobilelog
adb shell am start -n com.mediatek.mtklogger/com.mediatek.mtklogger.MainActivity
开启debuglogger
adb shell am start -n com.debug.loggerui/.MainActivity
开启EngineerMode
adb shell am start -n com.mediatek.engineermode/.EngineerMode
切换摄像头
adb shell pkill camera*
adb shell setprop mtk.camera.app.keycode.enable 1
adb shell setprop mtk.camera.switch.camera.debug 1
adb shell setprop mtk.camera.switch.id.debug back-1
adb shell am start -a android.media.action.STILL_IMAGE_CAMERA
adb shell input keyevent KEYCODE_C
Vertical blanking计算方式:
(framelength - grabwindow_height) *33ms /framelength > 1ms
CTS测试命令
sudo PATH="$PATH" ./cts-tradefed
run cts -m CtsCameraTestCases -t android.hardware.camera2.cts.MultiViewTest#testDualCameraPreview -s s670jkppppppppppp01 -a arm64-v8a --skip-preconditions
run cts -m CtsAppTestCases -t android.app.cts.SystemFeaturesTest#testCameraFeatures -a arm64-v8a --skip-preconditions
解锁
Android P + kernel-4.9 or after
download preloader with verified boot disabled which location is the same as scatter file. preloader__SBOOT_DIS.bin
- boot to Home Screen
- go to setting -> system -> Developer options -> OEM unlocking
- adb reboot bootloader
- fastboot flashing unlock
- press volume up key
- fastboot reboot
- adb root
- adb disable-verity
- adb reboot
- adb root
- adb remount
Dump Raw
P70 & before
adb root
adb shell setenforce 0
adb shell setprop persist.vendor.dp.dumpreg.check 1
adb shell setprop vendor.dp.dumpreg.enable 2
adb shell setprop vendor.debug.hal3av3.forcedump 1
adb shell setprop vendor.debug.aaa.perframe_prop.enable 1
adb shell setprop vendor.debug.camera.dump.p2.debuginfo 1
adb shell setprop vendor.debug.camera.copy.p1.lsc 1
adb shell setprop vendor.debug.camera.dump.lsc2 1
adb shell setprop vendor.debug.camera.SttBufQ.enable 60
adb shell setprop vendor.debug.camera.AAO.dump 1
adb shell setprop vendor.debug.camera.img3o.dump 0
adb shell setprop vendor.debug.camera.ufo_off 1
adb shell setprop vendor.debug.camera.p2.dump 1
adb shell setprop vendor.debug.camera.dump.JpegNode 1
adb shell setprop vendor.debug.camera.haljpeg 1
adb shell setprop vendor.debug.camera.dbginfo 1
adb shell setprop vendor.debug.camera.cfg.ProcRaw 1
adb shell setprop vendor.debug.camera.raw.type 1
P70 Q
adb root
adb shell setenforce 0
adb shell setprop persist.vendor.dp.dumpreg.check 1
adb shell setprop persist.vendor.dp.dumpreg.check 1
adb shell setprop vendor.dp.dumpreg.enable 2
adb shell setprop vendor.debug.hal3av3.forcedump 1
adb shell setprop vendor.debug.aaa.perframe_prop.enable 1
adb shell setprop vendor.debug.camera.dump.p2.debuginfo 1
adb shell setprop vendor.debug.camera.copy.p1.lsc 1
adb shell setprop vendor.debug.camera.dump.lsc2 1
adb shell setprop vendor.debug.camera.SttBufQ.enable 6
adb shell setprop vendor.debug.camera.AAO.dump 1
adb shell setprop vendor.debug.camera.img3o.dump 0
adb shell setprop vendor.debug.camera.ufo_off 1
adb shell setprop vendor.debug.camera.p2.dump 1
adb shell setprop vendor.debug.camera.dump.JpegNode 1
adb shell setprop vendor.debug.camera.haljpeg 1
adb shell setprop vendor.debug.camera.dbginfo 1
adb shell setprop vendor.debug.camera.cfg.ProcRaw 1
adb shell setprop vendor.debug.camera.raw.type 1
adb shell setprop vendor.debug.camera.dump.campipe 1
adb shell setprop vendor.debug.camera.mfnr.yuv.dump 1
adb shell setprop vendor.debug.camera.bss.dump 1
P90
adb root
adb shell setenforce 0
adb shell mkdir -p /data/vendor/camera_dump
adb shell setprop vendor.debug.camera.SttBufQ.enable 60
adb shell setprop persist.vendor.dp.dumpreg.check 1
adb shell setprop vendor.isp.faceinfo.dump 1
adb shell setprop vendor.debug.camera.ufo_off 1
adb shell setprop vendor.debug.camera.p2.dump 1
adb shell setprop vendor.debug.camera.p2.dump.filter 3
adb shell setprop vendor.debug.camera.dump.JpegNode 1
adb shell setprop vendor.debug.camera.copy.p1.lsc 1
adb shell setprop vendor.debug.hal3av3.forcedump 1
adb shell setprop vendor.debug.camera.dump.p2.debuginfo 1
adb shell setprop mediatek.mfll.dump.raw 1
adb shell setprop vendor.dp.dumpreg.enable 2
adb shell setprop vendor.isp.ynr_tbl.dump 1
adb shell setprop vendor.debug.camera.dump.lsc2 1
adb shell setprop vendor.debug.camera.dump.cap.tsfo 1
adb shell setprop vendor.debug.camera.AAO.dump 1
adb shell setprop vendor.debug.camera.bss.dump 1
adb shell setprop vendor.isp.dce_tbl.dump 1
adb shell setprop vendor.isp.ltm_tbl.dump 1
adb shell setprop vendor.debug.camera.dbginfo 1
adb shell setprop vendor.debug.camera.threshold_4Cell 99
5G
adb root
adb shell setenforce 0
adb shell mkdir -p /data/vendor/camera_dump
adb shell setprop vendor.debug.p2s.dsdn.mode 0
adb shell mrdump_tool output-set none
adb shell setprop vendor.mfll.force 1
adb shell setprop vendor.mfll.log_level 3
adb shell “kill $(pidof cameraserver)”
adb shell “kill $(pidof camerahalserver)”
adb shell setprop vendor.mfll.dump.sim 1
adb shell setprop vendor.mfll.dump.mixer.out 1
adb shell setprop vendor.debug.camera.p2.dump 1
adb shell setprop vendor.debug.camera.img3o.dump 1
adb shell setprop vendor.debug.camera.dump.JpegNode 1
adb shell setprop persist.vendor.dp.dumpreg.check 1
adb shell setprop vendor.debug.camera.SttBufQ.enable 60
adb shell setprop vendor.debug.camera.ufo_off 1
adb shell setprop vendor.debug.camera.p2.dump 1
adb shell setprop vendor.debug.camera.dump.campipe 1
adb shell setprop vendor.debug.camera.dump.p2 1
adb shell setprop vendor.debug.camera.dump.p2.ext.img3o 1
adb shell setprop vendor.debug.camera.img3o.dump 1
adb shell setprop vendor.debug.camera.copy.p1.lsc 1
adb shell setprop vendor.debug.hal3av3.forcedump 1
adb shell setprop vendor.debug.aaa.perframe_prop.enable 1
adb shell setprop mtk.camera.app.keycode.enable 1
adb shell setprop vendor.dp.dumpreg.enable 2
adb shell setprop vendor.debug.camera.dump.p2.debuginfo 1
adb shell setprop vendor.debug.camera.dump.lsc2 1
adb shell setprop vendor.debug.camera.AAO.dump 1
adb shell setprop vendor.flash_bin_en 1
adb shell setprop vendor.flash_pf_bmp_en 1
adb shell setprop vendor.flash_dump.enable 1
adb shell setprop vendor.isp.ynr_tbl.dump 1
adb shell setprop vendor.isp.ltm_tbl.dump 1
adb shell setprop vendor.isp.dce_tbl.dump 1
adb shell setprop vendor.isp.faceinfo.dump 1
adb shell setprop vendor.isp.ynr_map.dump 1
adb shell setprop vendor.debug.camera.msnr.ndd.l1 1
adb shell setprop vendor.debug.camera.msnr.ndd.l2 1
adb shell setprop vendor.debug.camera.bss.dump 1
adb shell setprop vendor.isp.lcesho_tbl.dump 1
adb shell setprop vendor.mfll.dump.mixer 1
adb shell setprop vendor.debug.camera.dump.p2 1
adb shell setprop vendor.debug.isp.dumpcq.enable 1
adb shell setprop vendor.imgsys.bittruedump.enable 2
adb shell setprop vendor.debug.camera.dump.mfb.tuning 1
adb shell setprop vendor.debug.camera.dump.mss.tuning 1
adb shell setprop vendor.msf.debug.bittruedump.enable 1
adb shell setprop vendor.mss.debug.bittruedump.enable 1
adb shell setprop vendor.debug.camera.dump.swmsf 1
adb shell setprop vendor.debug.camera.dump.msyuv 1
adb shell setprop vendor.debug.camera.dump.mfbtbl 1
adb shell setprop vendor.debug.camera.dbginfo 1
adb shell “kill $(pidof camerahalserver)”
adb shell “kill $(pidof cameraserver)”
adb shell pkill camera*
字符串转换脚本
#!/bin/bash if [ $# != 2 ]
thenecho -e "\033[1m\033[32m参数数量不正确, cgword 目标字符 替换字符\033[0m"exit
fised -i s/$1/$2/g $(grep $1 -lr .)for i in `find . -name "*$1*"`
do name=$(echo $i | sed s/$1/$2/g)mv $i ${name}
donebigsrc=$(echo $1 | tr '[a-z]' '[A-Z]')
bigtar=$(echo $2 | tr '[a-z]' '[A-Z]')
sed -i s/$bigsrc/$bigtar/g $(grep $bigsrc -lr .)
PDAF线性度检查脚本
#!/bin/bashif [ $# == 0 ] # 如果参数为0 提示以下信息并退出
thenecho -e "\033[32m缺少参数\033[0m"exit
fiinf=$1
marco=$2
step=$3echo "Inf:$inf, Marco:$marco, step:$step"adb shell setprop vendor.debug.af_motor.disable 1sleep 1adb shell am start -a android.media.action.STILL_IMAGE_CAMERAsleep 3for ((i=0; i<10; i++))
doif [ $i != 9 ]thentemp=$(($inf + $i * $step))elsetemp=$marcofiecho "Move To DAC $temp"adb shell setprop vendor.debug.af_motor.position $tempsleep 2
doneadb shell input keyevent 4
MTK相机调试adb命令相关推荐
- Android Studio下Terminal窗口Window下cmd黑窗口中使用adb命令调试精炼详解
一.前期基础知识储备 (1)adb命令行的定义与作用 adb的全称为Android Debug Bridge,中文名"调试桥",顾名思义adb命令是调试手机中应用的一种方法,而且作 ...
- Android调试必用工具adb命令详解
前言 adb全称为Android Debug Bridge,译为安卓调试桥.是一个命令行工具,主要用于调试设备.adb.exe放置在/sdk/platform-tools目录下,可对设备进行各种操作, ...
- Android调试时常用的adb命令
Android调试时常用的adb命令 1.adb shell am am是Activity Manager的缩写,使用此命令可以从控制台启动Activity.Service,打开或关闭进程,发送广播等 ...
- html5 可以用adb 调试,ADB常用命令及作用
这是第「32篇」分享 DemoYang(ID:Demo_YangBJ),专注于Android领域的开发者. ADB ADB全称Android Debug Bridge. ADB是一种功能多样的命令行工 ...
- android 串口调试adb,Android系统 debug 技巧(最全最强adb 串口调试命令)
串口调试命令 debug adb 命令(去掉adb shell即为串口命令) 发送广播 adb shell am broadcast -a com.android.test 打开activity ad ...
- ADB命令封装批处理文件(无线调试、安装 apk 到指定已连接设备)
测试机设备 id 用 usb 线连接电脑,打开 usb 调试,可以看到设备的 serial number adb devices 功能列表 一键连接无线调试 安装 apk 到指定的已连接设备 使用方法 ...
- 嵌入式主板Linux的adb命令adb有线调试使用说明
这是我对Linux的adb命令的一些调试笔记: 我目前遇到的问题是:我的电脑需要跟我们的设备进行连接. 我需要达到的目的是:进行蓝牙测试,抓取一些错误日志. 首先了解一下adb的调试方式:分为两种,一 ...
- 电脑连接多台Andro设备使用adb命令进行无线调试
1.准备工作 下载好运行adb命令的andriod adb sdk,然后配置环境变量. 手机都打开usb调试,各个厂商打开usb调试有不同,但大致方法都一致,多次点击你系统的版本号就会提示你已进入开发 ...
- adb命令打开摄像头_一加8 Pro的滤色相机又可以开启了,只需通过ADB命令访问
之前一加8 Pro的滤光相机可以透视薄薄的塑料和黑色衣服,由于公众的担忧,一加在一加8 Pro中国以及全球版本上都禁用了它.在印度,一加甚至出售禁用了此相机的一加8 Pro.那么一加 8 Pro真能透 ...
最新文章
- NOIP 2018 普及组 解题报告
- windows连接远程Hadoop/Spark
- Simple TCP Server Client Socket C
- 正则表达式的性能评测
- C#之DateTime
- 菜单的无限极分类实现
- vue中安装axios
- gma 教程 | 气候气象 | 基于 彭曼-蒙提斯法(Penman-Monteith)计算日作物参考蒸散量(ET0)
- 在【使用QNX Momentics IDE构建的(只读QNX系统)】中搭建SSH方法
- UOJ132 【NOI2015】小园丁与老司机
- 宝塔面板网站nginx伪静态配置方法
- 网络安全学习笔记6(批处理编写)
- 记一次Godaddy域名解析托管到AWS的Route53操作
- ECC椭圆曲线算法(1)阿贝尔群
- Kafka安装与使用
- PS 考试案例 03笔记
- 对数函数定义域和值域_对数函数的定义域、值域、定点
- POST和GET请求,接码
- 导航电子地图数据存储标准NDS中文版和英文版
- 【制造业】-供应链数据指标体系最佳实践
热门文章
- 怎样编写html购物车结算页面,原生JS实现购物车结算功能
- PDF转PPT免费软件哪个好?告诉你几个PDF转PPT的软件
- 计算机毕业设计之停车场管理系统
- python有哪几种文件类型_以下哪种文件类型不是用户可以创建的文件类型( )...
- 零起步的HMTL了解了解?
- 计算机代码1e1代表什么意思,热水器上显示E1是什么意思
- 韩顺平 2022零基础学 Java 学习笔记(1)
- Java main正确形参_Java application 中的主类需包含 main 方法,以下哪项是 main 方法的正确形参?( )...
- 2021年美容师(中级)找解析及美容师(中级)证考试
- 谍影重重4 伯恩的遗产 720P 8.97G DTS-HD 下载