[OnePlus X Original Android Development] YumeMichi:
I tried to revert this commit and build again, but camera still not work.

02-14 19:14:16.487 1081 2928 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.google.android.GoogleCamera/com.android.camera.CameraLauncher (has extras)} from uid 10020 on display 0
02-14 19:14:16.495 259 507 D audio_hw_primary: start_output_stream: enter: stream(0xb5fb7740)usecase(1: low-latency-playback) devices(0x2)
02-14 19:14:16.495 259 507 D audio_hw_primary: start_output_stream: enter: usecase(1: low-latency-playback) devices(0x2)
02-14 19:14:16.495 259 507 D audio_hw_primary: select_devices: out_snd_device(2: speaker) in_snd_device(0: )
02-14 19:14:16.495 259 507 W msm8974_platform: Codec backend bitwidth 16, samplerate 48000
02-14 19:14:16.495 259 507 D hardware_info: hw_info_append_hw_type : device_name = speaker
02-14 19:14:16.495 259 507 I msm8974_platform: platform_send_audio_calibration: sending audio calibration for snd_device(2) acdb_id(15)
02-14 19:14:16.495 259 507 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 15, path = 0
02-14 19:14:16.502 259 507 D audio_hw_primary: select_devices: done
02-14 19:14:16.517 1081 2766 I ActivityManager: Start proc 5766:com.google.android.GoogleCamera/u0a62 for activity com.google.android.GoogleCamera/com.android.camera.CameraLauncher
02-14 19:14:16.597 5766 5766 E ActivityThread: Failed to find provider info for com.google.android.gsf.gservices
02-14 19:14:16.598 5766 5766 V CAM_Profiler: [ 0.000ms][ui] GUARD: CameraApp onCreate() - START
02-14 19:14:16.599 5766 5766 V CAM_Profiler: [ 0.000ms][ui] GUARD: FirstRunDetector getTimeOfFirstRun - START
02-14 19:14:16.600 5766 5766 V CAM_Profiler: [ 0.801ms][ui] GUARD: FirstRunDetector getTimeOfFirstRun - [ 0.801ms] PreferenceManager.getDefaultSharedPreferences
02-14 19:14:16.601 5766 5766 V CAM_Profiler: [ 1.771ms][ui] GUARD: FirstRunDetector getTimeOfFirstRun - [ 0.970ms] preferences.getLong
02-14 19:14:16.602 5766 5766 V CAM_Profiler: [ 2.495ms][ui] GUARD: FirstRunDetector getTimeOfFirstRun - [ 0.724ms] getSharedPreferences
02-14 19:14:16.603 5766 5766 V CAM_Profiler: [ 3.838ms][ui] GUARD: FirstRunDetector getTimeOfFirstRun - [ 1.343ms] preferences.edit()
02-14 19:14:16.603 5766 5766 V CAM_Profiler: [ 4.034ms][ui] GUARD: FirstRunDetector getTimeOfFirstRun - STOP
02-14 19:14:16.603 5766 5766 V CAM_Profiler: [ 10.267ms][ui] GUARD: CameraApp onCreate() - [10.267ms] initializeTimeOfFirstRun
02-14 19:14:16.604 5766 5766 V CAM_Profiler: [ 0.000ms][ui] GUARD: UsageStatistics - START
02-14 19:14:16.607 5766 5766 V CAM_Profiler: [ 3.016ms][ui] GUARD: UsageStatistics - STOP
02-14 19:14:16.608 5766 5766 V CAM_Profiler: [ 14.648ms][ui] GUARD: CameraApp onCreate() - [ 4.381ms] UsageStatistics.initialize
02-14 19:14:16.609 5766 5766 V CAM_Profiler: [ 16.356ms][ui] GUARD: CameraApp onCreate() - [ 1.708ms] clearNotifications
02-14 19:14:16.609 5766 5766 I CAM_Profiler: [ 16.356ms][ui] GUARD: CameraApp onCreate() - STOP
02-14 19:14:16.611 5766 5788 W GooglePlayServicesUtil: Google Play services is missing.
02-14 19:14:16.611 5766 5788 E CAM_UsageStats: Play Services not active for logging, result was: 1
02-14 19:14:16.611 5766 5788 W CAM_UsageStats: unable to create PlayLogger
02-14 19:14:16.616 5766 5766 V CAM_QuickActivity: START onCreate: Activity = com.android.camera.CameraActivity@3df462c
02-14 19:14:16.616 5766 5766 V CAM_Profiler: [ 0.000ms][ui] GUARD: CameraActivity.onCreateTasks - START
02-14 19:14:16.618 5766 5766 W GooglePlayServicesUtil: Google Play services is missing.
02-14 19:14:16.618 5766 5766 D CAM_LocationManager: Using legacy location provider.
02-14 19:14:16.639 1081 3699 D VoldConnector: SND -> {28 volume mkdirs /storage/74AC-12EE/Android/data/com.google.android.GoogleCamera/cache/}
02-14 19:14:16.748 1081 1563 D VoldConnector: RCV <- {200 28 Command succeeded}
02-14 19:14:16.778 5766 5766 E ActivityThread: Failed to find provider info for com.google.android.gsf.gservices
02-14 19:14:16.778 5766 5766 D CAM_MemoryManagerImpl: Max native memory: 358 MB
02-14 19:14:16.785 5766 5766 E ActivityThread: Failed to find provider info for com.google.android.gsf.gservices
02-14 19:14:16.794 5766 5766 E ActivityThread: Failed to find provider info for com.google.android.gsf.gservices
02-14 19:14:16.794 5766 5766 I CAM_OneCamFtrCnfgCrtr: CaptureModule? false
02-14 19:14:16.794 5766 5766 E ActivityThread: Failed to find provider info for com.google.android.gsf.gservices
02-14 19:14:16.795 5766 5766 E ActivityThread: Failed to find provider info for com.google.android.gsf.gservices
02-14 19:14:16.806 5766 5766 V CAM_Profiler: [189.489ms][ui] GUARD: CameraActivity.onCreateTasks - [10.608ms] Glide.setup
02-14 19:14:16.809 5766 5766 V CAM_Profiler: [192.571ms][ui] GUARD: CameraActivity.onCreateTasks - [ 3.082ms] OneCameraManager.get
02-14 19:14:16.814 5766 5766 E ActivityThread: Failed to find provider info for com.google.android.gsf.gservices
02-14 19:14:16.817 5766 5766 E ActivityThread: Failed to find provider info for com.google.android.gsf.gservices
02-14 19:14:16.830 5766 5766 V CAM_Profiler: [213.864ms][ui] GUARD: CameraActivity.onCreateTasks - [ 0.550ms] computePictureSizes
02-14 19:14:16.832 5766 5766 E ActivityThread: Failed to find provider info for com.google.android.gsf.gservices
02-14 19:14:16.833 5766 5766 E ActivityThread: Failed to find provider info for com.google.android.gsf.gservices
02-14 19:14:16.855 5766 5766 W CAM_Log : Tag RoundedThumbnailView is 1 chars longer than limit.
02-14 19:14:16.941 5766 5766 I CAM_Profiler: [324.469ms][ui] GUARD: CameraActivity.onCreateTasks - [108.144ms] setContentView()
02-14 19:14:16.961 5766 5766 I CAM_Profiler: [344.051ms][ui] GUARD: CameraActivity.onCreateTasks - [19.582ms] Configure Camera UI
02-14 19:14:16.972 5766 5766 V CAM_ModulesInfo: EnableCaptureModule = false
02-14 19:14:16.974 5766 5766 V CAM_SettingsManager: listeners: [com.android.camera.app.CameraAppUI@7088310]
02-14 19:14:16.979 5766 5766 V CAM_SettingsManager: listeners: [com.android.camera.app.CameraAppUI@7088310, com.android.camera.ButtonManager@c9e51c5]
02-14 19:14:16.979 5766 5766 V CAM_SettingsManager: listeners: [com.android.camera.app.CameraAppUI@7088310, com.android.camera.ButtonManager@c9e51c5, com.android.camera.widget.IndicatorIconController@6a6224b]
02-14 19:14:16.980 5766 5766 V CAM_Profiler: [363.037ms][ui] GUARD: CameraActivity.onCreateTasks - [ 5.425ms] Init Current Module UI
02-14 19:14:16.985 5766 5766 V CAM_Profiler: [368.062ms][ui] GUARD: CameraActivity.onCreateTasks - [ 5.024ms] Init CurrentModule
02-14 19:14:16.986 5766 5766 V NFC : this device does not have NFC support
02-14 19:14:16.988 5766 5766 I CAM_Profiler: [371.741ms][ui] GUARD: CameraActivity.onCreateTasks - STOP
02-14 19:14:16.988 5766 5766 V CAM_QuickActivity: END onCreate: Activity = com.android.camera.CameraActivity@3df462c
02-14 19:14:16.989 5766 5766 V CAM_QuickActivity: START onStart: Activity = com.android.camera.CameraActivity@3df462c
02-14 19:14:16.992 5766 5766 V CAM_QuickActivity: END onStart: Activity = com.android.camera.CameraActivity@3df462c
02-14 19:14:16.992 5766 5766 V CAM_QuickActivity: START onResume: Activity = com.android.camera.CameraActivity@3df462c
02-14 19:14:16.993 5766 5766 V CAM_QuickActivity: onResume(): isKeyguardLocked() = false
02-14 19:14:16.993 5766 5766 V CAM_QuickActivity: onResume --> onResumeTasks()
02-14 19:14:17.006 5766 5813 V CAM_CameraDataAdapter: retrieved photo metadata, number of items: 4
02-14 19:14:17.006 5766 5813 V CAM_CameraDataAdapter: retrieved video metadata, number of items: 0
02-14 19:14:17.006 5766 5813 V CAM_CameraDataAdapter: sorting video/photo metadata
02-14 19:14:17.007 5766 5813 V CAM_CameraDataAdapter: sorted video/photo metadata
02-14 19:14:17.035 5766 5815 D OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
02-14 19:14:17.048 5766 5766 V CAM_QuickActivity: END onResume: Activity = com.android.camera.CameraActivity@3df462c
02-14 19:14:17.063 5766 5814 D CAM_MemoryQuery: timestamp=4036928, availMem=2173, totalMem=2871, totalPSS=14, lastTrimLevel=0, largeMemoryClass=512, nativePSS=1, dalvikPSS=5, otherPSS=7,threshold=134, lowMemory=false
02-14 19:14:17.079 5766 5815 I Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: EGL 1.4 QUALCOMM build: Nondeterministic_AU_msm8974_LA.BF.1.1.3_RB1__release_AU (Ia6c73e7530)
02-14 19:14:17.079 5766 5815 I Adreno-EGL: OpenGL ES Shader Compiler Version: E031.29.00.00
02-14 19:14:17.079 5766 5815 I Adreno-EGL: Build Date: 12/04/15 Fri
02-14 19:14:17.079 5766 5815 I Adreno-EGL: Local Branch: mybranch17080070
02-14 19:14:17.079 5766 5815 I Adreno-EGL: Remote Branch: quic/LA.BF.1.1.3_rb1.5
02-14 19:14:17.079 5766 5815 I Adreno-EGL: Local Patches: NONE
02-14 19:14:17.079 5766 5815 I Adreno-EGL: Reconstruct Branch: NOTHING
02-14 19:14:17.080 5766 5815 I OpenGLRenderer: Initialized EGL, version 1.4
02-14 19:14:17.101 5766 5766 V CAM_TexViewHelper: onLayoutChange
02-14 19:14:17.102 5766 5766 V CAM_TexViewHelper: updateTransform
02-14 19:14:17.187 5766 5766 V CAM_TexViewHelper: updateTransform
02-14 19:14:17.187 5766 5766 V CAM_CameraAppUI: SurfaceTexture is available
02-14 19:14:17.187 5766 5766 I CAM_PhotoModule: onPreviewUIReady
02-14 19:14:17.187 5766 5766 I CAM_PhotoModule: attempted to start preview before camera device
02-14 19:14:17.187 5766 5766 I CAM_FocusRingView: Computing center via view bounds.
02-14 19:14:17.198 5766 5766 V CAM_FilmstripView: suggesting item bounds: 1080x1776
02-14 19:14:17.199 5766 5766 V CAM_FilmstripView: getRecycledView, recycled=false
02-14 19:14:17.199 1081 1187 I ActivityManager: Displayed com.google.android.GoogleCamera/com.android.camera.CameraLauncher: +692ms
02-14 19:14:17.211 5766 5766 V CAM_FilmstripView: suggesting item bounds: 1080x1776
02-14 19:14:17.211 5766 5766 V CAM_FilmstripView: getRecycledView, recycled=false
02-14 19:14:17.212 5766 5766 V CAM_FilmstripView: suggesting item bounds: 1080x1776
02-14 19:14:17.212 5766 5766 V CAM_FilmstripView: getRecycledView, recycled=false
02-14 19:14:17.212 5766 5766 D CAM_FilmstripView: reload() - Ensure all items are loaded at max size.
02-14 19:14:17.212 5766 5766 I CAM_FilmstripView: [ViewItem:0] mData.renderThumbnail()
02-14 19:14:17.214 5766 5766 I CAM_FilmstripView: [ViewItem:1] mData.renderThumbnail()
02-14 19:14:17.214 5766 5766 I CAM_FilmstripView: [ViewItem:2] mData.renderThumbnail()
02-14 19:14:17.218 5766 5822 V CAM_CameraDataAdapter: updating media metadata with photos newer than id: 10163
02-14 19:14:17.222 5766 5766 V CAM_TexViewHelper: onLayoutChange
02-14 19:14:17.236 5766 5766 V CAM_CameraDataAdapter: new photos query return num items: 0
02-14 19:14:17.469 5766 5823 W Bitmap : Called reconfigure on a bitmap that is in use! This may cause graphical corruption!
02-14 19:14:17.525 5766 5824 W Bitmap : Called reconfigure on a bitmap that is in use! This may cause graphical corruption!
02-14 19:14:17.525 5766 5824 W Bitmap : Called reconfigure on a bitmap that is in use! This may cause graphical corruption!
02-14 19:14:18.011 5766 5766 V CAM_Profiler: [ 0.000ms][ui] GUARD: CameraActivity.resume - START
02-14 19:14:18.011 5766 5766 V CAM_CameraActivity: Build info: cm_onyx-userdebug 6.0.1 MMB29U 01dcad2f72 test-keys
02-14 19:14:18.013 259 507 D audio_hw_primary: out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=2
02-14 19:14:18.016 5766 5766 V CAM_PhotoModule: requestCameraOpen
02-14 19:14:18.016 5766 5766 V CAM_CameraController: requestCamera
02-14 19:14:18.017 5766 5766 V CAM_ActvCamDevTrckr: Tracking active camera: null
02-14 19:14:18.017 5766 5766 V CAM_CameraController: checkAndOpenCamera
02-14 19:14:18.023 5766 5835 D CAM_Storage: External storage state=mounted
02-14 19:14:18.025 5766 5812 E WVMExtractor: Failed to open libwvm.so: dlopen failed: library "libWVStreamControlAPI_L3.so" not found
02-14 19:14:18.026 5766 5812 I FFmpegExtractor: android-source:0xb367e040
02-14 19:14:18.026 5766 5794 I CAM2PORT_AndCamAgntImp: Opening camera 0 with camera1 API
02-14 19:14:18.027 259 514 I CameraService: CameraService::connect call (PID 5766 "com.google.android.GoogleCamera", camera ID 0) for HAL version default and Camera API version 1
02-14 19:14:18.028 259 514 E CameraService: CameraService::connect X (PID 5766) rejected (camera HAL module not loaded)
02-14 19:14:18.028 5766 5794 W CameraBase: An error occurred while connecting to camera: 0
02-14 19:14:18.028 5766 5812 I FFmpegExtractor: adjust mime(application/ogg -> audio/vorbis)
02-14 19:14:18.028 5766 5812 D FFmpegExtractor: suppoted codec(vorbis) by official Stagefright
02-14 19:14:18.029 5766 5812 D FFmpegExtractor: ffmpeg detected media content as 'audio/vorbis' with confidence 0.08
02-14 19:14:18.034 5766 5766 W GooglePlayServicesUtil: Google Play services is missing.
02-14 19:14:18.034 5766 5766 W CAM_Log : Tag SessionStatsCollector is 2 chars longer than limit.
02-14 19:14:18.034 5766 5766 I CAM_Profiler: [ 23.388ms][ui] GUARD: CameraActivity.resume - [18.175ms] mCurrentModule.resume
02-14 19:14:18.035 5766 5794 E CAM2PORT_AndCamAgntImp: RuntimeException during CameraAction[OPEN_CAMERA] at CameraState[1]
02-14 19:14:18.035 5766 5794 E CAM2PORT_AndCamAgntImp: java.lang.RuntimeException: Fail to connect to camera service
02-14 19:14:18.035 5766 5794 E CAM2PORT_AndCamAgntImp:	at android.hardware.Camera.<init>(Camera.java:518)
02-14 19:14:18.035 5766 5794 E CAM2PORT_AndCamAgntImp:	at android.hardware.Camera.open(Camera.java:360)
02-14 19:14:18.035 5766 5794 E CAM2PORT_AndCamAgntImp:	at com.android.ex.camera2.portability.AndroidCameraAgentImpl$CameraHandler.handleMessage(AndroidCameraAgentImpl.java:370)
02-14 19:14:18.035 5766 5794 E CAM2PORT_AndCamAgntImp:	at android.os.Handler.dispatchMessage(Handler.java:102)
02-14 19:14:18.035 5766 5794 E CAM2PORT_AndCamAgntImp:	at android.os.Looper.loop(Looper.java:148)
02-14 19:14:18.035 5766 5794 E CAM2PORT_AndCamAgntImp:	at android.os.HandlerThread.run(HandlerThread.java:61)
02-14 19:14:18.039 5766 5836 I OMXClient: Using client-side OMX mux.
02-14 19:14:18.047 5766 5766 W GooglePlayServicesUtil: Google Play services is missing.
02-14 19:14:18.048 5766 5766 W GooglePlayServicesUtil: Google Play services is missing.
02-14 19:14:18.048 5766 5766 V CAM_Profiler: [ 37.303ms][ui] GUARD: CameraActivity.resume - [ 1.969ms] mPanoramaViewHelper.onResume()
02-14 19:14:18.048 5766 5766 V CAM_LcyLocProvider: starting location updates
02-14 19:14:18.053 5766 5766 D CAM_LcyLocProvider: provider does not exist provider doesn't exist: network
02-14 19:14:18.054 5766 5766 D CAM_LcyLocProvider: startReceivingLocationUpdates
02-14 19:14:18.054 5766 5766 D CAM_MotionManager: MotionManager not started because it has been disabled.
02-14 19:14:18.054 5766 5766 I CAM_Profiler: [ 42.977ms][ui] GUARD: CameraActivity.resume - STOP
02-14 19:14:18.060 5766 5766 V CAM_CameraActivity: ignoring storage callback after activity pause
02-14 19:14:18.063 5766 5766 W CAM_CameraActivity: Camera open failure: HIST_ID0_-1_1_HEND
02-14 19:14:18.066 5766 5814 D CAM_Storage: External storage state=mounted
02-14 19:14:18.067 5766 5766 E CAM_FatalErrorHandler: Handling Camera Open Failure:
02-14 19:14:18.067 5766 5766 E CAM_FatalErrorHandler: java.lang.Exception
02-14 19:14:18.067 5766 5766 E CAM_FatalErrorHandler:	at com.android.camera.FatalErrorHandlerImpl.onCameraOpenFailure(FatalErrorHandlerImpl.java:52)
02-14 19:14:18.067 5766 5766 E CAM_FatalErrorHandler:	at com.android.camera.CameraActivity.onDeviceOpenFailure(CameraActivity.java:547)
02-14 19:14:18.067 5766 5766 E CAM_FatalErrorHandler:	at com.android.camera.app.CameraController.onDeviceOpenFailure(CameraController.java:192)
02-14 19:14:18.067 5766 5766 E CAM_FatalErrorHandler:	at com.android.ex.camera2.portability.CameraAgent$CameraOpenCallbackForward$3.run(CameraAgent.java:134)
02-14 19:14:18.067 5766 5766 E CAM_FatalErrorHandler:	at android.os.Handler.handleCallback(Handler.java:739)
02-14 19:14:18.067 5766 5766 E CAM_FatalErrorHandler:	at android.os.Handler.dispatchMessage(Handler.java:95)
02-14 19:14:18.067 5766 5766 E CAM_FatalErrorHandler:	at android.os.Looper.loop(Looper.java:148)
02-14 19:14:18.067 5766 5766 E CAM_FatalErrorHandler:	at android.app.ActivityThread.main(ActivityThread.java:5466)
02-14 19:14:18.067 5766 5766 E CAM_FatalErrorHandler:	at java.lang.reflect.Method.invoke(Native Method)
02-14 19:14:18.067 5766 5766 E CAM_FatalErrorHandler:	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
02-14 19:14:18.067 5766 5766 E CAM_FatalErrorHandler:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
02-14 19:14:18.069 5766 5766 E CAM_CameraUtil: Show fatal error dialog
02-14 19:14:18.094 5766 5766 E CAM_PhotoSphereHelper: Connection failed: ConnectionResult{statusCode=SERVICE_MISSING, resolution=null}
02-14 19:14:18.114 5766 5766 V CAM_CameraActivity: ignoring storage callback after activity pause
02-14 19:14:18.115 5766 5766 I CAM_FilmstripView: [ViewItem:0] mData.renderTiny()
02-14 19:14:18.115 5766 5766 V CAM_FilmstripView: updateViewItem() - recycling old data item and setting new
02-14 19:14:18.116 5766 5766 D CAM_FilmstripView: updateViewItem(bufferIndex: 2)
02-14 19:14:18.116 5766 5766 D CAM_FilmstripView: updateViewItem() - mIsUserScrolling: false
02-14 19:14:18.116 5766 5766 D CAM_FilmstripView: updateViewItem() - mController.isScrolling() - false
02-14 19:14:18.116 5766 5766 I CAM_FilmstripView: [ViewItem:0] mData.renderThumbnail()
02-14 19:14:18.126 5766 5812 I FFmpegExtractor: android-source:0xb367e040
02-14 19:14:18.128 5766 5812 I FFmpegExtractor: adjust mime(application/ogg -> audio/vorbis)
02-14 19:14:18.128 5766 5812 D FFmpegExtractor: suppoted codec(vorbis) by official Stagefright
02-14 19:14:18.128 5766 5812 D FFmpegExtractor: ffmpeg detected media content as 'audio/vorbis' with confidence 0.08
02-14 19:14:18.139 5766 5845 I OMXClient: Using client-side OMX mux.
02-14 19:14:21.143 259 507 D audio_hw_primary: out_standby: enter: stream (0xb5fb7740) usecase(1: low-latency-playback)
02-14 19:14:21.222 259 507 D hardware_info: hw_info_append_hw_type : device_name = speaker