[G Pad 8.3 Android Development] ThunderBolt_BR:
Can't get logcat

Hi [MENTION=2981524]ckret[/MENTION],

I tried to get a log to help you on the debugging process but i got the error "Unable to open log device 'main'"

I am a noob, but according to my searches in google it seems that logging is disabled in your kernel. To make sure I flashed today's nightly and tried to generate the log after opening the camera app. It was created successfully:

E/QualcommCamera( 240): Qvoid android::stop_preview(camera_device*): E
I/QCameraHWI( 240): void android::QCameraHardwareInterface::stopPreview(): stop
Preview: E
E/QCameraHWI_Parm( 240): android::status_t android::QCameraHardwareInterface::s
etFaceDetection(const char*) Face detection value = 0, num_fd = 2
E/QCameraHWI_Parm( 240): bool android::QCameraHardwareInterface::native_set_par
ms(mm_camera_parm_type_t, uint16_t, void*) : type : 30 Value : 0
E/mm-camera( 243): eye det config_proc_CAMERA_SET_PARM_FD parm.fd_mode = 0
E/mm-camera( 243): eye det config_proc_CAMERA_SET_PARM_FD fd_mode = 0 rotation
= 0
I/QCameraHWI( 240): android::status_t android::QCameraHardwareInterface::cancel
PictureInternal(): E mPreviewState=2
D/QCameraHWI( 240): int32_t android::QCameraCmdThread::sendCmd(android::camera_
cmd_type_t, uint8_t, uint8_t): enqueue cmd 2
D/QCameraHWI( 240): static void* android::QCameraHardwareInterface::dataProcess
Routine(void*): get cmd 2
E/QCameraHWI( 240): static void* android::QCameraHardwareInterface::dataProcess
Routine(void*): is_active is already false..return
D/QCameraHWI( 240): int32_t android::QCameraCmdThread::sendCmd(android::camera_
cmd_type_t, uint8_t, uint8_t): enqueue cmd 2
E/QCameraHWI( 240): android::status_t android::QCameraHardwareInterface::cancel
PictureInternal() : destroy_stream_bundle of snapshot & thumbnail
D/device/lge/palman/camera/QCamera/HAL/core/src/QCameraStream.cpp( 240): virtua
l int32_t android::QCameraStream::streamOff(bool): mActive = 0, streamid = 0, im
age_mode = 2
D/QCameraHWI( 240): static void* android::QCameraHardwareInterface::dataNotifyR
outine(void*): get cmd 2
E/device/lge/palman/camera/QCamera/HAL/core/src/QCameraStream.cpp( 240): virtua
l int32_t android::QCameraStream::streamOff(bool): Stream:0 is not active
E/QCameraHWI( 240): static void* android::QCameraHardwareInterface::dataNotifyR
outine(void*): isActive is already false..return
D/device/lge/palman/camera/QCamera/HAL/core/src/QCameraStream.cpp( 240): virtua
l int32_t android::QCameraStream::streamOff(bool): mActive = 0, streamid = 0, im
age_mode = 3
E/device/lge/palman/camera/QCamera/HAL/core/src/QCameraStream.cpp( 240): virtua
l int32_t android::QCameraStream::streamOff(bool): Stream:0 is not active
D/device/lge/palman/camera/QCamera/HAL/core/src/QCameraStream.cpp( 240): virtua
l android::status_t android::QCameraStream::deinitStream(): E, mActive = 0, mIni
t = 0, streamid = 0, image_mode = 2
D/device/lge/palman/camera/QCamera/HAL/core/src/QCameraStream.cpp( 240): virtua
l android::status_t android::QCameraStream::deinitStream(): E, mActive = 0, mIni
t = 0, streamid = 0, image_mode = 3
I/QCameraHWI( 240): cancelPictureInternal: X
I/QCameraHWI( 240): stopPreviewInternal: E
D/device/lge/palman/camera/QCamera/HAL/core/src/QCameraStream.cpp( 240): virtua
l int32_t android::QCameraStream::streamOff(bool): mActive = 1, streamid = 1280,
image_mode = 0
E/mm-camera( 243): ispif_client_set_params, Inft typ: 0, CID_mask: 1; VFE inter
face: 0, CSID: 1, Used: 1
E/mm-camera( 243): axi_command_ops cmd_type = 2
E/mm-camera( 243): axi_proc_unregister_wms: Releasing write master 0
E/mm-camera( 243): axi_proc_unregister_wms: Releasing write master 1
E/mm-camera( 243): axi_proc_unregister_wms: Releasing write master 2
E/mm-camera( 243): axi_proc_unregister_wms: Releasing write master 3
E/mm-camera( 243): axi_proc_unregister_wms: Releasing write master 4
E/mm-camera( 243): axi_proc_unregister_wms: Releasing write master 5
E/mm-camera( 243): axi_proc_unregister_wms: Releasing write master 6
E/mm-camera( 243): config_proc_INTF_UPDATE_ACK Pending ports = 0
E/mm-camera( 243): ispif_process_stop_immediately called
E/mm-camera( 243): axi_command_ops cmd_type = 3
E/mm-camera( 243): ispif_client_set_params, Inft typ: 0, CID_mask: 1; VFE inter
face: 0, CSID: 1, Used: 1
E/QCameraHWI( 240): int android::QCameraHardwareInterface::putBuf(uint32_t, uin
t32_t, uint32_t, void*, uint8_t, mm_camera_buf_def_t*):E
E/QCameraHWI_Preview( 240): virtual int android::QCameraStream_preview::putBuf
(uint8_t, mm_camera_buf_def_t*) : E
I/QCameraHWI_Preview( 240): putBufferToSurface : E
E/BufferQueueProducer( 8204): [unnamed-8204-2] cancelBuffer: BufferQueue has bee
n abandoned
D/QCameraHWI_Preview( 240): android::status_t android::QCameraStream_preview::p
utBufferToSurface(): cancel_buffer: hdl =0xb5aff4c0
D/QCameraHWI_Preview( 240): put buffer 0 successfully
E/BufferQueueProducer( 8204): [unnamed-8204-2] cancelBuffer: BufferQueue has bee
n abandoned
D/QCameraHWI_Preview( 240): android::status_t android::QCameraStream_preview::p
utBufferToSurface(): cancel_buffer: hdl =0xb5aff470
D/QCameraHWI_Preview( 240): put buffer 1 successfully
D/QCameraHWI_Preview( 240): put buffer 2 successfully
D/QCameraHWI_Preview( 240): put buffer 3 successfully
E/BufferQueueProducer( 8204): [unnamed-8204-2] cancelBuffer: BufferQueue has bee
n abandoned
D/QCameraHWI_Preview( 240): android::status_t android::QCameraStream_preview::p
utBufferToSurface(): cancel_buffer: hdl =0xb5aff560
D/QCameraHWI_Preview( 240): put buffer 4 successfully
E/BufferQueueProducer( 8204): [unnamed-8204-2] cancelBuffer: BufferQueue has bee
n abandoned
D/QCameraHWI_Preview( 240): android::status_t android::QCameraStream_preview::p
utBufferToSurface(): cancel_buffer: hdl =0xb5aff5b0
D/QCameraHWI_Preview( 240): put buffer 5 successfully
E/BufferQueueProducer( 8204): [unnamed-8204-2] cancelBuffer: BufferQueue has bee
n abandoned
D/QCameraHWI_Preview( 240): android::status_t android::QCameraStream_preview::p
utBufferToSurface(): cancel_buffer: hdl =0xb5aff600
D/QCameraHWI_Preview( 240): put buffer 6 successfully
E/BufferQueueProducer( 8204): [unnamed-8204-2] cancelBuffer: BufferQueue has bee
n abandoned
D/QCameraHWI_Preview( 240): android::status_t android::QCameraStream_preview::p
utBufferToSurface(): cancel_buffer: hdl =0xb5aff650
D/QCameraHWI_Preview( 240): put buffer 7 successfully
E/BufferQueueProducer( 8204): [unnamed-8204-2] cancelBuffer: BufferQueue has bee
n abandoned
D/QCameraHWI_Preview( 240): android::status_t android::QCameraStream_preview::p
utBufferToSurface(): cancel_buffer: hdl =0xb5aff6a0
D/QCameraHWI_Preview( 240): put buffer 8 successfully
E/BufferQueueProducer( 8204): [unnamed-8204-2] cancelBuffer: BufferQueue has bee
n abandoned
D/QCameraHWI_Preview( 240): android::status_t android::QCameraStream_preview::p
utBufferToSurface(): cancel_buffer: hdl =0xb5aff6f0
D/QCameraHWI_Preview( 240): put buffer 9 successfully
E/BufferQueueProducer( 8204): [unnamed-8204-2] cancelBuffer: BufferQueue has bee
n abandoned
D/QCameraHWI_Preview( 240): android::status_t android::QCameraStream_preview::p
utBufferToSurface(): cancel_buffer: hdl =0xb5aff740
D/QCameraHWI_Preview( 240): put buffer 10 successfully
E/BufferQueueProducer( 8204): [unnamed-8204-2] cancelBuffer: BufferQueue has bee
n abandoned
D/QCameraHWI_Preview( 240): android::status_t android::QCameraStream_preview::p
utBufferToSurface(): cancel_buffer: hdl =0xb5aff790
D/QCameraHWI_Preview( 240): put buffer 11 successfully
I/QCameraHWI_Preview( 240): putBufferToSurface : X
I/QCameraHWI_Preview( 240): virtual int android::QCameraStream_preview::putBuf
(uint8_t, mm_camera_buf_def_t*) : X
D/device/lge/palman/camera/QCamera/HAL/core/src/QCameraStream.cpp( 240): virtua
l int32_t android::QCameraStream::streamOff(bool): X, mActive = 0, mInit = 1, st
reamid = 1280, image_mode = 0
D/device/lge/palman/camera/QCamera/HAL/core/src/QCameraStream.cpp( 240): virtua
l android::status_t android::QCameraStream::deinitStream(): E, mActive = 0, mIni
t = 0, streamid = 0, image_mode = 1
D/device/lge/palman/camera/QCamera/HAL/core/src/QCameraStream.cpp( 240): virtua
l android::status_t android::QCameraStream::deinitStream(): E, mActive = 0, mIni
t = 0, streamid = 0, image_mode = 2
D/device/lge/palman/camera/QCamera/HAL/core/src/QCameraStream.cpp( 240): virtua
l android::status_t android::QCameraStream::deinitStream(): E, mActive = 0, mIni
t = 1, streamid = 1280, image_mode = 0
D/device/lge/palman/camera/QCamera/HAL/core/src/QCameraStream.cpp( 240): virtua
l android::status_t android::QCameraStream::deinitStream(): X, mActive = 0, mIni
t = 0, streamid = 0, image_mode = 0
I/QCameraHWI( 240): stopPreviewInternal: X
I/QCameraHWI( 240): stopPreview: X, mPreviewState = 0
E/QualcommCamera( 240): Qint android::cancel_picture(camera_device*): E
I/QCameraHWI( 240): cancelPicture: E, mPreviewState = 0
I/QCameraHWI( 240): cancelPicture: X
E/QualcommCamera( 240): Qvoid android::release(camera_device*): E
I/QCameraHWI( 240): release: E
I/QCameraHWI( 240): release: X
E/QCameraHWI( 240): setPreviewWindow: E mPreviewState = 0, mStreamDisplay = 0x
b10f3000
E/QCameraHWI( 240): android::status_t android::QCameraHardwareInterface::setPre
viewWindow(preview_stream_ops_t*):Received Setting NULL preview window
E/QCameraHWI( 240): android::status_t android::QCameraHardwareInterface::setPre
viewWindow(preview_stream_ops_t*): mPreviewWindow = 0x0x0, mStreamDisplay = 0x0x
b10f3000
E/QCameraHWI( 240): setPreviewWindow : X, mPreviewState = 0
I/CameraClient( 240): Destroying camera 0
E/QualcommCamera( 240): Qint android::close_camera_device(hw_device_t*): device
=0xb340e1c0 E
I/QCameraHWI( 240): ~QCameraHardwareInterface: E
I/QCameraHWI( 240): void android::QCameraHardwareInterface::stopPreview(): stop
Preview: E
E/QCameraHWI_Parm( 240): android::status_t android::QCameraHardwareInterface::s
etFaceDetection(const char*) Face detection value = 0, num_fd = 2
E/QCameraHWI_Parm( 240): bool android::QCameraHardwareInterface::native_set_par
ms(mm_camera_parm_type_t, uint16_t, void*) : type : 30 Value : 0
E/mm-camera( 243): eye det config_proc_CAMERA_SET_PARM_FD parm.fd_mode = 0
E/mm-camera( 243): eye det config_proc_CAMERA_SET_PARM_FD fd_mode = 0 rotation
= 0
I/QCameraHWI( 240): stopPreview: X, mPreviewState = 0
I/mm-still-omx( 240): deinit:E
I/mm-still-omx( 240): jpegStop : E
I/mm-still-omx( 240): jpegStop :X
I/mm-still-omx( 240): releaseOMXBuffers :E
I/mm-still-omx( 240): releaseOMXBuffers :X
I/mm-still-omx( 240): deinit:X
I/mm-still-omx( 240): release:E
I/mm-still-omx( 240): release:X
E/QCameraHWI( 240): virtual android::QCameraHardwareInterface::~QCameraHardware
Interface(): Jpeg closed, rc = 0, mJpegClientHandle = 200
D/QCameraHWI( 240): int32_t android::QCameraCmdThread::sendCmd(android::camera_
cmd_type_t, uint8_t, uint8_t): enqueue cmd 4
D/QCameraHWI( 240): static void* android::QCameraHardwareInterface::dataNotifyR
outine(void*): get cmd 4
D/QCameraHWI( 240): static void* android::QCameraHardwareInterface::dataNotifyR
outine(void*): X
D/QCameraHWI( 240): int32_t android::QCameraCmdThread::sendCmd(android::camera_
cmd_type_t, uint8_t, uint8_t): enqueue cmd 4
D/QCameraHWI( 240): static void* android::QCameraHardwareInterface::dataProcess
Routine(void*): get cmd 4
D/QCameraHWI( 240): static void* android::QCameraHardwareInterface::dataProcess
Routine(void*): X
I/QCameraHWI( 240): android::status_t android::QCameraHardwareInterface::deInit
HistogramBuffers() E
I/QCameraHWI( 240): android::status_t android::QCameraHardwareInterface::deInit
HistogramBuffers() Histogram buffers not active. return.
E/QCameraHWI_Preview( 240): virtual void android::QCameraStream_preview::releas
e() : BEGIN
D/device/lge/palman/camera/QCamera/HAL/core/src/QCameraStream.cpp( 240): virtua
l int32_t android::QCameraStream::streamOff(bool): mActive = 0, streamid = 0, im
age_mode = 0
E/device/lge/palman/camera/QCamera/HAL/core/src/QCameraStream.cpp( 240): virtua
l int32_t android::QCameraStream::streamOff(bool): Stream:0 is not active
D/device/lge/palman/camera/QCamera/HAL/core/src/QCameraStream.cpp( 240): virtua
l android::status_t android::QCameraStream::deinitStream(): E, mActive = 0, mIni
t = 0, streamid = 0, image_mode = 0
E/QCameraHWI_Preview( 240): virtual void android::QCameraStream_preview::releas
e(): END
D/device/lge/palman/camera/QCamera/HAL/core/src/QCameraStream.cpp( 240): virtua
l int32_t android::QCameraStream::streamOff(bool): mActive = 0, streamid = 0, im
age_mode = 1
E/device/lge/palman/camera/QCamera/HAL/core/src/QCameraStream.cpp( 240): virtua
l int32_t android::QCameraStream::streamOff(bool): Stream:0 is not active
D/device/lge/palman/camera/QCamera/HAL/core/src/QCameraStream.cpp( 240): virtua
l android::status_t android::QCameraStream::deinitStream(): E, mActive = 0, mIni
t = 0, streamid = 0, image_mode = 1
D/device/lge/palman/camera/QCamera/HAL/core/src/QCameraStream.cpp( 240): virtua
l int32_t android::QCameraStream::streamOff(bool): mActive = 0, streamid = 0, im
age_mode = 2
E/device/lge/palman/camera/QCamera/HAL/core/src/QCameraStream.cpp( 240): virtua
l int32_t android::QCameraStream::streamOff(bool): Stream:0 is not active
D/device/lge/palman/camera/QCamera/HAL/core/src/QCameraStream.cpp( 240): virtua
l android::status_t android::QCameraStream::deinitStream(): E, mActive = 0, mIni
t = 0, streamid = 0, image_mode = 2
D/device/lge/palman/camera/QCamera/HAL/core/src/QCameraStream.cpp( 240): virtua
l int32_t android::QCameraStream::streamOff(bool): mActive = 0, streamid = 0, im
age_mode = 3
E/device/lge/palman/camera/QCamera/HAL/core/src/QCameraStream.cpp( 240): virtua
l int32_t android::QCameraStream::streamOff(bool): Stream:0 is not active
D/device/lge/palman/camera/QCamera/HAL/core/src/QCameraStream.cpp( 240): virtua
l android::status_t android::QCameraStream::deinitStream(): E, mActive = 0, mIni
t = 0, streamid = 0, image_mode = 3
E/mm-camera( 243): config_shutdown_pp Camera not in streaming mode. Returning.

