[Miscellaneous Android Development] Andrian25:
support idea

New find, now based on the Galaxy Ace patches and LG p500.

Logue went on! Old mistakes almost disappeared, normal zoom, signal too. Now the error in the log below!

01-28 02:21:25.739 I/CameraHAL( 1501): CameraHAL_GetCam_Info:

01-28 02:21:25.739 D/CameraHAL( 1501): CameraHAL_GetNum_Cameras: loading libcamera at 0xb000e5a8

01-28 02:21:25.749 V/CameraHolder( 2233): open camera 0

01-28 02:21:25.749 I/CameraHAL( 1501): CameraHAL_GetCam_Info:

01-28 02:21:25.749 D/CameraHAL( 1501): CameraHAL_GetNum_Cameras: loading libcamera at 0xb000e5a8

01-28 02:21:25.749 I/CameraService( 1501): Opening camera 0

01-28 02:21:25.749 D/CameraHAL( 1501): qcamera_device_open: name:0 device:0x13cbc cameraId:0

01-28 02:21:25.749 D/CameraHAL( 1501): loading libcamera at 0xb000e5a8

01-28 02:21:25.759 D/QualcommCameraHardware( 1501): createInstance: E

01-28 02:21:25.789 I/QualcommCameraHardware( 1501): startCamera: camsensor name s5k5caga, flash 0

01-28 02:21:26.239 F/libc ( 1501): Fatal signal 11 (SIGSEGV) at 0x000007bd (code=1)

01-28 02:21:27.299 I/dalvikvm( 2158): Jit: resizing JitTable from 1024 to 2048

01-28 02:21:28.309 I/BootReceiver( 1614): Copying /data/tombstones/tombstone_04 to DropBox (SYSTEM_TOMBSTONE)

01-28 02:21:28.329 W/AudioSystem( 1762): AudioFlinger server died!

01-28 02:21:28.329 W/AudioSystem( 1762): AudioPolicyService server died!

01-28 02:21:28.329 W/AudioSystem( 1614): AudioFlinger server died!

01-28 02:21:28.329 W/IMediaDeathNotifier( 1614): media server died

01-28 02:21:28.329 W/AudioSystem( 1614): AudioPolicyService server died!

01-28 02:21:28.329 I/ServiceManager( 1491): service 'media.audio_flinger' died

01-28 02:21:28.329 I/ServiceManager( 1491): service 'media.player' died

01-28 02:21:28.329 I/ServiceManager( 1491): service 'media.camera' died

01-28 02:21:28.329 I/ServiceManager( 1491): service 'media.audio_policy' died

01-28 02:21:28.329 W/Camera ( 2233): Camera server died!

01-28 02:21:28.339 E/CameraHolder( 2233): fail to connect Camera

01-28 02:21:28.339 E/CameraHolder( 2233): java.lang.RuntimeException: Fail to connect to camera service

01-28 02:21:28.339 E/CameraHolder( 2233):	at android.hardware.Camera.native_setup(Native Method)

01-28 02:21:28.339 E/CameraHolder( 2233):	at android.hardware.Camera.<init>(Camera.java:320)

01-28 02:21:28.339 E/CameraHolder( 2233):	at android.hardware.Camera.open(Camera.java:280)

01-28 02:21:28.339 E/CameraHolder( 2233):	at com.android.camera.CameraHolder.open(CameraHolder.java:131)

01-28 02:21:28.339 E/CameraHolder( 2233):	at com.android.camera.Util.openCamera(Util.java:321)

01-28 02:21:28.339 E/CameraHolder( 2233):	at com.android.camera.Camera$4.run(Camera.java:1251)

01-28 02:21:28.339 E/CameraHolder( 2233):	at java.lang.Thread.run(Thread.java:856)

01-28 02:21:28.519 D/HardwareRenderer( 2233): Disabling v-sync

01-28 02:21:28.519 D/HardwareRenderer( 2233): Disabling v-sync

01-28 02:21:28.589 D/dalvikvm( 1614): GC_CONCURRENT freed 1349K, 45% free 5289K/9479K, paused 4ms+34ms

01-28 02:21:28.619 D/libEGL ( 2233): loaded /system/lib/egl/libEGL_adreno200.so

01-28 02:21:28.649 D/libEGL ( 2233): loaded /system/lib/egl/libGLESv1_CM_adreno200.so

01-28 02:21:28.649 D/libEGL ( 2233): loaded /system/lib/egl/libGLESv2_adreno200.so

01-28 02:21:28.659 D/HardwareRenderer( 2233): EGL configuration com.google.android.gles_jni.EGLConfigImpl@40eba1b0:

01-28 02:21:28.679 D/HardwareRenderer( 2233): RED_SIZE = 8

01-28 02:21:28.679 D/HardwareRenderer( 2233): GREEN_SIZE = 8

01-28 02:21:28.679 D/HardwareRenderer( 2233): BLUE_SIZE = 8

01-28 02:21:28.679 D/HardwareRenderer( 2233): ALPHA_SIZE = 8

