[Samsung Galaxy Grand Quattro] mahir kukreja:
wait ill provide logs of the latest build

D/Utils ( 137): printFileName fd(26) -> /system/app/Camera2.apk
E/AwesomePlayer( 137): LPAPlayer::Clip duration setting of less than 30sec not supported, defaulting to 60sec
D/OMXCodec( 137): Successfully allocated OMX node 'OMX.google.vorbis.decoder'
I/AwesomePlayer( 137): Could not offload audio decode, try pcm offload
I/OMXCodec( 137): [OMX.google.vorbis.decoder] allocating 4 buffers of size 8192 on input port
I/OMXCodec( 137): [OMX.google.vorbis.decoder] allocated buffer 0x4e2f78 on input port
I/OMXCodec( 137): [OMX.google.vorbis.decoder] allocated buffer 0x4e3140 on input port
I/OMXCodec( 137): [OMX.google.vorbis.decoder] allocated buffer 0x4e3210 on input port
I/OMXCodec( 137): [OMX.google.vorbis.decoder] allocated buffer 0x4e32c8 on input port
I/OMXCodec( 137): [OMX.google.vorbis.decoder] allocating 4 buffers of size 32768 on output port
I/OMXCodec( 137): [OMX.google.vorbis.decoder] allocated buffer 0x4e3450 on output port
I/OMXCodec( 137): [OMX.google.vorbis.decoder] allocated buffer 0x4e2d08 on output port
I/OMXCodec( 137): [OMX.google.vorbis.decoder] allocated buffer 0x4ed430 on output port
I/OMXCodec( 137): [OMX.google.vorbis.decoder] allocated buffer 0x4ed558 on output port
E/AwesomePlayer( 137): LPAPlayer::Clip duration setting of less than 30sec not supported, defaulting to 60sec
D/AudioPlayer( 137): start of Playback, useOffload 0
I/OMXNodeInstance( 137): OMX_FreeBuffer for buffer header 0x4e3450 successful
I/OMXNodeInstance( 137): OMX_FreeBuffer for buffer header 0x4e2d08 successful
I/OMXNodeInstance( 137): OMX_FreeBuffer for buffer header 0x4ed430 successful
I/OMXNodeInstance( 137): OMX_FreeBuffer for buffer header 0x4ed558 successful
I/OMXCodec( 137): [OMX.google.vorbis.decoder] allocating 4 buffers of size 32768 on output port
I/OMXCodec( 137): [OMX.google.vorbis.decoder] allocated buffer 0x4ed600 on output port
I/OMXCodec( 137): [OMX.google.vorbis.decoder] allocated buffer 0x4e3398 on output port
I/OMXCodec( 137): [OMX.google.vorbis.decoder] allocated buffer 0x4ed248 on output port
I/OMXCodec( 137): [OMX.google.vorbis.decoder] allocated buffer 0x4ed350 on output port
E/ ( 137): Qint android::get_camera_info(int, camera_info*): E
E/ ( 137): Qint android::get_camera_info(int, camera_info*): E
D/AudioPlayer( 137): Pause Playback at 554875
D/AudioPlayer( 137): reset: mPlaying=0 mReachedEOS=1 useOffload=0
I/OMXNodeInstance( 137): OMX_FreeBuffer for buffer header 0x4e32c8 successful
I/OMXNodeInstance( 137): OMX_FreeBuffer for buffer header 0x4e3210 successful
I/OMXNodeInstance( 137): OMX_FreeBuffer for buffer header 0x4e3140 successful
I/OMXNodeInstance( 137): OMX_FreeBuffer for buffer header 0x4e2f78 successful
I/OMXNodeInstance( 137): OMX_FreeBuffer for buffer header 0x4ed350 successful
I/OMXNodeInstance( 137): OMX_FreeBuffer for buffer header 0x4ed248 successful
I/OMXNodeInstance( 137): OMX_FreeBuffer for buffer header 0x4e3398 successful
I/OMXNodeInstance( 137): OMX_FreeBuffer for buffer header 0x4ed600 successful
D/CameraStorage( 1399): External storage state=mounted
V/NFC ( 1399): this device does not have NFC support
D/SensorHal( 503): setDelay, handle: 1598182229 delay: 66667000
E/SensorHal( 503): <BST> set delay: 66667000ns
I/SensorHal( 503): <BST> set delay of <BOSCH BMC150 Acceleration Sensor> to 66ms
D/SensorHal( 503): setDelay, handle: 1598182229 delay: 66667000
E/SensorHal( 503): <BST> set delay: 66667000ns
I/SensorHal( 503): <BST> set delay of <BOSCH BMC150 Acceleration Sensor> to 66ms
V/CAM_PhotoModule( 1399): On resume.
V/CAM_PhotoModule( 1399): Executing onResumeTasks.
V/CAM_PhotoModule( 1399): Open camera device.
E/ ( 137): Qint android::get_camera_info(int, camera_info*): E
E/ ( 137): Qint android::get_camera_info(int, camera_info*): E
V/CameraHolder( 1399): open camera 0
E/ ( 137): Qint android::get_camera_info(int, camera_info*): E
E/ ( 137): Qint android::get_camera_info(int, camera_info*): E
D/Utils ( 137): printFileName /system/media/audio/ui/camera_click.ogg
I/AwesomePlayer( 137): setDataSource_l(URL suppressed)
E/AwesomePlayer( 137): LPAPlayer::Clip duration setting of less than 30sec not supported, defaulting to 60sec
D/OMXCodec( 137): Successfully allocated OMX node 'OMX.google.vorbis.decoder'
I/OMXCodec( 137): Codec outputs at different sampling rate than what the input stream contains (contains data at 48000 Hz, codec outputs 44100 Hz)
I/AwesomePlayer( 137): Could not offload audio decode, try pcm offload
I/OMXCodec( 137): [OMX.google.vorbis.decoder] allocating 4 buffers of size 8192 on input port
I/OMXCodec( 137): [OMX.google.vorbis.decoder] allocated buffer 0x4e2ef8 on input port
I/OMXCodec( 137): [OMX.google.vorbis.decoder] allocated buffer 0x4e30c0 on input port
I/OMXCodec( 137): [OMX.google.vorbis.decoder] allocated buffer 0x4e3190 on input port
I/OMXCodec( 137): [OMX.google.vorbis.decoder] allocated buffer 0x4e65a0 on input port
I/OMXCodec( 137): [OMX.google.vorbis.decoder] allocating 4 buffers of size 32768 on output port
I/OMXCodec( 137): [OMX.google.vorbis.decoder] allocated buffer 0x4ed978 on output port
I/OMXCodec( 137): [OMX.google.vorbis.decoder] allocated buffer 0x4edb98 on output port
I/OMXCodec( 137): [OMX.google.vorbis.decoder] allocated buffer 0x4edcd8 on output port
I/OMXCodec( 137): [OMX.google.vorbis.decoder] allocated buffer 0x4ede00 on output port
D/Utils ( 137): printFileName /system/media/audio/ui/VideoRecord.ogg
I/AwesomePlayer( 137): setDataSource_l(URL suppressed)
E/AwesomePlayer( 137): LPAPlayer::Clip duration setting of less than 30sec not supported, defaulting to 60sec
D/OMXCodec( 137): Successfully allocated OMX node 'OMX.google.vorbis.decoder'
I/OMXCodec( 137): Codec outputs at different sampling rate than what the input stream contains (contains data at 48000 Hz, codec outputs 44100 Hz)
I/AwesomePlayer( 137): Could not offload audio decode, try pcm offload
I/OMXCodec( 137): [OMX.google.vorbis.decoder] allocating 4 buffers of size 8192 on input port
I/OMXCodec( 137): [OMX.google.vorbis.decoder] allocated buffer 0x4efa50 on input port
I/OMXCodec( 137): [OMX.google.vorbis.decoder] allocated buffer 0x4efe40 on input port
I/OMXCodec( 137): [OMX.google.vorbis.decoder] allocated buffer 0x4eff10 on input port
I/OMXCodec( 137): [OMX.google.vorbis.decoder] allocated buffer 0x4f68b8 on input port
I/OMXCodec( 137): [OMX.google.vorbis.decoder] allocating 4 buffers of size 32768 on output port
I/OMXCodec( 137): [OMX.google.vorbis.decoder] allocated buffer 0x4f6a40 on output port
I/OMXCodec( 137): [OMX.google.vorbis.decoder] allocated buffer 0x4f6c60 on output port
I/OMXCodec( 137): [OMX.google.vorbis.decoder] allocated buffer 0x4f6da0 on output port
I/OMXCodec( 137): [OMX.google.vorbis.decoder] allocated buffer 0x4f6ec8 on output port
I/CameraClient( 137): Opening camera 0
E/ ( 137): int android::camera_device_open(const hw_module_t*, char const*, hw_device_t**): start : 0
I/ ( 137): QCameraHardwareInterface: E
I/ ( 137): Init mPreviewState = 0
E/mm-libcamera2( 137): mm_camera_open: ctrl_fd = -1
E/mm-libcamera2( 137): Errno:22
E/mm-libcamera2( 137): mm_camera_open: opened, break out while loop
E/mm-libcamera2( 137): mm_camera_open: after while loop
E/ ( 137): startCamera: cam_ops_open failed: id = 0
E/ ( 137): isCameraReady mCameraState 0
I/ ( 137): ~QCameraHardwareInterface: E
I/ ( 137): ~QCameraHardwareInterface: X
E/ ( 137): int android::camera_device_open(const hw_module_t*, char const*, hw_device_t**): end rc -1
E/CameraClient( 137): Could not open camera 0: -1
E/CameraClient( 137): initialize: Camera 0: unable to initialize device: Operation not permitted (-1)
I/CameraClient( 137): Destroying camera 0
I/OMXNodeInstance( 137): OMX_FreeBuffer for buffer header 0x4e65a0 successful
I/OMXNodeInstance( 137): OMX_FreeBuffer for buffer header 0x4e3190 successful
I/OMXNodeInstance( 137): OMX_FreeBuffer for buffer header 0x4e30c0 successful
I/OMXNodeInstance( 137): OMX_FreeBuffer for buffer header 0x4e2ef8 successful
I/OMXNodeInstance( 137): OMX_FreeBuffer for buffer header 0x4ede00 successful
I/OMXNodeInstance( 137): OMX_FreeBuffer for buffer header 0x4edcd8 successful
I/OMXNodeInstance( 137): OMX_FreeBuffer for buffer header 0x4edb98 successful
I/OMXNodeInstance( 137): OMX_FreeBuffer for buffer header 0x4ed978 successful
W/AudioFlinger( 137): session id 10 not found for pid 1399
I/OMXNodeInstance( 137): OMX_FreeBuffer for buffer header 0x4f68b8 successful
I/OMXNodeInstance( 137): OMX_FreeBuffer for buffer header 0x4eff10 successful
I/OMXNodeInstance( 137): OMX_FreeBuffer for buffer header 0x4efe40 successful
I/OMXNodeInstance( 137): OMX_FreeBuffer for buffer header 0x4efa50 successful
I/OMXNodeInstance( 137): OMX_FreeBuffer for buffer header 0x4f6ec8 successful
I/OMXNodeInstance( 137): OMX_FreeBuffer for buffer header 0x4f6da0 successful
I/OMXNodeInstance( 137): OMX_FreeBuffer for buffer header 0x4f6c60 successful
I/OMXNodeInstance( 137): OMX_FreeBuffer for buffer header 0x4f6a40 successful
W/AudioFlinger( 137): session id 11 not found for pid 1399
W/CameraBase( 1399): An error occurred while connecting to camera: 0
E/CameraHolder( 1399): fail to connect Camera:-1, aborting.
E/CAM_PhotoModule( 1399): Failed to open camera:0
D/dalvikvm( 672): JIT code cache reset in 0 ms (4096 bytes 47/0)
I/Adreno200-EGL( 1399): <qeglDrvAPI_eglInitialize:299>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_JB_REL_2.0.3.04.01.02.21.119_msm8625_JB_REL_2.0.3_CL3357771_release_AU (CL3357771)
I/Adreno200-EGL( 1399): Build Date: 04/04/13 Thu
I/Adreno200-EGL( 1399): Local Branch:
I/Adreno200-EGL( 1399): Remote Branch: m/jb_rel_2.0.3
I/Adreno200-EGL( 1399): Local Patches: NONE
I/Adreno200-EGL( 1399): Reconstruct Branch: AU_LINUX_ANDROID_JB_REL_2.0.3.04.01.02.21.119 + NOTHING
D/OpenGLRenderer( 1399): Enabling debug mode 0
V/CAM_UI ( 1399): SurfaceTexture ready.
I/ActivityManager( 503): Displayed com.android.camera2/com.android.camera.CameraActivity: +1s58ms
I/Timeline( 503): Timeline: Activity_windows_visible id: ActivityRecord{41e2b258 u0 com.android.camera2/com.android.camera.CameraActivity t3} time:90375