E/mm-camera( 243): ispif_process_release called 0
E/mm-camera( 243): vfe_ops_deinit: E
E/qcom_sensors_hal( 666): hal_process_report_ind: Bad item quality: 11
E/QCameraHWI( 240): ~QCameraHardwareInterface: X
D/NuPlayerDriver( 240): reset(0xb314f4c0)
D/NuPlayerDriver( 240): notifyResetComplete(0xb314f4c0)
D/NuPlayerDriver( 240): reset(0xb314f5e0)
D/NuPlayerDriver( 240): notifyResetComplete(0xb314f5e0)
W/art ( 8204): Long monitor contention event with owner method=void android.
hardware.camera2.impl.CameraDeviceImpl.close() from CameraDeviceImpl.java:755 wa
iters=0 for 117ms
I/Timeline( 5138): Timeline: Activity_idle id: android.os.BinderProxy@2822c691 t
ime:713870
I/Timeline( 666): Timeline: Activity_windows_visible id: ActivityRecord{117d69b
7 u0 com.cyanogenmod.trebuchet/com.android.launcher3.Launcher t5} time:714126
W/OpenGLRenderer( 5138): Incorrectly called buildLayer on View: ShortcutAndWidge
tContainer, destroying layer...
D/audio_hw_primary( 240): disable_audio_route: reset and update mixer path: low
-latency-playback
D/audio_hw_primary( 240): disable_snd_device: snd_device(2: speaker)
E/ThermalDaemon( 7922): [GPU_MON] 8 percent. Current Sampling Time is 4 sec
W/MessageQueue( 8204): Handler (android.os.Handler) {30773613} sending message t
o a Handler on a dead thread
W/MessageQueue( 8204): java.lang.IllegalStateException: Handler (android.os.Hand
ler) {30773613} sending message to a Handler on a dead thread
W/MessageQueue( 8204): at android.os.MessageQueue.enqueueMessage(MessageQueue.j
ava:325)
W/MessageQueue( 8204): at android.os.Handler.enqueueMessage(Handler.java:631)
W/MessageQueue( 8204): at android.os.Handler.sendMessageAtFrontOfQueue(Handler.
java:623)
W/MessageQueue( 8204): at android.hardware.camera2.legacy.RequestThreadManager.
quit(RequestThreadManager.java:941)
W/MessageQueue( 8204): at android.hardware.camera2.legacy.LegacyCameraDevice.cl
ose(LegacyCameraDevice.java:444)
W/MessageQueue( 8204): at android.hardware.camera2.legacy.LegacyCameraDevice.fi
nalize(LegacyCameraDevice.java:468)
W/MessageQueue( 8204): at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.
java:190)
W/MessageQueue( 8204): at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:17
3)
W/MessageQueue( 8204): at java.lang.Thread.run(Thread.java:818)
W/CameraCaptureSession( 8204): Session 0: The camera device was already closed:

