[Sony Xperia E3] rmnhg:
Today I've compiled succefully CM13 kernel with s5k5e2 and ov7695 files (terminal said them were compiled) and MM has booted ok, but unfortunately camera is still not working.

I will try it on Lollipop (I can't test it with CM becouse it does not work with my phone).

I have saved logcat when camera app opens:

09-24 19:58:26.440 5084 5084 I CAM_Profiler: [139,921ms][ui] GUARD: CameraActivity.onCreateTasks - [121,542ms] setContentView()
09-24 19:58:26.453 5084 5084 V CAM_Profiler: [152,877ms][ui] GUARD: CameraActivity.onCreateTasks - [12,957ms] Configure Camera UI
09-24 19:58:26.454 5084 5084 V CAM_CameraController: Closing camera
09-24 19:58:26.455 5084 5633 W CAM2PORT_AndCamAgntImp: Releasing camera without any camera opened.
09-24 19:58:26.455 5084 5084 V CAM_ModulesInfo: EnableCaptureModule = true
09-24 19:58:26.455 5084 5084 V CAM_Profiler: [ 0,000ms][ui] GUARD: new CaptureModule - START
09-24 19:58:26.457 5084 5084 V CAM_Profiler: [ 2,181ms][ui] GUARD: new CaptureModule - STOP
09-24 19:58:26.458 5084 5084 V CAM_SettingsManager: listeners: [com.android.camera.app.CameraAppUI@2935a37]
09-24 19:58:26.464 5084 5084 V CAM_SettingsManager: listeners: [com.android.camera.app.CameraAppUI@2935a37, com.android.camera.ButtonManager@5bd8e10]
09-24 19:58:26.464 5084 5084 V CAM_SettingsManager: listeners: [com.android.camera.app.CameraAppUI@2935a37, com.android.camera.ButtonManager@5bd8e10, com.android.camera.widget.IndicatorIconController@c30fb0e]
09-24 19:58:26.464 5084 5084 V CAM_Profiler: [164,197ms][ui] GUARD: CameraActivity.onCreateTasks - [ 6,282ms] Init Current Module UI
09-24 19:58:26.464 5084 5084 V CAM_Profiler: [ 0,000ms][ui] GUARD: CaptureModule.init - START
09-24 19:58:26.465 5084 5084 D CAM_CaptureModule: init UseAutotransformUiLayout = false
09-24 19:58:26.466 5084 5084 D CAM_Camera2OneCamMgr: Getting First BACK Camera
09-24 19:58:26.467 5084 5084 W CAM_Camera2OneCamMgr: No back-facing camera found.
09-24 19:58:26.467 5084 5084 E CAM_FatalErrorHandler: Handling Camera Access Failure:
09-24 19:58:26.467 5084 5084 E CAM_FatalErrorHandler: java.lang.Exception
09-24 19:58:26.467 5084 5084 E CAM_FatalErrorHandler: at com.android.camera.FatalErrorHandlerImpl.onGenericCameraAccessFailure(FatalErrorHandlerImpl.java:84)
09-24 19:58:26.467 5084 5084 E CAM_FatalErrorHandler: at com.android.camera.CaptureModule.updateCameraCharacteristics(CaptureModule.java:396)
09-24 19:58:26.467 5084 5084 E CAM_FatalErrorHandler: at com.android.camera.CaptureModule.init(CaptureModule.java:417)
09-24 19:58:26.467 5084 5084 E CAM_FatalErrorHandler: at com.android.camera.CameraActivity.onCreateTasks(CameraActivity.java:1627)
09-24 19:58:26.467 5084 5084 E CAM_FatalErrorHandler: at com.android.camera.util.QuickActivity.onCreate(QuickActivity.java:114)
09-24 19:58:26.467 5084 5084 E CAM_FatalErrorHandler: at android.app.Activity.performCreate(Activity.java:6251)
09-24 19:58:26.467 5084 5084 E CAM_FatalErrorHandler: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
09-24 19:58:26.467 5084 5084 E CAM_FatalErrorHandler: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
09-24 19:58:26.467 5084 5084 E CAM_FatalErrorHandler: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
09-24 19:58:26.467 5084 5084 E CAM_FatalErrorHandler: at android.app.ActivityThread.-wrap11(ActivityThread.java)
09-24 19:58:26.467 5084 5084 E CAM_FatalErrorHandler: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
09-24 19:58:26.467 5084 5084 E CAM_FatalErrorHandler: at android.os.Handler.dispatchMessage(Handler.java:102)
09-24 19:58:26.467 5084 5084 E CAM_FatalErrorHandler: at android.os.Looper.loop(Looper.java:148)
09-24 19:58:26.467 5084 5084 E CAM_FatalErrorHandler: at android.app.ActivityThread.main(ActivityThread.java:5417)
09-24 19:58:26.467 5084 5084 E CAM_FatalErrorHandler: at java.lang.reflect.Method.invoke(Native Method)
09-24 19:58:26.467 5084 5084 E CAM_FatalErrorHandler: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
09-24 19:58:26.467 5084 5084 E CAM_FatalErrorHandler: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
09-24 19:58:26.467 5084 5084 E CAM_CameraUtil: Show fatal error dialog
09-24 19:58:26.487 5084 5084 I CAM_Profiler: [187,338ms][ui] GUARD: CameraActivity.onCreateTasks - [23,140ms] Init CurrentModule
09-24 19:58:26.490 5084 5084 I CAM_Profiler: [190,394ms][ui] GUARD: CameraActivity.onCreateTasks - STOP
09-24 19:58:26.490 5084 5084 V CAM_QuickActivity: END onCreate: Activity = com.android.camera.CameraActivity@c51cffd
09-24 19:58:26.491 5084 5084 V CAM_QuickActivity: START onStart: Activity = com.android.camera.CameraActivity@c51cffd
09-24 19:58:26.496 5084 5084 V CAM_QuickActivity: END onStart: Activity = com.android.camera.CameraActivity@c51cffd
09-24 19:58:26.496 5084 5084 V CAM_QuickActivity: START onResume: Activity = com.android.camera.CameraActivity@c51cffd
09-24 19:58:26.497 5084 5084 V CAM_QuickActivity: onResume(): isKeyguardLocked() = false
09-24 19:58:26.497 5084 5084 V CAM_QuickActivity: onResume --> onResumeTasks()
09-24 19:58:26.498 5084 5084 V CAM_Profiler: [ 0,000ms][ui] GUARD: CameraActivity.resume - START
09-24 19:58:26.498 5084 5084 V CAM_CameraActivity: Build info: aosp_d2203-userdebug 6.0.1 MOB30O eng.root.20160717.122347 test-keys
09-24 19:58:26.502 5084 5084 V CAM_Profiler: [ 4,087ms][ui] GUARD: CameraActivity.resume - [ 0,057ms] mCurrentModule.resume
09-24 19:58:26.503 5084 5084 V CAM_Profiler: [ 4,527ms][ui] GUARD: CameraActivity.resume - [ 0,002ms] mPanoramaViewHelper.onResume()
09-24 19:58:26.503 5084 5084 V CAM_LcyLocProvider: starting location updates
09-24 19:58:26.505 5084 5084 D CAM_LcyLocProvider: startReceivingLocationUpdates
09-24 19:58:26.506 5084 5084 V CAM_Profiler: [ 7,407ms][ui] GUARD: CameraActivity.resume - STOP
09-24 19:58:26.507 5084 5084 V CAM_QuickActivity: END onResume: Activity = com.android.camera.CameraActivity@c51cffd
09-24 19:58:26.510 5084 5685 D CAM_Storage: External storage state=mounted
09-24 19:58:26.531 5084 5665 V CAM_CameraDataAdapter: retrieved photo metadata, number of items: 0
09-24 19:58:26.531 5084 5665 V CAM_CameraDataAdapter: retrieved video metadata, number of items: 0
09-24 19:58:26.531 5084 5665 V CAM_CameraDataAdapter: sorting video/photo metadata
09-24 19:58:26.532 5084 5665 V CAM_CameraDataAdapter: sorted video/photo metadata
09-24 19:58:26.570 5084 5084 V CAM_TexViewHelper: onLayoutChange
09-24 19:58:26.570 5084 5084 V CAM_TexViewHelper: updateTransform
09-24 19:58:26.574 5084 5084 V CAM_CameraActivity: ignoring storage callback after activity pause
09-24 19:58:26.599 5084 5084 V CAM_TexViewHelper: updateTransform
09-24 19:58:26.600 5084 5084 V CAM_CameraAppUI: SurfaceTexture is available
09-24 19:58:26.600 5084 5084 I CAM_FocusRingView: Computing center via view bounds.
09-24 19:58:26.617 717 762 I ActivityManager: Displayed com.android.camera2/com.android.camera.CameraActivity: +354ms
09-24 19:58:26.621 5084 5084 V CAM_TexViewHelper: onLayoutChange
09-24 19:58:26.630 5084 5084 V CAM_CameraDataAdapter: new photos query return num items: 0
09-24 19:58:26.671 5084 5804 D CAM_MemoryQuery: timestamp=1051584, availMem=274, totalMem=698, totalPSS=18, lastTrimLevel=0, largeMemoryClass=256, nativePSS=5, dalvikPSS=4, otherPSS=8,threshold=143, lowMemory=false
09-24 19:58:27.030 2794 2794 D PhoneStatusBar: disable: < expand icons* alerts system_info* back home recent clock search quick_settings >
09-24 19:58:27.370 5084 5084 V CAM_TexViewHelper: onLayoutChange

But I think the problem is not in system, so I'm going to read boot log to find errors.

Here I have attached my zImage and boot.img for you if you want to test it.