[Xperia Z1 Original Android Development] munjeni:
This is how it starts on nougat:

01-01 08:33:30.159 1256 1822 I ActivityManager: START u0 {act=android.media.action.STILL_IMAGE_CAMERA flg=0x14000000 c
mp=com.android.camera2/com.android.camera.CameraActivity} from uid 10028 on display 0
01-01 08:33:30.174 1256 1514 E ActivityManager: applyOptionsLocked: Unknown animationType=0
01-01 08:33:30.194 1256 1514 I ActivityManager: Start proc 3274:com.android.camera2/u0a37 for activity com.android.cam
era2/com.android.camera.CameraActivity
01-01 08:33:30.196 1256 1276 E SchedPolicy: add_tid_to_cgroup failed; fd=-1
01-01 08:33:30.196 1256 1276 W ActivityManager: Failed setting process group of 2069 to 1
01-01 08:33:30.197 1256 1276 W System.err: java.lang.IllegalArgumentException
01-01 08:33:30.197 1256 1276 W System.err: at android.os.Process.setProcessGroup(Native Method)
01-01 08:33:30.197 1256 1276 W System.err: at com.android.server.am.ActivityManagerService.applyOomAdjLocked(Activi
tyManagerService.java:20147)
01-01 08:33:30.198 1256 1276 W System.err: at com.android.server.am.ActivityManagerService.updateOomAdjLocked(Activ
ityManagerService.java:20646)
01-01 08:33:30.198 1256 1276 W System.err: at com.android.server.am.ActivityManagerService.trimApplications(Activit
yManagerService.java:21022)
01-01 08:33:30.198 1256 1276 W System.err: at com.android.server.am.ActivityStackSupervisor.activityIdleInternalLoc
ked(ActivityStackSupervisor.java:1690)
01-01 08:33:30.199 1256 1276 W System.err: at com.android.server.am.ActivityStackSupervisor$ActivityStackSupervisor
Handler.activityIdleInternal(ActivityStackSupervisor.java:3750)
01-01 08:33:30.199 1256 1276 W System.err: at com.android.server.am.ActivityStackSupervisor$ActivityStackSupervisor
Handler.handleMessage(ActivityStackSupervisor.java:3789)
01-01 08:33:30.199 1256 1276 W System.err: at android.os.Handler.dispatchMessage(Handler.java:102)
01-01 08:33:30.199 1256 1276 W System.err: at android.os.Looper.loop(Looper.java:154)
01-01 08:33:30.199 1256 1276 W System.err: at android.os.HandlerThread.run(HandlerThread.java:61)
01-01 08:33:30.199 1256 1276 W System.err: at com.android.server.ServiceThread.run(ServiceThread.java:46)
01-01 08:33:30.261 1256 2557 E SchedPolicy: add_tid_to_cgroup failed; fd=-1
01-01 08:33:30.261 1256 2557 W ActivityManager: Failed setting process group of 3274 to 2
01-01 08:33:30.262 1256 2557 W System.err: java.lang.IllegalArgumentException
01-01 08:33:30.262 1256 2557 W System.err: at android.os.Process.setProcessGroup(Native Method)
01-01 08:33:30.262 1256 2557 W System.err: at com.android.server.am.ActivityManagerService.applyOomAdjLocked(Activi
tyManagerService.java:20147)
01-01 08:33:30.262 1256 2557 W System.err: at com.android.server.am.ActivityManagerService.updateOomAdjLocked(Activ
ityManagerService.java:20646)
01-01 08:33:30.262 1256 2557 W System.err: at com.android.server.am.ActivityStackSupervisor.realStartActivityLocked
(ActivityStackSupervisor.java:1205)
01-01 08:33:30.262 1256 2557 W System.err: at com.android.server.am.ActivityStackSupervisor.attachApplicationLocked
(ActivityStackSupervisor.java:840)
01-01 08:33:30.262 1256 2557 W System.err: at com.android.server.am.ActivityManagerService.attachApplicationLocked(
ActivityManagerService.java:6550)
01-01 08:33:30.262 1256 2557 W System.err: at com.android.server.am.ActivityManagerService.attachApplication(Activi
tyManagerService.java:6614)
01-01 08:33:30.263 1256 2557 W System.err: at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.ja
va:539)
01-01 08:33:30.263 1256 2557 W System.err: at com.android.server.am.ActivityManagerService.onTransact(ActivityManag
erService.java:2755)
01-01 08:33:30.263 1256 2557 W System.err: at android.os.Binder.execTransact(Binder.java:565)
01-01 08:33:30.349 3291 3291 I thermanager: type=1400 audit(0.0:81): avc: denied { module_request } for kmod="personal
ity-8" scontext=u:r:thermanager:s0 tcontext=u:r:kernel:s0 tclass=system ppid=1 pcomm="init" tgid=1 tgcomm="init" permiss
ive=1
01-01 08:33:30.401 3291 3291 W thermanager: failed to attach resource "temp-emmc" [msm-adc], ignoring
01-01 08:33:30.401 3291 3291 W thermanager: failed to attach resource "temp-batt" [msm-adc], ignoring
01-01 08:33:30.402 3291 3291 E thermanager: failed to create configuration with sensor "temp-emmc"
01-01 08:33:30.402 3291 3291 E thermanager: failed to parse configuration sections
01-01 08:33:30.452 3274 3274 V CAM_Profiler: [ 0.000ms][ui] GUARD: CameraApp onCreate() - START
01-01 08:33:30.453 3274 3274 V CAM_Profiler: [ 0.000ms][ui] GUARD: FirstRunDetector getTimeOfFirstRun - START
01-01 08:33:30.454 3274 3274 V CAM_Profiler: [ 1.546ms][ui] GUARD: FirstRunDetector getTimeOfFirstRun - [ 1.546ms] Pr
eferenceManager.getDefaultSharedPreferences
01-01 08:33:30.459 3274 3274 V CAM_Profiler: [ 6.429ms][ui] GUARD: FirstRunDetector getTimeOfFirstRun - [ 4.883ms] pr
eferences.getLong
01-01 08:33:30.459 3274 3274 V CAM_Profiler: [ 6.763ms][ui] GUARD: FirstRunDetector getTimeOfFirstRun - STOP
01-01 08:33:30.459 3274 3274 V CAM_Profiler: [ 10.863ms][ui] GUARD: CameraApp onCreate() - [10.863ms] initializeTimeOf
FirstRun
01-01 08:33:30.460 3274 3274 V CAM_Profiler: [ 11.287ms][ui] GUARD: CameraApp onCreate() - [ 0.424ms] UsageStatistics.
initialize
01-01 08:33:30.462 3274 3274 V CAM_Profiler: [ 13.053ms][ui] GUARD: CameraApp onCreate() - [ 1.766ms] clearNotificatio
ns
01-01 08:33:30.462 3274 3274 V CAM_Profiler: [ 13.053ms][ui] GUARD: CameraApp onCreate() - STOP
01-01 08:33:30.475 3274 3274 V CAM_QuickActivity: START onCreate: Activity = com.android.camera.CameraActivity@e713d6b