01-28 02:21:28.679 D/HardwareRenderer( 2233): DEPTH_SIZE = 0

01-28 02:21:28.679 D/HardwareRenderer( 2233): STENCIL_SIZE = 0

01-28 02:21:28.679 D/HardwareRenderer( 2233): SURFACE_TYPE = 0x5e5

01-28 02:21:28.719 D/OpenGLRenderer( 2233): Enabling debug mode 0

01-28 02:21:28.719 W/Adreno200-EGLSUB( 2233): SetSwapInterval() interval: 0 not set

01-28 02:21:28.769 W/Adreno200-EGLSUB( 2233): SetSwapInterval() interval: 0 not set

01-28 02:21:28.789 V/camera ( 2233): surfaceChanged. w=303. h=404

01-28 02:21:29.119 I/ActivityManager( 1614): Displayed com.android.camera/.Camera: +3s689ms

01-28 02:21:29.209 I/ ( 2254): ServiceManager: 0xf958

01-28 02:21:29.219 I/AudioHardwareMSM72XX( 2254): get_audpp_filter

01-28 02:21:29.219 I/AudioHardwareMSM72XX( 2254): open /system/etc/AudioFilter.csv success.

01-28 02:21:29.219 I/AudioHardwareMSM72XX( 2254): EQ flag = 00.

01-28 02:21:29.219 I/AudioHardwareMSM72XX( 2254): EQ flag = 00.

01-28 02:21:29.219 I/AudioHardwareMSM72XX( 2254): EQ flag = 00.

01-28 02:21:29.229 I/AudioFlinger( 2254): Loaded primary audio interface from QCOM Audio HW HAL (audio)

01-28 02:21:29.229 I/AudioFlinger( 2254): Using 'QCOM Audio HW HAL' (audio.primary) as the primary audio interface

01-28 02:21:29.229 I/AudioFlinger( 2254): Loaded a2dp audio interface from A2DP Audio HW HAL (audio)

01-28 02:21:29.229 D/AudioHardwareInterface( 2254): setMode(NORMAL)

01-28 02:21:29.229 I/AudioHardwareMSM72XX( 2254): Set master volume to 7.

01-28 02:21:29.249 I/CameraService( 2254): CameraService started (pid=2254)

01-28 02:21:29.259 E/CameraHAL( 2254): CameraHAL_GetNum_Cameras:

01-28 02:21:29.269 D/CameraHAL( 2254): CameraHAL_GetNum_Cameras: loading libcamera at 0xb000e5a8

01-28 02:21:29.269 D/CameraHAL( 2254): CameraHAL_GetNum_Cameras: numCameras:1

01-28 02:21:29.279 I/AudioFlinger( 2254): AudioFlinger's thread 0x10ab0 ready to run

01-28 02:21:29.279 I/AudioHardwareMSM72XX( 2254): Routing audio to Speakerphone

01-28 02:21:29.279 D/AudioHardwareMSM72XX( 2254): doAudioRouteOrMute() device 0, mMode 0, mMicMute 1, mBuiltinMicSelected 0, muted

01-28 02:21:29.279 I/AudioHardwareMSM72XX( 2254): Routing audio to Speakerphone

01-28 02:21:29.279 D/AudioHardwareMSM72XX( 2254): setVoiceVolume(1.000000)

01-28 02:21:29.279 I/AudioHardwareMSM72XX( 2254): Setting in-call volume to 7 (available range is 0 to 7)

01-28 02:21:29.289 I/AudioPolicyService( 2254): Loaded audio policy from QCOM Audio Policy HAL (audio_policy)

01-28 02:21:29.839 E/AudioService( 1614): Media server died.

01-28 02:21:29.849 E/AudioService( 1614): Media server started.

01-28 02:21:29.849 I/AudioHardwareMSM72XX( 2254): Routing audio to Speakerphone

01-28 02:21:29.849 D/AudioHardwareInterface( 2254): setMode(NORMAL)

01-28 02:21:29.849 W/AudioPolicyManagerBase( 2254): setPhoneState() setting same state 0

01-28 02:21:29.869 W/AudioPolicyManager( 2254): getDeviceForStrategy() unknown strategy: 4

01-28 02:21:29.869 W/AudioPolicyManager( 2254): getDeviceForStrategy() unknown strategy: 4

01-28 02:21:29.869 W/AudioPolicyManager( 2254): getDeviceForStrategy() unknown strategy: 4

01-28 02:21:29.869 W/AudioPolicyManager( 2254): getDeviceForStrategy() unknown strategy: 4

01-28 02:21:29.899 I/AudioHardwareMSM72XX( 2254): Routing audio to Speakerphone

01-28 02:21:30.809 W/Adreno200-EGLSUB( 1778): SetSwapInterval() interval: 0 not set

Reference to the source! http://maclaw.pl/2012/06/11/camera-fix-for-galaxy-ace/

And my two different patches, with different libraries, but after that they have the same log as above. We're getting close!

http://www.mediafire.com/?8axfy702f5wd5rg p500

http://www.mediafire.com/?j1bkdv9hb24b2cq Ace