• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [MTDEV] CM9 Camera Help Needed

G

g60madman

Guest
All,

Even if you are not a dev, you can help. Here is current logcat I am receiving on the camera for CM9. I have fixed almost all issues, permissions, libs, and also make files for the CameraHAL. The issues you want to focus on are the E/ and A/. You can google search and post back as much as you find. I figure multiple eyes on this are better than just my (2) that are going MAD!

I need to take a break for a few days to recharge the batteries and relax MileRL, and Wifey are requesting me too :D


Code:
09-04 06:33:35.075: I/ActivityManager(269): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.camera/.Camera bnds=[0,556][120,707]} from pid 769
09-04 06:33:35.085: D/AudioHardwareMSM7X30(130): value of device and enable is 6 1 ALSA dev id:8
09-04 06:33:35.155: D/AudioHardwareMSM7X30(130): msm_route_stream(PCM_PLAY,5,8,1)
09-04 06:33:35.175: I/ActivityManager(269): Start proc com.android.camera for activity com.android.camera/.Camera: pid=1129 uid=10009 gids={1006, 1015}
09-04 06:33:35.225: D/OpenGLRenderer(769): Flushing caches (mode 1)
09-04 06:33:35.245: D/OpenGLRenderer(769): Flushing caches (mode 0)
09-04 06:33:35.365: D/CameraHAL(130): CameraHAL_GetNum_Cameras: loading libcamera at 0x7000e9c0
09-04 06:33:35.365: V/CameraHolder(1129): open camera 0
09-04 06:33:35.365: D/CameraHAL(130): CameraHAL_GetNum_Cameras: loading libcamera at 0x7000e9c0
09-04 06:33:35.365: I/CameraService(130): Opening camera 0
09-04 06:33:35.365: D/CameraHAL(130): qcamera_device_open: name:0 device:0x233ec cameraId:0
09-04 06:33:35.365: D/CameraHAL(130): loading libcamera at 0x7000e9c0
09-04 06:33:35.365: D/QualcommCameraHardware(130): createInstance: E
09-04 06:33:35.405: I/QualcommCameraHardware(130): startCamera: camsensor name mt9p111, flash 1
09-04 06:33:35.735: A/libc(130): Fatal signal 8 (SIGFPE) at 0x00000082 (code=0)
09-04 06:33:36.035: A/libc(130): Fatal signal 11 (SIGSEGV) at 0x00000116 (code=1)
09-04 06:33:38.186: D/AudioHardwareMSM7X30(130): AudioStreamOutMSM72xx::standby()
09-04 06:33:38.186: D/AudioHardwareMSM7X30(130): Deroute pcm out stream
09-04 06:33:38.186: E/AudioHardwareMSM7X30(130): updateDeviceInfo: E rx_device 6 and tx_device 11
09-04 06:33:38.186: D/AudioHardwareMSM7X30(130): No active voicecall/playback, disabling cur_rx 6
09-04 06:33:38.186: D/AudioHardwareMSM7X30(130): value of device and enable is 6 0 ALSA dev id:8
09-04 06:33:38.287: D/AudioHardwareMSM7X30(130): No active voicecall/recording, disabling cur_tx 11
09-04 06:33:38.287: D/AudioHardwareMSM7X30(130): value of device and enable is 11 0 ALSA dev id:17
09-04 06:33:38.299: E/AudioHardwareMSM7X30(130): updateDeviceInfo: X cur_rx 6 cur_tx 11
09-04 06:33:38.656: I/DEBUG(125): timed out waiting for pid=130 tid=1149 uid=1013 to die
09-04 06:33:38.656: I/DEBUG(125): debuggerd committing suicide to free the zombie!
09-04 06:33:38.665: I/DEBUG(1151): debuggerd: Sep  4 2012 06:01:06
09-04 06:33:38.695: W/Camera(1129): Camera server died!
09-04 06:33:38.695: E/CameraHolder(1129): fail to connect Camera
09-04 06:33:38.695: E/CameraHolder(1129): java.lang.RuntimeException: Fail to connect to camera service
09-04 06:33:38.695: E/CameraHolder(1129): 	at android.hardware.Camera.native_setup(Native Method)
09-04 06:33:38.695: E/CameraHolder(1129): 	at android.hardware.Camera.<init>(Camera.java:320)
09-04 06:33:38.695: E/CameraHolder(1129): 	at android.hardware.Camera.open(Camera.java:280)
09-04 06:33:38.695: E/CameraHolder(1129): 	at com.android.camera.CameraHolder.open(CameraHolder.java:131)
09-04 06:33:38.695: E/CameraHolder(1129): 	at com.android.camera.Util.openCamera(Util.java:321)
09-04 06:33:38.695: E/CameraHolder(1129): 	at com.android.camera.Camera$4.run(Camera.java:1251)
09-04 06:33:38.695: E/CameraHolder(1129): 	at java.lang.Thread.run(Thread.java:856)
09-04 06:33:38.705: W/MediaMetadataRetriever(673): MediaMetadataRetriever server died!
09-04 06:33:38.705: W/AudioSystem(656): AudioFlinger server died!
09-04 06:33:38.705: W/AudioSystem(656): AudioPolicyService server died!
09-04 06:33:38.705: W/AudioSystem(269): AudioFlinger server died!
09-04 06:33:38.705: W/IMediaDeathNotifier(269): media server died
09-04 06:33:38.705: W/AudioSystem(269): AudioPolicyService server died!
 