01-01 08:33:30.476 3274 3274 V CAM_Profiler: [ 0.000ms][ui] GUARD: CameraActivity.onCreateTasks - START
01-01 08:33:30.476 3274 3274 D CAM_LocationManager: Using legacy location provider.
01-01 08:33:30.513 3274 3274 D CAM_MemoryManagerImpl: Max native memory: 358 MB
01-01 08:33:30.523 3274 3274 I CAM_OneCamFtrCnfgCrtr: CaptureModule? true
01-01 08:33:30.563 3274 3274 I CAM_Profiler: [ 86.969ms][ui] GUARD: CameraActivity.onCreateTasks - [35.398ms] Glide.se
tup
01-01 08:33:30.566 3274 3274 V CAM_Profiler: [ 89.836ms][ui] GUARD: CameraActivity.onCreateTasks - [ 2.867ms] OneCamer
aManager.get
01-01 08:33:30.582 3274 3274 I CameraManagerGlobal: Connecting to camera service
01-01 08:33:30.585 485 1357 I CameraService: getCameraCharacteristics: Switching to HAL1 shim implementation...
01-01 08:33:30.585 485 1357 I CameraService: CameraService::connect call (PID -1 "cameraserver", camera ID 0) for HAL
version default and Camera API version 1
01-01 08:33:30.586 485 1357 E CameraService: getCameraPriorityFromProcState: Received invalid process state -1 from A
ctivityManagerService!
01-01 08:33:30.589 3274 3305 E WVMExtractor: Failed to open libwvm.so: dlopen failed: library "libkeyctrl.so" not foun
d
01-01 08:33:30.621 498 3306 D NuPlayerDriver: notifyListener_l(0xb44aac60), (1, 0, 0), loop setting(0, 0)
01-01 08:33:30.627 498 1560 I MediaPlayerService: MediaPlayerService::getOMX
01-01 08:33:30.630 3274 3309 I OMXClient: MuxOMX ctor
01-01 08:33:30.634 491 1765 I OMXMaster: makeComponentInstance(OMX.google.vorbis.decoder) in mediacodec process
01-01 08:33:30.665 498 3310 D NuPlayerDriver: notifyListener_l(0xb44aaf60), (1, 0, 0), loop setting(0, 0)
01-01 08:33:30.689 498 3312 D NuPlayerDriver: notifyListener_l(0xb44ab0e0), (1, 0, 0), loop setting(0, 0)
01-01 08:33:30.692 485 1357 I CameraFlashlight: Opening camera 0
01-01 08:33:30.693 485 3314 D QCameraStateMachine: static void* qcamera::QCameraStateMachine::smEvtProcRoutine(void*)
: E
01-01 08:33:30.693 485 1357 I QCamera2HWI: static void qcamera::QCamera2HardwareInterface::getLogLevel() gCamHalLogLe
vel=1
01-01 08:33:30.696 485 1357 D QCamera2HWI: [KPI Perf] int qcamera::QCamera2HardwareInterface::openCamera(hw_device_t*
*): E PROFILE_OPEN_CAMERA camera id 0
01-01 08:33:30.697 485 3315 D QCamera2HWI: static void* qcamera::QCamera2HardwareInterface::defferedWorkRoutine(void*
): start data proc
01-01 08:33:30.715 485 1357 E mm-camera-intf: mm_camera_open: opened, break out while loop
01-01 08:33:30.715 485 1357 E mm-camera-intf: mm_camera_open: cannot open control fd of '/dev/video1' (No such device
)
01-01 08:33:30.715 485 1357 E mm-camera-intf: camera_open: mm_camera_open err = -1
01-01 08:33:30.715 485 1357 E QCamera2HWI: camera_open failed.
01-01 08:33:30.715 485 1357 D QCamera2HWI: virtual qcamera::QCamera2HardwareInterface::~QCamera2HardwareInterface():
E
01-01 08:33:30.716 485 3315 D QCamera2HWI: static void* qcamera::QCamera2HardwareInterface::defferedWorkRoutine(void*
): stop data proc
01-01 08:33:30.716 485 1357 D QCamera2HWI: int qcamera::QCamera2HardwareInterface::closeCamera(): E
01-01 08:33:30.717 485 3314 D QCameraStateMachine: static void* qcamera::QCameraStateMachine::smEvtProcRoutine(void*)
: X
01-01 08:33:30.717 485 1357 D QCamera2HWI: virtual qcamera::QCamera2HardwareInterface::~QCamera2HardwareInterface():
X
01-01 08:33:30.717 485 1357 E CameraFlashlight: Could not open camera 0: -19
01-01 08:33:30.717 485 1357 E CameraClient: initialize: Camera 0: unable to initialize device: No such device (-19)
01-01 08:33:30.717 485 1357 I CameraFlashlight: Destroying camera 0
01-01 08:33:30.717 485 1357 E CameraService: connectHelper: Could not initialize client from HAL module.
01-01 08:33:30.718 498 1561 D NuPlayerDriver: reset(0xb44aac60) at state 4
01-01 08:33:30.718 498 1561 D NuPlayerDriver: notifyListener_l(0xb44aac60), (8, 0, 0), loop setting(0, 0)
01-01 08:33:30.718 498 3306 D NuPlayerDriver: notifyResetComplete(0xb44aac60)
01-01 08:33:30.720 498 498 D NuPlayerDriver: reset(0xb44aaf60) at state 4
01-01 08:33:30.720 498 498 D NuPlayerDriver: notifyListener_l(0xb44aaf60), (8, 0, 0), loop setting(0, 0)
01-01 08:33:30.720 498 3310 D NuPlayerDriver: notifyResetComplete(0xb44aaf60)
01-01 08:33:30.722 498 1696 D NuPlayerDriver: reset(0xb44ab0e0) at state 4
01-01 08:33:30.722 498 1696 D NuPlayerDriver: notifyListener_l(0xb44ab0e0), (8, 0, 0), loop setting(0, 0)
01-01 08:33:30.722 498 3312 D NuPlayerDriver: notifyResetComplete(0xb44ab0e0)
01-01 08:33:30.726 485 1357 I CameraService: disconnect: Disconnected client for camera 0 for PID 485
01-01 08:33:30.726 485 1357 E CameraService: initializeShimMetadata: Error initializing shim metadata: Status(-8): '1
0: connectHelper:942: Failed to initialize camera "0": No such device (-19)'
01-01 08:33:30.730 3274 3274 E CAM2PORT_AndCam2AgntImp: Could not get device listing from camera subsystem
01-01 08:33:30.730 3274 3274 E CAM2PORT_AndCam2AgntImp: android.hardware.camera2.CameraAccessException: CAMERA_ERROR (
3): connectHelper:942: Failed to initialize camera "0": No such device (-19)
01-01 08:33:30.730 3274 3274 E CAM2PORT_AndCam2AgntImp: at android.hardware.camera2.CameraManager.throwAsPublicE
xception(CameraManager.java:633)
01-01 08:33:30.730 3274 3274 E CAM2PORT_AndCam2AgntImp: at android.hardware.camera2.CameraManager.getOrCreateDev
iceIdListLocked(CameraManager.java:690)
01-01 08:33:30.730 3274 3274 E CAM2PORT_AndCam2AgntImp: at android.hardware.camera2.CameraManager.getCameraIdLis
t(CameraManager.java:98)
01-01 08:33:30.730 3274 3274 E CAM2PORT_AndCam2AgntImp: at com.android.ex.camera2.portability.AndroidCamera2Agen
tImpl.updateCameraDevices(AndroidCamera2AgentImpl.java:110)
01-01 08:33:30.730 3274 3274 E CAM2PORT_AndCam2AgntImp: at com.android.ex.camera2.portability.AndroidCamera2Agen
tImpl.<init>(AndroidCamera2AgentImpl.java:100)
01-01 08:33:30.730 3274 3274 E CAM2PORT_AndCam2AgntImp: at com.android.ex.camera2.portability.CameraAgentFactory
.getAndroidCameraAgent(CameraAgentFactory.java:129)
01-01 08:33:30.730 3274 3274 E CAM2PORT_AndCam2AgntImp: at com.android.camera.CameraActivity.onCreateTasks(Camer
aActivity.java:1483)
01-01 08:33:30.730 3274 3274 E CAM2PORT_AndCam2AgntImp: at com.android.camera.util.QuickActivity.onCreate(QuickA
ctivity.java:114)
01-01 08:33:30.730 3274 3274 E CAM2PORT_AndCam2AgntImp: at android.app.Activity.performCreate(Activity.java:6664
)
01-01 08:33:30.730 3274 3274 E CAM2PORT_AndCam2AgntImp: at android.app.Instrumentation.callActivityOnCreate(Inst
rumentation.java:1118)
01-01 08:33:30.730 3274 3274 E CAM2PORT_AndCam2AgntImp: at android.app.ActivityThread.performLaunchActivity(Acti
vityThread.java:2599)
01-01 08:33:30.730 3274 3274 E CAM2PORT_AndCam2AgntImp: at android.app.ActivityThread.handleLaunchActivity(Activ
ityThread.java:2707)
01-01 08:33:30.730 3274 3274 E CAM2PORT_AndCam2AgntImp: at android.app.ActivityThread.-wrap12(ActivityThread.jav
a)
01-01 08:33:30.730 3274 3274 E CAM2PORT_AndCam2AgntImp: at android.app.ActivityThread$H.handleMessage(ActivityTh
read.java:1460)
01-01 08:33:30.730 3274 3274 E CAM2PORT_AndCam2AgntImp: at android.os.Handler.dispatchMessage(Handler.java:102)
01-01 08:33:30.730 3274 3274 E CAM2PORT_AndCam2AgntImp: at android.os.Looper.loop(Looper.java:154)
01-01 08:33:30.730 3274 3274 E CAM2PORT_AndCam2AgntImp: at android.app.ActivityThread.main(ActivityThread.java:6
077)
01-01 08:33:30.730 3274 3274 E CAM2PORT_AndCam2AgntImp: at java.lang.reflect.Method.invoke(Native Method)
01-01 08:33:30.730 3274 3274 E CAM2PORT_AndCam2AgntImp: at com.android.internal.os.ZygoteInit$MethodAndArgsCalle
r.run(ZygoteInit.java:865)
01-01 08:33:30.730 3274 3274 E CAM2PORT_AndCam2AgntImp: at com.android.internal.os.ZygoteInit.main(ZygoteInit.ja
va:755)
01-01 08:33:30.730 3274 3274 E CAM2PORT_AndCam2AgntImp: Caused by: android.os.ServiceSpecificException: connectHelper:
942: Failed to initialize camera "0": No such device (-19)
01-01 08:33:30.730 3274 3274 E CAM2PORT_AndCam2AgntImp: at android.os.Parcel.readException(Parcel.java:1697)
01-01 08:33:30.730 3274 3274 E CAM2PORT_AndCam2AgntImp: at android.os.Parcel.readException(Parcel.java:1636)
01-01 08:33:30.730 3274 3274 E CAM2PORT_AndCam2AgntImp: at android.hardware.ICameraService$Stub$Proxy.getCameraC
haracteristics(ICameraService.java:404)
01-01 08:33:30.730 3274 3274 E CAM2PORT_AndCam2AgntImp: at android.hardware.camera2.CameraManager.getOrCreateDev
iceIdListLocked(CameraManager.java:677)
01-01 08:33:30.730 3274 3274 E CAM2PORT_AndCam2AgntImp: ... 18 more
01-01 08:33:30.743 485 1862 I CameraService: CameraService::connect call (PID -1 "com.android.camera2", camera ID 0)
for HAL version default and Camera API version 1
01-01 08:33:30.762 498 3317 D NuPlayerDriver: notifyListener_l(0xb44aade0), (1, 0, 0), loop setting(0, 0)
01-01 08:33:30.791 498 3319 D NuPlayerDriver: notifyListener_l(0xb44aaf60), (1, 0, 0), loop setting(0, 0)
01-01 08:33:30.824 498 3323 D NuPlayerDriver: notifyListener_l(0xb44ab0e0), (1, 0, 0), loop setting(0, 0)
01-01 08:33:30.827 485 1862 I CameraFlashlight: Opening camera 0
01-01 08:33:30.827 485 3325 D QCameraStateMachine: static void* qcamera::QCameraStateMachine::smEvtProcRoutine(void*)
: E
01-01 08:33:30.827 485 1862 I QCamera2HWI: static void qcamera::QCamera2HardwareInterface::getLogLevel() gCamHalLogLe
vel=1
01-01 08:33:30.828 485 1862 D QCamera2HWI: [KPI Perf] int qcamera::QCamera2HardwareInterface::openCamera(hw_device_t*
*): E PROFILE_OPEN_CAMERA camera id 0
01-01 08:33:30.829 485 3326 D QCamera2HWI: static void* qcamera::QCamera2HardwareInterface::defferedWorkRoutine(void*
): start data proc
01-01 08:33:30.845 485 1862 E mm-camera-intf: mm_camera_open: opened, break out while loop
01-01 08:33:30.845 485 1862 E mm-camera-intf: mm_camera_open: cannot open control fd of '/dev/video1' (No such device
)
01-01 08:33:30.845 485 1862 E mm-camera-intf: camera_open: mm_camera_open err = -1
01-01 08:33:30.845 485 1862 E QCamera2HWI: camera_open failed.
01-01 08:33:30.845 485 1862 D QCamera2HWI: virtual qcamera::QCamera2HardwareInterface::~QCamera2HardwareInterface():
E
01-01 08:33:30.846 485 3326 D QCamera2HWI: static void* qcamera::QCamera2HardwareInterface::defferedWorkRoutine(void*
): stop data proc
01-01 08:33:30.846 485 1862 D QCamera2HWI: int qcamera::QCamera2HardwareInterface::closeCamera(): E
01-01 08:33:30.846 485 3325 D QCameraStateMachine: static void* qcamera::QCameraStateMachine::smEvtProcRoutine(void*)
: X
01-01 08:33:30.846 485 1862 D QCamera2HWI: virtual qcamera::QCamera2HardwareInterface::~QCamera2HardwareInterface():
X
01-01 08:33:30.846 485 1862 E CameraFlashlight: Could not open camera 0: -19
01-01 08:33:30.846 485 1862 E CameraClient: initialize: Camera 0: unable to initialize device: No such device (-19)
01-01 08:33:30.846 485 1862 I CameraFlashlight: Destroying camera 0
01-01 08:33:30.846 485 1862 E CameraService: connectHelper: Could not initialize client from HAL module.
01-01 08:33:30.847 498 1561 D NuPlayerDriver: reset(0xb44aade0) at state 4
01-01 08:33:30.847 498 1561 D NuPlayerDriver: notifyListener_l(0xb44aade0), (8, 0, 0), loop setting(0, 0)
01-01 08:33:30.847 498 3317 D NuPlayerDriver: notifyResetComplete(0xb44aade0)
01-01 08:33:30.850 498 498 D NuPlayerDriver: reset(0xb44aaf60) at state 4
01-01 08:33:30.850 498 498 D NuPlayerDriver: notifyListener_l(0xb44aaf60), (8, 0, 0), loop setting(0, 0)
01-01 08:33:30.850 498 3319 D NuPlayerDriver: notifyResetComplete(0xb44aaf60)
01-01 08:33:30.852 498 1696 D NuPlayerDriver: reset(0xb44ab0e0) at state 4
01-01 08:33:30.852 498 1696 D NuPlayerDriver: notifyListener_l(0xb44ab0e0), (8, 0, 0), loop setting(0, 0)
01-01 08:33:30.852 498 3323 D NuPlayerDriver: notifyResetComplete(0xb44ab0e0)
01-01 08:33:30.856 485 1862 I CameraService: disconnect: Disconnected client for camera 0 for PID 3274
01-01 08:33:30.856 3274 3274 W CameraBase: An error occurred while connecting to camera 0: Service not available
01-01 08:33:30.857 485 485 I CameraService: CameraService::connect call (PID -1 "com.android.camera2", camera ID 1)
for HAL version default and Camera API version 1
01-01 08:33:30.875 498 3327 D NuPlayerDriver: notifyListener_l(0xb44aaf60), (1, 0, 0), loop setting(0, 0)
01-01 08:33:30.896 498 3329 D NuPlayerDriver: notifyListener_l(0xb44aade0), (1, 0, 0), loop setting(0, 0)
01-01 08:33:30.919 498 3331 D NuPlayerDriver: notifyListener_l(0xb44ab3e0), (1, 0, 0), loop setting(0, 0)
01-01 08:33:30.922 485 485 I CameraFlashlight: Opening camera 1
01-01 08:33:30.922 485 3334 D QCameraStateMachine: static void* qcamera::QCameraStateMachine::smEvtProcRoutine(void*)
: E
01-01 08:33:30.922 485 485 I QCamera2HWI: static void qcamera::QCamera2HardwareInterface::getLogLevel() gCamHalLogLe
vel=1
01-01 08:33:30.924 485 485 D QCamera2HWI: [KPI Perf] int qcamera::QCamera2HardwareInterface::openCamera(hw_device_t*
*): E PROFILE_OPEN_CAMERA camera id 1
01-01 08:33:30.924 485 3335 D QCamera2HWI: static void* qcamera::QCamera2HardwareInterface::defferedWorkRoutine(void*
): start data proc
01-01 08:33:30.940 485 485 E mm-camera-intf: mm_camera_open: opened, break out while loop
01-01 08:33:30.940 485 485 E mm-camera-intf: mm_camera_open: cannot open control fd of '/dev/video2' (No such device
)
01-01 08:33:30.940 485 485 E mm-camera-intf: camera_open: mm_camera_open err = -1
01-01 08:33:30.940 485 485 E QCamera2HWI: camera_open failed.
01-01 08:33:30.940 485 485 D QCamera2HWI: virtual qcamera::QCamera2HardwareInterface::~QCamera2HardwareInterface():
E
01-01 08:33:30.940 485 3335 D QCamera2HWI: static void* qcamera::QCamera2HardwareInterface::defferedWorkRoutine(void*
): stop data proc
01-01 08:33:30.940 485 485 D QCamera2HWI: int qcamera::QCamera2HardwareInterface::closeCamera(): E
01-01 08:33:30.940 485 3334 D QCameraStateMachine: static void* qcamera::QCameraStateMachine::smEvtProcRoutine(void*)
: X
01-01 08:33:30.941 485 485 D QCamera2HWI: virtual qcamera::QCamera2HardwareInterface::~QCamera2HardwareInterface():
X
01-01 08:33:30.941 485 485 E CameraFlashlight: Could not open camera 1: -19
01-01 08:33:30.941 485 485 E CameraClient: initialize: Camera 1: unable to initialize device: No such device (-19)
01-01 08:33:30.941 485 485 I CameraFlashlight: Destroying camera 1
01-01 08:33:30.941 485 485 E CameraService: connectHelper: Could not initialize client from HAL module.
01-01 08:33:30.941 498 559 D NuPlayerDriver: reset(0xb44aaf60) at state 4
01-01 08:33:30.942 498 559 D NuPlayerDriver: notifyListener_l(0xb44aaf60), (8, 0, 0), loop setting(0, 0)
01-01 08:33:30.942 498 3327 D NuPlayerDriver: notifyResetComplete(0xb44aaf60)
01-01 08:33:30.944 498 498 D NuPlayerDriver: reset(0xb44aade0) at state 4
01-01 08:33:30.944 498 498 D NuPlayerDriver: notifyListener_l(0xb44aade0), (8, 0, 0), loop setting(0, 0)
01-01 08:33:30.945 498 3329 D NuPlayerDriver: notifyResetComplete(0xb44aade0)
01-01 08:33:30.945 498 1560 D NuPlayerDriver: reset(0xb44ab3e0) at state 4
01-01 08:33:30.945 498 1560 D NuPlayerDriver: notifyListener_l(0xb44ab3e0), (8, 0, 0), loop setting(0, 0)
01-01 08:33:30.946 498 3331 D NuPlayerDriver: notifyResetComplete(0xb44ab3e0)
01-01 08:33:30.951 485 485 I CameraService: disconnect: Disconnected client for camera 1 for PID 3274
01-01 08:33:30.952 3274 3274 W CameraBase: An error occurred while connecting to camera 1: Service not available
01-01 08:33:30.954 3274 3274 I CAM_Profiler: [477.490ms][ui] GUARD: CameraActivity.onCreateTasks - [215.138ms] compute
PictureSizes
01-01 08:33:31.017 3274 3274 W CAM_Log : Tag RoundedThumbnailView is 1 chars longer than limit.
01-01 08:33:31.226 3274 3274 I CAM_Profiler: [750.106ms][ui] GUARD: CameraActivity.onCreateTasks - [269.156ms] setCont
entView()
01-01 08:33:31.256 3274 3274 I CAM_Profiler: [780.489ms][ui] GUARD: CameraActivity.onCreateTasks - [30.383ms] Configur
e Camera UI
01-01 08:33:31.273 3274 3274 V CAM_CameraController: Closing camera
01-01 08:33:31.276 3274 3300 W CAM2PORT_AndCamAgntImp: Releasing camera without any camera opened.
01-01 08:33:31.276 3274 3274 V CAM_ModulesInfo: EnableCaptureModule = true
01-01 08:33:31.281 3274 3274 V CAM_Profiler: [ 0.000ms][ui] GUARD: new CaptureModule - START
01-01 08:33:31.286 3274 3274 V CAM_Profiler: [ 5.419ms][ui] GUARD: new CaptureModule - STOP
01-01 08:33:31.287 3274 3274 V CAM_SettingsManager: listeners: [com.android.camera.app.CameraAppUI@82abdd]
01-01 08:33:31.299 3274 3274 V CAM_SettingsManager: listeners: [com.android.camera.app.CameraAppUI@82abdd, com.android
.camera.ButtonManager@220b29e]
01-01 08:33:31.299 3274 3274 V CAM_SettingsManager: listeners: [com.android.camera.app.CameraAppUI@82abdd, com.android
.camera.ButtonManager@220b29e, com.android.camera.widget.IndicatorIconController@2b4654c]
01-01 08:33:31.299 3274 3274 V CAM_Profiler: [823.467ms][ui] GUARD: CameraActivity.onCreateTasks - [12.570ms] Init Cur
rent Module UI
01-01 08:33:31.300 3274 3274 V CAM_Profiler: [ 0.000ms][ui] GUARD: CaptureModule.init - START
01-01 08:33:31.300 3274 3274 D CAM_CaptureModule: init UseAutotransformUiLayout = false
01-01 08:33:31.309 3274 3274 D CAM_Camera2OneCamMgr: Getting First BACK Camera
01-01 08:33:31.309 485 1862 I CameraService: getCameraCharacteristics: Switching to HAL1 shim implementation...
01-01 08:33:31.309 485 1862 I CameraService: CameraService::connect call (PID -1 "cameraserver", camera ID 0) for HAL
version default and Camera API version 1
01-01 08:33:31.310 485 1862 E CameraService: getCameraPriorityFromProcState: Received invalid process state -1 from A
ctivityManagerService!
01-01 08:33:31.335 498 3340 D NuPlayerDriver: notifyListener_l(0xb44aafc0), (1, 0, 0), loop setting(0, 0)
01-01 08:33:31.356 498 3342 D NuPlayerDriver: notifyListener_l(0xb44ab3e0), (1, 0, 0), loop setting(0, 0)
01-01 08:33:31.389 498 3344 D NuPlayerDriver: notifyListener_l(0xb44ab320), (1, 0, 0), loop setting(0, 0)
01-01 08:33:31.394 485 1862 I CameraFlashlight: Opening camera 0
01-01 08:33:31.395 485 3346 D QCameraStateMachine: static void* qcamera::QCameraStateMachine::smEvtProcRoutine(void*)
: E
01-01 08:33:31.395 485 1862 I QCamera2HWI: static void qcamera::QCamera2HardwareInterface::getLogLevel() gCamHalLogLe
vel=1
01-01 08:33:31.398 485 1862 D QCamera2HWI: [KPI Perf] int qcamera::QCamera2HardwareInterface::openCamera(hw_device_t*
*): E PROFILE_OPEN_CAMERA camera id 0
01-01 08:33:31.398 485 3347 D QCamera2HWI: static void* qcamera::QCamera2HardwareInterface::defferedWorkRoutine(void*
): start data proc
01-01 08:33:31.414 485 1862 E mm-camera-intf: mm_camera_open: opened, break out while loop
01-01 08:33:31.414 485 1862 E mm-camera-intf: mm_camera_open: cannot open control fd of '/dev/video1' (No such device
)
01-01 08:33:31.414 485 1862 E mm-camera-intf: camera_open: mm_camera_open err = -1
01-01 08:33:31.414 485 1862 E QCamera2HWI: camera_open failed.
01-01 08:33:31.414 485 1862 D QCamera2HWI: virtual qcamera::QCamera2HardwareInterface::~QCamera2HardwareInterface():
E
01-01 08:33:31.415 485 3347 D QCamera2HWI: static void* qcamera::QCamera2HardwareInterface::defferedWorkRoutine(void*
): stop data proc
01-01 08:33:31.416 485 1862 D QCamera2HWI: int qcamera::QCamera2HardwareInterface::closeCamera(): E
01-01 08:33:31.416 485 3346 D QCameraStateMachine: static void* qcamera::QCameraStateMachine::smEvtProcRoutine(void*)
: X
01-01 08:33:31.417 485 1862 D QCamera2HWI: virtual qcamera::QCamera2HardwareInterface::~QCamera2HardwareInterface():
X
01-01 08:33:31.417 485 1862 E CameraFlashlight: Could not open camera 0: -19
01-01 08:33:31.417 485 1862 E CameraClient: initialize: Camera 0: unable to initialize device: No such device (-19)
01-01 08:33:31.417 485 1862 I CameraFlashlight: Destroying camera 0
01-01 08:33:31.418 485 1862 E CameraService: connectHelper: Could not initialize client from HAL module.
01-01 08:33:31.418 498 1696 D NuPlayerDriver: reset(0xb44aafc0) at state 4
01-01 08:33:31.419 498 1696 D NuPlayerDriver: notifyListener_l(0xb44aafc0), (8, 0, 0), loop setting(0, 0)
01-01 08:33:31.419 498 3340 D NuPlayerDriver: notifyResetComplete(0xb44aafc0)
01-01 08:33:31.421 498 559 D NuPlayerDriver: reset(0xb44ab3e0) at state 4
01-01 08:33:31.421 498 559 D NuPlayerDriver: notifyListener_l(0xb44ab3e0), (8, 0, 0), loop setting(0, 0)
01-01 08:33:31.422 498 3342 D NuPlayerDriver: notifyResetComplete(0xb44ab3e0)
01-01 08:33:31.423 498 1560 D NuPlayerDriver: reset(0xb44ab320) at state 4
01-01 08:33:31.423 498 1560 D NuPlayerDriver: notifyListener_l(0xb44ab320), (8, 0, 0), loop setting(0, 0)
01-01 08:33:31.423 498 3344 D NuPlayerDriver: notifyResetComplete(0xb44ab320)
01-01 08:33:31.426 485 1862 I CameraService: disconnect: Disconnected client for camera 0 for PID 485
01-01 08:33:31.426 485 1862 E CameraService: initializeShimMetadata: Error initializing shim metadata: Status(-8): '1
0: connectHelper:942: Failed to initialize camera "0": No such device (-19)'
01-01 08:33:31.429 3274 3274 W CAM_Camera2OneCamMgr: Unable to get camera ID
01-01 08:33:31.429 3274 3274 W CAM_Camera2OneCamMgr: android.hardware.camera2.CameraAccessException: CAMERA_ERROR (3):
connectHelper:942: Failed to initialize camera "0": No such device (-19)
01-01 08:33:31.429 3274 3274 W CAM_Camera2OneCamMgr: at android.hardware.camera2.CameraManager.throwAsPublicException
(CameraManager.java:633)
01-01 08:33:31.429 3274 3274 W CAM_Camera2OneCamMgr: at android.hardware.camera2.CameraManager.getOrCreateDeviceIdLis
tLocked(CameraManager.java:690)
01-01 08:33:31.429 3274 3274 W CAM_Camera2OneCamMgr: at android.hardware.camera2.CameraManager.getCameraIdList(Camera
Manager.java:98)

01-01 08:33:30.715 485 1357 E mm-camera-intf: mm_camera_open: opened, break out while loop

01-01 08:33:30.715 485 1357 E mm-camera-intf: mm_camera_open: cannot open control fd of '/dev/video1' (No such device

)