[Miscellaneous Android Development] RickyGoldsmith:
From what I see in the logs, this looks a case of the camera buffer allocation failing.

10-15 17:34:59.490 D/OpenGLRenderer(4268): Flushing caches (mode 0)
10-15 17:34:59.512 D/BufferQueue(135): [com.android.camera/com.android.camera.Camera](this:0x42c1ad78,api:1) cancelBuffer: slot=3
10-15 17:34:59.522 I/BufferQueue(135): [com.android.camera/com.android.camera.Camera](this:0x42c1ad78,api:1) disconnect: api=1
10-15 17:34:59.523 I/SurfaceTexture(135): [com.android.camera/com.android.camera.Camera] [virtual android::status_t android::SurfaceTexture::forceAuxConversionLocked()] mCurrentTexture:2, mCurrentBuf:0x42c13628
10-15 17:34:59.523 I/BufferQueue(135): [com.android.camera/com.android.camera.Camera](this:0x42c1ad78,api:0) getReleasedBuffers: returning mask 0xffffffff
10-15 17:34:59.523 I/SurfaceTexture(135): [com.android.camera/com.android.camera.Camera](this:0x42c04a68,api:0) destroying EGLImage dpy=0x1 img=0x42c15838
10-15 17:34:59.525 I/SurfaceTexture(135): [com.android.camera/com.android.camera.Camera](this:0x42c04a68,api:0) destroying EGLImage dpy=0x1 img=0x42bfcdf0
10-15 17:34:59.526 I/SurfaceTexture(135): [com.android.camera/com.android.camera.Camera](this:0x42c04a68,api:0) destroying EGLImage dpy=0x1 img=0x43204738
10-15 17:34:59.527 V/Provider/Settings(610): from settings cache , name = status_bar_expandable_under_fullscreen , value = null
10-15 17:34:59.559 E/Fence (927): dequeueBuffer_DEPRECATED: fence 68 didn't signal in 300 ms
10-15 17:34:59.562 V/WallpaperService(927): Visibility change in com.android.systemui.ImageWallpaper$DrawableEngine@425b7ab8: 1
10-15 17:34:59.562 V/WallpaperService(927): onVisibilityChanged(true): com.android.systemui.ImageWallpaper$DrawableEngine@425b7ab8
10-15 17:34:59.562 V/WallpaperService(927): Offsets change in com.android.systemui.ImageWallpaper$DrawableEngine@425b7ab8: 0.0,0.0
10-15 17:34:59.562 D/PhoneStatusBar(927): disable: < expand icons alerts ticker system_info back home recent clock >
10-15 17:34:59.753 V/Provider/Settings(610): from settings cache , name = status_bar_expandable_under_fullscreen , value = null
10-15 17:34:59.839 D/ActivityManager(610): ACT-IDLE_NOW_MSG from windowsVisible() for idle: ActivityRecord{4219b160 u0 com.miui.home/.launcher.Launcher}
10-15 17:34:59.839 V/ActivityManager(610): Activity idle: null
10-15 17:34:59.840 V/ActivityManager(610): Stopping ActivityRecord{42354420 u0 com.android.camera/.Camera}: nowVisible=true waitingVisible=false finishing=true
10-15 17:34:59.840 V/ActivityManager(610): Ready to stop: ActivityRecord{42354420 u0 com.android.camera/.Camera}
10-15 17:34:59.840 V/Provider/Settings(610): from settings cache , name = status_bar_expandable_under_fullscreen , value = null
10-15 17:34:59.844 I/ActivityManager(610): No longer want com.google.android.gms (pid 3614): empty #17
10-15 17:34:59.844 D/IPCThreadState(610): [DN #5] BR_CLEAR_DEATH_NOTIFICATION_DONE cookie 0x5ef19778
10-15 17:34:59.846 V/Provider/Settings(610): from settings cache , name = status_bar_expandable_under_fullscreen , value = null
10-15 17:34:59.847 D/NetworkPolicy(610): onRecv: MSG_FOREGROUND_ACTIVITIES_CHANGED pid:uid:act=4268:10009:false
10-15 17:34:59.847 V/NetworkStats(610): setKernelCounterSet uid=10009 set=0
10-15 17:34:59.848 D/ConnectivityService(610): onUidRulesChanged(uid=10009, uidRules=0)
10-15 17:34:59.851 D/OpenGLRenderer(4268): Flushing caches (mode 1)
10-15 17:34:59.854 D/dalvikvm(4268): threadid=13: bye!
10-15 17:34:59.854 D/dalvikvm(4268): threadid=12: bye!
10-15 17:34:59.855 I/BufferQueue(135): [com.android.camera/com.android.camera.Camera](this:0x432034c0,api:0) consumerDisconnect
10-15 17:34:59.855 I/BufferQueue(135): [com.android.camera/com.android.camera.Camera](this:0x432034c0,api:0) ~BufferQueue
10-15 17:34:59.855 I/BufferQueue(135): [com.android.camera/com.android.camera.Camera](this:0x42c1ad78,api:0) consumerDisconnect
10-15 17:34:59.855 I/BufferQueue(135): [com.android.camera/com.android.camera.Camera](this:0x42c1ad78,api:0) ~BufferQueue
10-15 17:34:59.855 I/BufferQueue(135): [SurfaceView](this:0x43201c68,api:0) consumerDisconnect
10-15 17:34:59.855 I/BufferQueue(135): [SurfaceView](this:0x43201c68,api:0) ~BufferQueue
10-15 17:34:59.856 V/Provider/Settings(610): from settings cache , name = status_bar_expandable_under_fullscreen , value = null

Did you use the correct system libraries for your hardware ???

If yes, then your libraries are missing the new implementation. Remember, in Android 4.2, the Camera HAL was completely overhauled.

BTW, I would recommend you and all other looking out to port, to go through these slides.