[Galaxy Tab S Android Development] malosasha:
[MENTION=4222965]deadman96385[/MENTION]

I just applied both of your patch and compiled an eng rom for chaglllte; the tab is stuck at boot as the camera layer is looping with this error message bellow.

Any clue how to fix this ?

ndk-depends show libmor as dependency and patches are correctly applied i think.

seems it fails on this : 04-12 11:51:16.594 4969 4969 D ExynosCameraActivitySpecialCapture: [int android::ExynosCameraActivitySpecialCapture::setCaptureMode(android::ExynosCameraActivitySpecialCapture::SCAPTURE_MODE)]

Best Regards

04-12 11:51:12.118 2414 2414 I ServiceManager: service 'media.resource_manager' died
04-12 11:51:12.724 3514 3973 I ServiceManager: Waiting for service media.audio_policy...
04-12 11:51:13.724 3514 3973 W AudioSystem: AudioPolicyService not published, waiting...
04-12 11:51:14.224 3514 3973 I ServiceManager: Waiting for service media.audio_policy...
04-12 11:51:15.225 3514 3973 I ServiceManager: Waiting for service media.audio_policy...
04-12 11:51:16.225 3514 3973 I ServiceManager: Waiting for service media.audio_policy...
04-12 11:51:16.308 4969 4969 I mediaserver: ServiceManager: 0xb600e120
04-12 11:51:16.308 4969 4969 I AudioFlinger: Using default 3000 mSec as standby time.
04-12 11:51:16.310 4969 4969 I CameraService: CameraService started (pid=4969)
04-12 11:51:16.310 4969 4969 I CameraService: CameraService process starting
04-12 11:51:16.312 4969 4969 V CameraWrapper: camera_get_number_of_cameras
04-12 11:51:16.312 4969 4969 V CameraWrapper: check_vendor_module
04-12 11:51:16.590 4969 4969 D ExynosCameraHWInterface: DEBUG:duration time( 0 msec):(int android::HAL_getNumberOfCameras())
04-12 11:51:16.590 4969 4969 I CameraService: Loaded "Universal5410 Camera Wrapper" camera module
04-12 11:51:16.590 4969 4969 V CameraWrapper: camera_get_number_of_cameras
04-12 11:51:16.590 4969 4969 V CameraWrapper: check_vendor_module
04-12 11:51:16.590 4969 4969 D ExynosCameraHWInterface: DEBUG:duration time( 0 msec):(int android::HAL_getNumberOfCameras())
04-12 11:51:16.590 4969 4969 V CameraWrapper: camera_get_number_of_cameras
04-12 11:51:16.590 4969 4969 V CameraWrapper: check_vendor_module
04-12 11:51:16.590 4969 4969 D ExynosCameraHWInterface: DEBUG:duration time( 0 msec):(int android::HAL_getNumberOfCameras())
04-12 11:51:16.591 4969 4969 I CameraFlashlight: Opening camera 0
04-12 11:51:16.591 4969 4969 V CameraWrapper: camera_get_camera_info
04-12 11:51:16.591 4969 4969 V CameraWrapper: check_vendor_module
04-12 11:51:16.591 4969 4969 D ExynosCameraHWInterface: DEBUG:duration time( 0 msec):(int android::HAL_getNumberOfCameras())
04-12 11:51:16.591 4969 4969 D ExynosCameraHWInterface: DEBUG:duration time( 0 msec):(int android::HAL_getCameraInfo(int, camera_info*))
04-12 11:51:16.591 4969 4969 V CameraWrapper: camera_device_open
04-12 11:51:16.591 4969 4969 V CameraWrapper: check_vendor_module
04-12 11:51:16.591 4969 4969 D ExynosCameraHWInterface: DEBUG:duration time( 0 msec):(int android::HAL_getNumberOfCameras())
04-12 11:51:16.591 4969 4969 I ExynosCameraHWInterface: [INFO] (int android::HAL_camera_device_open(const hw_module_t*, const char*, hw_device_t**):789):camera(0) in
04-12 11:51:16.591 4969 4969 D ExynosCameraHWInterface: DEBUG:duration time( 0 msec):(int android::HAL_getNumberOfCameras())
04-12 11:51:16.591 4969 4969 D ExynosCameraHWInterface: DEBUG(int android::check_camera_state(android::CAMERA_STATE, int)):camera(0) state(1) checking...
04-12 11:51:16.591 4969 4969 D ExynosCameraHWInterface: DEBUG(int android::check_camera_state(android::CAMERA_STATE, int)):camera(0) state(0:NONE->1:eek:PENED) is valid
04-12 11:51:16.591 4969 4969 E ExynosCameraHWInterface: DEBUG(int android::HAL_camera_device_open(const hw_module_t*, const char*, hw_device_t**)):open camera 0
04-12 11:51:16.591 4969 4969 D ExynosCameraHWImpl: DEBUG(android::ExynosCameraHWImpl::ExynosCameraHWImpl(int, camera_device_t*)):in
04-12 11:51:16.592 4969 4969 D ExynosCameraHWImpl: DEBUG(bool android::ExynosCameraHWImpl::m_initSecCamera(int)):in
04-12 11:51:16.593 4969 4969 D ExynosCamera: DEBUG(bool ExynosCamera::create(int)):(2347) cameraId: 0
04-12 11:51:16.593 4969 4969 D ExynosCamera: DEBUG(bool ExynosCamera::m_getSensorName(int)):Sensor name is SONY_IMX134_FIMC_IS
04-12 11:51:16.593 4969 4969 D ExynosCamera: (20)
04-12 11:51:16.593 4969 4969 D ExynosCamera: DEBUG(bool ExynosCamera::m_getSensorName(int)):Setting Camera Info IMX134
04-12 11:51:16.593 4969 4969 D ExynosCamera: DEBUG(bool ExynosCamera::m_initSensor(int)):(11658) fd -1
04-12 11:51:16.593 4969 4969 D ExynosCamera: DEBUG(bool ExynosCamera::m_setZoom(int, int, int, int, int, void*)): src(3264 x 2448), dst(1920 x 1080) -> size(0, 306, 3264, 1836), level(0)
04-12 11:51:16.593 4969 4969 D ExynosCamera: DEBUG(bool ExynosCamera::m_initSensor(int)):(11658) fd -1
04-12 11:51:16.593 4969 4969 D ExynosCamera: DEBUG(bool ExynosCamera::m_setZoom(int, int, int, int, int, void*)): src(3264 x 2448), dst(1920 x 1080) -> size(0, 306, 3264, 1836), level(0)
04-12 11:51:16.594 4969 4969 D ExynosCameraActivitySpecialCapture: [int android::ExynosCameraActivitySpecialCapture::setCaptureMode(android::ExynosCameraActivitySpecialCapture::SCAPTURE_MODE)] (315) (0)
04-12 11:51:16.594 4969 4969 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x3 in tid 4969 (mediaserver)
04-12 11:51:16.594 4969 4973 D ExynosCameraHWImpl: DEBUG(bool android::ExynosCameraHWImpl::m_startThreadFuncReprocessing()):in
04-12 11:51:16.594 4969 4974 D ExynosCameraHWImpl: DEBUG(bool android::ExynosCameraHWImpl::m_startThreadFuncBufAlloc()):in
04-12 11:51:16.595 4969 4972 D ExynosCameraHWImpl: DEBUG(bool android::ExynosCameraHWImpl::m_startThreadFuncMain()):in
04-12 11:51:16.596 4969 4975 D ExynosCameraHWImpl: DEBUG(bool android::ExynosCameraHWImpl::m_videoThreadFuncWrapper():7476): SIGNAL(m_videoStoppedCondition) - send
04-12 11:51:16.596 4969 4975 D ExynosCameraHWImpl: DEBUG(bool android::ExynosCameraHWImpl::m_videoThreadFuncWrapper():7478): SIGNAL(m_videoCondition) - waiting
04-12 11:51:16.697 2450 2450 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
04-12 11:51:16.697 2450 2450 F DEBUG : Build fingerprint: 'samsung/aosp_chagalllte/chagalllte:6.0.1/MHC19J/sasha04121009:eng/test-keys'
04-12 11:51:16.697 2450 2450 F DEBUG : Revision: '0'
04-12 11:51:16.697 2450 2450 F DEBUG : ABI: 'arm'
04-12 11:51:16.697 2450 2450 F DEBUG : pid: 4969, tid: 4969, name: mediaserver >>> /system/bin/mediaserver <<<
04-12 11:51:16.697 2450 2450 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x3
04-12 11:51:16.707 2450 2450 F DEBUG : r0 ffffffff r1 00000000 r2 b6b9b665 r3 b5fcb7f0
04-12 11:51:16.707 2450 2450 F DEBUG : r4 b31a0000 r5 b48bf26c r6 ffffffec r7 b31a1020
04-12 11:51:16.707 2450 2450 F DEBUG : r8 00000001 r9 00000000 sl b5fcb780 fp bea886f8
04-12 11:51:16.707 2450 2450 F DEBUG : ip b48bf648 sp bea886d8 lr b489f5bf pc b488350e cpsr 60070030
04-12 11:51:16.716 2450 2450 F DEBUG :
04-12 11:51:16.716 2450 2450 F DEBUG : backtrace:
04-12 11:51:16.716 2450 2450 F DEBUG : #00 pc 0002750e /system/lib/libexynoscamera.so (ExynosCamera::isReprocessingSupported()+1)
04-12 11:51:16.716 2450 2450 F DEBUG : #01 pc 000435bb /system/lib/libexynoscamera.so (android::ExynosCameraHWImpl::m_initSecCamera(int)+1270)
04-12 11:51:16.716 2450 2450 F DEBUG : #02 pc 00044203 /system/lib/libexynoscamera.so (android::ExynosCameraHWImpl::ExynosCameraHWImpl(int, camera_device*)+1226)
04-12 11:51:16.716 2450 2450 F DEBUG : #03 pc 000022a5 /system/lib/hw/camera.vendor.universal5420.so
04-12 11:51:16.716 2450 2450 F DEBUG : #04 pc 00001607 /system/lib/hw/camera.universal5420.so
04-12 11:51:16.716 2450 2450 F DEBUG : #05 pc 00053f27 /system/lib/libcameraservice.so (android::CameraModule::open(char const*, hw_device_t**)+26)
04-12 11:51:16.716 2450 2450 F DEBUG : #06 pc 000522fd /system/lib/libcameraservice.so (android::CameraHardwareInterfaceFlashControl::connectCameraDevice(android::String8 const&)+572)
04-12 11:51:16.716 2450 2450 F DEBUG : #07 pc 000523bd /system/lib/libcameraservice.so (android::CameraHardwareInterfaceFlashControl::hasFlashUnitLocked(android::String8 const&, bool*)+28)
04-12 11:51:16.716 2450 2450 F DEBUG : #08 pc 000524ab /system/lib/libcameraservice.so (android::CameraHardwareInterfaceFlashControl::hasFlashUnit(android::String8 const&, bool*)+26)
04-12 11:51:16.716 2450 2450 F DEBUG : #09 pc 00051879 /system/lib/libcameraservice.so (android::CameraFlashlight::findFlashUnits()+144)
04-12 11:51:16.716 2450 2450 F DEBUG : #10 pc 0004cb7b /system/lib/libcameraservice.so (android::CameraService::onFirstRef()+370)
04-12 11:51:16.716 2450 2450 F DEBUG : #11 pc 000022b9 /system/bin/mediaserver
04-12 11:51:16.716 2450 2450 F DEBUG : #12 pc 00001b89 /system/bin/mediaserver
04-12 11:51:16.716 2450 2450 F DEBUG : #13 pc 00017359 /system/lib/libc.so (__libc_init+44)
04-12 11:51:16.716 2450 2450 F DEBUG : #14 pc 00001e0c /system/bin/mediaserver
04-12 11:51:16.921 2450 2450 F DEBUG :
04-12 11:51:16.921 2450 2450 F DEBUG : Tombstone written to: /data/tombstones/tombstone_05
04-12 11:51:16.915 4969 4969 W mediaserver: type=1701 audit(0.0:255): auid=4294967295 uid=1013 gid=1005 ses=4294967295 subj=u:r:mediaserver:s0 reason="memory violation" sig=11
04-12 11:51:16.925 2414 2414 I ServiceManager: service 'media.audio_flinger' died
04-12 11:51:16.925 2414 2414 I ServiceManager: service 'media.player' died
04-12 11:51:16.925 2414 2414 I ServiceManager: service 'media.resource_manager' died
04-12 11:51:17.225 3514 3973 I ServiceManager: Waiting for service media.audio_policy...
04-12 11:51:18.226 3514 3973 I ServiceManager: Waiting for service media.audio_policy...