I'm quite sure this is hardware problem. I tried the following:
- cleared application cache and restarted phone
- tried alternative camera applications
- reset phone to factory settings (still doesn't work)
There is just error message saying:
Unfortunately, Gallery has stopped.
Now I suspect it could be Gallery app problem. I rooted the phone and used super user app to disable Gallery and than install alternative gallery app. Still not working, now error is
Camera has stopped working
Is there any way I can check if actual camera is broken? I'm using Android 4.2.2 on the Doogee DG130?
Log file ( part about camera ): https://drive.google.com/file/d/0B0-PZcQ_Q9-ZV1pON0ZlMzNjck0/edit?usp=sharing
Here is the exception stack trace from the logcat
08-19 17:03:08.098 W/dalvikvm(18229): threadid=14: thread exiting with uncaught exception (group=0x414369a8)
08-19 17:03:08.098 D/IPCThreadState(18229): [DN #5] BR_CLEAR_DEATH_NOTIFICATION_DONE cookie 0x50840260
08-19 17:03:08.100 E/AndroidRuntime(18229): FATAL EXCEPTION: Camera Handler Thread
08-19 17:03:08.100 E/AndroidRuntime(18229): java.lang.RuntimeException: startPreview failed
08-19 17:03:08.100 E/AndroidRuntime(18229): at android.hardware.Camera.startPreview(Native Method)
08-19 17:03:08.100 E/AndroidRuntime(18229): at com.mediatek.camera.AndroidCamera.startPreview(AndroidCamera.java:168)
08-19 17:03:08.100 E/AndroidRuntime(18229): at com.android.camera.CameraManager$CameraHandler.handleMessage(CameraManager.java:168)
08-19 17:03:08.100 E/AndroidRuntime(18229): at android.os.Handler.dispatchMessage(Handler.java:107)
08-19 17:03:08.100 E/AndroidRuntime(18229): at android.os.Looper.loop(Looper.java:194)
08-19 17:03:08.100 E/AndroidRuntime(18229): at android.os.HandlerThread.run(HandlerThread.java:60)
And this is entire log for last 2 minutes ( while I was opening a camera ): https://docs.google.com/file/d/0B0-PZcQ_Q9-ZTW9QeTVKdk1NdEU/edit?pli=1
Unfortunately, Gallery has stopped.
I updated log now, there seems to be errors like:FATAL EXCEPTION: Camera Handler Thread 08-19 17:03:08.100 E/AndroidRuntime(18229): java.lang.RuntimeException: startPreview failed
but I still cant tell what could be the problem