log on opening camera app

radio log below
[MENTION=943196]k2wl[/MENTION] ril log after integrating ril.h

n the audio u gave it gives no output

D/AudioPolicyManagerBase( 137): getOutput() device 2, stream 2, samplingRate 0, format 0, channelMask 3, flags 0
D/AudioPolicyManagerBase( 137): getOutput() returns output 2
D/AudioPolicyManagerBase( 137): getOutput() device 2, stream 2, samplingRate 0, format 0, channelMask 3, flags 0
D/AudioPolicyManagerBase( 137): getOutput() returns output 2
D/AudioPolicyManagerBase( 137): getOutput() device 2, stream 2, samplingRate 44100, format 1, channelMask 1, flags 4
D/AudioPolicyManagerBase( 137): getOutput() returns output 2
D/AudioFlinger( 137): start(4099), calling pid 503 session 16
D/AudioFlinger( 137): ? => ACTIVE (4099) on thread 0x4f7080
D/AudioPolicyManagerBase( 137): startOutput() output 2, stream 2, session 16
D/AudioFlinger( 137): start(4099), calling pid 503 session 16
D/AudioFlinger( 137): ? => ACTIVE (4099) on thread 0x4f7080
D/AudioPolicyManagerBase( 137): startOutput() output 2, stream 2, session 16
D/AudioFlinger( 137): start(4099), calling pid 503 session 16
D/AudioFlinger( 137): ? => ACTIVE (4099) on thread 0x4f7080
D/AudioPolicyManagerBase( 137): startOutput() output 2, stream 2, session 16
I/auditd ( 3056): Starting up
E/auditd ( 3056): Failed on audit_set_pid with error: Protocol not supported
I/auditd ( 3056): Exiting
D/AudioFlinger( 137): start(4099), calling pid 503 session 16
D/AudioFlinger( 137): ? => ACTIVE (4099) on thread 0x4f7080
D/AudioPolicyManagerBase( 137): startOutput() output 2, stream 2, session 16
D/AudioFlinger( 137): start(4099), calling pid 503 session 16
D/AudioFlinger( 137): ? => ACTIVE (4099) on thread 0x4f7080
D/AudioPolicyManagerBase( 137): startOutput() output 2, stream 2, session 16