[One (M9) Original Android Development] 1234What:
Ok here is it..

:good:

2018-10-12 20:05:02.406 501-501/? W/sensors@1.0-ser: type=1400 audit(0.0:17): avc: denied { create } for name="cw_calibrator_mag.ini" scontext=u:r:hal_sensors_default:s0 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=0
2018-10-12 20:05:02.422 5003-5003/? D/CAM_PhotoModule: remove idle handleer in onPause
2018-10-12 20:05:02.422 5003-5003/? V/CAM_PhotoModule: On pause.
2018-10-12 20:05:02.423 5003-5003/? V/CAM_PhotoModule: Close camera device.
2018-10-12 20:05:02.431 5003-5003/? V/CAM_VideoUI: Shutter Button disabled !!
2018-10-12 20:05:02.433 5003-5003/? V/CAM_VideoUI: surfaceCreated
2018-10-12 20:05:02.434 5003-5003/? V/CAM_VideoUI: surfaceChanged: width = 1019, height = 1813
2018-10-12 20:05:02.434 515-515/? W/DeviceHAL: Error from HAL Device in function get_mic_mute: Function not implemented
2018-10-12 20:05:02.435 515-515/? W/DeviceHAL: Error from HAL Device in function get_mic_mute: Function not implemented
2018-10-12 20:05:02.435 5003-5003/? V/CAM_VideoUI: Shutter Button enabled !!
2018-10-12 20:05:02.464 5003-5003/? V/CAM_VideoUI: setTransformMatrix: scaledTextureWidth = 1019.8125, scaledTextureHeight = 1813.0
2018-10-12 20:05:02.465 5003-5003/? I/FocusRingView: Computing center via preview size.
2018-10-12 20:05:02.465 5003-5003/? V/CAM_VideoModule: mDesiredPreviewWidth=1920. mDesiredPreviewHeight=1080
2018-10-12 20:05:02.466 5003-5003/? V/CAM_VideoModule: Video Encoder selected = 2
2018-10-12 20:05:02.466 5003-5003/? V/CAM_VideoModule: Audio Encoder selected = 3
2018-10-12 20:05:02.468 5003-5003/? V/CAM_VideoUI: setTransformMatrix: scaledTextureWidth = 1019.8125, scaledTextureHeight = 1813.0
2018-10-12 20:05:02.469 5003-5003/? V/CAM_VideoModule: startPreview
2018-10-12 20:05:02.469 5003-5003/? V/CAM_VideoModule: startPreview: SurfaceHolder (MDP path)
2018-10-12 20:05:02.471 5003-5003/? D/CAM_VideoModule: Preview dimension in App->1920X1080
2018-10-12 20:05:02.471 5003-5003/? I/CAM_VideoModule: NOTE: SetCameraParameters 1920 x 1080
2018-10-12 20:05:02.471 5003-5003/? E/CAM_VideoModule: Video dimension in App->1920x1080
2018-10-12 20:05:02.473 5003-5003/? V/CAM_VideoModule: Video snapshot size is 5376x3024
2018-10-12 20:05:02.473 5003-5003/? V/CAM_VideoModule: Thumbnail size is 512x288
2018-10-12 20:05:02.474 5003-5003/? D/Util: Parameters: [ae-bracket-hdr-values=Off,AE-Bracket, ae-bracket-hdr=Off, antibanding-values=off,60hz,50hz,auto, antibanding=off, auto-exposure-lock-supported=true, auto-exposure-lock=false, auto-exposure-values=frame-average,center-weighted,spot-metering,center-weighted,spot-metering-adv,center-weighted-adv, auto-exposure=center-weighted, auto-hdr-enable=disable, auto-hdr-supported=true, auto-whitebalance-lock-supported=true, auto-whitebalance-lock=false, avtimer=disable, brightness-step=1, camera-mode=0, capture-burst-interval=1, capture-burst-queue-depth=2, capture-burst-retroactive=2, cds-mode-values=off,on,auto, cds-mode=on, contiburst-support-mode=take, contrast-step=1, contrast=5, cur-exposure-time=66.668294, cur-focus-diopter=4.30851, cur-focus-scale=57, cur-iso=320, current-focus-step=355, denoise-values=denoise-off,denoise-on, denoise=denoise-on, dis-values=enable,disable, dis=disable, dng-raw-supported=true, dual-camera-supported=true, effect-values=none,mono,negative,solarize,sepia,posterize,whiteboard,blackboard,aqua,emboss,sketch,neon, effect=none, enable-dual-lens=true, exposure-compensation-step=0.166667, exposure-compensation=0, exposure-step=0, exposure=0, face-detection-values=off, face-detection=off, flash-mode-values=off,auto,on,torch, flash-mode=off, flip-mode-values=off,flip-v,flip-h,flip-vh, focal-length=4.73, focus-areas=(0,0,0,0,0), focus-distances=0.207420,0.217124,0.227781, focus-mode-values=auto,infinity,fixed,macro,continuous-video,continuous-picture,manual, focus-mode=continuous-video, focus-step=1, hdr-checker-status=false, hdr-mode-values=hdr-mode-multiframe, hdr-mode=hdr-mode-multiframe, hdr-need-1x-values=false,true, hdr-need-1x=true, hdr-supported=true, hfr-size-values=1920x1080,1280x720, histogram-values=enable,disable, histogram=disable, horizontal-view-angle=61.275, human-joint-mode=0, internal-restart=true, iso-st=-1, iso-values=auto,ISO_HJR,ISO100,ISO200,ISO400,ISO800,ISO1600, iso=auto, jpeg-quality=95, jpeg-thumbnail-height=288, jpeg-thumbnail-quality=95,
2018-10-12 20:05:02.474 5003-5003/? D/Util: Parameters: jpeg-thumbnail-size-values=512x288,480x288,256x154,432x288,320x320,320x240,176x144,288x288,0x0, jpeg-thumbnail-width=512, lensshade-values=enable,disable, lensshade=enable, live-facebeauty-supported=true, longshot-supported=true, luma-adaptation=3, manual-exposure-modes=off,exp-time-priority,iso-priority,user-setting, manual-focus-modes=off,scale-mode,diopter-mode, manual-wb-gains=1.811978,1.000000,1.813836, manual-wb-modes=off,color-temperature,rbgb-gains, max-brightness=6, max-contrast=10, max-exposure-compensation=12, max-exposure-time=735.540575, max-exposure=0, max-focus-pos-dac=1023, max-focus-pos-diopter=1000, max-focus-pos-index=1023, max-focus-pos-ratio=100, max-focus=599, max-iso=600, max-num-detected-faces-hw=10, max-num-detected-faces-sw=10, max-num-focus-areas=1, max-num-metering-areas=10, max-saturation=10, max-sce-factor=100, max-sharpness=36, max-wb-cct=8000, max-wb-ct=7500, max-wb-gain=4, max-zoom=60, mce-values=enable,disable, mce=enable, metering-areas=(0,0,0,0,0), min-brightness=0, min-contrast=0, min-exposure-compensation=-12, min-exposure-time=0.035359, min-exposure=0, min-focus-pos-dac=0, min-focus-pos-diopter=0, min-focus-pos-index=0, min-focus-pos-ratio=0, min-focus=0, min-iso=50, min-saturation=0, min-sce-factor=-100, min-sharpness=0, min-wb-cct=2000, min-wb-ct=2300, min-wb-gain=1, non-zsl-manual-mode=true, nonzsl-dng-raw-supported=true, num-retro-burst-per-shutter=0, num-snaps-per-shutter=1, picture-format-values=jpeg,bayer-qcom-10gbrg,bayer-qcom-10grbg,bayer-qcom-10rggb,bayer-qcom-10bggr,bayer-mipi-10gbrg,bayer-mipi-10grbg,bayer-mipi-10rggb,bayer-mipi-10bggr,yuv422sp, picture-format=jpeg,
2018-10-12 20:05:02.474 5003-5003/? D/Util: Parameters: picture-size-values=5376x3752,5376x3024,4672x3264,4608x3456,4672x2624,4224x3136,4224x2368,4208x3120,4192x3136,4160x3120,4160x2912,4192x2368,4096x2160,3840x2688,3752x3752,3392x1920,3264x2464,3808x2144,3328x2336,3264x2448,3264x1824,3168x2368,3264x3264,2976x2976,2656x2656,2992x1680,2688x1520,2688x1512,2592x1952,2592x1944,2560x1440,2464x2464,2368x2368,2048x1536,1920x1920,1928x1088,1920x1088,1920x1080,2048x1520,1600x1200,1520x1520,1440x1440,1440x1088,1280x768,1280x720,1088x1088,1024x768,800x600,800x480,720x480,640x480,640x368,352x288,320x240, picture-size=5376x3024, preferred-preview-size-for-video=1920x1080, preview-flip=off, preview-format-values=yuv420sp,yuv420p,nv12-venus, preview-format=yuv420sp, preview-fps-range-values=(7500,21650),(7500,26780),(7500,30000),(30000,30000), preview-fps-range=30000,30000, preview-frame-rate-values=8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30, preview-frame-rate=26, preview-size-values=1920x1344,1920x1088,1920x1080,1536x1080,1440x1088,1280x720,1088x1088,960x720,960x544,864x480,800x480,768x432,720x480,640x640,640x480,640x360,352x288,320x240,240x160,176x144, preview-size=1920x1080, qc-camera-features=132223, qc-max-num-requested-faces=10, raw-size=5384x3752, rdi-mode-values=enable,disable, rdi-mode=disable, recording-hint=true, redeye-reduction-values=enable,disable, redeye-reduction=disable, rotation=270, saturation-step=1, saturation=5, sce-factor-step=10, scene-detect-values=off,on, scene-detect=on, scene-mode-values=auto,asd,landscape,snow,beach,sunset,night,portrait,backlight,sports,text,flowers,candlelight,fireworks,party,night-portrait,theatre,action,AR,hdr,manual,panorama,hdr, scene-mode=auto, scene-selection=disable, secure-mode-values=enable,disable, secure-mode=disable, selectable-zone-af-values=auto,spot-metering,center-weighted,frame-average, selectable-zone-af=auto, sharpness-step=6, sharpness=12, shutter-threshold=0.200000, shutter=-1.000000, skinToneEnhancement-values=enable,disable, skinToneEnhancement=0, slow-motion-res=1280x720,
2018-10-12 20:05:02.474 5003-5003/? D/Util: Parameters: slow-motion-x=4, smileinfo-byface-supported=1, smooth-zoom-supported=false, snapshot-burst-num=1, snapshot-fd-data-enable=1, snapshot-picture-flip=off, supported-live-snapshot-sizes=1920x1080,1600x1200,1280x960,1280x768,1280x720,1024x768,800x600,864x480,800x480,720x480,640x480,352x288,320x240,176x144, tintless=enable, tnr-mode-values=off,on, tnr-mode=off, touch-af-aec-values=touch-off,touch-on, touch-af-aec=touch-off, vertical-view-angle=47.9027, video-1080p60fps-supported=true, video-720p60fps-supported=true, video-batch-size=0, video-cds-mode-values=off,on,auto, video-flip=off, video-frame-format=yuv420sp, video-hdr-supported=false, video-hfr-values=60,120,off, video-hfr=off, video-hsr=off, video-rotation-values=0,90,180,270, video-rotation=0, video-size-values=4096x2160,3840x2160,1920x1088,1920x1080,1280x960,1280x720,864x480,800x480,720x480,640x480,480x320,352x288,320x240,176x144,160x120, video-size=1920x1080, video-slow-motion-supported=true, video-snapshot-supported=true, video-stabilization-supported=true, video-stabilization=true, video-tnr-mode-values=off,on, wb-ct-step=10, wb-ct=-1, wb-manual-cct=4621, whitebalance-values=auto,incandescent,fluorescent,warm-fluorescent,daylight,cloudy-daylight,twilight,shade,manual, whitebalance=auto, zoe-supported=false, zoom-ratios=100,102,104,107,109,112,114,117,120,123,125,128,131,135,138,141,144,148,151,155,158,162,166,170,174,178,182,186,190,195,200,204,209,214,219,224,229,235,240,246,251,257,263,270,276,282,289,296,303,310,317,324,332,340,348,356,364,373,381,390,400, zoom-supported=true, zoom=0, zsl-burst-led-on-period=300, zsl-hdr-supported=true, zsl-values=off,on, zsl=on]
2018-10-12 20:05:02.474 5003-5003/? I/CAM_VideoModule: NOTE: qcomSetCameraParameters 1920 x 1080
2018-10-12 20:05:02.474 5003-5003/? V/CAM_VideoModule: Color effect value =none
2018-10-12 20:05:02.475 5003-5003/? V/CAM_VideoModule: DIS value =enable
2018-10-12 20:05:02.475 5003-5003/? V/CAM_VideoModule: antiBanding value =60hz
2018-10-12 20:05:02.475 5003-5003/? V/CAM_VideoModule: preview format set to NV21
2018-10-12 20:05:02.476 5003-5003/? V/CAM_VideoModule: Noise ReductionMode =off
2018-10-12 20:05:02.476 5003-5003/? V/CAM_VideoModule: See More value =off
2018-10-12 20:05:02.476 5003-5003/? V/CAM_VideoModule: Video HDR Setting =off
2018-10-12 20:05:02.477 5003-5003/? D/CAM_VideoModule: setFaceDetectionMode off
2018-10-12 20:05:02.499 5003-5003/? I/FocusRingView: Computing center via preview size.
2018-10-12 20:05:02.499 5003-5003/? V/CAM_VideoUI: Shutter Button enabled !!
2018-10-12 20:05:02.499 5003-5003/? D/CameraSettings: Using key for iso: iso
2018-10-12 20:05:02.499 5003-5003/? D/CameraSettings: Using key for iso-values: iso-values
2018-10-12 20:05:02.507 5003-5003/? D/CameraSettings: check storage menu true
2018-10-12 20:05:02.511 5003-5003/? E/CAM_VideoModule: loadCameraPreferences() updating camera_id pref
2018-10-12 20:05:02.523 5003-5003/? V/CAM_VideoUI: setTransformMatrix: scaledTextureWidth = 1019.8125, scaledTextureHeight = 1813.0
2018-10-12 20:05:02.524 5003-5003/? I/FocusRingView: Computing center via preview size.
2018-10-12 20:05:02.529 5003-5003/? W/View: requestLayout() improperly called by android.view.SurfaceView{5201986 V.E...... ......ID 30,0-1049,1813 #7f0f0036 app:id/mdp_preview_content} during layout: running second layout pass
2018-10-12 20:05:02.997 2325-5454/? I/iu.UploadsManager: End new media; added: 0, uploading: 0, time: 76 ms
2018-10-12 20:05:03.694 5003-5003/? V/CAM_VideoUI: Shutter Button disabled !!
2018-10-12 20:05:03.694 5003-5003/? V/CAM_VideoModule: startVideoRecording
2018-10-12 20:05:03.695 5003-5003/? V/CAM_VideoModule: initializeRecorder
2018-10-12 20:05:03.700 5003-5003/? I/CAM_VideoModule: NOTE: hfr = off : hsr = off
2018-10-12 20:05:03.702 396-396/? W/hwservicemanager: getTransport: Cannot find entry android.hardware.media.omx@1.0::IOmx/default in either framework or device manifest.
2018-10-12 20:05:03.707 574-745/? W/StagefrightRecorder: Max file duration is not positive: 0 us. Disabling duration limit.
2018-10-12 20:05:03.707 574-745/? W/StagefrightRecorder: Target duration (0 us) too short to be respected
2018-10-12 20:05:03.708 5003-5003/? V/CAM_VideoModule: New video filename: /storage/66B8-3516/DCIM/Camera/VID_20181012_200503.mp4
2018-10-12 20:05:03.708 574-2020/? W/StagefrightRecorder: Max file size is not positive: -100663296 bytes. Disabling file size limit.
2018-10-12 20:05:03.708 574-2020/? W/StagefrightRecorder: Target file size (0 bytes) is too small to be respected
2018-10-12 20:05:03.711 5003-5003/? E/CAM_VideoModule: prepare failed for /storage/66B8-3516/DCIM/Camera/VID_20181012_200503.mp4
java.io.FileNotFoundException: /storage/66B8-3516/DCIM/Camera/VID_20181012_200503.mp4: open failed: EACCES (Permission denied)
at libcore.io.IoBridge.open(IoBridge.java:485)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:288)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:151)
at android.media.MediaRecorder.prepare(MediaRecorder.java:959)
at com.android.camera.VideoModule.initializeRecorder(VideoModule.java:1870)
at com.android.camera.VideoModule.startVideoRecording(VideoModule.java:2095)
at com.android.camera.VideoModule.onShutterButtonClick(VideoModule.java:904)
at com.android.camera.ShutterButton.performClick(ShutterButton.java:95)
at android.view.View.performClickInternal(View.java:6574)
at android.view.View.access$3100(View.java:778)
at android.view.View$PerformClick.run(View.java:25885)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6669)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied)
at libcore.io.Linux.open(Native Method)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:210)
at libcore.io.IoBridge.open(IoBridge.java:471)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:288)*
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:151)*
at android.media.MediaRecorder.prepare(MediaRecorder.java:959)*
at com.android.camera.VideoModule.initializeRecorder(VideoModule.java:1870)*
at com.android.camera.VideoModule.startVideoRecording(VideoModule.java:2095)*
at com.android.camera.VideoModule.onShutterButtonClick(VideoModule.java:904)*
at com.android.camera.ShutterButton.performClick(ShutterButton.java:95)*
at android.view.View.performClickInternal(View.java:6574)*
at android.view.View.access$3100(View.java:778)*
at android.view.View$PerformClick.run(View.java:25885)*
at android.os.Handler.handleCallback(Handler.java:873)*
at android.os.Handler.dispatchMessage(Handler.java:99)*
at android.os.Looper.loop(Looper.java:193)*
at android.app.ActivityThread.main(ActivityThread.java:6669)*
at java.lang.reflect.Method.invoke(Native Method)*
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)*
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)*
2018-10-12 20:05:03.711 5003-5003/? V/CAM_VideoModule: Releasing media recorder.
2018-10-12 20:05:03.712 574-574/? W/StagefrightRecorder: stop while neither recording nor paused
2018-10-12 20:05:03.712 574-745/? W/StagefrightRecorder: stop while neither recording nor paused
2018-10-12 20:05:03.712 574-2020/? W/StagefrightRecorder: stop while neither recording nor paused
2018-10-12 20:05:03.713 5003-5003/? D/AndroidRuntime: Shutting down VM
2018-10-12 20:05:03.714 5003-5003/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: org.lineageos.snap, PID: 5003
java.lang.RuntimeException: java.io.FileNotFoundException: /storage/66B8-3516/DCIM/Camera/VID_20181012_200503.mp4: open failed: EACCES (Permission denied)
at com.android.camera.VideoModule.initializeRecorder(VideoModule.java:1874)
at com.android.camera.VideoModule.startVideoRecording(VideoModule.java:2095)
at com.android.camera.VideoModule.onShutterButtonClick(VideoModule.java:904)
at com.android.camera.ShutterButton.performClick(ShutterButton.java:95)
at android.view.View.performClickInternal(View.java:6574)
at android.view.View.access$3100(View.java:778)
at android.view.View$PerformClick.run(View.java:25885)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6669)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Caused by: java.io.FileNotFoundException: /storage/66B8-3516/DCIM/Camera/VID_20181012_200503.mp4: open failed: EACCES (Permission denied)
at libcore.io.IoBridge.open(IoBridge.java:485)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:288)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:151)
at android.media.MediaRecorder.prepare(MediaRecorder.java:959)
at com.android.camera.VideoModule.initializeRecorder(VideoModule.java:1870)
at com.android.camera.VideoModule.startVideoRecording(VideoModule.java:2095)*
at com.android.camera.VideoModule.onShutterButtonClick(VideoModule.java:904)*
at com.android.camera.ShutterButton.performClick(ShutterButton.java:95)*
at android.view.View.performClickInternal(View.java:6574)*
at android.view.View.access$3100(View.java:778)*
at android.view.View$PerformClick.run(View.java:25885)*
at android.os.Handler.handleCallback(Handler.java:873)*
at android.os.Handler.dispatchMessage(Handler.java:99)*
at android.os.Looper.loop(Looper.java:193)*
at android.app.ActivityThread.main(ActivityThread.java:6669)*
at java.lang.reflect.Method.invoke(Native Method)*
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)*
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)*
Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied)
at libcore.io.Linux.open(Native Method)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:210)
at libcore.io.IoBridge.open(IoBridge.java:471)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:288)*
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:151)*
at android.media.MediaRecorder.prepare(MediaRecorder.java:959)*
at com.android.camera.VideoModule.initializeRecorder(VideoModule.java:1870)*
at com.android.camera.VideoModule.startVideoRecording(VideoModule.java:2095)*
at com.android.camera.VideoModule.onShutterButtonClick(VideoModule.java:904)*
at com.android.camera.ShutterButton.performClick(ShutterButton.java:95)*
at android.view.View.performClickInternal(View.java:6574)*
at android.view.View.access$3100(View.java:778)*
at android.view.View$PerformClick.run(View.java:25885)*
at android.os.Handler.handleCallback(Handler.java:873)*
at android.os.Handler.dispatchMessage(Handler.java:99)*
at android.os.Looper.loop(Looper.java:193)*
at android.app.ActivityThread.main(ActivityThread.java:6669)*
at java.lang.reflect.Method.invoke(Native Method)*
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)*
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)*
2018-10-12 20:05:03.718 784-3934/? W/ActivityManager: Force finishing activity org.lineageos.snap/com.android.camera.CameraLauncher