[ONE Q&A, Help & Troubleshooting] krisidmisso:
I have installed a custom rom (RR Oreo) on a OnePlus One (A0001) device. It had previously installed EncroChat. I used MSM Download Tool(with its system and other image files, it had android 4.3) to get started and then step by step unlocked the booloader, installed recovery and then ROM. I have tried also flashing another firmware, another ROM (COLOR Rom) but camera and flash dont work. The message i get from COLOR Rom is "Cant connect to camera". In RR Rom i get "Unknown Error". When i open the camera at first time it asks for permissions and then displays a blank screen (cant even go back). If i open again the camera afterwards it crashes and displays the toast error message "Unknown Error" (in RR).

I have also tried to clean cache, followed this guide (killall cameraserver) https://xdaforums.com/general/general/guide-how-to-fix-connect-to-camera-t3496237, restarting the device.

Can someone help? Below is the logcat from adb:

08-29 00:13:36.502 315 4318 D ACDB-LOADER: ACDB -> send_adm_topology
08-29 00:13:36.502 315 4318 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
08-29 00:13:36.502 315 4318 D ACDB-LOADER: ACDB -> send_asm_topology
08-29 00:13:36.502 315 4318 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
08-29 00:13:36.502 315 4318 D ACDB-LOADER: ACDB -> send_audtable
08-29 00:13:36.502 315 4318 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE
08-29 00:13:36.502 315 4318 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_CAL
08-29 00:13:36.502 315 4318 D ACDB-LOADER: ACDB -> send_audvoltable
08-29 00:13:36.502 315 4318 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE
08-29 00:13:36.502 315 4318 D : Failed to fetch the lookup information of the device 0000000F
08-29 00:13:36.502 315 4318 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
08-29 00:13:36.502 315 4318 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_VOL_CAL
08-29 00:13:36.502 315 4318 D ACDB-LOADER: ACDB -> send_afe_cal
08-29 00:13:36.502 315 4318 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_COMMON_TABLE
08-29 00:13:36.502 315 4318 D : Failed to fetch the lookup information of the device 0000000F
08-29 00:13:36.502 315 4318 E ACDB-LOADER: Error: ACDB AFE returned = -19
08-29 00:13:36.502 315 4318 D ACDB-LOADER: ACDB -> AUDIO_SET_AFE_CAL
08-29 00:13:36.502 315 4318 D audio_route: Apply path: speaker
08-29 00:13:36.508 315 4318 D audio_route: Apply path: audio-ull-playback
08-29 00:13:36.509 315 4318 D audio_hw_primary: select_devices: done
08-29 00:13:36.551 10127 10127 W ThreadMonitor: Start monitor 'main' (10127)
08-29 00:13:36.551 10127 10127 V OPCameraActivity: onCreate() - Instance ID : 225058703
08-29 00:13:36.554 10127 10127 V OPCameraActivity: disableBeam()
08-29 00:13:36.554 10127 10127 D OPCameraActivity: [Property] State(id=18) : NEW -> CREATING
08-29 00:13:36.555 10127 10127 D OPCameraActivity: updateThemeMode() - themeMode : -1
08-29 00:13:36.555 10127 10127 E OPCameraActivity: updateThemeMode() - failed to get theme mode.
08-29 00:13:36.555 10127 10127 E OPCameraActivity: java.lang.ClassNotFoundException: android.util.OpFeatures
08-29 00:13:36.555 10127 10127 E OPCameraActivity:	at java.lang.Class.classForName(Native Method)
08-29 00:13:36.555 10127 10127 E OPCameraActivity:	at java.lang.Class.forName(Class.java:453)
08-29 00:13:36.555 10127 10127 E OPCameraActivity:	at java.lang.Class.forName(Class.java:378)
08-29 00:13:36.555 10127 10127 E OPCameraActivity:	at com.oneplus.base.BaseActivity.updateThemeMode(BaseActivity.java:1082)
08-29 00:13:36.555 10127 10127 E OPCameraActivity:	at com.oneplus.base.BaseActivity.onCreate(BaseActivity.java:739)
08-29 00:13:36.555 10127 10127 E OPCameraActivity:	at com.oneplus.camera.CameraActivity.onCreate(CameraActivity.java:3999)
08-29 00:13:36.555 10127 10127 E OPCameraActivity:	at com.oneplus.camera.OPCameraActivity.onCreate(OPCameraActivity.java:373)
08-29 00:13:36.555 10127 10127 E OPCameraActivity:	at android.app.Activity.performCreate(Activity.java:7054)
08-29 00:13:36.555 10127 10127 E OPCameraActivity:	at android.app.Activity.performCreate(Activity.java:7045)
08-29 00:13:36.555 10127 10127 E OPCameraActivity:	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1214)
08-29 00:13:36.555 10127 10127 E OPCameraActivity:	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2732)
08-29 00:13:36.555 10127 10127 E OPCameraActivity:	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2857)
08-29 00:13:36.555 10127 10127 E OPCameraActivity:	at android.app.ActivityThread.-wrap11(Unknown Source:0)
08-29 00:13:36.555 10127 10127 E OPCameraActivity:	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1590)
08-29 00:13:36.555 10127 10127 E OPCameraActivity:	at android.os.Handler.dispatchMessage(Handler.java:106)
08-29 00:13:36.555 10127 10127 E OPCameraActivity:	at android.os.Looper.loop(Looper.java:164)
08-29 00:13:36.555 10127 10127 E OPCameraActivity:	at android.app.ActivityThread.main(ActivityThread.java:6499)
08-29 00:13:36.555 10127 10127 E OPCameraActivity:	at java.lang.reflect.Method.invoke(Native Method)
08-29 00:13:36.555 10127 10127 E OPCameraActivity:	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
08-29 00:13:36.555 10127 10127 E OPCameraActivity:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
08-29 00:13:36.555 10127 10127 E OPCameraActivity: Caused by: java.lang.ClassNotFoundException: Didn't find class "android.util.OpFeatures" on path: DexPathList[[zip file "/system/priv-app/OnePlusCamera/OnePlusCamera.apk"],nativeLibraryDirectories=[/system/priv-app/OnePlusCamera/lib/arm, /system/priv-app/OnePlusCamera/OnePlusCamera.apk!/lib/armeabi-v7a, /system/lib, /system/vendor/lib, /system/lib, /system/vendor/lib]]
08-29 00:13:36.555 10127 10127 E OPCameraActivity:	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:125)
08-29 00:13:36.555 10127 10127 E OPCameraActivity:	at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
08-29 00:13:36.555 10127 10127 E OPCameraActivity:	at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
08-29 00:13:36.555 10127 10127 E OPCameraActivity:	... 20 more
08-29 00:13:36.557 10127 10127 V OPCameraActivity: checkRequiredPermissions() - All required permissions are granted
08-29 00:13:36.557 10127 10127 V OPCameraActivity: checkStartMode() - Start mode: NORMAL, Media extras: null, Launch source: NORMAL
08-29 00:13:36.558 10127 10127 D OPCameraActivity: [Property] Settings(id=65) : null -> (Global)@259204523
08-29 00:13:36.558 10127 10127 W OPCameraActivity: updateScreenSize() - Screen size : 1080x1920 (Full HD)
08-29 00:13:36.558 10127 10127 E HandlerUtils: sendMessage() - No Handler to send 10000
08-29 00:13:36.559 10127 10127 W OPCameraActivity: disableCaptureUI() - Handle : DisableCaptureUI [113464328]{ Usage = CameraPreviewStartStop, Time = 08/29 00:13:36.558 }, handle count : 1
08-29 00:13:36.559 10127 10127 D OPCameraActivity: [Property] IsCaptureUIEnabled(id=37) : true -> false
08-29 00:13:36.559 10127 10127 W ComponentManager: createComponents(LAUNCH) - Start
08-29 00:13:36.559 10127 10127 W ComponentManager: createComponent() - Component is unsupported, builder : com.oneplus.camera.ui.BusinessCardUIBuilder@ef64fdb
08-29 00:13:36.560 10127 10127 D ComponentManager: createComponent() - Component : Capture Mode Manager
08-29 00:13:36.560 10127 10127 D ComponentManager: createComponent() - Component : Viewfinder
08-29 00:13:36.560 10127 10127 D ComponentManager: initializeComponent() - Component : Viewfinder
08-29 00:13:36.560 10127 10127 D ViewfinderImpl: [Property] PreviewContainerSize(id=90) : 0x0 -> 1920x1080
08-29 00:13:36.560 10127 10127 D ComponentManager: initializeComponent() - Component : Capture Mode Manager
08-29 00:13:36.560 10127 10127 W ComponentManager: createComponents(LAUNCH) - End
08-29 00:13:36.561 10127 10127 V CameraApplication: notifyInstanceCreated() - Instance count : 1
08-29 00:13:36.561 10127 10127 D ComponentManager: createComponent() - Component : Scene Manager
08-29 00:13:36.562 10127 10127 V CaptureModeManagerImpl: createCaptureMode() - Create 'Photo'
08-29 00:13:36.562 10127 10127 V CaptureModeManagerImpl: createCaptureMode() - Create 'Video'
08-29 00:13:36.562 10127 10127 V CaptureModeManagerImpl: createCaptureMode() - Create 'Bokeh'
08-29 00:13:36.563 10127 10127 V CaptureModeManagerImpl: createCaptureMode() - Create 'Manual'
08-29 00:13:36.563 10127 10127 V CaptureModeManagerImpl: createCaptureMode() - Create 'Time-lapse'
08-29 00:13:36.563 10127 10127 V CaptureModeManagerImpl: createCaptureMode() - Create 'Slow-motion'
08-29 00:13:36.563 10127 10127 V CaptureModeManagerImpl: createCaptureMode() - Create 'Panorama'
08-29 00:13:36.563 10127 10127 V CaptureModeManagerImpl: setCaptureMode() - Capture mode : Photo
08-29 00:13:36.564 10127 10127 W OPCameraActivity: disableCaptureUI() - Handle : DisableCaptureUI [183855009]{ Usage = CaptureModeSwitch, Time = 08/29 00:13:36.563 }, handle count : 2
08-29 00:13:36.566 10127 10127 W OPCameraActivity: setSettings() - Create handle : Settings [182443229]
08-29 00:13:36.566 10127 10127 D OPCameraActivity: [Property] Settings(id=65) : (Global)@259204523 -> photo@109744210
08-29 00:13:36.567 10127 10127 I zygote : Deoptimizing boolean com.oneplus.base.BasicBaseObject.notifyPropertyChanged(com.oneplus.base.BasicBaseObject$Property, java.lang.Object, java.lang.Object) due to JIT inline cache
08-29 00:13:36.567 10127 10127 W PhotoCaptureMode: applyScene() - No camera
08-29 00:13:36.567 10127 10127 W PhotoCaptureMode: onEnter() - isRawCaptureEnabled : false
08-29 00:13:36.568 10127 10127 W PhotoCaptureMode: setRawCaptureState() - camera is null
08-29 00:13:36.570 10127 10127 D CaptureModeManagerImpl: [Property] CaptureMode(id=86) : (Invalid) -> Photo
08-29 00:13:36.571 10127 10127 W OPCameraActivity: enableCaptureUI() - Handle : DisableCaptureUI [183855009]{ Usage = CaptureModeSwitch, Time = 08/29 00:13:36.563 }, handle count : 1
08-29 00:13:36.571 10127 10127 W CameraThread: start()
08-29 00:13:36.572 10127 10127 W AutoHdrScene: disable()
08-29 00:13:36.572 10127 10127 W AutoHdrScene: enable()
08-29 00:13:36.572 10127 10127 V SceneManagerImpl: createScene() - Scene : Auto-HDR
08-29 00:13:36.572 10127 10127 V SceneManagerImpl: createScene() - Scene : HDR
08-29 00:13:36.572 10127 10127 V SceneManagerImpl: createScene() - Scene : ClearShot
08-29 00:13:36.573 10127 10127 V OPCameraActivity: setContentView() - Load content view [start]
08-29 00:13:36.575 10127 11515 W CameraThread: +++++ START +++++
08-29 00:13:36.576 10127 11515 W ThreadMonitor: Start monitor 'Camera Thread' (11515)
08-29 00:13:36.576 10127 11515 V CameraThread: onStarting() - Initial screen size : 1080x1920 (Full HD)
08-29 00:13:36.576 10127 11515 V CameraThread: onStarting() - Initial media type : PHOTO
08-29 00:13:36.577 10127 11515 W ComponentManager: createComponents(LAUNCH) - Start
08-29 00:13:36.578 10127 11515 D ComponentManager: createComponent() - Component : Portrait controller
08-29 00:13:36.578 10127 11515 D ComponentManager: createComponent() - Component : Manual Mode Controller
08-29 00:13:36.578 10127 11515 D ComponentManager: createComponent() - Component : Panorama controller
08-29 00:13:36.579 10127 11515 D ComponentManager: createComponent() - Component : Slow-motion Controller
08-29 00:13:36.579 10127 11515 D ComponentManager: createComponent() - Component : Time-lapse Controller
08-29 00:13:36.579 10127 11515 D ComponentManager: createComponent() - Component : Camera device manager
08-29 00:13:36.579 10127 11515 D ComponentManager: initializeComponent() - Component : Camera device manager
08-29 00:13:36.580 10127 11515 D ComponentManager: initializeComponent() - Component : Time-lapse Controller
08-29 00:13:36.581 10127 11515 D ComponentManager: initializeComponent() - Component : Slow-motion Controller
08-29 00:13:36.583 10127 11515 D ComponentManager: initializeComponent() - Component : Panorama controller
08-29 00:13:36.583 10127 11515 D ComponentManager: initializeComponent() - Component : Manual Mode Controller
08-29 00:13:36.583 10127 11515 D ComponentManager: initializeComponent() - Component : Portrait controller
08-29 00:13:36.583 10127 11515 W ComponentManager: createComponents(LAUNCH) - End
08-29 00:13:36.584 10127 11515 V CameraThread: Enter loop
08-29 00:13:36.590 10127 10127 V OPCameraActivity: setContentView() - Load content view [end]
08-29 00:13:36.590 10127 10127 V OPCameraActivity: setContentView() - Set content view [start]
08-29 00:13:36.594 10127 10127 V OPCameraActivity: setContentView() - Set content view [end]
08-29 00:13:36.597 10127 10127 V OPCameraActivity: checkRequiredPermissions() - All required permissions are granted
08-29 00:13:36.597 10127 10127 D OPCameraActivity: [Property] State(id=18) : CREATING -> STARTING
08-29 00:13:36.598 10127 11515 D CameraThread: [Property] AllRequiredPermissionsGranted(id=69) : false -> true
08-29 00:13:36.599 10127 11515 W CameraDeviceManagerImpl: refreshCameraList() - No back camera
08-29 00:13:36.599 10127 11515 V CameraDeviceManagerImpl: refreshCameraList() - Takes 0ms to refresh list, cameras : []
08-29 00:13:36.602 10127 10127 V OPCameraActivity: onAllPermissionsCompleted() - All permissions are completed: [android.permission.CAMERA, android.permission.RECORD_AUDIO, android.permission.READ_EXTERNAL_STORAGE, android.permission.WRITE_EXTERNAL_STORAGE, android.permission.ACCESS_FINE_LOCATION], result: [0, 0, 0, 0, 0]
08-29 00:13:36.602 10127 10127 D OPCameraActivity: [Property] State(id=18) : STARTING -> RESUMING
08-29 00:13:36.603 10127 10127 D OPCameraActivity: [Property] State(id=18) : RESUMING -> RUNNING
08-29 00:13:36.603 10127 10127 W PhotoCaptureMode: onActivityStateChanged() - isRawCaptureEnabled : false
08-29 00:13:36.603 10127 10127 W PhotoCaptureMode: setRawCaptureState() - camera is null
08-29 00:13:36.604 10127 10127 D OPCameraActivity: [Property] IsRunning(id=16) : false -> true
08-29 00:13:36.604 10127 10127 D OPCameraActivity: updateThemeMode() - themeMode : -1
08-29 00:13:36.605 10127 10127 E OPCameraActivity: updateThemeMode() - failed to get theme mode.
08-29 00:13:36.605 10127 10127 E OPCameraActivity: java.lang.ClassNotFoundException: android.util.OpFeatures
08-29 00:13:36.605 10127 10127 E OPCameraActivity:	at java.lang.Class.classForName(Native Method)
08-29 00:13:36.605 10127 10127 E OPCameraActivity:	at java.lang.Class.forName(Class.java:453)
08-29 00:13:36.605 10127 10127 E OPCameraActivity:	at java.lang.Class.forName(Class.java:378)
08-29 00:13:36.605 10127 10127 E OPCameraActivity:	at com.oneplus.base.BaseActivity.updateThemeMode(BaseActivity.java:1082)
08-29 00:13:36.605 10127 10127 E OPCameraActivity:	at com.oneplus.base.BaseActivity.onResume(BaseActivity.java:881)
08-29 00:13:36.605 10127 10127 E OPCameraActivity:	at com.oneplus.camera.CameraActivity.onResume(CameraActivity.java:4869)
08-29 00:13:36.605 10127 10127 E OPCameraActivity:	at com.oneplus.camera.OPCameraActivity.onResume(OPCameraActivity.java:658)
08-29 00:13:36.605 10127 10127 E OPCameraActivity:	at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1355)
08-29 00:13:36.605 10127 10127 E OPCameraActivity:	at android.app.Activity.performResume(Activity.java:7162)
08-29 00:13:36.605 10127 10127 E OPCameraActivity:	at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3557)
08-29 00:13:36.605 10127 10127 E OPCameraActivity:	at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3622)
08-29 00:13:36.605 10127 10127 E OPCameraActivity:	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2863)
08-29 00:13:36.605 10127 10127 E OPCameraActivity:	at android.app.ActivityThread.-wrap11(Unknown Source:0)
08-29 00:13:36.605 10127 10127 E OPCameraActivity:	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1590)
08-29 00:13:36.605 10127 10127 E OPCameraActivity:	at android.os.Handler.dispatchMessage(Handler.java:106)
08-29 00:13:36.605 10127 10127 E OPCameraActivity:	at android.os.Looper.loop(Looper.java:164)
08-29 00:13:36.605 10127 10127 E OPCameraActivity:	at android.app.ActivityThread.main(ActivityThread.java:6499)
08-29 00:13:36.605 10127 10127 E OPCameraActivity:	at java.lang.reflect.Method.invoke(Native Method)
08-29 00:13:36.605 10127 10127 E OPCameraActivity:	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
08-29 00:13:36.605 10127 10127 E OPCameraActivity:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
08-29 00:13:36.605 10127 10127 E OPCameraActivity: Caused by: java.lang.ClassNotFoundException: Didn't find class "android.util.OpFeatures" on path: DexPathList[[zip file "/system/priv-app/OnePlusCamera/OnePlusCamera.apk"],nativeLibraryDirectories=[/system/priv-app/OnePlusCamera/lib/arm, /system/priv-app/OnePlusCamera/OnePlusCamera.apk!/lib/armeabi-v7a, /system/lib, /system/vendor/lib, /system/lib, /system/vendor/lib]]
08-29 00:13:36.605 10127 10127 E OPCameraActivity:	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:125)
08-29 00:13:36.605 10127 10127 E OPCameraActivity:	at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
08-29 00:13:36.605 10127 10127 E OPCameraActivity:	at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
08-29 00:13:36.605 10127 10127 E OPCameraActivity:	... 20 more
08-29 00:13:36.607 10127 10127 W OPCameraActivity: startCameraPreview() - No camera to start preview
08-29 00:13:36.607 10127 10127 W OPCameraActivity: updateBurstEnablingState() - Camera is null, disable burst
08-29 00:13:36.611 10127 11515 V OPCameraActivity: bindToCameraThread()
08-29 00:13:36.612 10127 11515 W OPCameraActivity: bindToCameraThread() - Empty camera list
08-29 00:13:36.612 10127 10127 E OPCameraActivity: onAvailableCamerasChanged() - Empty camera list
08-29 00:13:36.616 10127 10127 E OPCameraActivity: onCameraOpenFailed() - Error code : 0
08-29 00:13:36.621 10127 10127 D OPCameraActivity: [Property] BatteryLevel(id=24) : 0 -> 72
08-29 00:13:36.630 10127 10153 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
08-29 00:13:36.631 10127 10153 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8974.so from current namespace instead of sphal namespace.
08-29 00:13:36.652 296 296 D SurfaceFlinger: duplicate layer name: changing SurfaceView - com.oneplus.camera/com.oneplus.camera.OPCameraActivity to SurfaceView - com.oneplus.camera/com.oneplus.camera.OPCameraActivity#1
08-29 00:13:36.652 296 296 D SurfaceFlinger: duplicate layer name: changing Background for - SurfaceView - com.oneplus.camera/com.oneplus.camera.OPCameraActivity to Background for - SurfaceView - com.oneplus.camera/com.oneplus.camera.OPCameraActivity#1
08-29 00:13:36.662 10127 10127 W ViewfinderImpl: onDirectOutputSurfaceCreated()
08-29 00:13:36.662 10127 10127 W ViewfinderImpl: onDirectOutputSurfaceChanged() - Format : 4, size : 1080x1920
08-29 00:13:36.664 10127 10127 W OPCameraActivity: disableCaptureUI() - Handle : DisableCaptureUI [147034388]{ Usage = CameraPreviewFrameWaiting, Time = 08/29 00:13:36.663 }, handle count : 2
08-29 00:13:36.669 10127 10127 D OPCameraActivity: [Property] IsRunning(id=16) : true -> false
08-29 00:13:36.669 10127 10127 D OPCameraActivity: [Property] State(id=18) : RUNNING -> PAUSING
08-29 00:13:36.670 10127 10127 W OPCameraActivity: onPause() - Remove capture UI disable handle : DisableCaptureUI [147034388]{ Usage = CameraPreviewFrameWaiting, Time = 08/29 00:13:36.663 }
08-29 00:13:36.670 10127 10127 W OPCameraActivity: onPause() - Capture UI disable handle count : 1
08-29 00:13:36.670 10127 10127 W OPCameraActivity: onPause() - Active capture UI disable handle : [0] DisableCaptureUI [113464328]{ Usage = CameraPreviewStartStop, Time = 08/29 00:13:36.558 }
08-29 00:13:36.678 10127 10127 V ViewfinderImpl: recreateDirectOutputSurface()
08-29 00:13:36.679 10127 10127 W ViewfinderImpl: onDirectOutputSurfaceDestroyed()
08-29 00:13:36.680 296 4617 E SurfaceFlinger: Failed to find layer (SurfaceView - com.oneplus.camera/com.oneplus.camera.OPCameraActivity#1) in layer parent (no-parent).
08-29 00:13:36.680 1242 6129 D WindowManager: relayoutVisibleWindow: Window{c59a809 u0 org.lineageos.trebuchet/com.android.launcher3.Launcher EXITING} mAnimatingExit=true, mRemoveOnExit=false, mDestroying=false
08-29 00:13:36.681 296 2158 E SurfaceFlinger: Failed to find layer (Background for - SurfaceView - com.oneplus.camera/com.oneplus.camera.OPCameraActivity#1) in layer parent (no-parent).
08-29 00:13:36.686 1242 6129 I WindowManager: Failed to capture screenshot of Token{5a0e821 ActivityRecord{7e28688 u0 com.oneplus.camera/.OPCameraActivity t14 f}} appWin=Window{b19f082 u0 com.oneplus.camera/com.oneplus.camera.OPCameraActivity} drawState=1
08-29 00:13:36.691 4174 7390 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
08-29 00:13:36.694 4174 7390 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8974.so from current namespace instead of sphal namespace.
08-29 00:13:36.727 3162 3162 W SystemUI:eek:mniJawsClient: queryWeather while disabled
08-29 00:13:36.730 10127 10153 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
08-29 00:13:36.731 10127 10153 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8974.so from current namespace instead of sphal namespace.
08-29 00:13:36.732 10127 10127 V OPCameraActivity: handleMessage() - Close all cameras
08-29 00:13:36.732 10127 11515 W CameraThread: closeCamerasInternal() - Start
08-29 00:13:36.733 10127 11515 W CameraThread: closeCamerasInternal() - End
08-29 00:13:36.734 296 408 E BufferQueueProducer: [SurfaceView - com.oneplus.camera/com.oneplus.camera.OPCameraActivity#0] disconnect: not connected (req=2)
08-29 00:13:36.746 3162 3162 W SystemUI:eek:mniJawsClient: queryWeather while disabled
08-29 00:13:36.839 3162 3162 I chatty : uid=10029(com.android.systemui) identical 6 lines
08-29 00:13:36.855 3162 3162 W SystemUI:eek:mniJawsClient: queryWeather while disabled
08-29 00:13:36.918 10127 10127 D OPCameraActivity: [Property] State(id=18) : PAUSING -> STOPPED
08-29 00:13:36.919 10127 10127 D OPCameraActivity: [Property] State(id=18) : STOPPED -> DESTROYING
08-29 00:13:36.919 10127 10127 V OPCameraActivity: unregisterReceivers()
08-29 00:13:36.919 10127 10127 W CameraThread: release()
08-29 00:13:36.919 10127 11515 W CameraThread: handleMessage() - Quit looper
08-29 00:13:36.919 10127 11515 W CameraThread: closeCamerasInternal() - Start
08-29 00:13:36.919 10127 11515 W CameraThread: closeCamerasInternal() - End
08-29 00:13:36.919 10127 11515 W ComponentManager: removeComponentInternal() - Component : Camera device manager
08-29 00:13:36.920 10127 11515 W ComponentManager: removeComponentInternal() - Component : Time-lapse Controller
08-29 00:13:36.920 10127 11515 W ComponentManager: removeComponentInternal() - Component : Slow-motion Controller
08-29 00:13:36.920 10127 11515 W ComponentManager: removeComponentInternal() - Component : Panorama controller
08-29 00:13:36.920 10127 11515 W ComponentManager: removeComponentInternal() - Component : Manual Mode Controller
08-29 00:13:36.920 10127 11515 W ComponentManager: removeComponentInternal() - Component : Portrait controller
08-29 00:13:36.920 10127 11515 W ThreadMonitor: Stop monitor 'Camera Thread' (11515)
08-29 00:13:36.920 10127 11515 W CameraThread: +++++ STOP +++++
08-29 00:13:36.921 10127 10127 W ComponentManager: removeComponentInternal() - Component : Scene Manager
08-29 00:13:36.921 10127 10127 W ComponentManager: removeComponentInternal() - Component : Viewfinder
08-29 00:13:36.921 10127 10127 W ComponentManager: removeComponentInternal() - Component : Capture Mode Manager
08-29 00:13:36.922 10127 10127 W OPCameraActivity: restoreSettings() - Handle : Settings [182443229]
08-29 00:13:36.922 10127 10127 D OPCameraActivity: [Property] Settings(id=65) : photo@109744210 -> (Global)@259204523
08-29 00:13:36.922 10127 10127 D OPCameraActivity: [Property] State(id=18) : DESTROYING -> DESTROYED
08-29 00:13:36.922 10127 10127 W ThreadMonitor: Stop monitor 'main' (10127)
08-29 00:13:37.109 10127 10127 E BaseActivity: Owner released, drop message -80
08-29 00:13:37.222 4174 7390 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
08-29 00:13:37.222 4174 7390 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
08-29 00:13:39.704 315 517 D audio_hw_primary: out_standby: enter: stream (0xb2ef6240) usecase(4: audio-ull-playback)
08-29 00:13:39.776 315 517 D hardware_info: hw_info_append_hw_type : device_name = speaker
08-29 00:13:40.154 1242 1242 W WindowManager: removeWindowToken: Attempted to remove non-existing token: android.os.Binder@7df3393