openfoodfacts / smooth-app

🤳🥫 The new Open Food Facts mobile application for Android and iOS, crafted with Flutter and Dart
https://world.openfoodfacts.org/open-food-facts-mobile-app?utm_source=off&utf_medium=web&utm_campaign=github-repo
Apache License 2.0
837 stars 279 forks source link

We have a BIG scan issue #2741

Closed teolemon closed 2 years ago

teolemon commented 2 years ago

What

We have a big scan issue. We discussed it at length with @g123k the other day. I'm pinning this until we solve it, and people are happy again.

People are complaining on all channels (email, appstore, app survey)

I believe we didn't ship some of the fixes in the last release, so native bug is still on-going, and people are still complaining: https://github.com/openfoodfacts/smooth-app/pull/2740/files#diff-5898cc81afbf2560f009273208f7247c03d829eabc864ab252c5ef475a713f5eR151

Complaints are focused on Redmi, Oppo, Oneplus

Here's raw user feedback if you'd like to peruse, Scan issues are classified as such: https://docs.google.com/spreadsheets/d/1KsJv8_RxfDDd5ngmeQ4k8ELsudl-YhleXEoDFoGoSAE/edit#gid=1439550856

Linked issues

g123k commented 2 years ago

There is an issue I’m currently working on: a product added, then removed, can not be scanned anymore.

so we have to be really careful when we talk about the scan. It might be side effects from other parts of the code.

g123k commented 2 years ago

@teolemon Any news from the iOS users? On my side, I've tried to reproduce the OOM issue on iOS by letting the camera for hours… without any problem :(


For the permission's screen, do you know where Quentin took the illustrations for the onboarding?

monsieurtanuki commented 2 years ago

My suggestions on the topic as a back-seat driver, ordered by decreasing relevancy:

  1. use a dedicated screen/widget for the camera+barcode scan
    1. all the complexity of maintaining the camera in idle mode because of the "3 parallel bottom tabs" system will be removed (the camera widget on one specific page, exit the page = exit the camera)
    2. we can use a smaller camera widget - smaller area faster computations
    3. less complex home page - "scan a barcode" button + "type in a query" button (plus possibly an "enter a barcode" button), instead of constant camera background
  2. better isolate code (disclaimer: I haven't seen how the isolate was implemented here, it's probable that my analysis is partly or completely incorrect) - instead of calling the isolate barcode scan code possibly several times in parallel, the isolate should send a message back when it's done, and no isolate scan should be called while one is running (the current implementation looks like we create a new isolate that detects that another one is running)
g123k commented 2 years ago

For the isolate thing, we only have 1 isolate running. If a decoding is happening, the request is put in a queue, waiting for the task to be done or replaced by another scan.

monsieurtanuki commented 2 years ago

