motioncam
motioncam copied to clipboard
Camera preview freeze after couple of seconds - S21 Ultra
I have tried the latest APK on my S21 Ultra Snapdragon on Android 12. After I open the app, the camera preview freeze but I can access all the other settings. Any idea?
@mirsadm found this logs
12-11 15:07:42.999 18996 18996 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
12-11 15:07:42.999 18996 18996 F DEBUG : Build fingerprint: 'samsung/p3quew/p3q:12/SP1A.210812.016/G998U1UEU4BUKF:user/release-keys'
12-11 15:07:42.999 18996 18996 F DEBUG : Revision: '18'
12-11 15:07:42.999 18996 18996 F DEBUG : ABI: 'arm64'
12-11 15:07:42.999 18996 18996 F DEBUG : Timestamp: 2021-12-11 15:07:42.797219946+0530
12-11 15:07:42.999 18996 18996 F DEBUG : Process uptime: 2s
12-11 15:07:42.999 18996 18996 F DEBUG : Cmdline: com.motioncam
12-11 15:07:42.999 18996 18996 F DEBUG : pid: 18818, tid: 18992, name: com.motioncam >>> com.motioncam <<<
12-11 15:07:42.999 18996 18996 F DEBUG : uid: 10009
12-11 15:07:42.999 18996 18996 F DEBUG : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
12-11 15:07:42.999 18996 18996 F DEBUG : x0 0000000000000000 x1 0000000000004a30 x2 0000000000000006 x3 0000007a13d44940
12-11 15:07:42.999 18996 18996 F DEBUG : x4 466b621f39636d74 x5 466b621f39636d74 x6 466b621f39636d74 x7 7f7f7f7f7f7f7f7f
12-11 15:07:42.999 18996 18996 F DEBUG : x8 00000000000000f0 x9 5e57100f3f350ba6 x10 0000000000000000 x11 ffffff80fffffbdf
12-11 15:07:42.999 18996 18996 F DEBUG : x12 0000000000000001 x13 000000000000002f x14 0000000000000000 x15 0000000034155555
12-11 15:07:42.999 18996 18996 F DEBUG : x16 0000007da74db060 x17 0000007da74b7a80 x18 0000007a12d3a000 x19 0000000000004982
12-11 15:07:42.999 18996 18996 F DEBUG : x20 0000000000004a30 x21 00000000ffffffff x22 0000007bb20f8fdf x23 0000007a2d2a0820
12-11 15:07:42.999 18996 18996 F DEBUG : x24 0000007a13d45cb0 x25 0000007a13d45cb0 x26 0000007a13d45ff8 x27 0000000000000000
12-11 15:07:42.999 18996 18996 F DEBUG : x28 0000007a13c4d000 x29 0000007a13d449c0
12-11 15:07:42.999 18996 18996 F DEBUG : lr 0000007da7467bf4 sp 0000007a13d44920 pc 0000007da7467c20 pst 0000000000001000
12-11 15:07:42.999 18996 18996 F DEBUG : backtrace:
12-11 15:07:42.999 18996 18996 F DEBUG : #00 pc 0000000000051c20 /apex/com.android.runtime/lib64/bionic/libc.so (abort+168) (BuildId: ce9d8892515aab3292de60cde842627f)
12-11 15:07:42.999 18996 18996 F DEBUG : #01 pc 000000000058db5c /data/app/~~AT7qsbYvkLr2VrFqTl1BHw==/com.motioncam-TrgNYGF3O451jnwJJ0nImw==/split_config.arm64_v8a.apk!libnative-camera-opencl.so (halide_default_error+116) (BuildId: be4b2b2f543f899008f0eabedf1c61c343499020)
12-11 15:07:44.440 19105 19284 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 19284 (com.motioncam), pid 19105 (com.motioncam)
12-11 15:07:44.704 19288 19288 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Ah yep that's great. Are you able to get more of the logs for me by any chance?
I have an idea on what this could be so I'll put out a test build later today. More logs would still be helpful though! Thanks.
I can get you logs. I just have couple of questions
- I used this command with options
.\adb.exe -d logcat com.motioncam:E > motioncam.log
. Is there any other options I should pass in? - Is there a way to enable debug logs in the app it self?
I've put up a beta release here: https://github.com/mirsadm/motioncam/releases/download/7.0.8-beta/MotionCam.7.0.8-beta.apk
Could you test to see if that fixes the issue?
@mirsadm same issue is happening on the beta as well
Thanks for the logs. I have them downloaded so feel free to remove them in case they have some sensitive information.
I just wanted to note that I am having the same issue on the same phone, with the beta.
This is a long shot but could you try it again here: https://github.com/mirsadm/motioncam/releases/download/7.0.8-beta2/MotionCam.7.0.8-beta2.apk
I'm taking guesses as there's no obvious cause for this.
@Kidwithservers any luck? @mirsadm I'm still facing the same issue. Could it be related to Android 12?
@mirsadm I was able to test the new beta4 and found a way to filter logs from the PID. Here are the logs https://ufile.io/5jguk2b2
Hope it helps.
Noticed the following Errors
12-14 23:48:59.230 6051 6135 E ACameraMetadata: Error: tag 983049 is not writable!
12-14 23:48:59.230 6051 6135 E ACameraMetadata: Error: tag 983049 is not writable!
12-14 23:48:59.231 6051 6135 E ACameraMetadata: Error: tag 983049 is not writable!
12-14 23:48:59.609 6051 6136 E ACameraMetadata: getConstEntry: cannot find metadata tag 917509
12-14 23:48:59.609 6051 6136 E ACameraMetadata: getConstEntry: cannot find metadata tag 917510
12-14 23:48:59.609 6051 6136 E ACameraMetadata: getConstEntry: cannot find metadata tag 917513
12-14 23:48:59.609 6051 6136 E ACameraMetadata: getConstEntry: cannot find metadata tag 917514
12-14 23:48:59.609 6051 6136 E ACameraMetadata: getConstEntry: cannot find metadata tag 917511
12-14 23:48:59.610 6051 6136 E ACameraMetadata: getConstEntry: cannot find metadata tag 917512
12-14 23:49:02.407 6051 6079 D ACameraDevice: Device error received, code 4, frame number 71, request ID 2, subseq ID 0
12-14 23:49:02.442 6051 6071 D ACameraDevice: Device error received, code 5, frame number 65, request ID 2, subseq ID 0
No luck with the new update. I am also on android 11 currently. I can try and get some logs later.
I think what I'll need to do is disable everything but the basics and see if that works. It looks like the camera service is crashing.
@mirsadm if you can do a build with the basics I can test and send you the logs. The same camera preview freeze is happening on some of the GCam mods as well and the error was Camera HAL package was not found
. I don't know if this is related or relevant to this issue.
@mirsadm First of all, thumbs up for that app, it's a really nice idea.
But i've got exactly the same "freeze problem" like ishansd94. It takes 3 seconds before it freezes. But when you switch the cam or go to the settings forth and back, it always resets for another 3 seconds.
In my case it's a Samsung Galaxy Zflip 3 5G with android 11 and newest beta. I also tested it on a Samsung Galaxy S7 tablet with version 7.0.3 and it worked flawlessly.
Hope you will find the problem.
I've made a release here for testing if anyone wants to give it a go: https://www.file.io/download/Zi0sfESIqovC
It disabled lots of stuff. Hoping that fixes it.
@mirsadm looks the file is deleted. Can you upload it again?
Ah yeah I'll put something up on GitHub instead
Here we go: https://github.com/mirsadm/motioncam/releases/download/7.0.8-beta5/MotionCam-Samsung-Test.apk
Here we go: https://github.com/mirsadm/motioncam/releases/download/7.0.8-beta5/MotionCam-Samsung-Test.apk
@mirsadm Same error. Could it be related to package name? I've seen that GCams use a separate package name for Samsung devices. This way the app can access all the 4 lenses. Worth a try perhaps?
com.samsung.android.ruler
com.samsung.android.scan3d
com.samsung.android.biometrics.service
Another solution is that app doesn't have full file storage permissions? This was the same case for Camera freeze on some of the GCams. It needed full storage permissions not just media. I'm not sure whether the permission can be added at the startup. Is there any config file being created at the startup?
btw are you on discord or telegram?
It sounds like the Samsung camera service is crashing. It would be worthwhile asking devs that have dealt with it with the gcam ports.
No I'm not but I think I'll start a group on there. It would be helpful for stuff like this.
Here we go: https://github.com/mirsadm/motioncam/releases/download/7.0.8-beta5/MotionCam-Samsung-Test.apk
@mirsadm Here are the full device logs: https://ufile.io/01g7hv0f
Notice the lines from 8650
12-18 15:30:26.662 11953 16846 W CHIUSECASE: [WARN ] chifeature2graphmanager.cpp:345 LoadFeatureGraphSelectorOps() No graph selector library files found in the path /vendor/lib64/camera/components/feature2/oem
12-18 15:30:26.663 4145 4145 I VSET/SettingsActivity: ActivateSettingActivityForSupportedCases: country true
12-18 15:30:26.664 4145 4145 I VSET/CameraUtil: getUnihalVersion: 2.0
12-18 15:30:26.665 11953 9625 E CamX : [ERROR][ISP ] secgtmclass.h:32 CGtmDrv() [gtmdrv] create this = 0x79c1d85250
12-18 15:30:26.666 11953 16846 W CHIUSECASE: [WARN ] chifeature2hwmultiframe.cpp:2955 DoQueryCaps() pEnableMFFeature in SessionSetting is NULL
12-18 15:30:26.669 11953 16846 I CHIUSECASE: [CONFIG ] chithreadmanager.cpp:28 Create() FeatureThreadManager: NumThreads: 50
12-18 15:30:26.670 15111 16511 D PackageManager: setEnabledSetting : userId = 0 packageName = com.samsung.android.vtcamerasettings cmp = com.samsung.android.vtcamerasettings.settings.SettingsActivity newState = 1 callingPackage = 1000/com.samsung.android.vtcamerasettings
12-18 15:30:26.671 11953 16846 W CHIUSECASE: [WARN ] chifeature2generic.cpp:1127 OnPreparePipelineCreate() pPipelineData 0x7931a96c60 or pipeline is NULL
12-18 15:30:26.671 4145 4145 I VSET/CameraUtil: getUnihalVersion: 2.0
12-18 15:30:26.672 11953 16846 E CamX : [ERROR][CORE ] camxtitan17xcontext.h:248 GetHwVersion() Platform version 5.8.0, cpas version 1.0.0, soc id 415
12-18 15:30:26.672 11953 16846 E CHIUSECASE: [ERROR ] chifeature2hwmultiframe.cpp:2704 OnInitializeStream() PortName:MFSR_Postfilter_YUV_OUT_2 Res = 4000X3000 format = 35
12-18 15:30:26.673 4145 4145 I VSET/ObserveCameraStateService: onStartCommand: update SALogging status
12-18 15:30:26.673 11953 16846 I CHIGPU : camxchinodegpu.cpp:4290 Initialize(): bypass set 0, inplace set 0
12-18 15:30:26.673 11953 16846 I CHIGPU : camxchinodegpu.cpp:4317 Initialize(): Setprop to disable bufferMapping 0 disableSIMODS 0
12-18 15:30:26.676 4145 4145 I VSET/CameraStateManagerImpl: updatePackageInfo: notify update
12-18 15:30:26.676 11953 16846 I CHIGPU : camxchinodegpu.cpp:4342 Initialize(): StreamTypePresent
12-18 15:30:26.676 4145 4145 I VSET/CameraStateManagerImpl: updatePackageInfo: CameraStateInfo id= 0(CLOSED), packageName = com.motioncam,
12-18 15:30:26.676 4145 4145 I VSET/CameraStateManagerImpl: supportedList -> SETTINGS_AUTO_FRAMING_MODE_MENU = false,SETTINGS_AUDIO_CONFIGURATION_MENU = false
12-18 15:30:26.677 4145 4145 I VSET/ObserveCameraStateService: start camera : get intent : com.motioncam, 0
12-18 15:30:26.677 4145 4145 I VSET/ObserveCameraStateService: updateAppInfoRepository: E
12-18 15:30:26.677 4145 4145 I VSET/ObserveCameraStateService: initAppRepository is created already
12-18 15:30:26.678 11953 16846 I CHIGPU : camxchinodegpu.cpp:4450 QueryBufferInfo(): numOutputPorts = 1, numInputPorts = 1
12-18 15:30:26.678 11953 16846 I CHIGPU : camxchinodegpu.cpp:4648 QueryBufferInfo(): Input port id = 0, Format = 3 m_nodeCaps: 32 max 4000x3000 min 4000x3000
12-18 15:30:26.678 11953 16846 I CHIUSECASE: [CONFIG ] chifeature2base.cpp:8669 CreatePipeline() MFSR [Blend_UBWC_OUT] Providing buffer negotiation options(0x78e1b9c820) to{65538, 1, 10} on stream(0x7931acb060) min [4000 x 3000] max [16383 x 16383] optimal [4000 x 3000] isFrameworkSink: 0
12-18 15:30:26.678 11953 16846 I CHIUSECASE: [CONFIG ] chifeature2base.cpp:8669 CreatePipeline() MFSR [Blend_PD10DS4_OUT] Providing buffer negotiation options(0x78e1be0da0) to{65538, 1, 11} on stream(0x7931a7f190) min [4000 x 3000] max [16383 x 16383] optimal [4000 x 3000] isFrameworkSink: 0
12-18 15:30:26.679 11953 16846 E CamX : [ERROR][LRME/CVP] camxcvpnode.h:2070 SetTitanVersion() setting 329728
12-18 15:30:26.680 11953 16846 E CamX : [ERROR][CORE ] camxtitan17xcontext.h:248 GetHwVersion() Platform version 5.8.0, cpas version 1.0.0, soc id 415
12-18 15:30:26.680 11953 16846 I CHIUSECASE: [CONFIG ] chifeature2base.cpp:8669 CreatePipeline() MFSR [Prefilter_UBWC_OUT] Providing buffer negotiation options(0x78e1b9c820) to{65538, 0, 10} on stream(0x7931ab5a00) min [640 x 480] max [16383 x 16383] optimal [4000 x 3000] isFrameworkSink: 0
12-18 15:30:26.680 11953 16846 I CHIUSECASE: [CONFIG ] chifeature2base.cpp:8669 CreatePipeline() MFSR [Prefilter_PD10DS4_OUT] Providing buffer negotiation options(0x78e1bd9120) to{65538, 0, 11} on stream(0x7931ad2ac0) min [640 x 480] max [16383 x 16383] optimal [4000 x 3000] isFrameworkSink: 0
12-18 15:30:26.680 11953 16846 I CHIUSECASE: [CONFIG ] chifeature2base.cpp:8669 CreatePipeline() MFSR [Prefilter_PD10DS16_OUT] Providing buffer negotiation options(0x78e1be7560) to{65538, 0, 12} on stream(0x7931aae310) min [640 x 480] max [16383 x 16383] optimal [4000 x 3000] isFrameworkSink: 0
12-18 15:30:26.680 11953 16846 I CHIUSECASE: [CONFIG ] chifeature2base.cpp:8669 CreatePipeline() MFSR [Prefilter_PD10DS64_OUT] Providing buffer negotiation options(0x78e1bc69e0) to{65538, 0, 13} on stream(0x7931ac5860) min [640 x 480] max [16383 x 16383] optimal [4000 x 3000] isFrameworkSink: 0
12-18 15:30:26.681 11953 16846 E CamX : [ERROR][LRME/CVP] camxcvpnode.h:2070 SetTitanVersion() setting 329728
12-18 15:30:26.681 11953 16846 E CamX : [ERROR][CORE ] camxtitan17xcontext.h:248 GetHwVersion() Platform version 5.8.0, cpas version 1.0.0, soc id 415
12-18 15:30:26.682 4145 4145 I VSET/VisionServerHelper: isNeedUpdated: fast request
12-18 15:30:26.682 11953 16846 W CHIUSECASE: [WARN ] chifeature2generic.cpp:1127 OnPreparePipelineCreate() pPipelineData 0x7931aae680 or pipeline is NULL
12-18 15:30:26.683 4145 4145 I VSET/CameraUtil: getUnihalVersion: 2.0
12-18 15:30:26.683 11953 16846 E CamX : [ERROR][CORE ] camxtitan17xcontext.h:248 GetHwVersion() Platform version 5.8.0, cpas version 1.0.0, soc id 415
12-18 15:30:26.683 11953 16846 W CHIUSECASE: [WARN ] chxusecaseutils.cpp:3175 CloneUsecase() No pipeline descriptor need to be cloned!
12-18 15:30:26.683 11953 16846 W CHIUSECASE: [WARN ] chifeature2base.cpp:7620 GetSourcePort() No source port found for sink RAW_In1_Internal
12-18 15:30:26.683 11953 16846 W CHIUSECASE: [WARN ] chifeature2base.cpp:7620 GetSourcePort() No source port found for sink RAW_In2_Internal
12-18 15:30:26.683 11953 16846 W CHIUSECASE: [WARN ] chifeature2base.cpp:7620 GetSourcePort() No source port found for sink RAW_In3_Internal
12-18 15:30:26.683 11953 16846 I CHIUSECASE: [CONFIG ] chifeature2base.cpp:8669 CreatePipeline() RawHDR [RAW_Out_External] Providing buffer negotiation options(0x78e1bda960) to{255, 0, 0} on stream(0x7931ad6ed0) min [4000 x 3000] max [16383 x 16383] optimal [4160 x 3120] isFrameworkSink: 0
12-18 15:30:26.684 11953 16846 I CHINODEUTIL: camxchinodeutil.cpp:433 DefaultBufferNegotiation(): Output Port 0: (w x h) optimal 4160 x 3120 min 4000 x 3000 max 16383 x 16383Input: optimal 4160 x 3120 min 4000 x 3000 max 16383 x 16383 (NumConnected: 1)
12-18 15:30:26.684 4145 4145 I VSET/AppInfoRepository: isSupportedPackage: com.motioncam, false
12-18 15:30:26.684 4145 4145 W VSET/ObserveCameraStateService: startFloatingbuttonService: onCameraOpened: not available com.motioncam
12-18 15:30:26.684 11953 16846 W CHIUSECASE: [WARN ] chifeature2base.cpp:7620 GetSourcePort() No source port found for sink RAW_In1_Internal
12-18 15:30:26.684 11953 16846 W CHIUSECASE: [WARN ] chifeature2base.cpp:7620 GetSourcePort() No source port found for sink RAW_In2_Internal
12-18 15:30:26.684 11953 16846 W CHIUSECASE: [WARN ] chifeature2base.cpp:7620 GetSourcePort() No source port found for sink RAW_In3_Internal
12-18 15:30:26.685 4145 4145 I VSET/AudioStateManagerImpl: onAudioDevicesAdded: [android.media.AudioDeviceInfo@21, android.media.AudioDeviceInfo@22, android.media.AudioDeviceInfo@2d]
12-18 15:30:26.686 11953 16846 I CHIUSECASE: [CONFIG ] chithreadmanager.cpp:184 RegisterJobFamily() Async Job Registered isSync: 1, m_numThreads: 16
12-18 15:30:26.687 11953 16846 I CHIUSECASE: [CONFIG ] chifeature2base.cpp:8669 CreatePipeline() RealTime [Raw_Out] Providing buffer negotiation options(0x78e1bea220) to{65536, 0, 10} on stream(0x7931aa0710) min [4000 x 3000] max [16383 x 16383] optimal [4160 x 3120] isFrameworkSink: 1
12-18 15:30:26.690 11953 16846 E CamX : [ERROR][LRME/CVP] camxcvpnode.h:2070 SetTitanVersion() setting 329728
12-18 15:30:26.691 11953 16846 E CamX : [ERROR][CORE ] camxtitan17xcontext.h:248 GetHwVersion() Platform version 5.8.0, cpas version 1.0.0, soc id 415
12-18 15:30:26.691 11953 16846 W CHIUSECASE: [WARN ] chxsession.cpp:154 Initialize() flags.flags.u.FASTAEC = 0 , isFastAECState = 1 (logicalCameraId 13)
12-18 15:30:26.709 11953 12350 E CamX : [ERROR][SENSOR ] camxsensornode.cpp:4875 CreateAndSubmitCommand() currentResolutionIndex : 12, m SensorName : s5khm3
12-18 15:30:26.709 11953 12350 E CamX : [ERROR][SENSOR ] camxsensornode.cpp:12266 GetSensorMode() Sensor name: s5khm3
12-18 15:30:26.709 11953 12350 E CamX : [ERROR][SENSOR ] camxsensornode.cpp:12278 GetSensorMode() capability : 20
12-18 15:30:26.710 11953 12355 I SS_3A : INFO: AWB: TsAwb_parse_stats: 1887: [stats_dbg] startupMode = StatisticsStartUpInvalid
12-18 15:30:26.710 11953 12348 I SS_3A : INFO: AEC: TsAec_Set_Exp_Table: 449: [Exp_Table::Rear] [0] Shooting=-1, ExpDiagram=4|9, m_video=0, m_fdae=0, rec=0, hfr=0, lightcon=0 ss=0
12-18 15:30:26.710 11953 12348 I SS_3A : INFO: AEC: TSAec_set_param: 926: [W] OpMode 3 StartMode 1
12-18 15:30:26.710 11953 12355 I SS_3A : INFO: AWB: TsAwb_process_preview: 2785: [1]TsAwb_gain=1.433,1.00,2.083, BV=0.000, lux_idx=0, CT=4254, Total_G=0, Ch_g=1.000, IR/V=0.000, Flk=0, LType=0, aRole=0
12-18 15:30:26.710 11953 12348 I SS_3A : INFO: AEC: TSAec_set_param: 1113: AEL 0
12-18 15:30:26.710 11953 12348 I SS_3A : INFO: AEC: TSAec_set_param: 1092: AECManualSetting mode=0 ISOValue=50 exposureTime=85248 gain=0.000
12-18 15:30:26.710 11953 12348 I SS_3A : INFO: AEC: TsAecGetVendorTagInfo: 4704: pCaptureIntent=1 recordinghint 0
12-18 15:30:26.710 11953 12348 I SS_3A : INFO: AEC: TsAecGetVendorTagInfo: 4902: aeMode 1
12-18 15:30:26.710 11953 12348 I SS_3A : INFO: AEC: TsAec_process_get_aec_info: 2146: [W][1]algo_out Av=1.695,g=4.421,e_t=0.00809,LLS=0x0,Bv=4.000,Ev=9.000,PEv=9.000,Cvgd=0,lux=223,FS=0,gam=0.0,lls=0x0,drc=1.000,vo=0.000,m=0
12-18 15:30:26.711 11953 12348 E CHI : [SS_ERR ]: [CHI_FAST_AEC]: chxsecusecasefastaec.cpp: SessionCbPartialCaptureResult: 702: Result: Cannot Accept NULL private data here for = 0
12-18 15:30:26.719 11953 12357 I SS_3A : INFO: AWB: TsAwb_parse_stats: 1887: [stats_dbg] startupMode = StatisticsStartUpInvalid
12-18 15:30:26.722 11953 12357 I SS_3A : INFO: AWB: TsAwb_process_preview: 2785: [2]TsAwb_gain=1.433,1.00,2.083, BV=4.000, lux_idx=223, CT=4254, Total_G=0, Ch_g=1.000, IR/V=0.000, Flk=-3, LType=0, aRole=0
12-18 15:30:26.722 11953 12357 E CHI : [SS_ERR ]: [CHI_FAST_AEC]: chxsecusecasefastaec.cpp: SessionCbPartialCaptureResult: 702: Result: Cannot Accept NULL private data here for = 1
12-18 15:30:26.722 11953 12350 I SS_3A : INFO: AWB: TsAwb_parse_stats: 1887: [stats_dbg] startupMode = StatisticsStartUpInvalid
12-18 15:30:26.722 11953 12350 I SS_3A : INFO: AWB: TsAwb_process_preview: 2785: [3]TsAwb_gain=1.433,1.00,2.083, BV=4.000, lux_idx=223, CT=4254, Total_G=0, Ch_g=1.000, IR/V=0.000, Flk=-3, LType=0, aRole=0
12-18 15:30:26.723 11953 12350 E CHI : [SS_ERR ]: [CHI_FAST_AEC]: chxsecusecasefastaec.cpp: SessionCbPartialCaptureResult: 702: Result: Cannot Accept NULL private data here for = 2
12-18 15:30:26.737 15111 15869 D MdnieScenarioControlService: packageName : com.motioncam className : com.motioncam.CameraActivity
12-18 15:30:26.737 15111 15869 V MdnieScenarioControlService: setUIMode from UI function(3)
12-18 15:30:26.744 11953 12350 E CHIUSECASE: [ERROR ] chxusecase.cpp:1604 ReturnFrameworkResult() ChiFrame: 0 App Frame: 0 - pResult contains more buffers (1) than the expected number of buffers (0) to return to the framework!
12-18 15:30:26.745 11953 12349 I SS_3A : INFO: AWB: TsAwb_parse_stats: 1887: [stats_dbg] startupMode = StatisticsStartUpInvalid
12-18 15:30:26.745 11953 12349 I SS_3A : INFO: AWB: TsAwb_process_preview: 2785: [4]TsAwb_gain=1.433,1.00,2.083, BV=4.000, lux_idx=223, CT=4254, Total_G=0, Ch_g=1.000, IR/V=0.000, Flk=-3, LType=0, aRole=0
12-18 15:30:26.746 11953 12348 I SS_3A : INFO: AEC: TsAec_process_get_aec_info: 2146: [W][4]algo_out Av=1.695,g=282.975,e_t=0.00809,LLS=0x0,Bv=-2.613,Ev=3.000,PEv=2.387,Cvgd=0,lux=364,FS=0,gam=0.0,lls=0x0,drc=1.000,vo=0.000,m=0
12-18 15:30:26.746 11953 12348 E CHI : [SS_ERR ]: [CHI_FAST_AEC]: chxsecusecasefastaec.cpp: SessionCbPartialCaptureResult: 702: Result: Cannot Accept NULL private data here for = 3
12-18 15:30:26.753 15111 15166 I WindowManager: Reparenting to original parent: Surface(name=Task=5504)/@0x3a1d398, destroy=true, surface=Surface(name=Dim Layer for - Task=5504)/@0xe5ce9e8
12-18 15:30:26.761 11953 12349 E CHIUSECASE: [ERROR ] chxusecase.cpp:1604 ReturnFrameworkResult() ChiFrame: 1 App Frame: 1 - pResult contains more buffers (1) than the expected number of buffers (0) to return to the framework!
12-18 15:30:26.762 11953 12357 I SS_3A : INFO: AWB: TsAwb_parse_stats: 1887: [stats_dbg] startupMode = StatisticsStartUpInvalid
12-18 15:30:26.762 11953 12357 I SS_3A : INFO: AWB: TsAwb_process_preview: 2785: [5]TsAwb_gain=1.438,1.00,2.083, BV=-2.613, lux_idx=364, CT=4269, Total_G=0, Ch_g=1.000, IR/V=0.000, Flk=-3, LType=0, aRole=0
12-18 15:30:26.762 11953 12351 E CHI : [SS_ERR ]: [CHI_FAST_AEC]: chxsecusecasefastaec.cpp: SessionCbPartialCaptureResult: 702: Result: Cannot Accept NULL private data here for = 4
12-18 15:30:26.770 1177 1177 I Layer : id=119210 removedFromDrawingState Dim Layer for - Task=5504#0 (203)
12-18 15:30:26.770 1177 1177 I Layer : id=119219 removedFromDrawingState Surface(name=Dim Layer for - Task=5504)/@0xe5ce9e8 - animation-leash of dimmer#0 (203)
12-18 15:30:26.770 1177 1177 I SurfaceFlinger: id=119210 Removed Dim Layer for - Task=5504#0 (203)
12-18 15:30:26.770 1177 1177 I SurfaceFlinger: id=119219 Removed Surface(name=Dim Layer for - Task=5504)/@0xe5ce9e8 - animation-leash of dimmer#0 (203)
12-18 15:30:26.770 1177 1177 I Layer : id=119219 Destroyed Surface(name=Dim Layer for - Task=5504)/@0xe5ce9e8 - animation-leash of dimmer#0
12-18 15:30:26.770 1177 1177 I Layer : id=119210 Destroyed Dim Layer for - Task=5504#0
12-18 15:30:26.771 11953 12350 E CHIUSECASE: [ERROR ] chxusecase.cpp:1604 ReturnFrameworkResult() ChiFrame: 2 App Frame: 2 - pResult contains more buffers (1) than the expected number of buffers (0) to return to the framework!
12-18 15:30:26.771 11953 12348 I SS_3A : INFO: AWB: TsAwb_parse_stats: 1887: [stats_dbg] startupMode = StatisticsStartUpInvalid
12-18 15:30:26.771 11953 12348 I SS_3A : INFO: AWB: TsAwb_process_preview: 2785: [6]TsAwb_gain=1.438,1.00,2.083, BV=-2.613, lux_idx=364, CT=4269, Total_G=0, Ch_g=1.000, IR/V=0.000, Flk=-3, LType=0, aRole=0
12-18 15:30:26.772 11953 12349 E CHI : [SS_ERR ]: [CHI_FAST_AEC]: chxsecusecasefastaec.cpp: SessionCbPartialCaptureResult: 702: Result: Cannot Accept NULL private data here for = 5
12-18 15:30:26.778 11953 12348 E CHIUSECASE: [ERROR ] chxusecase.cpp:1604 ReturnFrameworkResult() ChiFrame: 3 App Frame: 3 - pResult contains more buffers (1) than the expected number of buffers (0) to return to the framework!
12-18 15:30:26.778 11953 12350 I SS_3A : INFO: AWB: TsAwb_parse_stats: 1887: [stats_dbg] startupMode = StatisticsStartUpInvalid
12-18 15:30:26.778 11953 12350 I SS_3A : INFO: AWB: TsAwb_process_preview: 2785: [7]TsAwb_gain=1.438,1.00,2.083, BV=-2.613, lux_idx=365, CT=4269, Total_G=0, Ch_g=1.000, IR/V=0.000, Flk=-3, LType=0, aRole=0
12-18 15:30:26.778 11953 12355 I SS_3A : INFO: AEC: TsAec_process_get_aec_info: 2146: [W][7]algo_out Av=1.695,g=346.689,e_t=0.00809,LLS=0x0,Bv=-2.293,Ev=2.707,PEv=2.707,Cvgd=0,lux=370,FS=0,gam=0.0,lls=0x0,drc=1.000,vo=0.000,m=0
12-18 15:30:26.779 11953 12355 E CHI : [SS_ERR ]: [CHI_FAST_AEC]: chxsecusecasefastaec.cpp: SessionCbPartialCaptureResult: 702: Result: Cannot Accept NULL private data here for = 6
12-18 15:30:26.786 11953 12348 E CHIUSECASE: [ERROR ] chxusecase.cpp:1604 ReturnFrameworkResult() ChiFrame: 4 App Frame: 4 - pResult contains more buffers (1) than the expected number of buffers (0) to return to the framework!
12-18 15:30:26.787 11953 12357 I SS_3A : INFO: AWB: TsAwb_process_preview: 2785: [8]TsAwb_gain=1.482,1.00,1.901, BV=-2.293, lux_idx=371, CT=4695, Total_G=52, Ch_g=0.962, IR/V=0.000, Flk=-3, LType=0, aRole=0
12-18 15:30:26.787 11953 12351 I SS_3A : INFO: AEC: TsAec_process_get_aec_info: 2146: [W][8]algo_out Av=1.695,g=385.301,e_t=0.00809,LLS=0x0,Bv=-2.445,Ev=2.555,PEv=2.555,Cvgd=0,lux=374,FS=0,gam=0.0,lls=0x0,drc=1.000,vo=0.000,m=0
12-18 15:30:26.787 11953 12351 E CHI : [SS_ERR ]: [CHI_FAST_AEC]: chxsecusecasefastaec.cpp: SessionCbPartialCaptureResult: 702: Result: Cannot Accept NULL private data here for = 7
12-18 15:30:26.795 11953 12351 E CHIUSECASE: [ERROR ] chxusecase.cpp:1604 ReturnFrameworkResult() ChiFrame: 5 App Frame: 5 - pResult contains more buffers (1) than the expected number of buffers (0) to return to the framework!
12-18 15:30:26.803 11953 12348 E CHIUSECASE: [ERROR ] chxusecase.cpp:1604 ReturnFrameworkResult() ChiFrame: 6 App Frame: 6 - pResult contains more buffers (1) than the expected number of buffers (0) to return to the framework!
12-18 15:30:26.811 11953 12350 E CHIUSECASE: [ERROR ] chxusecase.cpp:1604 ReturnFrameworkResult() ChiFrame: 7 App Frame: 7 - pResult contains more buffers (1) than the expected number of buffers (0) to return to the framework!
12-18 15:30:26.811 11953 9620 I CHI : [SS_LOW ]: [CHI_FAST_AEC]: chxextensionmodule.cpp: ChxFastAecProcessRequest: 7725: [CAMKPI] ChxFastAecProcessRequest: X
12-18 15:30:26.811 11953 9620 I CHI : [SS_LOW ]: [CHI_FAST_AEC]: chxextensionmodule.cpp: ChxFastAecRunUseCase: 7586: [CAMKPI] FastAecDestroy: E
12-18 15:30:26.825 11953 9620 I SS_3A : INFO: AEC: TsAECDestroy: 275: overrideCameraClose in AECDestroy Camera close mask 62
12-18 15:30:26.825 11953 9620 I SS_3A : INFO: AEC: TsAECDestroy: 281: pCameraInfo->cameraid in AECDestroy 0
12-18 15:30:26.825 11953 9620 I SS_3A : INFO: AEC: TsAECDestroy: 303: TsAECDestroy (refcnt:1 cameraId 0 overrideCameraClose 0 lensFacing: 1 pAECAlgorithm 0x7901bf03d0 pAECSingletonWrapper->pAECSingleton 0x7901bf03d0
12-18 15:30:26.825 11953 9620 I SS_3A : INFO: AEC: TsAECDestroy: 329: Not Actual Destroy 0
12-18 15:30:26.825 11953 9620 I SS_3A : INFO: AEC: TsAecModeChange: 1444: aec_obj = 0x7b11a3b010 ModeChange!
12-18 15:30:26.826 11953 9620 I SS_3A : INFO: AWB: TsAwbDestroy: 270: overrideCameraClose in AWBDestroy 62
12-18 15:30:26.826 11953 9620 I SS_3A : INFO: AWB: TsAwbDestroy: 276: cameraId in AWBDestroy 0
12-18 15:30:26.826 11953 9620 I SS_3A : INFO: AWB: TsAwbDestroy: 298: TsAwbDestroy (refcnt:1 cameraId 0 overrideCameraClose 0 lensFacing 1 pAWBSingletonWrapper->pAWB 0x7901ccfe70
12-18 15:30:26.826 11953 9620 I SS_3A : INFO: AWB: TsAwbDestroy: 327: Not Actual Destroy 0
12-18 15:30:26.831 11953 9620 I CamX : [ INFO][CORE ] camxchitintlessinterface.cpp:71 TintlessAlgoDestory() Tintless Algo Destroy
12-18 15:30:26.832 11953 9620 E CamX : [ERROR][ISP ] secgtmclass.h:42 ~CGtmDrv() [gtmdrv] Destory this = 0x79c1d85250
12-18 15:30:26.837 15111 15869 V MdnieScenarioControlService: mAclOffEnabled : false mAclPreviewState : false mAclCompensationState : true
12-18 15:30:26.838 11953 9620 I CHI : [SS_LOW ]: [CHI_FAST_AEC]: chxextensionmodule.cpp: ChxFastAecRunUseCase: 7588: [CAMKPI] FastAecDestroy: X
12-18 15:30:26.838 11953 9620 I CHI : [SS_LOW ]: [CHI_FAST_AEC]: chxextensionmodule.cpp: ChxFastAecRunUseCase: 7594: [CAMKPI] FastAecThread: X
12-18 15:30:26.842 11953 9650 E CamX : [ERROR][ISP ] camxifenode.cpp:13505 FinalizeBufferPropertiesforRDIPortPDAF() RealTimeFeatureZSLPreviewRaw_IFE0, Unspported PDAF sensor type = 0
12-18 15:30:26.842 15111 15111 I NotificationService: Cannot find enqueued record for key: 0|com.motioncam|0|null|10830
12-18 15:30:26.844 11953 9652 E CamX : [ERROR][CORE ] camxtitan17xcontext.h:248 GetHwVersion() Platform version 5.8.0, cpas version 1.0.0, soc id 415
12-18 15:30:26.844 11953 9652 E CamX : [ERROR][CORE ] camxtitan17xcontext.h:248 GetHwVersion() Platform version 5.8.0, cpas version 1.0.0, soc id 415
12-18 15:30:26.844 11953 9655 E CamX : [ERROR][CORE ] camxtitan17xcontext.h:248 GetHwVersion() Platform version 5.8.0, cpas version 1.0.0, soc id 415
12-18 15:30:26.844 11953 9655 E CamX : [ERROR][CORE ] camxtitan17xcontext.h:248 GetHwVersion() Platform version 5.8.0, cpas version 1.0.0, soc id 415
12-18 15:30:26.844 11953 9655 E CamX : [ERROR][CORE ] camxtitan17xcontext.h:248 GetHwVersion() Platform version 5.8.0, cpas version 1.0.0, soc id 415
12-18 15:30:26.845 11953 16846 W CHIUSECASE: [WARN ] chifeature2base.cpp:9304 FinalizeSessionData() RealTime OutputPort: SensorRaw_Callback has NULL stream
12-18 15:30:26.845 11953 16846 W CHIUSECASE: [WARN ] chifeature2base.cpp:9304 FinalizeSessionData() RealTime OutputPort: MFHDR_IFE_Long_Full_out has NULL stream
12-18 15:30:26.845 11953 16846 W CHIUSECASE: [WARN ] chifeature2base.cpp:9304 FinalizeSessionData() RealTime OutputPort: MFHDR_IFE_Long_DS4_out has NULL stream
12-18 15:30:26.845 11953 16846 W CHIUSECASE: [WARN ] chifeature2base.cpp:9304 FinalizeSessionData() RealTime OutputPort: MFHDR_ZSL_In_Long_Raw_out has NULL stream
12-18 15:30:26.845 11953 16846 W CHIUSECASE: [WARN ] chifeature2base.cpp:9304 FinalizeSessionData() RealTime OutputPort: MFHDR_IFE_Short_Full_out has NULL stream
12-18 15:30:26.845 11953 16846 W CHIUSECASE: [WARN ] chifeature2base.cpp:9304 FinalizeSessionData() RealTime OutputPort: MFHDR_IFE_Short_DS4_out has NULL stream
12-18 15:30:26.845 11953 16846 W CHIUSECASE: [WARN ] chifeature2base.cpp:9304 FinalizeSessionData() RealTime OutputPort: MFHDR_ZSL_In_Short_Raw_out has NULL stream
12-18 15:30:26.845 11953 16846 W CHIUSECASE: [WARN ] chifeature2base.cpp:9304 FinalizeSessionData() RealTime OutputPort: MFHDR_IFE_Long_DISPLAY_out has NULL stream
12-18 15:30:26.845 11953 16846 W CHIUSECASE: [WARN ] chifeature2base.cpp:9304 FinalizeSessionData() RealTime OutputPort: MFHDR_IFE_Long_DS4_DISPLAY_out has NULL stream
12-18 15:30:26.845 11953 16846 W CHIUSECASE: [WARN ] chifeature2base.cpp:9304 FinalizeSessionData() RealTime OutputPort: MFHDR_IFE_Short_DISPLAY_out has NULL stream
12-18 15:30:26.845 11953 16846 W CHIUSECASE: [WARN ] chifeature2base.cpp:9304 FinalizeSessionData() RealTime OutputPort: MFHDR_IFE_Short_DS4_DISPLAY_out has NULL stream
12-18 15:30:26.846 11953 16846 W CHIUSECASE: [WARN ] chifeature2base.cpp:7620 GetSourcePort() No source port found for sink RAW_In1_Internal
12-18 15:30:26.846 11953 16846 W CHIUSECASE: [WARN ] chifeature2base.cpp:7620 GetSourcePort() No source port found for sink RAW_In2_Internal
12-18 15:30:26.846 11953 16846 W CHIUSECASE: [WARN ] chifeature2base.cpp:7620 GetSourcePort() No source port found for sink RAW_In3_Internal
12-18 15:30:26.846 11953 9651 I SS_3A : INFO: AEC: AECAlgoSetNodeInterface: 791: AEC vendorTagBase 0x809a0000
12-18 15:30:26.846 11953 9652 E CamX : [ERROR][CORE ] camxtitan17xcontext.h:248 GetHwVersion() Platform version 5.8.0, cpas version 1.0.0, soc id 415
12-18 15:30:26.847 11953 9652 E CamX : [ERROR][CORE ] camxtitan17xcontext.h:248 GetHwVersion() Platform version 5.8.0, cpas version 1.0.0, soc id 415
12-18 15:30:26.848 11953 9651 I SS_3A : INFO: AEC: AECAlgoSetNodeInterface: 801: AWB vendorTagBase 0x80990000
12-18 15:30:26.848 11953 9651 I SS_3A : INFO: AEC: AECAlgoSetNodeInterface: 811: AF vendorTagBase 0x80980000
12-18 15:30:26.848 11953 9655 E CamX : [ERROR][CORE ] camxtitan17xcontext.h:248 GetHwVersion() Platform version 5.8.0, cpas version 1.0.0, soc id 415
12-18 15:30:26.849 11953 9656 E CamX : [ERROR][CORE ] camxtitan17xcontext.h:248 GetHwVersion() Platform version 5.8.0, cpas version 1.0.0, soc id 415
12-18 15:30:26.849 11953 9656 E CamX : [ERROR][CORE ] camxtitan17xcontext.h:248 GetHwVersion() Platform version 5.8.0, cpas version 1.0.0, soc id 415
12-18 15:30:26.850 11953 9652 E CamX : [ERROR][CORE ] camxtitan17xcontext.h:248 GetHwVersion() Platform version 5.8.0, cpas version 1.0.0, soc id 415
12-18 15:30:26.850 11953 9656 E CamX : [ERROR][CORE ] camxtitan17xcontext.h:248 GetHwVersion() Platform version 5.8.0, cpas version 1.0.0, soc id 415
12-18 15:30:26.850 11953 9654 E CamX : [ERROR][CORE ] camxtitan17xcontext.h:248 GetHwVersion() Platform version 5.8.0, cpas version 1.0.0, soc id 415
12-18 15:30:26.850 11953 9654 E CamX : [ERROR][CORE ] camxtitan17xcontext.h:248 GetHwVersion() Platform version 5.8.0, cpas version 1.0.0, soc id 415
12-18 15:30:26.851 11953 9656 E CamX : [ERROR][CORE ] camxtitan17xcontext.h:248 GetHwVersion() Platform version 5.8.0, cpas version 1.0.0, soc id 415
12-18 15:30:26.851 15111 15164 D SettingsProvider: isChangeAllowed() : name = enabled_notification_listeners
12-18 15:30:26.852 15111 15164 D SettingsProvider: isChangeAllowed() : name = enabled_notification_listeners
12-18 15:30:26.852 11953 9651 I SS_3A : INFO: AEC: CreateAEC: 504: StaticAEC algo sizeOfParam for CHISTATSHANDLE is 24
12-18 15:30:26.852 11953 9651 I SS_3A : INFO: AEC: CreateAEC: 515: AEC_VendorTag:: Lens Facing = 1 chiSessionHandle = 0x7a91bee538
12-18 15:30:26.852 11953 9651 I SS_3A : INFO: AEC: CreateAEC: 588: StaticAEC algo create: camera open mask 1
12-18 15:30:26.852 11953 9651 I SS_3A : INFO: AEC: CreateAEC: 498: aec_camera_info 0 0
12-18 15:30:26.852 11953 9654 E CamX : [ERROR][CORE ] camxtitan17xcontext.h:248 GetHwVersion() Platform version 5.8.0, cpas version 1.0.0, soc id 415
12-18 15:30:26.853 11953 9651 I SS_3A : INFO: AEC: TsCommonFillSensorIdMap: 26: Already filled, cameraId(0) driverSensorId(0)
12-18 15:30:26.853 11953 9651 I SS_3A : INFO: AEC: CreateAEC: 606: CreateAECAlgorithm (refcnt:0 cameraId 0 OverrideCameraOpen 1 lensFacing 1 pAECSingletonWrapper->pAECSingleton 0x7901bf03d0 [sensor:S5KHM3]
12-18 15:30:26.853 11953 9651 I SS_3A : INFO: AEC: CreateAEC: 678: ReCreate AECAlgorithm 0x7901bf03d0
12-18 15:30:26.854 11953 9651 I SS_3A : INFO: AWB: CreateAWBAlgorithm: 498: statsStreamInitConfig operationMode 0
12-18 15:30:26.854 11953 9651 I SS_3A : INFO: AWB: CreateAWBAlgorithm: 422: StaticAWB algo sizeOfParam for CHISTATSHANDLE is 24
12-18 15:30:26.854 11953 9651 I SS_3A : INFO: AWB: CreateAWBAlgorithm: 431: Lens Facing = 1
12-18 15:30:26.854 11953 9651 I SS_3A : INFO: AWB: CreateAWBAlgorithm: 479: StaticAWB algo create: overrideCameraOpen is 1
12-18 15:30:26.854 11953 9651 I SS_3A : INFO: AWB: CreateAWBAlgorithm: 489: cameraInfo algoRole 0, cameraId 0
12-18 15:30:26.854 11953 9651 I SS_3A : INFO: AWB: TsCommonFillSensorIdMap: 26: Already filled, cameraId(0) driverSensorId(0)
12-18 15:30:26.854 11953 9651 I SS_3A : INFO: AWB: CreateAWBAlgorithm: 516: CreateAWBAlgorithm (refcnt:0 cameraId 0 OverrideCameraOpen 1 lensFacing 1 pAWBSingletonWrapper->pAWB 0x7901ccfe70
12-18 15:30:26.854 11953 9651 I SS_3A : INFO: AWB: CreateAWBAlgorithm: 582: ReCreate AWBAlgorithm, pAWB 0x7901ccfe70
12-18 15:30:26.854 11953 9651 I SS_3A : INFO: AWB: TsAwb_get_cal_data: 135: module[0] 1787 3182 3175 1533
12-18 15:30:26.854 11953 9651 I SS_3A : INFO: AWB: TsAwb_get_cal_data: 137: module[0] RG 0.562215 , BG 0.482303
12-18 15:30:26.854 11953 9651 I SS_3A : INFO: AWB: TsAwb_init_with_mode: 160: TuningVersion 0xCC1A0217
12-18 15:30:26.854 11953 9651 I SS_3A : INFO: AWB: TsAwb_init_with_mode: 178: [eLensType 0] Adjust_gain = 0.983220, 1.015067
12-18 15:30:26.854 11953 9651 I SS_3A : INFO: AF: PDLibSetAlgoInterface: 2358: AF vendorTagBase 0x80980000
12-18 15:30:26.854 11953 9651 I SS_3A : INFO: AF: CreatePDLib: 2398: CreatePDLib
12-18 15:30:26.854 11953 9651 I SS_3A : INFO: AF: CreatePDLib: 2416: CreatePDLib static create: overrideCameraOpen is 1
12-18 15:30:26.854 11953 9651 I SS_3A : INFO: AF: CreatePDLib: 2424: CreatePDLib af_camera_info 0
12-18 15:30:26.854 11953 9651 I SS_3A : INFO: AF: CreatePDLib: 2433: StaticAF algo sizeOfParam for CHISTATSHANDLE is 24 i 3 pParam 0x7ae265bb18
12-18 15:30:26.854 11953 9651 I SS_3A : INFO: AF: CreatePDLib: 2441: PDLibSetAlgoInterface 0x78778aa550 pQueryVendorTagLocation 0x78a8f574d8 staticMetaData metaTag = 0 chiSessionHandle 0x7ae265bb18
12-18 15:30:26.854 11953 9651 I SS_3A : INFO: AF: CreatePDLib: 2450: Lens Facing(currentCam) = 1
12-18 15:30:26.854 11953 9651 I SS_3A : INFO: AF: CreatePDLib: 2463: staticMetaData = 0x7854cc2f48
12-18 15:30:26.854 11953 9651 I SS_3A : INFO: AF: CreatePDLib: 2468: driverSensorId = 0
12-18 15:30:26.854 11953 9651 I SS_3A : INFO: AF: TsCommonFillSensorIdMap: 26: Already filled, cameraId(0) driverSensorId(0)
12-18 15:30:26.854 11953 9651 I SS_3A : INFO: AF: CreatePDLib: 2495: pPDAF before 0x0
12-18 15:30:26.854 11953 9651 I SS_3A : INFO: AF: PDAf_init_rear: 1778: [PD_cpu]PDAf_init_rear E PDData 0x78e1bcaa50
12-18 15:30:26.854 11953 9654 E CamX : [ERROR][CORE ] camxtitan17xcontext.h:248 GetHwVersion() Platform version 5.8.0, cpas version 1.0.0, soc id 415
12-18 15:30:26.855 11953 9651 I SS_3A : INFO: AF: AFAlgoSetNodeInterface: 2108: AF vendorTagBase 0x80980000
12-18 15:30:26.855 11953 9651 I SS_3A : INFO: AF: AFAlgoSetNodeInterface: 2116: AWB vendorTagBase 0x80990000
12-18 15:30:26.855 11953 9651 I SS_3A : INFO: AF: AFAlgoSetNodeInterface: 2124: AEC vendorTagBase 0x809a0000
12-18 15:30:26.855 11953 9651 I SS_3A : INFO: AF: PDLibInitialize: 2106: initParam [0x78e1bcaa50 0x786e3cf040]
12-18 15:30:26.855 11953 9651 I SS_3A : INFO: AF: PDLibInitialize: 2111: initParam CameraID 0 sensorType 2 sensor info [4000 3000] pd info 2pd [152 113] sparsepd [1992 744]
12-18 15:30:26.855 11953 9651 I SS_3A : INFO: AF: CreateAFAlgorithm: 347: E
12-18 15:30:26.855 11953 9651 I SS_3A : INFO: AF: CreateAFAlgorithm: 379: StaticAF algo sizeOfParam for CHISTATSHANDLE is 24
12-18 15:30:26.855 11953 9651 I SS_3A : INFO: AF: CreateAFAlgorithm: 388: Lens Facing(currentCam) = 1
12-18 15:30:26.855 11953 9651 I SS_3A : INFO: AF: CreateAFAlgorithm: 407: driverSensorId = 0
12-18 15:30:26.855 11953 9651 I SS_3A : INFO: AF: CreateAFAlgorithm: 427: TsAf->FactoryCamera : 0
12-18 15:30:26.855 11953 9651 I SS_3A : INFO: AF: CreateAFAlgorithm: 439: rangeSensorMode : 0
12-18 15:30:26.855 11953 9651 I SS_3A : INFO: AF: CreateAFAlgorithm: 497: StaticAF algo create: overrideCameraOpen is 1
12-18 15:30:26.855 11953 9651 I SS_3A : INFO: AF: CreateAFAlgorithm: 373: af_camera_info 0
12-18 15:30:26.855 11953 9651 I SS_3A : INFO: AF: TsCommonFillSensorIdMap: 26: Already filled, cameraId(0) driverSensorId(0)
12-18 15:30:26.855 11953 9651 I SS_3A : INFO: AF: CreateAFAlgorithm: 513: newly mapped af_camera_info(sensorId) 0
12-18 15:30:26.855 11953 9651 I SS_3A : INFO: AF: CreateAFAlgorithm: 517: CreateAFAlgorithm (refcnt:0 cameraId 0 overrideCameraOpen 1 lensFacing 1 pAFSingletonWrapper->pAFSingleton 0x0
12-18 15:30:26.855 11953 9651 I SS_3A : INFO: AF: CreateAFAlgorithm: 523: pAF before 0x0
12-18 15:30:26.855 11953 9651 I SS_3A : INFO: AF: CreateAFAlgorithm: 532: SS_AF_LIB loading cam[1]
12-18 15:30:26.855 11953 9651 I SS_3A : INFO: AF: LoadAlgorithmAndSymbols: 289: E
12-18 15:30:26.855 11953 9651 I SS_3A : INFO: AF: LoadAlgorithmAndSymbols: 298: libPathName : libTsAf_P3Q.so!
12-18 15:30:26.856 11953 16846 W CHIUSECASE: [WARN ] chifeature2base.cpp:9304 FinalizeSessionData() Bayer2Yuv OutputPort: YUV_Out3 has NULL stream
12-18 15:30:26.857 11953 9651 I SS_3A : INFO: AF: TsAf_init: 3140: libptr: 0xe6a33b78047ddf99 E cameraId 0
12-18 15:30:26.857 11953 9651 I SS_3A : INFO: AF: TsAf_init: 3157: TsAf_init FirstTsAf_wrapper_data_t addr 0x786e7075c0 size 444984
12-18 15:30:26.857 11953 9654 E CamX : [ERROR][CORE ] camxtitan17xcontext.h:248 GetHwVersion() Platform version 5.8.0, cpas version 1.0.0, soc id 415
12-18 15:30:26.857 11953 9651 I SS_3A : INFO: AF: TsAf_init_param: 3121: TsAf_init_param setting init param
12-18 15:30:26.857 11953 9651 I SS_3A : INFO: AF: TsAf_init_param: 3135: TsAf_init_param: lens type 1 last_pos_rear 3687
12-18 15:30:26.857 11953 9651 I SS_3A : INFO: AF: TsAf_init: 3227: TsAf_init camera id 0 0x786e7075c0 TsAf [0x786e7075c0] 0x7826ab7f7c
12-18 15:30:26.857 11953 9651 I SS_3A : INFO: AF: TsAf_get_cal_data: 1074: Device modle = SAMSUNG_P3
12-18 15:30:26.857 11953 9651 E libc : Access denied finding property "persist.camera.af.lib.debug"
12-18 15:30:26.857 926 926 E audit : type=1400 audit(1639821626.852:103949): avc: denied { read } for pid=11953 comm="HwBinder:11953_" name="u:object_r:default_prop:s0" dev="tmpfs" ino=14448 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=0 SEPF_SM-G998U1_11_0010 audit_filtered
12-18 15:30:26.857 11953 9651 E libc : Access denied finding property "persist.camera.af.lib.osd"
12-18 15:30:26.857 926 926 E audit : type=1300 audit(1639821626.852:103949): arch=c00000b7 syscall=56 success=no exit=-13 a0=ffffff9c a1=786e3d1af8 a2=88000 a3=0 items=1 ppid=1 pid=11953 auid=4294967295 uid=1047 gid=1005 euid=1047 suid=1047 fsuid=1047 egid=1005 sgid=1005 fsgid=1005 tty=(none) ses=4294967295 comm="HwBinder:11953_" exe="/vendor/bin/hw/[email protected]_64" subj=u:r:hal_camera_default:s0 key=(null)
12-18 15:30:26.857 11953 9651 E AF_DEBUG: AfLib_BootingInit(538) : [cam_id_1][CMG_EFL] : AF_Lib Version = 0xA2B3 Chip Type = 1 (0:LSI, 1:QC)
12-18 15:30:26.857 926 926 E audit : type=1302 audit(1639821626.852:103949): item=0 name="/dev/__properties__/u:object_r:default_prop:s0" inode=14448 dev=00:13 mode=0100444 ouid=0 ogid=0 rdev=00:00 obj=u:object_r:default_prop:s0 nametype=NORMAL cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0
12-18 15:30:26.857 926 926 E audit : type=1327 audit(1639821626.852:103949): proctitle="/vendor/bin/hw/[email protected]_64"
12-18 15:30:26.857 11953 9651 E AF_DEBUG: LinkAfCalData(165) : [CMG_AF_META] : af_cal = ref_table_arr[0]->af_cal_data max_arr= 5;
12-18 15:30:26.857 11953 9651 E AF_DEBUG: SetAfModuleInfo(258) : [cam_id_1][CMG_EFL] : Module = XA8XLNF00SM, ModuleType = 5, phaseType = 1
12-18 15:30:26.857 11953 9651 E AF_DEBUG: PrintAfCalData(353) : [cam_id_1][CMG_EFL] : 12bit | af cal data far: 1180, middle2: 1548, middle1: 1765, near: 3687, add_80: -1, plus_offset: 0, minus_offset: 0 *af_cal->zoom_rate(x1000) 1000
12-18 15:30:26.857 11953 9651 E AF_DEBUG: PrintAfCalData(364) : [cam_id_1][CMG_EFL] : 9bit | af cal data far: 147, middle2: 193, middle1: 220, near: 460, add_80: -1, plus_offset: 0, minus_offset: 0 *af_cal->zoom_rate(x1000) 1000
12-18 15:30:26.857 11953 9651 E AF_DEBUG: LoadPafCalData(418) : [cam_id_1][CMG_EFL] : paf_cal_data_info = 20201015 paf_cal_errcheck 0x00000000 paf_cal_data_info_s = 20201015 paf_cal_errcheck_s 0x00000000 flag_small_aperire = 0
12-18 15:30:26.857 11953 9651 E AF_DEBUG: LoadPafCalData(425) : [cam_id_1][CMG_EFL] QCHWPD enabled: paf_cal_data_info = 20201015 paf_cal_data_info_s = 20201015
12-18 15:30:26.858 11953 9651 E AF_DEBUG: MemoryAllocationPdaf(120) : [CMG_AF_PDAF] Memory Allocation for Wide PAF MainWindow Data Done!
12-18 15:30:26.858 11953 9651 E AF_DEBUG: CheckAfCalValidity(484) : [cam_id_1][CMG_AF] : far(1180) mac(3687) max(4088)
12-18 15:30:26.858 11953 9651 E AF_DEBUG: AfLib_BootingInit(558) : [cam_id_1][factory_af_booting_init] factory_af_flag = 0
12-18 15:30:26.858 11953 9651 E AF_DEBUG: CheckBootingInitDone(612) : [cam_id_1][CMG_EFL] : Booting Init is not done!!
12-18 15:30:26.858 11953 9651 I SS_3A : INFO: AF: TsAf_init: 3247: Set AF default lens_type_for_lib 1 pos 1180
12-18 15:30:26.858 11953 9651 I SS_3A : INFO: AF: LoadAlgorithmAndSymbols: 314: TsAf_init calls
12-18 15:30:26.858 11953 9651 I SS_3A : INFO: AF: LoadAlgorithmAndSymbols: 335: X
12-18 15:30:26.858 11953 9651 I SS_3A : INFO: AF: TsAf_Range_sensor_init: 3547: TsAf_wrap: 0x786e7075c0 E
12-18 15:30:26.858 11953 9651 I SS_3A : INFO: AF: TsAf_Range_sensor_init: 3568: [TsAf_Range] open success /dev/range_sensor fd : 196
12-18 15:30:26.861 11953 9664 W CamX : [ WARN][FORMAT ] camximageformatmapper.cpp:786 FillImageFormatInfo() format 14 is not supported by Gralloc, use internal calc
12-18 15:30:26.862 11953 9664 W CamX : [ WARN][FORMAT ] camximageformatmapper.cpp:786 FillImageFormatInfo() format 14 is not supported by Gralloc, use internal calc
12-18 15:30:26.862 11953 9664 W CamX : [ WARN][FORMAT ] camximageformatmapper.cpp:786 FillImageFormatInfo() format 14 is not supported by Gralloc, use internal calc
12-18 15:30:26.862 11953 9663 W CamX : [ WARN][FORMAT ] camximageformatmapper.cpp:786 FillImageFormatInfo() format 14 is not supported by Gralloc, use internal calc
12-18 15:30:26.862 11953 9663 W CamX : [ WARN][FORMAT ] camximageformatmapper.cpp:786 FillImageFormatInfo() format 14 is not supported by Gralloc, use internal calc
12-18 15:30:26.862 11953 9665 I CHIGPU : camxchinodegpu.cpp:4772 SetBufferInfo(): OutputPortId: 0 - (4000 x 3000) isSinkPortwithBuffer 1
12-18 15:30:26.862 11953 16846 W CamX : [ WARN][FORMAT ] camximageformatmapper.cpp:786 FillImageFormatInfo() format 14 is not supported by Gralloc, use internal calc
12-18 15:30:26.862 11953 16846 W CamX : [ WARN][FORMAT ] camximageformatmapper.cpp:786 FillImageFormatInfo() format 14 is not supported by Gralloc, use internal calc
12-18 15:30:26.865 11953 16846 E CHI : [SS_ERR ]: [CHI ]: chxextensionmodule.cpp: initSsrmCameraInfo: 13675: Invalid Format: 37
12-18 15:30:26.865 11953 16846 I Unihal : UniState.cpp: transitState: 73: Transiting to state 4
12-18 15:30:26.865 11953 16846 I [email protected]: [CAMKPI] camera3->configure_streams : X
12-18 15:30:26.865 11953 12355 E CamX : [ERROR][SENSOR ] camxsensornode.cpp:4875 CreateAndSubmitCommand() currentResolutionIndex : 2, m SensorName : s5khm3
12-18 15:30:26.865 11953 12355 E CamX : [ERROR][SENSOR ] camxsensornode.cpp:12266 GetSensorMode() Sensor name: s5khm3
12-18 15:30:26.865 11953 12355 E CamX : [ERROR][SENSOR ] camxsensornode.cpp:12278 GetSensorMode() capability : 20
12-18 15:30:26.865 14908 22211 D Camera3-Device: configureStreams : stream[0] : format = 0x22, data_space = 0x0, max_buffers = 8, physical_camera_id =
12-18 15:30:26.865 14908 22211 D Camera3-Device: configureStreams : stream[1] : format = 0x25, data_space = 0x1, max_buffers = 8, physical_camera_id =
12-18 15:30:26.865 14908 22211 D Camera3-Device: CameraPerf: Connect Streams E
12-18 15:30:26.865 14908 22211 I Camera3-Status: addComponent: Adding new component 2 - streamId = 0, format = 34, width = 1440, height = 1080, option = 0
12-18 15:30:26.865 14908 22211 D Camera3-OutputStream: configureConsumerQueueLocked: Consumer wants 2 buffers, HAL wants 8
12-18 15:30:26.866 14908 22211 I Camera3-Status: addComponent: Adding new component 3 - streamId = 1, format = 37, width = 4000, height = 3000, option = 0
12-18 15:30:26.866 14908 22211 D Camera3-OutputStream: configureConsumerQueueLocked: Consumer wants 4 buffers, HAL wants 8
12-18 15:30:26.867 14908 22211 D Camera3-Device: CameraPerf: Connect Streams X
12-18 15:30:26.867 14908 22211 D Camera3-Device: Set real time priority for request queue thread (tid 9616)
12-18 15:30:26.867 14908 22211 D Camera3-Device: CameraPerf: configureStreamsLocked: Camera 0: Stream configuration complete
@mirsadm I did a little digging and found out these errors.
12-18 15:30:57.874 11953 10745 E libc : Access denied finding property "persist.camera.af.lib.debug"
12-18 15:30:57.874 11953 10745 E libc : Access denied finding property "persist.camera.af.lib.osd"
also there are multiple avc: denied
errors
12-18 15:30:56.964 926 926 E audit : type=1400 audit(1639821656.960:103954): avc: denied { read } for pid=11953 comm="[email protected]" name="u:object_r:default_prop:s0" dev="tmpfs" ino=14448 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=0 SEPF_SM-G998U1_11_0010 audit_filtered
12-18 15:30:56.964 926 926 E audit : type=1300 audit(1639821656.960:103954): arch=c00000b7 syscall=56 success=no exit=-13 a0=ffffff9c a1=786e3d1af8 a2=88000 a3=0 items=1 ppid=1 pid=11953 auid=4294967295 uid=1047 gid=1005 euid=1047 suid=1047 fsuid=1047 egid=1005 sgid=1005 fsgid=1005 tty=(none) ses=4294967295 comm="[email protected]" exe="/vendor/bin/hw/[email protected]_64" subj=u:r:hal_camera_default:s0 key=(null)
@mirsadm any idea?
@mirsadm logs for 8.0beta2
By PID: https://ufile.io/aawd9tly Full Device logs: https://ufile.io/3p18fwxd
Thanks for the logs but I'm not sure this is something I can fix. After some research it seems to be a problem with that particular phone. If you are able to get more information from one of the developers working on a GCam port for that phone they may be able to help
Can someone try this release: https://github.com/mirsadm/motioncam/releases/download/8.0.0-beta3/MotionCam-Samsung-Test.apk
Can someone try this release: https://github.com/mirsadm/motioncam/releases/download/8.0.0-beta3/MotionCam-Samsung-Test.apk
@mirsadm no luck. facing the same issue.
@mirsadm is it possible to change the package name to com.samsung.android.ruler
for the samsung build?
Could you try this one: https://github.com/mirsadm/motioncam/releases/download/8.0.4/MotionCam.8.0.4.apk
I've changed a couple of things again
@mirsadm still having the same issue.
One of the Gcam devs got in touch and said to try this out.
The thing you're looking for is Qualcomm Stream Configs. It needs to be set to 61446.
Do you have an idea?