diff options
| author | Wang Han <416810799@qq.com> | 2018-05-23 00:28:03 +0800 |
|---|---|---|
| committer | Han Wang <416810799@qq.com> | 2019-02-10 12:57:44 +0100 |
| commit | f25f056c9851036c3954c878945f0ade1f19ee94 (patch) | |
| tree | 98c10ff2a13a04de34cabc2955b2b53c3594f3de | |
| parent | 9edd108918de681aea79612c289f1a931a4de69d (diff) | |
oneplus2: Restart cameraserver after boot completed
For some reason front camera gets magically broken since
mid-November, and this is a workaround. The real problem
is in somewhere framework side.
E CamDev@1.0-impl: Could not open camera 1: -1
E CamDev@1.0-impl: getHidlStatus: unknown HAL status code -1
E CameraHardwareInterface: initialize: openSession failed! Function not implemented (-38)
E CameraFlashlight: connectCameraDevice: initializing camera 1 failed
I CameraHardwareInterface: Destroying camera 1
E CameraFlashlight: findFlashUnits: failed to check if camera 1 has a flash unit. Function not implemented (-38)
Change-Id: If3ba1dce6e8ee2ee54f23fd5f99393d309692ede
| -rwxr-xr-x | rootdir/etc/init.qcom.rc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 3979d05..c31d15a 100755 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -390,6 +390,7 @@ on post-fs-data on property:sys.boot_completed=1 swapon_all /fstab.qcom start tfa-sh + restart cameraserver write /dev/kmsg "Boot completed " # Set Memory parameters |
