[Galaxy S III General] mstplbrg:
Camera hangs after pressing back/home once

Hey,

I’m using cm-10-20120801-EXPERIMENTAL-i9300-CODEWORKX.zip (latest as of now) and gapps-jb-20120726-signed.zip on a european Samsung Galaxy S3, but this problem has been there since preview4:

After going into the app launcher, chosing Gallery, then tapping the Camera icon in the top right, the phone opens the camera. Everything is fine, until I press the back button or the home button to exit camera. It just hangs for a few seconds, then I get an "Application is not responding".

Excerpt from the logcat:

V/ISecCameraHardware( 1909): Send AUTO_FOCUS_SUCCESS
V/StateManager( 3482): no more state, finish activity
V/StateManager( 3482): finishState com.android.gallery3d.app.PhotoPage@41758d08
W/WindowManager( 2172): Failure taking screenshot for (328x583) to layer 21025
V/camera ( 3482): stopPreview
V/CameraWrapper( 1909): camera_cancel_auto_focus
V/CameraWrapper( 1909): camera_cancel_auto_focus->40E2B390->40E2B458
V/CameraWrapper( 1909): camera_disable_msg_type->40E2B390->40E2B458
V/CameraWrapper( 1909): camera_disable_msg_type
V/CameraWrapper( 1909): camera_stop_preview
V/CameraWrapper( 1909): camera_stop_preview->40E2B390->40E2B458
D/ISecCameraHardware( 1909): stopPreview E
W/ActivityManager( 2172): Activity pause timeout for ActivityRecord{417b3578 com.android.gallery3d/com.android.camera.Camera}
W/ActivityManager( 2172): Launch timeout has expired, giving up wake lock!
W/ActivityManager( 2172): Activity idle timeout for ActivityRecord{41d744f8 com.android.gallery3d/.app.Gallery}
I/InputDispatcher( 2172): Application is not responding: AppWindowToken{41d1b430 token=Token{41d74638 ActivityRecord{41d744f8 com.android.gallery3d/.app.Gallery}}}. It has been 5008.6ms since event, 5005.2ms since wait started. Reason: Waiting because no window has focus but there is a focused application that may eventually add a window when it finishes starting up.
I/WindowManager( 2172): Input event dispatching timed out sending to application AppWindowToken{41d1b430 token=Token{41d74638 ActivityRecord{41d744f8 com.android.gallery3d/.app.Gallery}}}

Here is the dmesg output of the initialization of the camera (I’m using the SlimISP file provided in this thread, but I have been using the shipped one before and there is no difference):

<7>[ 64.110938] c1 s5c73m3_init: vdd core value from OTP : 1.05V
<7>[ 64.110975] c1 s5c73m3_init: chip info from OTP : 0x3be8, 0xce89, 0xa194
<7>[ 64.140140] c0 s5c73m3_get_sensor_fw_version: Sensor_version = ZDFE02, Sensor_Type = CML0801-M017
<7>[ 64.143013] c0 s5c73m3_get_af_cal_version: Cal_Device = 0x9db5bdb6, Cal_DLL = 0x86d62c3
<7>[ 64.143126] c0 s5c73m3_open_firmware_file: /data/cfw/SlimISP_ZD.bin is opened
<7>[ 64.143967] c0 s5c73m3_compare_date: date1 = FF03, date2 = FF02
<7>[ 64.143993] c0 , compare result = 1
<7>[ 64.144014] c0 s5c73m3_get_phone_fw_version: Phone_version = ZDFF03(index=1)
<7>[ 64.144059] c0 s5c73m3_check_fw_date: Sensor_date = FE02, Phone_date = FF03
<7>[ 64.144091] c0 , compare result = -1
<7>[ 64.144110] c0 s5c73m3_check_fw: Loading From PhoneFW......
<7>[ 64.149448] c0 s5c73m3_load_fw: /data/cfw/SlimISP_ZD.bin is opened

Any ideas? Let me know if I can help testing something or provide more details.

Best regards,

Michael