W/CameraCaptureSession( 8204): java.lang.IllegalStateException: CameraDevice was
already closed
W/CameraCaptureSession( 8204): at android.hardware.camera2.impl.CameraDeviceImp
l.checkIfCameraClosedOrInError(CameraDeviceImpl.java:1482)
W/CameraCaptureSession( 8204): at android.hardware.camera2.impl.CameraDeviceImp
l.stopRepeating(CameraDeviceImpl.java:677)
W/CameraCaptureSession( 8204): at android.hardware.camera2.impl.CameraCaptureSe
ssionImpl.close(CameraCaptureSessionImpl.java:328)
W/CameraCaptureSession( 8204): at android.hardware.camera2.impl.CameraCaptureSe
ssionImpl.finalize(CameraCaptureSessionImpl.java:561)
W/CameraCaptureSession( 8204): at java.lang.Daemons$FinalizerDaemon.doFinalize(
Daemons.java:190)
W/CameraCaptureSession( 8204): at java.lang.Daemons$FinalizerDaemon.run(Daemons
.java:173)
W/CameraCaptureSession( 8204): at java.lang.Thread.run(Thread.java:818)
E/WifiStateMachine( 666): WifiStateMachine CMD_START_SCAN source -2 txSuccessRa
te=0,00 rxSuccessRate=1,03 targetRoamBSSID=any RSSI=-37
I/wpa_supplicant( 4773): wlan0: CTRL-EVENT-SCAN-STARTED
I/WifiHAL ( 666): Poll result = 1
I/WifiHAL ( 666): Found some events!!!
D/WifiHAL ( 666): no_seq_check received
I/WifiHAL ( 666): event received NL80211_CMD_TRIGGER_SCAN
I/WifiHAL ( 666): event received NL80211_CMD_TRIGGER_SCAN, vendor_id = 0x0
I/WifiHAL ( 666): event ignored!!
^C
C:\adb>

If it is possible, please compile your kernel again with the oc5693's drivers and logging enabled.

Thank you for your work!

[]'s