You mean that beside the isolate currently running, there's at maximum another one pending, am I right? Even there, that means that we have 2 isolates, memory-wise. Plus all the memory tap dancing when you're replacing the pending isolate (if I've understood well). I guess that we should not put the next isolate in the queue, and just ignore it: the camera refresh is fast enough to trigger another scan event and create a new isolate (only when no isolate is running). Does that make sense?

g123k commented 2 years ago

No there is just one Isolate, but I thought you meant that each photo = one Isolate, which is not the case.

The data is only sent when the decoding happens, so no worry about that.

But it seems that the issue is not about the Isolate itself, but more related to the camera. Unless I have a device with the issue, I can’t say more, because users are only stating « it doesn’t work ». Really helpful, thanks >_<

monsieurtanuki commented 2 years ago

No there is just one Isolate, but I thought you meant that each photo = one Isolate, which is not the case. The data is only sent when the decoding happens, so no worry about that.

I need to have a look at your code then, there's something I don't understand.

But it seems that the issue is not about the Isolate itself, but more related to the camera.

Indeed, that's why I ranked the specific camera scan page/widget as more important.

Unless I have a device with the issue, I can’t say more, because users are only stating « it doesn’t work ». Really helpful, thanks >_<

Unfortunately that's a common pattern for users :) That's also why I recommended a less ambitious specific page/widget, with less reasons to fail. And not a degraded UX (IMHO).

monsieurtanuki commented 2 years ago

@g123k As I said, I don't think the isolate part is the most problematic.

That said, I would like you to run performance tests (when you have time) around the types of barcodes. Currently you use many types, and many of them are probably irrelevant (cf. https://www.scandit.com/blog/types-barcodes-choosing-right-barcode/). I don't know how faster things would be if we check for fewer types.

      BarcodeFormat.ean8, // Retail, ok
      BarcodeFormat.ean13, // Retail, ok
      BarcodeFormat.upca, // Retail, ok
      BarcodeFormat.upce, // Retail, ok
      BarcodeFormat.code39, // Automotive and Defense, probably irrelevant
      BarcodeFormat.code93, // Retail, Manufacturing and Logistics, not sure
      BarcodeFormat.code128, // Supply Chain, probably irrelevant
      BarcodeFormat.itf, // Packaging, not sure
      BarcodeFormat.codabar, // Logistics, Healthcare and Education, probably irrelevant

I also think that your computation of average time is slightly flawed, because you consider both actual barcode scan operations (which is good) AND aborted operations (that failed because another operation is already running) (which is not relevant).

teolemon commented 2 years ago

"Kann kein neues Produkt hinzufügen, wenn ich es einscanne."

M123-dev commented 2 years ago

"Kann kein neues Produkt hinzufügen, wenn ich es einscanne."

Translated: I can't add new products when I scan them

g123k commented 2 years ago

Once again, the sentence by itself doesn't help us. Is he able to scan, and no product is showing? Or can't he scan?

That's the real issue we have… with this issue.

@teolemon Any feedback from the iOS users you emailed?

monsieurtanuki commented 2 years ago

@g123k I agree, that can lead to different interpretations. Wouldn't that be an appropriate reason to implement #2662 sooner?

teolemon commented 2 years ago

I lost the draft email we made during the call. I just did this https://calendly.com/openfoodfacts/debugging-the-scan-on-open-food-facts-together @g123k

g123k commented 2 years ago

Just a quick update: this morning we were finally able to see the problem in a real device with @teolemon. The camera is working well, but the scan doesn’t seem to work.

I will receive the faulty device tomorrow Friday (a OnePlus Nord CE 2) and hope this time, we will fix the issue.

monsieurtanuki commented 2 years ago

Good luck @g123k!

monsieurtanuki commented 2 years ago

Camera crash log (smoothie downloaded today from play store on Android 21). The onboarding is fine, but the app crashes when I land on the camera/scan page:

Installing build/app/outputs/flutter-apk/app.apk...                56,8s
Syncing files to device SM G360F...                                456ms

Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).

💪 Running with sound null safety 💪

An Observatory debugger and profiler on SM G360F is available at:
http://127.0.0.1:61088/omqQd85GBPI=/
The Flutter DevTools debugger and profiler on SM G360F is available at:
http://127.0.0.1:9100?uri=http://127.0.0.1:61088/omqQd85GBPI=/
I/flutter (13731): 2022-08-22T15:01:11.466688   I         SmoothService:     New app session started
W/ArrayUtils(13731): Ignoring invalid value vintage-cold
W/ArrayUtils(13731): Ignoring invalid value point-blue
W/ArrayUtils(13731): Ignoring invalid value point-red-yellow
W/ArrayUtils(13731): Ignoring invalid value emboss
W/ArrayUtils(13731): Ignoring invalid value sketch
W/ArrayUtils(13731): Ignoring invalid value neon
W/ArrayUtils(13731): Ignoring invalid value beauty
W/ArrayUtils(13731): Ignoring invalid value vintage-cold
W/ArrayUtils(13731): Ignoring invalid value point-blue
W/ArrayUtils(13731): Ignoring invalid value point-red-yellow
W/ArrayUtils(13731): Ignoring invalid value emboss
W/ArrayUtils(13731): Ignoring invalid value sketch
W/ArrayUtils(13731): Ignoring invalid value neon
W/ArrayUtils(13731): Ignoring invalid value beauty
I/Timeline(13731): Timeline: Activity_idle id: android.os.BinderProxy@763f797 time:53574227
I/flutter (13731): unhandled element filter; Picture key: AssetBundlePictureKey(bundle: PlatformAssetBundle#90112(), name: "assets/onboarding/reinvention.svg", colorFilter: null, theme: SvgTheme(currentColor: Color(0xff000000), fontSize: 14.0, xHeight: 7.0))
D/ViewRootImpl(13731): ViewPostImeInputStage ACTION_DOWN
D/ViewRootImpl(13731): ViewPostImeInputStage ACTION_DOWN
D/ViewRootImpl(13731): ViewPostImeInputStage ACTION_DOWN
D/ViewRootImpl(13731): ViewPostImeInputStage ACTION_DOWN
D/ViewRootImpl(13731): ViewPostImeInputStage ACTION_DOWN
I/flutter (13731): unhandled element defs; Picture key: PictureKey(Instance of 'NetworkPictureKeyData', colorFilter: null, theme: SvgTheme(currentColor: Color(0xff000000), fontSize: 14.0, xHeight: 7.0))
I/flutter (13731): unhandled element sodipodi:namedview; Picture key: PictureKey(Instance of 'NetworkPictureKeyData', colorFilter: null, theme: SvgTheme(currentColor: Color(0xff000000), fontSize: 14.0, xHeight: 7.0))
I/flutter (13731): unhandled element metadata; Picture key: PictureKey(Instance of 'NetworkPictureKeyData', colorFilter: null, theme: SvgTheme(currentColor: Color(0xff000000), fontSize: 14.0, xHeight: 7.0))
D/ViewRootImpl(13731): ViewPostImeInputStage ACTION_DOWN
D/ViewRootImpl(13731): ViewPostImeInputStage ACTION_DOWN
D/ViewRootImpl(13731): ViewPostImeInputStage ACTION_DOWN
D/ViewRootImpl(13731): ViewPostImeInputStage ACTION_DOWN
I/flutter (13731): 2022-08-22T15:01:53.140629   D   PermissionListener:  New permission value: DevicePermission{permission: Permission.camera, status: DevicePermissionStatus.checking}
I/flutter (13731): 2022-08-22T15:01:55.571279   D   PermissionListener:  New permission value: DevicePermission{permission: Permission.camera, status: DevicePermissionStatus.granted}
I/flutter (13731): 2022-08-22T15:01:55.877159   D   CameraController:    New controller created
I/flutter (13731): 2022-08-22T15:01:55.947373   D   CameraController:    Controller is being initialized
I/flutter (13731): 2022-08-22T15:01:55.950917   D   CameraController:    New camera state = _CameraState.beingInitialized
W/ArrayUtils(13731): Ignoring invalid value vintage-cold
W/ArrayUtils(13731): Ignoring invalid value point-blue
W/ArrayUtils(13731): Ignoring invalid value point-red-yellow
W/ArrayUtils(13731): Ignoring invalid value emboss
W/ArrayUtils(13731): Ignoring invalid value sketch
W/ArrayUtils(13731): Ignoring invalid value neon
W/ArrayUtils(13731): Ignoring invalid value beauty
W/ArrayUtils(13731): Ignoring invalid value vintage-cold
W/ArrayUtils(13731): Ignoring invalid value point-blue
W/ArrayUtils(13731): Ignoring invalid value point-red-yellow
W/ArrayUtils(13731): Ignoring invalid value emboss
W/ArrayUtils(13731): Ignoring invalid value sketch
W/ArrayUtils(13731): Ignoring invalid value neon
W/ArrayUtils(13731): Ignoring invalid value beauty
I/CameraManager(13731): Using legacy camera HAL.
W/ArrayUtils(13731): Ignoring invalid value vintage-cold
W/ArrayUtils(13731): Ignoring invalid value point-blue
W/ArrayUtils(13731): Ignoring invalid value point-red-yellow
W/ArrayUtils(13731): Ignoring invalid value emboss
W/ArrayUtils(13731): Ignoring invalid value sketch
W/ArrayUtils(13731): Ignoring invalid value neon
W/ArrayUtils(13731): Ignoring invalid value beauty
I/Camera  (13731): startPreview
I/CameraDeviceState(13731): Legacy camera service transitioning to state CONFIGURING
I/RequestThread-0(13731): Configure outputs: 2 surfaces configured.
D/Camera  (13731): app passed NULL surface
I/RequestThread-0(13731): configureOutputs - set take picture size to 1280x720
I/CameraDeviceState(13731): Legacy camera service transitioning to state IDLE
I/Camera  (13731): CameraCaptureSession onConfigured
I/Camera  (13731): Updating builder settings
D/Camera  (13731): Updating builder with feature: FpsRangeFeature [7500, 120000]
D/Camera  (13731): Updating builder with feature: NoiseReductionFeature fast
I/Camera  (13731): updateNoiseReduction | currentSetting: fast
D/Camera  (13731): Updating builder with feature: FlashFeature auto
D/Camera  (13731): Updating builder with feature: SensorOrientationFeature 90
D/Camera  (13731): Updating builder with feature: ExposureLockFeature auto
D/Camera  (13731): Updating builder with feature: ExposurePointFeature null
D/Camera  (13731): Updating builder with feature: AutoFocusFeature auto
D/Camera  (13731): Updating builder with feature: ZoomLevelFeature 1.0
D/Camera  (13731): Updating builder with feature: ResolutionFeature high
D/Camera  (13731): Updating builder with feature: ExposureOffsetFeature 0.0
D/Camera  (13731): Updating builder with feature: FocusPointFeature null
I/RequestQueue(13731): Repeating capture request set.
W/LegacyRequestMapper(13731): convertRequestMetadata - control.awbRegions setting is not supported, ignoring value
I/Camera  (13731): unlockAutoFocus
I/RequestQueue(13731): Repeating capture request cancelled.
I/RequestQueue(13731): Repeating capture request set.
I/RequestQueue(13731): Repeating capture request cancelled.
I/RequestQueue(13731): Repeating capture request set.
I/RequestQueue(13731): Repeating capture request cancelled.
I/RequestQueue(13731): Repeating capture request set.
I/RequestQueue(13731): Repeating capture request cancelled.
I/RequestQueue(13731): Repeating capture request set.
I/RequestQueue(13731): Repeating capture request cancelled.
E/AndroidRuntime(13731): FATAL EXCEPTION: RequestThread-0
E/AndroidRuntime(13731): Process: org.openfoodfacts.scanner, PID: 13731
E/AndroidRuntime(13731): java.lang.RuntimeException: startPreview failed
E/AndroidRuntime(13731):    at android.hardware.Camera.startPreview(Native Method)
E/AndroidRuntime(13731):    at android.hardware.camera2.legacy.RequestThreadManager.startPreview(RequestThreadManager.java:275)
E/AndroidRuntime(13731):    at android.hardware.camera2.legacy.RequestThreadManager.doPreviewCapture(RequestThreadManager.java:317)
E/AndroidRuntime(13731):    at android.hardware.camera2.legacy.RequestThreadManager.access$1600(RequestThreadManager.java:61)
E/AndroidRuntime(13731):    at android.hardware.camera2.legacy.RequestThreadManager$5.handleMessage(RequestThreadManager.java:756)
E/AndroidRuntime(13731):    at android.os.Handler.dispatchMessage(Handler.java:98)
E/AndroidRuntime(13731):    at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime(13731):    at android.os.HandlerThread.run(HandlerThread.java:61)
I/flutter (13731): 2022-08-22T15:01:57.730979   D         LifeCycleManagerState:     Visibility: visible
I/flutter (13731): 2022-08-22T15:01:57.809114   D         LifeCycleManagerState:     Lifecycle: on pause
I/flutter (13731): 2022-08-22T15:01:57.844509   D   CameraController:    Image stream being paused
I/flutter (13731): 2022-08-22T15:01:57.852374   D   CameraController:    New camera state = _CameraState.beingPaused
I/RequestQueue(13731): Repeating capture request set.
I/RequestQueue(13731): Repeating capture request cancelled.
E/OpenGLRenderer(13731): SFEffectCache:clear(), mSize = 0
W/Adreno-ES20(13731): <core_glDeleteShader:170>: GL_INVALID_VALUE
I/flutter (13731): 2022-08-22T15:01:58.194422   D   CameraController:    New camera state = _CameraState.paused
Lost connection to device.
g123k commented 2 years ago

Which device was it?

monsieurtanuki commented 2 years ago

It's my canary device: 2015 Samsung Galaxy Core Prime. I'm currently running tests on it; I'll keep you posted.

g123k commented 2 years ago

Ok. Please keep me posted. Could you test if in debug mode you also have the issue?

monsieurtanuki commented 2 years ago

That's what I'm doing, after the crash on the release version. Could be related to memory: on the release version I saw the camera working once, then freeze, then crash. And later, always crash. On the debug mode more memory is asked, and I've never seen the camera work at least once. When I say memory, it probably means the scan. My current test for the next 20 minutes: make the camera work, with a disabled barcode scan.

monsieurtanuki commented 2 years ago

I have to go now. Not enough data so far to say something relevant.

g123k commented 2 years ago

Good news: I've finally received the OnePlus phone and I can reproduce the issue. Bad news: MLKit doesn't scan anything

Testing the example from the Flutter library (google_mlkit_barcode_scanning) doesn't scan.

… But after trying the Google sample app, I'm able to detect barcodes with MLKit. So it seems the error is on the library we use. I will now try to understand what are the differences (which may takes some time).

M123-dev commented 2 years ago

Maybe we have different ml kit version either a older maybe buggy one or the native app uses the not bundled release

g123k commented 2 years ago

Unfortunately, that's the same library version on both apps. 'com.google.mlkit:barcode-scanning:17.0.2'

So two options:

g123k commented 2 years ago

I didn't have time this morning to take a better look at the problem. But I think our current implementation is broken, by having 2 native plugins, as it forces us to continuously send messages between the Dart code and the native one.

If I sum, here is the current flow: Diag1

I was wondering, if we shouldn't create our own plugin (= native) handling both the camera and MLKit: Diag2

Instead of doing Dart <-> camera preview <-> Native and Dart <-> camera data <-> Native, we will have : Only two outputs from the plugin: the camera feed on one side and decoded barcoded, no more back and forth messages.

What would you think about this kind of solution? Because it could also (partially) fix the issue with Out of Memory.

M123-dev commented 2 years ago

@g123k this plan makes complete sense, doing it like that would also save use the hassle with the isolate as native code by default runs on another thread. The only thing which only you can give answer to is if it justifies the time needed to get this to work.

monsieurtanuki commented 2 years ago

@g123k The main question is: are you fortunate enough to have a device on which the camera/scan currently crashes? This is such an important feature - on my smartphone it's even beyond important as the app crashes on home page. I'm not at all against a heavy refactoring if things work better (and I would strongly prefer the refactoring to be coded in flutter). If we're talking more specifically about your suggested solution, I'm not sure I see the added value: I'm in favor of stupid codes that do perfectly a stupid task, like in Unix when you "pipe" commands like ls -l | awk '{print $5 " " $9}' | sort -rn. We could have better performances with a specific code that does the same thing, but we would lose on flexibility and maintenance.

g123k commented 2 years ago

For scan issues, after spending hours trying to understand the root cause of the issue, I have to surrender… 😔

This is the cause of MLKit being unable to decode any barcode

As we've already discussed, the solution is to use an all-in-one library, but we have to deploy a fixed version of the app ASAP.

I will then develop an "alternative" mode for the scan, where instead of passing the camera feed, it will be a File. This requires a few minor changes on the camera library + on Smoothie.

Also the app will use this "alternative" mode by default on OnePlus devices + can be changed via the settings. @teolemon Could you create a list of brands or models being affected by the scan issue? (not the camera 🤪), please?

teolemon commented 2 years ago

Just happened on my Pixel 6. I Can't scan anymore https://photos.app.goo.gl/WRowi487cFo6SJru9

teolemon commented 2 years ago

@g123k reverting to stable fixes the issue for me

g123k commented 2 years ago

I’m pretty sure your issue is related to https://github.com/openfoodfacts/smooth-app/issues/2905

but let’s try to revert

monsieurtanuki commented 2 years ago

On the latest downloaded version from the Play Store (3.8.1+722) I still have the crash when I land on the home/camera page:

2022-09-04 14:09:37.350 22792-22885/? E/AndroidRuntime: FATAL EXCEPTION: RequestThread-0
    Process: org.openfoodfacts.scanner, PID: 22792
    java.lang.RuntimeException: startPreview failed
        at android.hardware.Camera.startPreview(Native Method)
        at android.hardware.camera2.legacy.RequestThreadManager.startPreview(RequestThreadManager.java:275)
        at android.hardware.camera2.legacy.RequestThreadManager.doPreviewCapture(RequestThreadManager.java:317)
        at android.hardware.camera2.legacy.RequestThreadManager.access$1600(RequestThreadManager.java:61)
        at android.hardware.camera2.legacy.RequestThreadManager$5.handleMessage(RequestThreadManager.java:756)
        at android.os.Handler.dispatchMessage(Handler.java:98)
        at android.os.Looper.loop(Looper.java:135)
        at android.os.HandlerThread.run(HandlerThread.java:61)

and

2022-09-04 14:09:37.960 22792-22792/? E/ActivityThread: Activity org.openfoodfacts.scanner.MainActivity has leaked IntentReceiver q4.a$a@1285d5e6 that was originally registered here. Are you missing a call to unregisterReceiver()?
    android.app.IntentReceiverLeaked: Activity org.openfoodfacts.scanner.MainActivity has leaked IntentReceiver q4.a$a@1285d5e6 that was originally registered here. Are you missing a call to unregisterReceiver()?
        at android.app.LoadedApk$ReceiverDispatcher.<init>(LoadedApk.java:898)
        at android.app.LoadedApk.getReceiverDispatcher(LoadedApk.java:699)
        at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1815)
        at android.app.ContextImpl.registerReceiver(ContextImpl.java:1795)
        at android.app.ContextImpl.registerReceiver(ContextImpl.java:1789)
        at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:495)
        at q4.a.k(DeviceOrientationManager.java:3)
        at q4.b.<init>(SensorOrientationFeature.java:7)
        at g4.c.a(CameraFeatureFactoryImpl.java:1)
        at g4.d.k(CameraFeatures.java:8)
        at f4.t.<init>(Camera.java:12)
        at f4.p0.c(MethodCallHandlerImpl.java:11)
        at f4.p0.d(MethodCallHandlerImpl.java:1)
        at f4.p0.a(MethodCallHandlerImpl.java)
        at f4.o0.a(R8$$SyntheticClass)
        at f4.a0.d(CameraPermissions.java:4)
        at f4.p0.onMethodCall(MethodCallHandlerImpl.java:80)
        at b4.k$a.a(MethodChannel.java:2)
        at o3.c.l(DartMessenger.java:2)
        at o3.c.m(DartMessenger.java:2)
        at o3.c.i(DartMessenger.java)
        at o3.b.run(R8$$SyntheticClass)
        at android.os.Handler.handleCallback(Handler.java:739)
        at android.os.Handler.dispatchMessage(Handler.java:95)
        at android.os.Looper.loop(Looper.java:135)
        at android.app.ActivityThread.main(ActivityThread.java:5608)
        at java.lang.reflect.Method.invoke(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:372)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1397)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1192)