While you recharge your batteries, I'll do my best to hold down the fort here. If anyone wants to assist me, help watch the MTDEV ROM forums and answer questions there.
 
True that. Just wondering. I havent gotten my triumph yet next week i will cannot wait. Will hold off on cm9 till the camera works .
 
The problem starts with the Signal 8, division by zero error, which causes the seg fault, which kills the camera service. (causing the RuntimeException)

If you can find where you're getting the sigfpe you should be able to work out the rest.

Also have you tried using any different Camera apps and not just stock?

Are you running this in an emulator? if so, try this http://review.cyanogenmod.com/#/c/10249/
 
The problem starts with the Signal 8, division by zero error, which causes the seg fault, which kills the camera service. (causing the RuntimeException)

If you can find where you're getting the sigfpe you should be able to work out the rest.

Also have you tried using any different Camera apps and not just stock?

Are you running this in an emulator? if so, try this Gerrit Code Review

I suggested earlier to use the ICS Camera app from the market. I was getting fc's with the stock camera app and switched to the camera app from the market and voila no more fc's. This was with my SGT2 btw.
 
The problem starts with the Signal 8, division by zero error, which causes the seg fault, which kills the camera service. (causing the RuntimeException)

If you can find where you're getting the sigfpe you should be able to work out the rest.

Also have you tried using any different Camera apps and not just stock?

Are you running this in an emulator? if so, try this Gerrit Code Review

I don't believe it is a problem with the app(s). I haven't followed the DEV threads too closely, but the issue, I think, is in getting the hardware to respond to the software. Change the camera app all you'd like and (as far as I know) it still will not work with CM9 or CM10
 
I don't believe it is a problem with the app(s). I haven't followed the DEV threads too closely, but the issue, I think, is in getting the hardware to respond to the software. Change the camera app all you'd like and (as far as I know) it still will not work with CM9 or CM10

Well remember, TJStyle, when he first got camera working, the default camera app didn't work and pudding camera worked only. So it could be a problem with default camera app..
 
ah yes, I had forgotten about that. Ironically enough i've been a fan of "ICS Camera" and using it in CM7. Haven't tried it with 9 or 10 yet.
 
By all means feel free to mess with it as I released the ROM today with the updated libs and permissions.
 
Back
Top Bottom