[Galaxy S III Android Development] geloczigeri:
camera still bad (logs attached)

Hi!

Thank you for this rom, it is my favourite!

I have ArchiDroid v3.0.2 installed, and disabled KSM.

Camera is bad after one day (or few hours).

CameraFV displays this message: "Error opening camera driver. A device restart may required."

CameraJB displays this message: "Can't connect to the camera."

Built in camera didn't work either.

Added log files.

2015-01-13-08-47-37.txt - CameraFV-5 v2.35 - My first attempt to capture the problem with CameraFV.

2015-01-13-08-48-44.txt - CameraFV-5 v2.35 - It is smaller and I recommend this for viewing. I added comments below related to this file.

2015-01-13-09-13-53.txt - CameraJB+ v3.1 - Try with another app: CameraJB. Same errors here I guess.

I have two lines repeating (suspicious two lines):

D/exynos_camera(1981): exynos_camera_get_camera_info(0, 0x4a646b98)

D/exynos_camera(1981): Selected camera: S5C73M3

I didn't touch anything on my phone while these log entries keep coming. I just started logcat and see that these two lines kept coming from nowhere.

2015-01-13-08-48-44.txt comments:

01-13 08:48:01.270: I opened up logcat and cleared the log. Then the suspicious two lines came up and repeat.

01-13 08:48:13.055: Started CameraFV camera application.

01-13 08:48:18.115: Closed CameraFV before this log entry. From there, the suspicious two lines come up again. AFTER I closed my camera application!

I find an interesting part which shows CameraService error:

01-13 08:48:15.620 D/BaseCamera(4583): startCamera()
01-13 08:48:15.620 W/CameraService(1981): CameraService::connect X (pid 4583) rejected (existing client).
01-13 08:48:15.620 W/CameraBase(4583): An error occurred while connecting to camera: 0
01-13 08:48:15.620 W/System.err(4583): java.lang.RuntimeException: Fail to connect to camera service
01-13 08:48:15.620 W/System.err(4583): at android.hardware.Camera.native_setup(Native Method)
01-13 08:48:15.620 W/System.err(4583): at android.hardware.Camera.<init>(Camera.java:381)
01-13 08:48:15.620 W/System.err(4583): at android.hardware.Camera.open(Camera.java:333)
01-13 08:48:15.620 W/System.err(4583): at com.flavionet.android.corecamera.BaseCamera.J(Unknown Source)
01-13 08:48:15.625 W/System.err(4583): at com.flavionet.android.corecamera.BaseCamera.surfaceCreated(Unknown Source)
01-13 08:48:15.625 W/System.err(4583): at android.view.SurfaceView.updateWindow(SurfaceView.java:572)
01-13 08:48:15.625 W/System.err(4583): at android.view.SurfaceView.access$000(SurfaceView.java:86)
01-13 08:48:15.625 W/System.err(4583): at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:175)
01-13 08:48:15.625 W/System.err(4583): at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:847)
01-13 08:48:15.625 W/System.err(4583): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1870)
01-13 08:48:15.625 W/System.err(4583): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:996)
01-13 08:48:15.625 W/System.err(4583): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5603)
01-13 08:48:15.625 W/System.err(4583): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)
01-13 08:48:15.625 W/System.err(4583): at android.view.Choreographer.doCallbacks(Choreographer.java:574)
01-13 08:48:15.625 W/System.err(4583): at android.view.Choreographer.doFrame(Choreographer.java:544)
01-13 08:48:15.625 W/System.err(4583): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)
01-13 08:48:15.625 W/System.err(4583): at android.os.Handler.handleCallback(Handler.java:733)
01-13 08:48:15.625 W/System.err(4583): at android.os.Handler.dispatchMessage(Handler.java:95)
01-13 08:48:15.625 W/System.err(4583): at android.os.Looper.loop(Looper.java:136)
01-13 08:48:15.625 W/System.err(4583): at android.app.ActivityThread.main(ActivityThread.java:5146)
01-13 08:48:15.625 W/System.err(4583): at java.lang.reflect.Method.invokeNative(Native Method)
01-13 08:48:15.625 W/System.err(4583): at java.lang.reflect.Method.invoke(Method.java:515)
01-13 08:48:15.625 W/System.err(4583): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)
01-13 08:48:15.625 W/System.err(4583): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
01-13 08:48:15.625 W/System.err(4583): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
01-13 08:48:15.625 W/System.err(4583): at dalvik.system.NativeStart.main(Native Method)
01-13 08:48:15.630 D/BaseCamera(4583): surfaceChanged(1280, 720)

I hope I could help in debugging.