[Oppo R7 Plus] lenrek:
I encountered camera crash whenever I tries to take video. Logcat as below:

12-25 22:52:26.581 19876 19876 D CAM_ViewfinderSV8: SurfaceEvent: surfaceRedrawNeeded
12-25 22:52:26.585 19876 19963 E CameraDevice-0-LE: Surface with size (w=1920, h=1080) and format 0x1 is not valid, size not in valid set: [1440x1080, 1280x960, 1280x720, 960x720, 960x540, 720x480, 640x480, 352x288, 320x240, 176x144]
12-25 22:52:26.585 19876 19963 W CameraDevice-JV-0: Stream configuration failed
12-25 22:52:26.585 19876 19963 E CameraCaptureSession: Session 1: Failed to create capture session; configuration failed
12-25 22:52:26.585 19876 19963 E CAM_CamCapSesCreator: onConfigureFailed
12-25 22:52:26.588 19876 19963 E CAM_CdrDeviceImpl: Fail to start preview: com.android.camera.async.ResourceUnavailableException: CameraCaptureSession.onConfigureFailed
12-25 22:52:26.599 19876 19876 D CAM_ViewfinderSV8: SurfaceEvent: surfaceRedrawNeeded
12-25 22:52:26.601 19876 19876 E CAM_Vid2OpenedCdrDev: CamcorderDevice#createCaptureSession onFailure
12-25 22:52:26.601 19876 19876 E CAM_Vid2OpenedCdrDev: com.android.camera.async.ResourceUnavailableException: CameraCaptureSession.onConfigureFailed
12-25 22:52:26.601 19876 19876 E CAM_Vid2OpenedCdrDev:	at com.android.camera.camcorder.camera.CameraCaptureSessionCreatorImpl$1$1.onConfigureFailed(CameraCaptureSessionCreatorImpl.java:86)
12-25 22:52:26.601 19876 19876 E CAM_Vid2OpenedCdrDev:	at com.android.camera.one.v2.camera2proxy.AndroidCameraDeviceProxy$AndroidCaptureSessionStateCallback.onConfigureFailed(AndroidCameraDeviceProxy.java:37)
12-25 22:52:26.601 19876 19876 E CAM_Vid2OpenedCdrDev:	at java.lang.reflect.Method.invoke(Native Method)
12-25 22:52:26.601 19876 19876 E CAM_Vid2OpenedCdrDev:	at android.hardware.camera2.dispatch.InvokeDispatcher.dispatch(InvokeDispatcher.java:39)
12-25 22:52:26.601 19876 19876 E CAM_Vid2OpenedCdrDev:	at android.hardware.camera2.dispatch.HandlerDispatcher$1.run(HandlerDispatcher.java:65)
12-25 22:52:26.601 19876 19876 E CAM_Vid2OpenedCdrDev:	at android.os.Handler.handleCallback(Handler.java:739)
12-25 22:52:26.601 19876 19876 E CAM_Vid2OpenedCdrDev:	at android.os.Handler.dispatchMessage(Handler.java:95)
12-25 22:52:26.601 19876 19876 E CAM_Vid2OpenedCdrDev:	at android.os.Looper.loop(Looper.java:148)
12-25 22:52:26.601 19876 19876 E CAM_Vid2OpenedCdrDev:	at android.os.HandlerThread.run(HandlerThread.java:61)
12-25 22:52:26.602 19876 19876 E CAM_FatalErrorHandler: Handling Camera Open Failure:
12-25 22:52:26.602 19876 19876 E CAM_FatalErrorHandler: java.lang.Exception: com.android.camera.async.ResourceUnavailableException: CameraCaptureSession.onConfigureFailed
12-25 22:52:26.602 19876 19876 E CAM_FatalErrorHandler:	at com.android.camera.error.FatalErrorHandlerImpl.onCameraOpenFailure(FatalErrorHandlerImpl.java:64)
12-25 22:52:26.602 19876 19876 E CAM_FatalErrorHandler:	at com.android.camera.module.video2.Video2OpenedCamcorderDevice$3.onFailure(Video2OpenedCamcorderDevice.java:307)
12-25 22:52:26.602 19876 19876 E CAM_FatalErrorHandler:	at com.google.common.util.concurrent.Futures$6.run(Futures.java:1222)
12-25 22:52:26.602 19876 19876 E CAM_FatalErrorHandler:	at android.os.Handler.handleCallback(Handler.java:739)
12-25 22:52:26.602 19876 19876 E CAM_FatalErrorHandler:	at android.os.Handler.dispatchMessage(Handler.java:95)
12-25 22:52:26.602 19876 19876 E CAM_FatalErrorHandler:	at android.os.Looper.loop(Looper.java:148)
12-25 22:52:26.602 19876 19876 E CAM_FatalErrorHandler:	at android.app.ActivityThread.main(ActivityThread.java:5466)
12-25 22:52:26.602 19876 19876 E CAM_FatalErrorHandler:	at java.lang.reflect.Method.invoke(Native Method)
12-25 22:52:26.602 19876 19876 E CAM_FatalErrorHandler:	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
12-25 22:52:26.602 19876 19876 E CAM_FatalErrorHandler:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
12-25 22:52:26.602 19876 19876 E CAM_FatalErrorHandler: Caused by: com.android.camera.async.ResourceUnavailableException: CameraCaptureSession.onConfigureFailed
12-25 22:52:26.602 19876 19876 E CAM_FatalErrorHandler:	at com.android.camera.camcorder.camera.CameraCaptureSessionCreatorImpl$1$1.onConfigureFailed(CameraCaptureSessionCreatorImpl.java:86)
12-25 22:52:26.602 19876 19876 E CAM_FatalErrorHandler:	at com.android.camera.one.v2.camera2proxy.AndroidCameraDeviceProxy$AndroidCaptureSessionStateCallback.onConfigureFailed(AndroidCameraDeviceProxy.java:37)
12-25 22:52:26.602 19876 19876 E CAM_FatalErrorHandler:	at java.lang.reflect.Method.invoke(Native Method)
12-25 22:52:26.602 19876 19876 E CAM_FatalErrorHandler:	at android.hardware.camera2.dispatch.InvokeDispatcher.dispatch(InvokeDispatcher.java:39)
12-25 22:52:26.602 19876 19876 E CAM_FatalErrorHandler:	at android.hardware.camera2.dispatch.HandlerDispatcher$1.run(HandlerDispatcher.java:65)
12-25 22:52:26.602 19876 19876 E CAM_FatalErrorHandler:	at android.os.Handler.handleCallback(Handler.java:739)
12-25 22:52:26.602 19876 19876 E CAM_FatalErrorHandler:	at android.os.Handler.dispatchMessage(Handler.java:95)
12-25 22:52:26.602 19876 19876 E CAM_FatalErrorHandler:	at android.os.Looper.loop(Looper.java:148)
12-25 22:52:26.602 19876 19876 E CAM_FatalErrorHandler:	at android.os.HandlerThread.run(HandlerThread.java:61)
12-25 22:52:26.614 19876 19876 E CAM_CameraUtil: Show fatal error dialog

Any idea what went wrong?

---------- Post added at 11:29 PM ---------- Previous post was at 10:56 PM ----------

I fixed the issue by doing a complete format of /system/, /data/ and /cache/ before I perform the installation. Maybe I screw up something in CM12.1 .

Edit tiles works fine in CM13 20151225 nightly.