[Gen9 Android Development] stevemp:
camera

I installed Camera MX from the play store and made it the default, google video player works fine now. The camera2 app still force closes, below is the log. I changed the external sd-card mounts using your files and have been testing all day, other than the camera2 all is fantastic. :)

Link to Camera MX --> https://play.google.com/store/apps/details?id=com.magix.camera_mx&hl=en

Link to complete log --> http://pastebin.com/8fBM2ECt

01-05 19:58:56.387 I/PackageManager(959): Action: "android.media.action.STILL_IMAGE_CAMERA"
01-05 19:58:56.387 I/PackageManager(959): Category: "android.intent.category.DEFAULT"
01-05 19:58:56.387 I/PackageManager(959): Adding preferred activity ComponentInfo{com.android.camera2/com.android.camera.CameraActivity} for user 0 :
01-05 19:58:56.434 I/ActivityManager(2807): Timeline: Activity_launch_request id:com.android.camera2 time:97309
01-05 19:58:56.434 I/ActivityManager(959): START u0 {act=android.media.action.STILL_IMAGE_CAMERA flg=0x3000000 cmp=com.android.camera2/com.android.camera.CameraActivity} from pid 2807
01-05 19:58:56.480 I/ActivityManager(959): Start proc com.android.camera2 for activity com.android.camera2/com.android.camera.CameraActivity: pid=2843 uid=10068 gids={50068, 1006, 3003, 1028, 1015}
01-05 19:58:56.793 D/AwesomePlayer(632): Before reset_l
01-05 19:58:56.793 D/AwesomePlayer(632): printFileName fd(24) -> /system/app/Camera2.apk
01-05 19:58:56.801 E/WVMExtractor(632): IsWidevineMedia not found in libwvm.so
01-05 19:58:56.824 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x40dabc20 successful
01-05 19:58:56.824 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x400f87e8 successful
01-05 19:58:56.824 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x400f8928 successful
01-05 19:58:56.824 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x400f8a50 successful
01-05 19:58:56.855 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x40dac328 successful
01-05 19:58:56.855 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x40dac270 successful
01-05 19:58:56.855 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x40dac1a0 successful
01-05 19:58:56.855 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x40dabfe8 successful
01-05 19:58:56.855 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x400f86e0 successful
01-05 19:58:56.855 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x400fac00 successful
01-05 19:58:56.855 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x400fab98 successful
01-05 19:58:56.855 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x40dac380 successful
01-05 19:58:56.863 D/AwesomePlayer(632): Before reset_l
01-05 19:58:56.863 D/AwesomePlayer(632): printFileName fd(24) -> /system/app/Camera2.apk
01-05 19:58:56.871 E/WVMExtractor(632): IsWidevineMedia not found in libwvm.so
01-05 19:58:56.895 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x40dabc90 successful
01-05 19:58:56.895 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x40e54278 successful
01-05 19:58:56.895 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x40e543b8 successful
01-05 19:58:56.895 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x40e544e0 successful
01-05 19:58:56.926 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x40b864d0 successful
01-05 19:58:56.926 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x40dac368 successful
01-05 19:58:56.926 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x40dac298 successful
01-05 19:58:56.926 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x40dac148 successful
01-05 19:58:56.926 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x40e54308 successful
01-05 19:58:56.926 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x40e541e0 successful
01-05 19:58:56.926 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x4008d558 successful
01-05 19:58:56.926 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x40dabbc0 successful
01-05 19:58:56.949 V/NFC (2843): this device does not have NFC support
01-05 19:58:56.965 I/ActivityManager(959): Start proc android.process.media for content provider com.android.providers.media/.MediaProvider: pid=2870 uid=10008 gids={50008, 1028, 1015, 1023, 1024, 2001, 3003, 3007}
01-05 19:58:56.973 I/cat (615): <7>[ 97.859008] mma8453q_ctrl_ioctl: Set polling delay 66
01-05 19:58:56.973 V/CAM_PhotoModule(2843): On resume, from lock screen.
01-05 19:58:56.980 I/cat (615): <7>[ 97.861602] mma8453q_ctrl_ioctl: Set polling delay 66
01-05 19:58:57.059 D/libEGL (2843): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
01-05 19:58:57.082 D/libEGL (2843): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
01-05 19:58:57.090 D/libEGL (2843): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
01-05 19:58:57.184 D/OpenGLRenderer(2843): Enabling debug mode 0
01-05 19:58:57.199 V/CAM_PhotoModule(2843): onOrientationChanged, update parameters
01-05 19:58:57.199 V/CAM_PhotoModule(2843): Executing onResumeTasks.
01-05 19:58:57.199 V/CAM_PhotoModule(2843): Open camera device.
01-05 19:58:57.207 V/CameraHolder(2843): open camera 0
01-05 19:58:57.230 I/AwesomePlayer(632): setDataSource_l(URL suppressed)
01-05 19:58:57.246 E/WVMExtractor(632): IsWidevineMedia not found in libwvm.so
01-05 19:58:57.262 I/AwesomePlayer(632): setDataSource_l(URL suppressed)
01-05 19:58:57.270 E/WVMExtractor(632): IsWidevineMedia not found in libwvm.so
01-05 19:58:57.285 I/CameraClient(632): Opening camera 0
01-05 19:58:57.285 I/CameraHal(632): (40021a60) hardware/ti/omap4xxx/camera/CameraHal_Module.cpp:636 camera_device_open - camera_device open
01-05 19:58:57.309 I/cat (615): <4>[ 98.197540] omap_hwmod: ipu: failed to hardreset
01-05 19:58:57.316 I/cat (615): <6>[ 98.198638] omap-iommu omap-iommu.0: ducati: version 2.1
01-05 19:58:57.449 I/cat (615): <7>[ 98.333435] mma8453q_ctrl_ioctl: Set polling delay 10
01-05 19:58:57.457 I/cat (615): <7>[ 98.337921] mma8453q_ctrl_ioctl: Set polling delay 10
01-05 19:58:57.457 I/cat (615): <7>[ 98.340881] mma8453q_ctrl_ioctl: Set polling delay 66
01-05 19:58:57.473 V/CAM_PhotoModule(2843): old picture_size = 320 x 240
01-05 19:58:57.473 V/CAM_PhotoModule(2843): new picture_size = 1280 x 960
01-05 19:58:57.473 W/CAM_PhotoModule(2843): startPreview: surfaceTexture is not ready.
01-05 19:58:57.473 V/CAM_PhotoModule(2843): Preview Size changed. Restart Preview
01-05 19:58:57.473 V/CAM_PhotoModule(2843): Preview size is 960x720
01-05 19:58:57.480 E/CAM_PhotoModule(2843): Handled NULL pointer Exception
01-05 19:58:57.480 V/CAM_PhotoModule(2843): Color effect value =none
01-05 19:58:57.480 V/CAM_PhotoModule(2843): Saturation value =5
01-05 19:58:57.480 D/AndroidRuntime(2843): Shutting down VM
01-05 19:58:57.480 W/dalvikvm(2843): threadid=1: thread exiting with uncaught exception (group=0x418e4c80)
01-05 19:58:57.488 E/AndroidRuntime(2843): FATAL EXCEPTION: main
01-05 19:58:57.488 E/AndroidRuntime(2843): Process: com.android.camera2, PID: 2843
01-05 19:58:57.488 E/AndroidRuntime(2843): java.lang.NumberFormatException: Invalid int: "null"
01-05 19:58:57.488 E/AndroidRuntime(2843):	at java.lang.Integer.invalidInt(Integer.java:137)
01-05 19:58:57.488 E/AndroidRuntime(2843):	at java.lang.Integer.parseInt(Integer.java:354)
01-05 19:58:57.488 E/AndroidRuntime(2843):	at java.lang.Integer.parseInt(Integer.java:331)
01-05 19:58:57.488 E/AndroidRuntime(2843):	at android.hardware.Camera$Parameters.getInt(Camera.java:2524)
01-05 19:58:57.488 E/AndroidRuntime(2843):	at android.hardware.Camera$Parameters.getMaxSaturation(Camera.java:4785)
01-05 19:58:57.488 E/AndroidRuntime(2843):	at com.android.camera.PhotoModule.qcomUpdateCameraParametersPreference(PhotoModule.java:2178)
01-05 19:58:57.488 E/AndroidRuntime(2843):	at com.android.camera.PhotoModule.updateCameraParametersPreference(PhotoModule.java:2580)
01-05 19:58:57.488 E/AndroidRuntime(2843):	at com.android.camera.PhotoModule.setCameraParameters(PhotoModule.java:2609)
01-05 19:58:57.488 E/AndroidRuntime(2843):	at com.android.camera.PhotoModule.prepareCamera(PhotoModule.java:1654)
01-05 19:58:57.488 E/AndroidRuntime(2843):	at com.android.camera.PhotoModule.onResumeTasks(PhotoModule.java:1692)
01-05 19:58:57.488 E/AndroidRuntime(2843):	at com.android.camera.PhotoModule.access$6100(PhotoModule.java:90)
01-05 19:58:57.488 E/AndroidRuntime(2843):	at com.android.camera.PhotoModule$8.run(PhotoModule.java:1676)
01-05 19:58:57.488 E/AndroidRuntime(2843):	at android.os.Handler.handleCallback(Handler.java:733)
01-05 19:58:57.488 E/AndroidRuntime(2843):	at android.os.Handler.dispatchMessage(Handler.java:95)
01-05 19:58:57.488 E/AndroidRuntime(2843):	at android.os.Looper.loop(Looper.java:136)
01-05 19:58:57.488 E/AndroidRuntime(2843):	at android.app.ActivityThread.main(ActivityThread.java:5081)
01-05 19:58:57.488 E/AndroidRuntime(2843):	at java.lang.reflect.Method.invokeNative(Native Method)
01-05 19:58:57.488 E/AndroidRuntime(2843):	at java.lang.reflect.Method.invoke(Method.java:515)
01-05 19:58:57.488 E/AndroidRuntime(2843):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:781)
01-05 19:58:57.488 E/AndroidRuntime(2843):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
01-05 19:58:57.488 E/AndroidRuntime(2843):	at dalvik.system.NativeStart.main(Native Method)
01-05 19:58:57.488 W/ActivityManager(959): Force finishing activity com.android.camera2/com.android.camera.CameraActivity
01-05 19:58:57.793 I/WindowManager(959): Screenshot max retries 4 of Token{42058478 ActivityRecord{41b6b948 u0 com.android.camera2/com.android.camera.CameraActivity t6 f}} appWin=Window{41ff20e0 u0 Starting com.android.camera2} drawState=4
01-05 19:58:57.793 W/WindowManager(959): Screenshot failure taking screenshot for (1024x768) to layer 21055
01-05 19:58:58.301 W/ActivityManager(959): Activity pause timeout for ActivityRecord{41b6b948 u0 com.android.camera2/com.android.camera.CameraActivity t6 f}
01-05 19:58:58.590 I/ActivityManager(1280): Timeline: Activity_idle id: android.os.BinderProxy@41b75ac0 time:99466
01-05 19:58:58.598 I/ActivityManager(959): Killing 2214:com.android.calendar/u0a57 (adj 15): empty #17
01-05 19:58:58.629 I/ActivityManager(959): Timeline: Activity_windows_visible id: ActivityRecord{41fce050 u0 com.google.android.googlequicksearchbox/com.google.android.launcher.GEL t1} time:99506
01-05 19:58:58.637 I/ActivityManager(959): Killing 2502:com.android.providers.calendar/u0a21 (adj 15): empty #17
01-05 19:58:58.887 E/wpa_supplicant(1071): recvfrom(ctrl_iface): Try again
01-05 19:58:59.801 I/Process (2843): Sending signal. PID: 2843 SIG: 9
01-05 19:58:59.824 W/InputDispatcher(959): channel '42079c88 com.android.camera2/com.android.camera.CameraActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
01-05 19:58:59.824 E/InputDispatcher(959): channel '42079c88 com.android.camera2/com.android.camera.CameraActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
01-05 19:58:59.824 W/CameraService(632): Disconnecting camera client 0x40dabd90 since the binder for it died (this pid 632)
01-05 19:58:59.824 I/ActivityManager(959): Process com.android.camera2 (pid 2843) has died.
01-05 19:58:59.832 I/cat (615): <7>[ 100.716522] mma8453q_ctrl_ioctl: Set polling delay 66
01-05 19:58:59.832 I/CameraClient(632): Destroying camera 0
01-05 19:58:59.840 I/cat (615): <7>[ 100.720794] mma8453q_ctrl_ioctl: Set polling delay 66
01-05 19:58:59.840 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x40b878b8 successful
01-05 19:58:59.840 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x40b87800 successful
01-05 19:58:59.848 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x40b87730 successful
01-05 19:58:59.848 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x40dabc08 successful
01-05 19:58:59.848 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x40b86208 successful
01-05 19:58:59.848 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x40b860e0 successful
01-05 19:58:59.848 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x40b85fa0 successful
01-05 19:58:59.848 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x40b87a40 successful
01-05 19:58:59.848 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x40e6be08 successful
01-05 19:58:59.848 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x40e6bd50 successful
01-05 19:58:59.848 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x40e25c78 successful
01-05 19:58:59.848 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x40e25b28 successful
01-05 19:58:59.848 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x40e6c408 successful
01-05 19:58:59.848 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x40e6c2e0 successful
01-05 19:58:59.848 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x40e6c1a0 successful
01-05 19:58:59.848 I/OMXNodeInstance(632): OMX_FreeBuffer for buffer header 0x40e6bf90 successful
01-05 19:58:59.871 W/InputDispatcher(959): Attempted to unregister already unregistered input channel '42079c88 com.android.camera2/com.android.camera.CameraActivity (server)'
01-05 19:58:59.871 I/WindowState(959): WIN DEATH: Window{42079c88 u0 com.android.camera2/com.android.camera.CameraActivity}