Full logcat ```log 2022-09-04 14:09:33.680 964-1172/? E/PersonaManagerService: inState(): stateMachine is null !! 2022-09-04 14:09:33.720 964-989/? E/ActivityManager: checkUser: useridlist=null, currentuser=0 2022-09-04 14:09:33.720 964-989/? E/ActivityManager: checkUser: useridlist=null, currentuser=0 2022-09-04 14:09:33.720 964-989/? E/ActivityManager: checkUser: useridlist=null, currentuser=0 2022-09-04 14:09:33.720 964-989/? E/ActivityManager: checkUser: useridlist=null, currentuser=0 2022-09-04 14:09:33.730 22779-22779/? E/Zygote: v2 2022-09-04 14:09:33.730 22779-22779/? E/SELinux: [DEBUG] get_category: variable seinfo: shared sensitivity: NULL, cateogry: NULL 2022-09-04 14:09:33.740 964-977/? E/ActivityManager: checkUser: useridlist=null, currentuser=0 2022-09-04 14:09:33.740 964-977/? E/ActivityManager: checkUser: useridlist=null, currentuser=0 2022-09-04 14:09:33.740 964-977/? E/ActivityManager: checkUser: useridlist=null, currentuser=0 2022-09-04 14:09:33.740 964-977/? E/ActivityManager: checkUser: useridlist=null, currentuser=0 2022-09-04 14:09:33.750 22792-22792/? E/Zygote: v2 2022-09-04 14:09:33.750 22792-22792/? E/SELinux: [DEBUG] get_category: variable seinfo: default sensitivity: NULL, cateogry: NULL 2022-09-04 14:09:33.840 22779-22779/? E/: New instance is crated. 2022-09-04 14:09:34.490 268-268/? E/SMD: DCD OFF 2022-09-04 14:09:36.350 1701-1872/? E/OpenGLRenderer: SFEffectCache:clear(), mSize = 0 2022-09-04 14:09:36.560 272-671/? E/CameraService: orgID: 0 checkingID: 0 seems GOOD 2022-09-04 14:09:36.560 272-671/? E/CameraService: orgID: 0 checkingID: 1 seems GOOD 2022-09-04 14:09:36.560 272-671/? E/CameraService: orgID: 0 checkingID: 2 seems GOOD 2022-09-04 14:09:36.560 272-671/? E/CameraService: orgID: 0 checkingID: 3 seems GOOD 2022-09-04 14:09:36.620 272-671/? E/SecCameraCoreManager: !@ cam: CaMeRa(0) 2022-09-04 14:09:36.620 272-671/? E/SecCameraCoreManager: file open failed. this system is not JA series 2022-09-04 14:09:36.620 272-671/? E/mm-camera-intf: mm_camera_open: begin 2022-09-04 14:09:36.620 272-671/? E/mm-camera-intf: mm_camera_open: dev name = /dev/video2, cam_idx = 2 2022-09-04 14:09:36.620 284-284/? E/mm-camera: server_process_hal_event: new session __debug__ 2022-09-04 14:09:36.620 284-22863/? E/mm-camera-sensor: module_sensor_start_session:1054 sensor_bundle = b799aae8 session id = 2 2022-09-04 14:09:36.620 284-22863/? E/mm-camera-sensor: sensor_load_library:79 sr544 : load from phone 2022-09-04 14:09:36.640 284-22868/? E/mm-camera: cpp_module_start_session:297, info: starting session 2 2022-09-04 14:09:36.640 284-22866/? E/mm-camera: stats_port_init: E 2022-09-04 14:09:36.640 284-22866/? E/mm-camera: stats_port_init: X 2022-09-04 14:09:36.640 284-22870/? E/mm-camera-img: module_imglib_msg_thread: __ZZZZ__: E 2022-09-04 14:09:36.640 284-22870/? E/mm-camera-img: module_imglib_msg_thread:66 abort 0 0 2022-09-04 14:09:36.660 284-22863/? E/: open lib sr544_open_lib hwver = 1 rev = 1 2022-09-04 14:09:36.660 284-22863/? E/mm-camera-sensor: csid_open:111 sd name /dev/v4l-subdev2 2022-09-04 14:09:36.660 284-22863/? E/mm-camera-sensor: csiphy_open:89 csiphy subdev name = /dev/v4l-subdev0 2022-09-04 14:09:36.670 284-22863/? E/mm-camera-sensor: module_sensor_init_session:786 sensor position 0 2022-09-04 14:09:36.670 284-22863/? E/mm-camera-sensor: module_sensor_init_session:795 reload_bin : 0, RELOAD_PROPERTY_VALUE=3757 2022-09-04 14:09:36.670 284-22863/? E/mm-camera-sensor: eeprom_process:1459 eeprom_process:1459: event: 66 e_ctrl->fd: 33 2022-09-04 14:09:36.670 284-22863/? E/mm-camera-sensor: eeprom_set_bytestream:1371 e_ctrl->eeprom_params.num_bytes =2128 2022-09-04 14:09:36.680 284-22863/? E/mm-camera-sensor: sensor_init:474 subdev name v4l-subdev13 2022-09-04 14:09:36.680 284-22863/? E/mm-camera-sensor: sensor_init:481 50hz 2022-09-04 14:09:36.720 284-22872/? E/mm-camera: cpp_thread_func:55: cpp_thread entering the polling loop... 2022-09-04 14:09:36.720 284-22868/? E/mm-camera: cpp_module_start_session:343, info: cpp_thread created. 2022-09-04 14:09:36.720 284-22868/? E/mm-camera: cpp_module_start_session:348, info: session 2 started. 2022-09-04 14:09:36.720 284-22868/? E/mm-camera: c2d_module_start_session:218, info: starting session 2 2022-09-04 14:09:36.720 284-22873/? E/mm-camera: c2d_thread_func:39: c2d_thread entering the polling loop... 2022-09-04 14:09:36.720 284-22868/? E/mm-camera: c2d_module_start_session:256, info: c2d_thread created. 2022-09-04 14:09:36.740 284-22868/? E/mm-camera: c2d_module_start_session:278, info: session 2 started. 2022-09-04 14:09:36.740 284-22874/? E/mm-camera-img: module_imglib_msg_thread: __ZZZZ__: E 2022-09-04 14:09:36.740 284-22874/? E/mm-camera-img: module_imglib_msg_thread:66 abort 0 0 2022-09-04 14:09:36.960 284-22863/? E/mm-camera-sensor: sensor_write_init_settings:440 CFG_SET_SENSOR_OTP_CAL:sr544, 0 2022-09-04 14:09:36.960 284-22863/? E/mm-camera-sensor: eeprom_process:1459 eeprom_process:1459: event: 71 e_ctrl->fd: 33 2022-09-04 14:09:36.960 284-22863/? E/mm-camera-sensor: eeprom_process:1526 EEPROM_GET_ACTUATOR_NAME: E 2022-09-04 14:09:36.960 284-22863/? E/mm-camera-sensor: module_sensor_load_3a_libs:435 s_bundle->eeprom_data: 0xb799b520 2022-09-04 14:09:36.960 284-22863/? E/mm-camera-sensor: [mm]hwinfo_make_3a_name:1622 hw info A05QF 2022-09-04 14:09:36.960 284-22863/? E/mm-camera-sensor: [mm]hwinfo_make_3a_name:1641 3a name (type : 0) libTsAe.so 2022-09-04 14:09:36.960 284-22863/? E/mm-camera-sensor: module_sensor_load_3a_libs:462 aec 0x0 2022-09-04 14:09:36.960 284-22863/? E/mm-camera-sensor: [mm]hwinfo_make_3a_name:1622 hw info A05QF 2022-09-04 14:09:36.960 284-22863/? E/mm-camera-sensor: [mm]hwinfo_make_3a_name:1641 3a name (type : 2) libTs_J_Awb.so 2022-09-04 14:09:36.960 284-22863/? E/mm-camera-sensor: module_sensor_load_3a_libs:488 awb 0x0 2022-09-04 14:09:36.960 284-22863/? E/mm-camera-sensor: [mm]hwinfo_make_3a_name:1622 hw info A05QF 2022-09-04 14:09:36.960 284-22863/? E/mm-camera-sensor: [mm]hwinfo_make_3a_name:1641 3a name (type : 3) libTs_J_Accm.so 2022-09-04 14:09:36.960 284-22863/? E/mm-camera-sensor: module_sensor_load_3a_libs:514 accm 0x0 2022-09-04 14:09:36.960 284-22863/? E/mm-camera-sensor: [mm]hwinfo_make_3a_name:1622 hw info A05QF 2022-09-04 14:09:36.960 284-22863/? E/mm-camera-sensor: [mm]hwinfo_make_3a_name:1641 3a name (type : 1) libTsAf.so 2022-09-04 14:09:36.960 284-22863/? E/mm-camera-sensor: module_sensor_load_3a_libs:542 af 0x0 2022-09-04 14:09:36.960 284-22863/? E/mm-camera-sensor: module_sensor_start_session:1099 func module_sensor_start_session line 1099 2022-09-04 14:09:36.960 284-284/? E/mm-camera: pproc_module_query_mod:1690] feature_mask 0x21e X 2022-09-04 14:09:36.960 284-284/? E/mm-camera: aec_load_function: loading QTI Rear algorithm 2022-09-04 14:09:36.960 284-284/? E/mm-camera: awb_port_load_lib: loading AL or QTI AWB: session = 0x20000, session_id = 2 2022-09-04 14:09:36.960 284-284/? E/mm-camera: awb_load_function: loading QTI Rear algorithm 2022-09-04 14:09:36.960 284-284/? E/AF_PORT: af_port_load_lib: loading QTI AF: session = 0x20000, session_id = 2 2022-09-04 14:09:36.960 284-284/? E/mm-camera: af_load_function: loading QTI Rear algorithm 2022-09-04 14:09:36.960 284-284/? E/: af_init: X 2022-09-04 14:09:36.960 284-284/? E/mm-camera: server_process_hal_event:__DBG__ X sucess event id=1 2022-09-04 14:09:36.960 272-671/? E/mm-camera-intf: mm_camera_open: opened, break out while loop 2022-09-04 14:09:36.960 272-671/? E/mm-camera-intf: mm_camera_socket_create: socket_fd =52 2022-09-04 14:09:36.980 272-671/? E/qomx_image_core: OMX_Init:94] Complete 2 2022-09-04 14:09:36.990 272-22862/? E/QCameraStateMachine: procEvtPreviewStoppedState: cannot handle evt(31) in state(0) 2022-09-04 14:09:36.990 272-22862/? E/QCameraStateMachine: procEvtPreviewStoppedState: cannot handle evt(31) in state(0) 2022-09-04 14:09:36.990 272-671/? E/QCameraParameters: setExposureCompensation : Setting Exposure Compensation = 0 2022-09-04 14:09:36.990 272-671/? E/QCameraParameters: Invalid AntiBanding value: 2022-09-04 14:09:36.990 284-284/? E/mm-camera: server_process_hal_event:__DBG__ X sucess event id=3 2022-09-04 14:09:36.990 284-22876/? E/mm-camera: mct_pipeline_process_set:command=800000e 2022-09-04 14:09:37.080 284-284/? E/mm-camera: server_process_hal_event:__DBG__ X sucess event id=3 2022-09-04 14:09:37.080 284-22876/? E/mm-camera: mct_pipeline_process_set:command=800000e 2022-09-04 14:09:37.150 284-284/? E/mm-camera: server_process_hal_event:__DBG__ X sucess event id=3 2022-09-04 14:09:37.150 284-22876/? E/mm-camera: mct_pipeline_process_set:command=800000e 2022-09-04 14:09:37.160 284-284/? E/mm-camera: server_process_hal_event:__DBG__ X sucess event id=3 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_pipeline_process_set:command=800000a 2022-09-04 14:09:37.160 284-284/? E/mm-camera: server_process_hal_event:__DBG__ X sucess event id=3 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_pipeline_process_set:command=8000012 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_stream_start_link:CAM_STREAM_TYPE_METADATA 2022-09-04 14:09:37.160 272-22862/? E/mm-camera-intf: mm_stream_get_v4l2_fmt: Unknown fmt=78 2022-09-04 14:09:37.160 284-284/? E/mm-camera: server_process_hal_event:__DBG__ X sucess event id=3 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_pipeline_process_set:command=8000004 2022-09-04 14:09:37.160 272-22862/? E/QCamera2HWI: [BeautyShot_dbg] getBufNumRequired =8 2022-09-04 14:09:37.160 272-22862/? E/QCamera2HWI: [BeautyShot_dbg] getBufNumRequired =8 2022-09-04 14:09:37.160 284-284/? E/mm-camera: server_process_hal_event:__DBG__ X sucess event id=3 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_pipeline_process_set:command=800000a 2022-09-04 14:09:37.160 284-284/? E/mm-camera: server_process_hal_event:__DBG__ X sucess event id=3 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_pipeline_process_set:command=8000012 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_stream_start_link: PREVIEW 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_stream_check_name:mod=sensor, name=sensor 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_stream_get_module: module: 0xb7998b08 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_stream_start_link: sensor=0xb79966c8 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_stream_check_name:mod=sensor, name=iface 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_stream_check_name:mod=iface, name=iface 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_stream_get_module: module: 0xb79ac180 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_stream_check_name:mod=sensor, name=isp 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_stream_check_name:mod=iface, name=isp 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_stream_check_name:mod=isp, name=isp 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_stream_get_module: module: 0xb79ae858 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_stream_check_name:mod=sensor, name=stats 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_stream_check_name:mod=iface, name=stats 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_stream_check_name:mod=isp, name=stats 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_stream_check_name:mod=stats, name=stats 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_stream_get_module: module: 0xb79aed58 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_stream_check_name:mod=sensor, name=pproc 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_stream_check_name:mod=iface, name=pproc 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_stream_check_name:mod=isp, name=pproc 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_stream_check_name:mod=stats, name=pproc 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_stream_check_name:mod=pproc, name=pproc 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_stream_get_module: module: 0xb79b1970 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_stream_check_name:mod=sensor, name=faceproc 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_stream_check_name:mod=iface, name=faceproc 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_stream_check_name:mod=isp, name=faceproc 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_stream_check_name:mod=stats, name=faceproc 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_stream_check_name:mod=pproc, name=faceproc 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_stream_check_name:mod=faceproc, name=faceproc 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_stream_get_module: module: 0xb79b1b20 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: pproc_port_sink_check_caps_reserve:823] error because caps Type:1 not supported. 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: pproc_port_sink_check_caps_reserve:823] error because caps Type:1 not supported. 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: pproc_port_sink_check_caps_reserve:823] error because caps Type:1 not supported. 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: pproc_port_sink_check_caps_reserve:823] error because caps Type:1 not supported. 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: pproc_port_sink_check_caps_reserve:823] error because caps Type:1 not supported. 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: pproc_port_sink_check_caps_reserve:823] error because caps Type:1 not supported. 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: pproc_port_sink_check_caps_reserve:823] error because caps Type:1 not supported. 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: pproc_port_sink_check_caps_reserve:823] error because caps Type:1 not supported. 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: pproc_port_sink_check_caps_reserve:823] error because caps Type:1 not supported. 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: pproc_port_sink_check_caps_reserve:823] error because caps Type:1 not supported. 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: pproc_port_sink_check_caps_reserve:823] error because caps Type:1 not supported. 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: pproc_port_sink_check_caps_reserve:823] error because caps Type:1 not supported. 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: pproc_port_sink_check_caps_reserve:823] error because caps Type:1 not supported. 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: pproc_port_sink_check_caps_reserve:823] error because caps Type:1 not supported. 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: pproc_port_sink_check_caps_reserve:823] error because caps Type:1 not supported. 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: pproc_port_sink_check_caps_reserve:823] error because caps Type:1 not supported. 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: pproc_port_create_stream_topology:469] feature mask 0x0 0x0 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: cpp_port_check_caps_reserve:77, identity=0x20002 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: cpp_port_check_caps_reserve:143, identity=0x20002, reserved 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: cpp_module_set_output_duplication_flag:613, current stream w=1280, h=960, st=1280, sc=960, fmt=1, identity=0x20002 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: cpp_module_set_output_duplication_flag:617, info: no linked stream 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: cpp_module_notify_add_stream:1290, info: success, identity=0x20002 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: cpp_port_check_caps_reserve:77, identity=0x20002 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: cpp_port_check_caps_reserve:143, identity=0x20002, reserved 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: module_faceproc_client_create:1409] Face proc feature mask 2a 0 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: afd_port_check_caps_reserve: X 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: asd_port_check_caps_reserve: E 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: asd_port_check_caps_reserve: X 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: q3a_port_event: Stream type change event received! 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_pipeline_send_ctrl_events: Send Set Parm events 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: Fail,cpphw=0xb79aef08, hw_params=0xb7af2748, chromatix_ptr=0x0, trigger=0xb7acd3cc 2022-09-04 14:09:37.160 284-22876/? E/mm-camera-sensor: led_flash_process:100 CAM Flash Off 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: Fail,cpphw=0xb79aef08, hw_params=0xb7af2748, chromatix_ptr=0x0, trigger=0xb7acd3cc 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: cpp_module_util_get_asf_wnr_params:518 chromatix NULL 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: stats_port_proc_downstream_set_parm touch co-ordinates sent x: 640 ,y: 480 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: isp_set_hal_param: CAM_INTF_PARM_LIVE_FRAMEWORK 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: isp_util_set_live_framework: mode : -1213607140 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: isp_util_save_live_framework: aswoogi (0) 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: stats_port_proc_downstream_set_parm pip recording hint value: 0 2022-09-04 14:09:37.160 284-22876/? E/mm-camera-sensor: sensor_set_vision_mode:635 vision mode not supported 2022-09-04 14:09:37.160 284-284/? E/mm-camera: server_process_hal_event:__DBG__ X sucess event id=3 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_pipeline_process_set:command=8000004 2022-09-04 14:09:37.160 284-284/? E/mm-camera: server_process_hal_event:__DBG__ X sucess event id=4 2022-09-04 14:09:37.160 284-22876/? E/mm-camera: mct_pipeline_send_ctrl_events: Send Set Parm events 2022-09-04 14:09:37.160 284-22876/? E/mm-camera-sensor: module_sensor_event_control_get_parm:3683 [FW_DBG] CAM_INTF_PARM_FW_CL_NUMBER 2022-09-04 14:09:37.160 284-22876/? E/mm-camera-sensor: eeprom_process:1459 eeprom_process:1459: event: 77 e_ctrl->fd: 33 2022-09-04 14:09:37.160 284-22876/? E/mm-camera-sensor: eeprom_process:1544 [FW_DBG] EEPROM_GET_FW_CL_NUMBER 2022-09-04 14:09:37.160 284-22876/? E/mm-camera-sensor: eeprom_get_cl_number:718 [FW_DBG] load from PHONE => cl_number : P_CRA01 CALA05QFHI01CM CRC1F 2022-09-04 14:09:37.170 272-22862/? E/mm-camera-intf: mm_stream_request_buf: buf_num = 21, stream type = 7 2022-09-04 14:09:37.170 272-22862/? E/mm-camera-intf: mm_stream_streamon: E, my_handle = 0x1d00, fd = 67, state = 6 2022-09-04 14:09:37.170 284-284/? E/mm-camera: server_process_hal_event:__DBG__ X sucess event id=3 2022-09-04 14:09:37.170 284-22876/? E/mm-camera: mct_pipeline_process_set:command=8000008 2022-09-04 14:09:37.170 284-22876/? E/mm-camera: mct_pipeline_process_set: stream_type = 7 2022-09-04 14:09:37.180 272-22862/? E/QCameraHWI_Mem: DBG_PATCH:setWindowInfo mWindow=0xb8bac7f0 2022-09-04 14:09:37.250 272-22862/? E/mm-camera-intf: mm_stream_request_buf: buf_num = 8, stream type = 1 2022-09-04 14:09:37.250 272-22862/? E/mm-camera-intf: mm_stream_streamon: E, my_handle = 0x1e01, fd = 70, state = 6 2022-09-04 14:09:37.250 284-284/? E/mm-camera: server_process_hal_event:__DBG__ X sucess event id=3 2022-09-04 14:09:37.250 284-22876/? E/mm-camera: mct_pipeline_process_set:command=8000008 2022-09-04 14:09:37.250 284-22876/? E/mm-camera: mct_pipeline_process_set: stream_type = 1 2022-09-04 14:09:37.250 284-22876/? E/mm-camera-sensor: port_sensor_handle_stream_on:467 H/W revision = 1(1), Criterion ver = 3 2022-09-04 14:09:37.250 284-22876/? E/mm-camera-sensor: module_sensor_stream_on:1980 ide 20002 SENSOR_START_STREAM 2022-09-04 14:09:37.250 284-22876/? E/mm-camera-sensor: modules_sensor_set_new_resolution:312 SENSOR_SET_RESOLUTION 0*0 mask 2 2022-09-04 14:09:37.250 284-22876/? E/mm-camera-sensor: sensor_set_resolution:2407 width 0, height 0 2022-09-04 14:09:37.250 284-22876/? E/mm-camera-sensor: sensor_set_resolution:2409 stream mask 2 hfr mode 0 fps 120.000000 2022-09-04 14:09:37.250 284-22876/? E/mm-camera-sensor: sensor_pick_resolution:1981 requested aspect ratio 0 2022-09-04 14:09:37.250 284-22876/? E/mm-camera-sensor: sensor_set_resolution:2480 2022-09-04 14:09:37.250 284-22876/? E/mm-camera-sensor: sensor_set_resolution:2483 current_fps_div 1024 2022-09-04 14:09:37.250 284-22876/? E/mm-camera-sensor: sensor_get_resolution_info:2951 skip 1 frames 2022-09-04 14:09:37.250 284-22876/? E/mm-camera-sensor: sensor_get_resolution_info:3035 full 2592 1944 out 648 488 offset 0 0 scale 4 2022-09-04 14:09:37.250 284-22876/? E/mm-camera-sensor: eeprom_process:1459 eeprom_process:1459: event: 68 e_ctrl->fd: 33 2022-09-04 14:09:37.250 284-22876/? E/mm-camera-sensor: eeprom_process:1495 e_ctrl->dimension width= 648, height = 488 2022-09-04 14:09:37.250 284-22876/? E/mm-camera-sensor: eeprom_process:1459 eeprom_process:1459: event: 69 e_ctrl->fd: 33 2022-09-04 14:09:37.250 284-22876/? E/mm-camera-sensor: eeprom_process:1500 e_ctrl->rolloff_size full width= 2592, height = 2592 2022-09-04 14:09:37.250 284-22876/? E/mm-camera: receive MCT_EVENT_MODULE_SET_STREAM_CONFIG 2022-09-04 14:09:37.250 284-22876/? E/mm-camera: ispif_util_dump_sensor_cfg: sensor dim: width = 648, heght = 488, fmt = 31, is_bayer = 1 2022-09-04 14:09:37.250 284-22876/? E/mm-camera: ispif_util_dump_sensor_cfg: camif_crop: first_pix = 0, last_pix = 647, first_line = 0, last_line = 487, max_fps = 120 2022-09-04 14:09:37.250 284-22876/? E/mm-camera: ispif_sink_port_config <----- 2022-09-04 14:09:37.250 284-22876/? E/mm-camera: reserve_camif_resource: is_ispif = 1, sess_idx = 0, fps = 120, num_isps = 1 op clk: 174000000 2022-09-04 14:09:37.250 284-22876/? E/mm-camera: isp_sink_port_stream_config: E, session_id = 2, stream_id = 2, stream_type = 1 2022-09-04 14:09:37.250 284-22876/? E/mm-camera: isp_sink_port_stream_config: session_id = 2, stream_id = 2, is_split = 0 2022-09-04 14:09:37.250 284-22876/? E/mm-camera: isp_sink_port_stream_config: old vfe_id_mask = 0x0, new vfe_id_mask = 0x1 2022-09-04 14:09:37.270 284-22876/? E/mm-camera: after port_ispif_forward_event_to_peer 2022-09-04 14:09:37.270 284-22876/? E/mm-camera-sensor: chromatix name libchromatix_sr544_preview.so 2022-09-04 14:09:37.270 284-22876/? E/mm-camera-sensor: chromatix_load_library:50 libchromatix_sr544_preview.so load from phone 2022-09-04 14:09:37.270 284-22876/? E/mm-camera-sensor: [mm]hwinfo_make_chromatix_name:1666 hw info A05QF 2022-09-04 14:09:37.270 284-22876/? E/mm-camera-sensor: [mm]hwinfo_make_chromatix_name:1677 chromatix name libchromatix_sr544_preview.so => libchromatix_sr544_preview.so 2022-09-04 14:09:37.270 284-22876/? E/mm-camera-sensor: chromatix_load_library:54 chromatix from phone libchromatix_sr544_preview.so 2022-09-04 14:09:37.270 284-22876/? E/mm-camera-sensor: load_chromatix:32 load_chromatix:32 chromatix_sr544_preview 2022-09-04 14:09:37.270 284-22876/? E/mm-camera-sensor: load_chromatix:46 load_chromatix:46-chromatix_sr544_parms header 2022-09-04 14:09:37.270 284-22876/? E/mm-camera-sensor: chromatix_load_library:50 libchromatix_sr544_zslshot.so load from phone 2022-09-04 14:09:37.270 284-22876/? E/mm-camera-sensor: [mm]hwinfo_make_chromatix_name:1666 hw info A05QF 2022-09-04 14:09:37.270 284-22876/? E/mm-camera-sensor: [mm]hwinfo_make_chromatix_name:1677 chromatix name libchromatix_sr544_zslshot.so => libchromatix_sr544_zslshot.so 2022-09-04 14:09:37.270 284-22876/? E/mm-camera-sensor: chromatix_load_library:54 chromatix from phone libchromatix_sr544_zslshot.so 2022-09-04 14:09:37.270 284-22876/? E/mm-camera-sensor: load_chromatix:32 load_chromatix:32 chromatix_sr544_zslshot 2022-09-04 14:09:37.270 284-22876/? E/mm-camera-sensor: load_chromatix:46 load_chromatix:46-chromatix_sr544_parms header 2022-09-04 14:09:37.270 284-22876/? E/mm-camera-sensor: chromatix_load_common_library:110 libchromatix_sr544_common.so load from phone 2022-09-04 14:09:37.270 284-22876/? E/mm-camera-sensor: [mm]hwinfo_make_chromatix_name:1666 hw info A05QF 2022-09-04 14:09:37.270 284-22876/? E/mm-camera-sensor: [mm]hwinfo_make_chromatix_name:1677 chromatix name libchromatix_sr544_common.so => libchromatix_sr544_common.so 2022-09-04 14:09:37.280 284-22876/? E/mm-camera-sensor: chromatix_load_common_library:114 common chromatix from phone libchromatix_sr544_common.so 2022-09-04 14:09:37.280 284-22876/? E/mm-camera-sensor: load_chromatix:31 load_chromatix:31- AAA chromatix_sr544_common file open 2022-09-04 14:09:37.280 284-22876/? E/mm-camera-sensor: load_chromatix:45 load_chromatix:45-chromatix_sr544_parms header 2022-09-04 14:09:37.280 284-22876/? E/mm-camera-sensor: sensor_set_chromatix, chx : 0xb59e6028, common chx : 0xb5a00c34 2022-09-04 14:09:37.280 284-22876/? E/mm-camera-sensor: actuator_load_lib:371 name=dw9804_rossa, mode=camera 2022-09-04 14:09:37.280 284-22876/? E/mm-camera-sensor: eeprom_process:1459 eeprom_process:1459: event: 70 e_ctrl->fd: 33 2022-09-04 14:09:37.280 284-22876/? E/mm-camera-sensor: eeprom_process:1513 e_ctrl->eeprom_lib.func_tbl =0xb5ac6004 2022-09-04 14:09:37.280 284-22876/? E/mm-camera-sensor: eeprom_process:1514 e_ctrl->eeprom_params.is_supported =0x1F 2022-09-04 14:09:37.280 284-22876/? E/mm-camera-sensor: silicon_sr544_format_headerdata:933 oem_data_start_addr = 6f0 2022-09-04 14:09:37.280 284-22876/? E/mm-camera-sensor: silicon_sr544_format_headerdata:934 oem_data_end_addr = 76f 2022-09-04 14:09:37.280 284-22876/? E/mm-camera-sensor: silicon_sr544_format_headerdata:935 awb_data_start_addr = 770 2022-09-04 14:09:37.280 284-22876/? E/mm-camera-sensor: silicon_sr544_format_headerdata:936 awb_data_end_addr = 7af 2022-09-04 14:09:37.280 284-22876/? E/mm-camera-sensor: silicon_sr544_format_headerdata:939 core_version = 41 2022-09-04 14:09:37.280 284-22876/? E/mm-camera-sensor: silicon_sr544_format_headerdata:940 pixel_number = 3035 2022-09-04 14:09:37.280 284-22876/? E/mm-camera-sensor: silicon_sr544_format_headerdata:941 sensor_maker = 46 2022-09-04 14:09:37.280 284-22876/? E/mm-camera-sensor: silicon_sr544_format_headerdata:942 year = 48 2022-09-04 14:09:37.280 284-22876/? E/mm-camera-sensor: silicon_sr544_format_headerdata:943 month = 49 2022-09-04 14:09:37.280 284-22876/? E/mm-camera-sensor: silicon_sr544_format_headerdata:944 manfacturer_id = 43 2022-09-04 14:09:37.280 284-22876/? E/mm-camera-sensor: silicon_sr544_format_headerdata:945 module_version = 4d 2022-09-04 14:09:37.280 284-22876/? E/mm-camera-sensor: silicon_sr544_format_headerdata:947 sensor CRA = 0x01 2022-09-04 14:09:37.280 284-22876/? E/mm-camera-sensor: eeprom_do_calibration:436 eeprom_do_calibration: Enter 2022-09-04 14:09:37.280 284-22876/? E/mm-camera-sensor: eeprom_do_calibration:438 eeprom_do_calibration: e_items->is_wbc = 1, e_items->is_lsc = 1 2022-09-04 14:09:37.280 284-22876/? E/mm-camera-sensor: eeprom_do_calibration:457 Exit 2022-09-04 14:09:37.280 284-22876/? E/mm-camera-sensor: module_sensor_stream_on:2534 reload_bin : 0, RELOAD_PROPERTY_VALUE=3757 2022-09-04 14:09:37.280 284-22876/? E/mm-camera: cpp_module_handle_chromatix_ptr_event:627 calling cpp_module_util_get_asf_wnr_params for normal 2022-09-04 14:09:37.290 284-22876/? E/mm-camera: awb_port_proc_downstream_ctrl: AWB Gains: r_gain: 1.493546 g_gain: 1.000000 b_gain: 1.489502 color_temp: 6405 2022-09-04 14:09:37.290 284-22900/? E/mm-camera: isp_pipeline_util_trigger_update: No active streams 2022-09-04 14:09:37.290 284-22891/? E/: af_util_cur_pos_after_lens_move: After move: FV: 0 CurPosition: 181 2022-09-04 14:09:37.290 284-22876/? E/mm-camera-img: faceproc_comp_cfg_debug:237] FaceProc cfg max_face_size 700 2022-09-04 14:09:37.290 284-22876/? E/mm-camera-img: faceproc_comp_cfg_debug:240] FaceProc cfg max_num_face_to_detect 10 2022-09-04 14:09:37.290 284-22876/? E/mm-camera-img: faceproc_comp_cfg_debug:243] FaceProc cfg min_face_size 70 2022-09-04 14:09:37.290 284-22876/? E/mm-camera-img: faceproc_comp_eng_config:1394] Face proc number of faces set 10 2022-09-04 14:09:37.290 284-22876/? E/mm-camera: cpp_module_handle_streamon_event:1761, identity=0x20002, stream-on done 2022-09-04 14:09:37.290 284-22876/? E/mm-camera: isp_streamon: E, session_id = 2 2022-09-04 14:09:37.290 284-22867/? E/mm-camera: isp_proc_async_command: E ISP_ASYNC_COMMAND_STREAMON = 2 2022-09-04 14:09:37.290 284-22867/? E/mm-camera: isp_proc_streamon: E, session_id = 2, stream_id = 2, stream_type = 1 num_bufs 8 2022-09-04 14:09:37.290 284-22900/? E/mm-camera: isp_hw_proc_set_recording_hint: recording_hint: 0 2022-09-04 14:09:37.290 284-22867/? E/mm-camera: isp_proc_streamon: set_all_saved_params done, session_id = 2 2022-09-04 14:09:37.290 284-22867/? E/mm-camera: module_faceproc_port_event_func:617] MCT_EVENT_MODULE_ISP_OUTPUT_DIM, w = 1280, h = 960 2022-09-04 14:09:37.290 284-22867/? E/mm-camera: isp_proc_streamon: sending dim downstream done, session_id = 2 2022-09-04 14:09:37.290 284-22900/? E/mm-camera: gamma_set_solarize_table: xx82: E 2022-09-04 14:09:37.290 284-22900/? E/mm-camera: linearization_set_params: param_id is not supported in this module 2022-09-04 14:09:37.290 284-22900/? E/mm-camera: wb_set_params: param_id is not supported in this module 2022-09-04 14:09:37.290 284-22900/? E/mm-camera: demosaic_set_params: param_id 7, is not supported in this module 2022-09-04 14:09:37.290 284-22900/? E/mm-camera: demux_set_params: param_id 7, is not supported in this module 2022-09-04 14:09:37.290 284-22900/? E/mm-camera: mce_set_params: param_id is not supported in this module 2022-09-04 14:09:37.290 284-22900/? E/mm-camera: isp_pipeline_util_trigger_update: No active streams 2022-09-04 14:09:37.290 284-22900/? E/mm-camera: stats_action_buf_config: cfg = 1, stats_mask = 0x798 2022-09-04 14:09:37.290 284-22900/? E/mm-camera: isp_register_buf: [dbg] bufq->num_vfe_fds = 0x4 2022-09-04 14:09:37.290 284-22900/? E/mm-camera: isp_register_buf: [dbg] bufq->num_vfe_fds = 0x4 2022-09-04 14:09:37.290 284-22900/? E/mm-camera: isp_register_buf: [dbg] bufq->num_vfe_fds = 0x5 2022-09-04 14:09:37.290 284-22900/? E/mm-camera: isp_register_buf: [dbg] bufq->num_vfe_fds = 0x4 2022-09-04 14:09:37.290 284-22900/? E/mm-camera: isp_register_buf: [dbg] bufq->num_vfe_fds = 0x4 2022-09-04 14:09:37.290 284-22900/? E/mm-camera: isp_register_buf: [dbg] bufq->num_vfe_fds = 0x5 2022-09-04 14:09:37.290 284-22900/? E/mm-camera: stats_action: stats mask = 0x798 2022-09-04 14:09:37.290 284-22900/? E/mm-camera: isp_stats_start_streams: cannot start, stats mask = 0x798 2022-09-04 14:09:37.290 284-22900/? E/mm-camera: isp_pipeline_start_stream: start_common error, rc = -1 2022-09-04 14:09:37.290 284-22900/? E/mm-camera: isp_hw_proc_action_stream_start: PIX start error = -1 2022-09-04 14:09:37.290 284-22867/? E/mm-camera: isp_ch_util_streamon_ack: error, ISP_HW_ACTION_CODE_STREAM_START_ACK, sessid = 2, vfe_id = 0, rc = -1 2022-09-04 14:09:37.290 284-22867/? E/mm-camera: isp_ch_util_streamon: VFE0: hw streamon error! sessid = 2, rc = -1 2022-09-04 14:09:37.290 284-22867/? E/mm-camera: isp_proc_streamon: streamon error! sessid = 2, rc = -1 2022-09-04 14:09:37.290 284-22867/? E/mm-camera: isp_proc_async_command: X ISP_ASYNC_COMMAND_STREAMON = 2 2022-09-04 14:09:37.290 284-22867/? E/mm-camera: isp_proc_async_command: X, session_id = 2, async_cmd_id = 1 2022-09-04 14:09:37.290 284-22876/? E/mm-camera: isp_streamon: X, session_id = 2 2022-09-04 14:09:37.290 284-22876/? E/mm-camera: port_isp_mct_ctrl_cmd: error in isp_streamon, identity = 0x20002 2022-09-04 14:09:37.290 284-22876/? E/mm-camera: port_ispif_send_event_to_peer: direction= 1 event = 1 rc = FALSE 2022-09-04 14:09:37.290 284-22876/? E/mm-camera: port_ispif_proc_mct_ctrl_cmd: forward_event error 2022-09-04 14:09:37.290 284-22876/? E/mm-camera-sensor: port_sensor_port_process_event:1553 failed 2022-09-04 14:09:37.290 284-22876/? E/mm-camera-sensor: module_sensor_stream_on:2362 failed 2022-09-04 14:09:37.290 284-22876/? E/mm-camera-sensor: port_sensor_handle_fast_aec_mode:295 failed 2022-09-04 14:09:37.290 284-22876/? E/mm-camera-sensor: port_sensor_handle_stream_on:579 failed 2022-09-04 14:09:37.290 284-22876/? E/mm-camera-sensor: module_sensor_module_process_event:3865 failed 2022-09-04 14:09:37.290 272-22862/? E/mm-camera-intf: mm_stream_streamon: ioctl VIDIOC_STREAMON failed: rc=-1 2022-09-04 14:09:37.290 272-22862/? E/mm-camera-intf: mm_camera_cmd_thread_stop: before join 0xb8c15aa8, qsize = 1 2022-09-04 14:09:37.300 272-22897/? E/mm-camera-intf: mm_camera_cmd_thread: MM_CAMERA_CMD_TYPE_EXIT - cmd_pid = 0xb8c15aa8 2022-09-04 14:09:37.300 272-22897/? E/mm-camera-intf: mm_camera_cmd_thread: X - cmd_pid = 0xb8c15aa8 2022-09-04 14:09:37.300 272-22862/? E/mm-camera-intf: mm_channel_start: start stream failed at idx(1) 2022-09-04 14:09:37.300 272-22862/? E/mm-camera-intf: mm_stream_streamoff: E, my_handle = 0x1d00, fd = 67, state = 6 2022-09-04 14:09:37.300 284-284/? E/mm-camera: server_process_hal_event:__DBG__ X sucess event id=3 2022-09-04 14:09:37.300 284-22876/? E/mm-camera: mct_pipeline_process_set:command=8000009 2022-09-04 14:09:37.300 284-22876/? E/mm-camera: mct_pipeline_process_set: stream_type = 7 2022-09-04 14:09:37.300 272-22862/? E/mm-camera-intf: mm_camera_cmd_thread_stop: before join 0xb8c15860, qsize = 1 2022-09-04 14:09:37.300 272-22896/? E/mm-camera-intf: mm_camera_cmd_thread: MM_CAMERA_CMD_TYPE_EXIT - cmd_pid = 0xb8c15860 2022-09-04 14:09:37.300 272-22896/? E/mm-camera-intf: mm_camera_cmd_thread: X - cmd_pid = 0xb8c15860 2022-09-04 14:09:37.310 272-22862/? E/mm-camera-intf: mm_stream_fsm_reg: invalid state (5) for evt (8), in(0x0), out(0x0) 2022-09-04 14:09:37.310 272-22862/? E/mm-camera-intf: mm_stream_unreg_buf: fd=70, VIDIOC_REQBUFS failed, rc=-1 2022-09-04 14:09:37.310 272-22862/? E/QCameraChannel: start: m_camOps->start_channel failed 2022-09-04 14:09:37.310 272-22894/? E/QCameraStream: static void* qcamera::QCameraStream::dataProcRoutine(void*): Exit 2022-09-04 14:09:37.310 272-22894/? E/QCameraStream: static void* qcamera::QCameraStream::dataProcRoutine(void*): X 2022-09-04 14:09:37.310 272-22895/? E/QCameraStream: static void* qcamera::QCameraStream::dataProcRoutine(void*): Exit 2022-09-04 14:09:37.310 272-22895/? E/QCameraStream: static void* qcamera::QCameraStream::dataProcRoutine(void*): X 2022-09-04 14:09:37.320 284-284/? E/mm-camera: server_process_hal_event:__DBG__ X sucess event id=3 2022-09-04 14:09:37.320 284-22876/? E/mm-camera: mct_pipeline_process_set:command=800000b 2022-09-04 14:09:37.320 284-284/? E/mm-camera: server_process_hal_event:__DBG__ X sucess event id=3 2022-09-04 14:09:37.320 284-22876/? E/mm-camera: mct_pipeline_process_set:command=800000b 2022-09-04 14:09:37.320 284-22876/? E/mm-camera: mct_stream_streamoff: Enter 2022-09-04 14:09:37.320 284-22876/? E/mm-camera: mct_stream_streamoff: STREAMING OFFstream_type = 1 2022-09-04 14:09:37.320 284-22876/? E/mm-camera: cpp_module_handle_streamoff_event:1887, info: doing stream-off for identity 0x20002 2022-09-04 14:09:37.320 284-22876/? E/mm-camera-img: faceproc_comp_abort:545] state 2 2022-09-04 14:09:37.320 284-22876/? E/mm-camera-img: Free Wmemory 0 2022-09-04 14:09:37.320 284-22876/? E/mm-camera-img: faceproc_comp_abort:572] X 2022-09-04 14:09:37.320 284-22876/? E/mm-camera: cpp_module_handle_streamoff_event:1933] iden:0x20002, linked_params:0x0 2022-09-04 14:09:37.320 284-22876/? E/mm-camera: cpp_hardware_process_streamoff:537] skip_iden:0x0, duplicate_stream_status:0x0 2022-09-04 14:09:37.320 284-22876/? E/mm-camera: cpp_module_handle_streamoff_event:1944, info: stream-off done for identity 0x20002 2022-09-04 14:09:37.320 284-22876/? E/mm-camera: isp_streamoff: E, session_id = 2 2022-09-04 14:09:37.320 284-22867/? E/mm-camera: isp_proc_async_command: E ISP_ASYNC_COMMAND_STREAMOFF = 2 2022-09-04 14:09:37.320 284-22867/? E/mm-camera: isp_proc_streamoff: E, session_id = 2, stream_id = 2, stream_type = 1 2022-09-04 14:09:37.320 284-22867/? E/mm-camera: isp_proc_async_command: X ISP_ASYNC_COMMAND_STREAMOFF = 2 2022-09-04 14:09:37.320 284-22867/? E/mm-camera: isp_proc_async_command: X, session_id = 2, async_cmd_id = 2 2022-09-04 14:09:37.320 284-22876/? E/mm-camera: isp_streamoff: X, session_id = 2 2022-09-04 14:09:37.320 284-22876/? E/mm-camera: ispif_proc_streamoff: Enter 2022-09-04 14:09:37.320 284-22876/? E/mm-camera: ispif_proc_streamoff: Make ISPIF_CFG IOCTL! 2022-09-04 14:09:37.320 284-22876/? E/mm-camera: ispif_proc_streamoff: ISPIF_CFG IOCTL returns! 2022-09-04 14:09:37.320 284-22876/? E/mm-camera: ispif_proc_streamoff: ISPIF_CFG error = -1 2022-09-04 14:09:37.320 284-22876/? E/mm-camera-sensor: port_sensor_port_process_event:1553 failed 2022-09-04 14:09:37.320 284-22876/? E/mm-camera-sensor: module_sensor_stream_off:3413 failed 2022-09-04 14:09:37.320 284-22876/? E/mm-camera-sensor: module_sensor_module_process_event:3884 failed 2022-09-04 14:09:37.320 284-22876/? E/mm-camera: isp_unlink_sink_port: ad hoc sink port unlinked, session_id = 2 2022-09-04 14:09:37.320 284-22876/? E/mm-camera: cpp_port_check_caps_unreserve:170, identity=0x20002 2022-09-04 14:09:37.320 284-22876/? E/mm-camera: cpp_port_check_caps_unreserve:179, identity=0x20002, unreserved 2022-09-04 14:09:37.320 284-22876/? E/mm-camera: cpp_port_check_caps_unreserve:170, identity=0x20002 2022-09-04 14:09:37.320 284-22876/? E/mm-camera: cpp_port_check_caps_unreserve:179, identity=0x20002, unreserved 2022-09-04 14:09:37.320 284-22876/? E/mm-camera-img: faceproc_comp_abort:545] state 1 2022-09-04 14:09:37.320 284-22876/? E/mm-camera: mct_stream_check_name:mod=sensor, name=isp 2022-09-04 14:09:37.320 284-22876/? E/mm-camera: mct_stream_check_name:mod=iface, name=isp 2022-09-04 14:09:37.320 284-22876/? E/mm-camera: mct_stream_check_name:mod=isp, name=isp 2022-09-04 14:09:37.320 284-22876/? E/mm-camera: mct_stream_get_module: module: 0xb79ae858 2022-09-04 14:09:37.320 284-22876/? E/mm-camera: q3a_thread_af_stop: start MSG_STOP_THREAD 2022-09-04 14:09:37.320 284-22891/? E/mm-camera: af_thread_handler: af thread returned 2022-09-04 14:09:37.320 284-22876/? E/mm-camera: afd_thread_en_q_msg thread -1213370296 is set to inactive 2022-09-04 14:09:37.320 284-22876/? E/mm-camera: asd_thread_stop E 2022-09-04 14:09:37.320 284-22876/? E/mm-camera: asd_thread_en_q_msg:81 Message Stop Thread 2022-09-04 14:09:37.320 284-22893/? E/mm-camera: asd_thread_handler: asd thread returned 2022-09-04 14:09:37.320 284-22876/? E/mm-camera: asd_thread_stop joined 2022-09-04 14:09:37.320 284-22876/? E/mm-camera: q3a_port_unlink X refcnt 0 2022-09-04 14:09:37.320 284-22876/? E/mm-camera: asd_port_ext_unlink E 2022-09-04 14:09:37.320 284-22876/? E/mm-camera: asd_port_ext_unlink: asd_data=0xb5962008 2022-09-04 14:09:37.320 284-22876/? E/mm-camera: asd_port_ext_unlink X refcnt 0 2022-09-04 14:09:37.320 284-22876/? E/mm-camera: stats_port_unlink: X 2022-09-04 14:09:37.320 284-22876/? E/mm-camera: stats_port_check_caps_unreserve E 2022-09-04 14:09:37.320 284-22876/? E/mm-camera: stats_port_check_reserved_stream: private->reserved_id=0x20000 2022-09-04 14:09:37.320 284-22876/? E/mm-camera: stats_port_check_caps_unreserve X 2022-09-04 14:09:37.350 22792-22885/? E/AndroidRuntime: FATAL EXCEPTION: RequestThread-0 Process: org.openfoodfacts.scanner, PID: 22792 java.lang.RuntimeException: startPreview failed at android.hardware.Camera.startPreview(Native Method) at android.hardware.camera2.legacy.RequestThreadManager.startPreview(RequestThreadManager.java:275) at android.hardware.camera2.legacy.RequestThreadManager.doPreviewCapture(RequestThreadManager.java:317) at android.hardware.camera2.legacy.RequestThreadManager.access$1600(RequestThreadManager.java:61) at android.hardware.camera2.legacy.RequestThreadManager$5.handleMessage(RequestThreadManager.java:756) at android.os.Handler.dispatchMessage(Handler.java:98) at android.os.Looper.loop(Looper.java:135) at android.os.HandlerThread.run(HandlerThread.java:61) 2022-09-04 14:09:37.410 964-22904/? E/android.os.Debug: ro.product_ship = true 2022-09-04 14:09:37.410 964-22904/? E/android.os.Debug: ro.debug_level = 0x4f4c 2022-09-04 14:09:37.490 268-268/? E/SMD: DCD OFF 2022-09-04 14:09:37.550 964-1784/? E/ActivityManager: checkUser: useridlist=null, currentuser=0 2022-09-04 14:09:37.550 964-1784/? E/ActivityManager: checkUser: useridlist=null, currentuser=0 2022-09-04 14:09:37.550 964-1784/? E/ActivityManager: checkUser: useridlist=null, currentuser=0 2022-09-04 14:09:37.550 964-1784/? E/ActivityManager: checkUser: useridlist=null, currentuser=0 2022-09-04 14:09:37.570 22908-22908/? E/Zygote: v2 2022-09-04 14:09:37.570 22908-22908/? E/SELinux: [DEBUG] get_category: variable seinfo: release sensitivity: NULL, cateogry: NULL 2022-09-04 14:09:37.750 22792-22822/? E/OpenGLRenderer: SFEffectCache:clear(), mSize = 0 2022-09-04 14:09:37.910 22792-22813/? E/libEGL: call to OpenGL ES API with no current context (logged once per thread) 2022-09-04 14:09:37.960 22792-22792/? E/ActivityThread: Activity org.openfoodfacts.scanner.MainActivity has leaked IntentReceiver q4.a$a@1285d5e6 that was originally registered here. Are you missing a call to unregisterReceiver()? android.app.IntentReceiverLeaked: Activity org.openfoodfacts.scanner.MainActivity has leaked IntentReceiver q4.a$a@1285d5e6 that was originally registered here. Are you missing a call to unregisterReceiver()? at android.app.LoadedApk$ReceiverDispatcher.(LoadedApk.java:898) at android.app.LoadedApk.getReceiverDispatcher(LoadedApk.java:699) at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1815) at android.app.ContextImpl.registerReceiver(ContextImpl.java:1795) at android.app.ContextImpl.registerReceiver(ContextImpl.java:1789) at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:495) at q4.a.k(DeviceOrientationManager.java:3) at q4.b.(SensorOrientationFeature.java:7) at g4.c.a(CameraFeatureFactoryImpl.java:1) at g4.d.k(CameraFeatures.java:8) at f4.t.(Camera.java:12) at f4.p0.c(MethodCallHandlerImpl.java:11) at f4.p0.d(MethodCallHandlerImpl.java:1) at f4.p0.a(MethodCallHandlerImpl.java) at f4.o0.a(R8$$SyntheticClass) at f4.a0.d(CameraPermissions.java:4) at f4.p0.onMethodCall(MethodCallHandlerImpl.java:80) at b4.k$a.a(MethodChannel.java:2) at o3.c.l(DartMessenger.java:2) at o3.c.m(DartMessenger.java:2) at o3.c.i(DartMessenger.java) at o3.b.run(R8$$SyntheticClass) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5608) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1397) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1192) 2022-09-04 14:09:38.210 22908-22908/? E/ActivityThread: Failed to find provider info for com.samsung.android.coreapps.easysignup.public 2022-09-04 14:09:38.210 22908-22908/? E/ActivityThread: Failed to find provider info for com.samsung.android.coreapps.easysignup.public 2022-09-04 14:09:38.230 22908-22908/? E/ActivityThread: Failed to find provider info for com.samsung.android.coreapps.easysignup 2022-09-04 14:09:38.240 22908-22908/? E/Mms/MessageUtils: setCountryDetector : update country detector info 2022-09-04 14:09:38.240 22908-22908/? E/Mms/MessageUtils: updateCountryIso : update country iso info 2022-09-04 14:09:38.300 22908-22908/? E/Mms/TelephonyUtils: subID is null or 0 length, so get DefaultSubId!! 2022-09-04 14:09:38.330 22908-22908/? E/CII: CommonIMSInterface: VoLTE CSC feature disabled. 2022-09-04 14:09:38.400 964-1172/? E/ActivityManager: checkUser: useridlist=null, currentuser=0 2022-09-04 14:09:38.400 964-1172/? E/ActivityManager: checkUser: useridlist=null, currentuser=0 2022-09-04 14:09:38.400 964-1172/? E/ActivityManager: checkUser: useridlist=null, currentuser=0 2022-09-04 14:09:38.400 964-1172/? E/ActivityManager: checkUser: useridlist=null, currentuser=0 2022-09-04 14:09:38.420 22935-22935/? E/Zygote: v2 2022-09-04 14:09:38.430 22935-22935/? E/SELinux: [DEBUG] get_category: variable seinfo: shared sensitivity: NULL, cateogry: NULL 2022-09-04 14:09:38.510 22935-22935/? E/: New instance is crated. 2022-09-04 14:09:38.520 964-1702/? E/ActivityManager: checkUser: useridlist=null, currentuser=0 2022-09-04 14:09:38.520 964-1702/? E/ActivityManager: checkUser: useridlist=null, currentuser=0 2022-09-04 14:09:38.520 964-1702/? E/ActivityManager: checkUser: useridlist=null, currentuser=0 2022-09-04 14:09:38.520 964-1702/? E/ActivityManager: checkUser: useridlist=null, currentuser=0 2022-09-04 14:09:38.530 22950-22950/? E/Zygote: v2 2022-09-04 14:09:38.540 22950-22950/? E/SELinux: [DEBUG] get_category: variable seinfo: shared sensitivity: NULL, cateogry: NULL 2022-09-04 14:09:38.780 272-671/? E/qomx_image_core: OMX_Deinit:118] Complete 2022-09-04 14:09:38.790 272-22877/? E/mm-camera-intf: mm_camera_cmd_thread: MM_CAMERA_CMD_TYPE_EXIT - cmd_pid = 0xb8c17988 2022-09-04 14:09:38.790 272-671/? E/mm-camera-intf: mm_camera_cmd_thread_stop: before join 0xb8c17988, qsize = 1 2022-09-04 14:09:38.790 272-22877/? E/mm-camera-intf: mm_camera_cmd_thread: X - cmd_pid = 0xb8c17988 2022-09-04 14:09:38.790 284-284/? E/mm-camera: server_process_hal_event:__DBG__ X sucess event id=3 2022-09-04 14:09:38.790 284-22876/? E/mm-camera: mct_pipeline_process_set:command=800000b 2022-09-04 14:09:38.790 284-22876/? E/mm-camera: mct_pipeline_process_set: Couldn't find stream 2022-09-04 14:09:38.790 284-284/? E/mm-camera: server_process_hal_event: delete session 2022-09-04 14:09:38.790 284-284/? E/mm-camera: mct_controller_destroy: __debug__: E 153= 2022-09-04 14:09:38.790 284-284/? E/mm-camera: mct_controller_destroy: calling stop_session 2022-09-04 14:09:38.790 284-22966/? E/mm-camera: mct_pipeline_stop_session: __debug__: E 1781= 2022-09-04 14:09:38.790 284-22966/? E/mm-camera: mct_pipeline_modules_stop: E __debug__ 2022-09-04 14:09:38.790 284-284/? E/mm-camera: tv_sec = 1662293379 tv_nsec = 797807000 2022-09-04 14:09:38.790 284-22966/? E/mm-camera: mct_pipeline_modules_stop: X __debug__ 2022-09-04 14:09:38.790 284-22966/? E/mm-camera: mct_pipeline_modules_stop: E __debug__ 2022-09-04 14:09:38.790 284-22966/? E/mm-camera: mct_pipeline_modules_stop: X __debug__ 2022-09-04 14:09:38.790 284-22968/? E/mm-camera: ispif_stop_session: __ZZZZ__: E 199= 2022-09-04 14:09:38.790 284-22966/? E/mm-camera: mct_pipeline_modules_stop: E __debug__ 2022-09-04 14:09:38.790 284-22968/? E/mm-camera: ispif_stop_session: __ZZZZ__: After memset 208= 2022-09-04 14:09:38.790 284-22966/? E/mm-camera: mct_pipeline_modules_stop: X __debug__ 2022-09-04 14:09:38.790 284-22966/? E/mm-camera: mct_pipeline_modules_stop: E __debug__ 2022-09-04 14:09:38.790 284-22966/? E/mm-camera: mct_pipeline_modules_stop: X __debug__ 2022-09-04 14:09:38.790 284-22966/? E/mm-camera: mct_pipeline_modules_stop: E __debug__ 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: E 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg 1st free 2022-09-04 14:09:38.790 284-22971/? E/mm-camera: cpp_module_stop_session: __ZZZZ__: E 355= 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg 2nd free 2022-09-04 14:09:38.790 284-22971/? E/mm-camera: cpp_module_stop_session:365, info: stopping session 2 ... 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg 1st free 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg 2nd free 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg 1st free 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg 2nd free 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg 1st free 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg 2nd free 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg 1st free 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg 2nd free 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg 1st free 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg 2nd free 2022-09-04 14:09:38.790 284-22872/? E/mm-camera: cpp_thread_process_pipe_message:359, CPP_THREAD_MSG_ABORT: cpp_thread exiting.. 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg 1st free 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg 2nd free 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg 1st free 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg 2nd free 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg 1st free 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg 2nd free 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg 1st free 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg 2nd free 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg 1st free 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg 2nd free 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg 1st free 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg 2nd free 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg 1st free 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg 2nd free 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg 1st free 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg 2nd free 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg 1st free 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg 2nd free 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg 1st free 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg 2nd free 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg 1st free 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg 2nd free 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg 1st free 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg 2nd free 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: __dbg private free 2022-09-04 14:09:38.790 284-22970/? E/mm-camera: stats_port_deinit: X 2022-09-04 14:09:38.790 284-22966/? E/mm-camera: mct_pipeline_modules_stop: X __debug__ 2022-09-04 14:09:38.790 284-22966/? E/mm-camera: mct_pipeline_modules_stop: E __debug__ 2022-09-04 14:09:38.790 284-22966/? E/mm-camera: mct_pipeline_modules_stop: X __debug__ 2022-09-04 14:09:38.790 284-22966/? E/mm-camera: mct_pipeline_stop_session: __debug__: X 1784= 2022-09-04 14:09:38.790 284-22870/? E/mm-camera-img: module_imglib_msg_thread:116] X 2022-09-04 14:09:38.790 284-22969/? E/mm-camera: isp_thread_async_task_stop: __ZZZZ__: E 308= 2022-09-04 14:09:38.790 284-22969/? E/mm-camera: isp_thread_async_task_stop: __ZZZZ__: Ater thread started 313= 2022-09-04 14:09:38.790 284-22969/? E/mm-camera: isp_thread_async_task_stop: __ZZZZ__: Before sem post 327= 2022-09-04 14:09:38.790 284-22969/? E/mm-camera: isp_thread_async_task_stop: __ZZZZ__: After sem post 329= 2022-09-04 14:09:38.790 284-22969/? E/mm-camera: isp_thread_async_task_stop: __ZZZZ__: After thread join 331= 2022-09-04 14:09:38.790 284-22969/? E/mm-camera: isp_thread_async_task_stop: X, session_id = 2 2022-09-04 14:09:38.790 284-22971/? E/mm-camera: cpp_module_stop_session:396, info: session 2 stopped. 2022-09-04 14:09:38.790 284-22971/? E/mm-camera: c2d_module_stop_session: __ZZZZ__: E 285= 2022-09-04 14:09:38.790 284-22971/? E/mm-camera: c2d_module_stop_session:295, info: stopping session 2 ... 2022-09-04 14:09:38.790 284-22971/? E/mm-camera: c2d_module_stop_session:300, info: stopping c2d_thread... 2022-09-04 14:09:38.790 284-22971/? E/mm-camera: c2d_module_post_msg_to_thread:354, msg.type=1 2022-09-04 14:09:38.790 284-22873/? E/mm-camera: c2d_thread_process_pipe_message:453, C2D_THREAD_MSG_ABORT: c2d_thread exiting.. 2022-09-04 14:09:38.790 284-22971/? E/mm-camera: c2d_module_stop_session:312, closing c2d subdev... 2022-09-04 14:09:38.790 284-22971/? E/mm-camera: c2d_module_stop_session:334, info: session 2 stopped. 2022-09-04 14:09:38.790 284-22874/? E/mm-camera-img: module_imglib_msg_thread:116] X 2022-09-04 14:09:38.880 284-22967/? E/mm-camera-sensor: module_sensor_deinit_session:1003: After unload lib 2022-09-04 14:09:38.880 284-284/? E/mm-camera: mct_controller_destroy: __debug__: X 216= 2022-09-04 14:09:38.880 284-284/? E/mm-camera: server_process_hal_event:__DBG__ X sucess event id=2 2022-09-04 14:09:38.880 284-284/? E/mm-camera: main: __ZZZZ___ Result del session Entry 2022-09-04 14:09:38.880 284-284/? E/mm-camera: main: __ZZZZ___ Result del session Exit ```
g123k commented 2 years ago

In your case, it’s coming from the camera driver developed by Samsung. So it’s only for your device. I’m not sure it’s worth the case to support only one device.

instead we should focus on global scan issues

g123k commented 2 years ago

Could you also create issues per device instead of using this thread, please? This is very difficult for me to follow the issue on Slack, Meet, GitHub…

monsieurtanuki commented 2 years ago

Fair enough @g123k: #2917

g123k commented 2 years ago

You can have two kinds of issues:

If you are in the second case, please download this APK: drive.google.com/file/d/1F6S0pGpf8OQHhqKSw1opWQPRxpcmYdDV/view?usp=sharing (app name: ML Kit in Flutter) and go to Barcode Scanning (first item) and tell me if you're able to scan.

Thanks

g123k commented 2 years ago

Since the alternative mode is now available in the app, what's the plan to check if it fixes the issue?

g123k commented 2 years ago

The feedback we have seem to indicate that the issue is now fixed with the alternative mode. I will work on a PR to enable the alternative mode by default and make the current one available in the settings.

g123k commented 2 years ago

It think we should consider this issue as fixed with the "alternative mode" enabled by default