New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Keinbockwurst
Old
#11  
Keinbockwurst's Avatar
Senior Member
Thanks Meter 222
Posts: 468
Join Date: Mar 2011
Where can we get some coders to get our camera working? Or to support vpupkin?

Gesendet von meinem GT-I9001 mit Tapatalk
Nokia 3310 -> Sony Ericsson T230 -> Nokia 6230 -> Nokia 5200 -> LG KP500 -> Samsung Galaxy 3 -> Samsung Galaxy S+
 
AndrolinRoot
Old
#12  
AndrolinRoot's Avatar
Senior Member
Thanks Meter 891
Posts: 1,260
Join Date: Apr 2012
Location: Ansbach
Quote:
Originally Posted by Keinbockwurst View Post
Where can we get some coders to get our camera working? Or to support vpupkin?

Gesendet von meinem GT-I9001 mit Tapatalk
WE HAVE ONE ----> Vpupkin <3
The Following 2 Users Say Thank You to AndrolinRoot For This Useful Post: [ Click to Expand ]
 
Keinbockwurst
Old
#13  
Keinbockwurst's Avatar
Senior Member
Thanks Meter 222
Posts: 468
Join Date: Mar 2011
So we just need a camera driver that is starting now to start programming with it?

Gesendet von meinem GT-I9001 mit Tapatalk
Nokia 3310 -> Sony Ericsson T230 -> Nokia 6230 -> Nokia 5200 -> LG KP500 -> Samsung Galaxy 3 -> Samsung Galaxy S+
 
Mirceabadea
Old
#14  
Senior Member
Thanks Meter 34
Posts: 105
Join Date: Apr 2012
Quote:
Originally Posted by vpupkin View Post
Hi! Wazzup?

Sorry for not being participated in current development.
I have to say that you're unlikely to build CM9 following my instructions mentioned before. I'll try to write a new one.
So, you might be asking how does compiling by yourself will help with camera development? Well, I have built several drivers from different phones, and none of them actually loaded.
When I tried to do logcat I just got something like "Camera module not loaded" that is possibly happened because some of functions that need to be implemented into driver - were not implemented. But I've met some compiled drivers that loaded successfully but didn't work because, as I suppose, have inappropriate combination of some parameters (e.g. refresh rate). Unfortunately I haven't manage to find their sources.
So what can you do? You can try to build different camera drivers, put the resulting module as "/system/modules/hw/camera.ariesve.so", start logcat and try to run Camera app. If logcat shows something more about camera that just "Camera module not loaded" - just post it in this thread. It will be strarting point.

Of course,there is a harder way - try to implement everything by yourself, but it's way more complicated that previous step.

Well, we are no coders. Our only hope is a real coder, and I think that's you.

Welcome back !
 
AndrolinRoot
Old
#15  
AndrolinRoot's Avatar
Senior Member
Thanks Meter 891
Posts: 1,260
Join Date: Apr 2012
Location: Ansbach
Quote:
Originally Posted by Keinbockwurst View Post
So we just need a camera driver that is starting now to start programming with it?

Gesendet von meinem GT-I9001 mit Tapatalk
What, sorry I dont get what you have postet
Vpupkin is coding now new driver
 
mav.erik
Old
#16  
Senior Member
Thanks Meter 14
Posts: 124
Join Date: Apr 2012
I try install driver galaxy ace.... aborted... driver Universal... aborted... now try motorola... wait...

Inviato dal mio GT-I9001 con Tapatalk 2
 
AndrolinRoot
Old
#17  
AndrolinRoot's Avatar
Senior Member
Thanks Meter 891
Posts: 1,260
Join Date: Apr 2012
Location: Ansbach
Quote:
Originally Posted by mav.erik View Post
I try install driver galaxy ace.... aborted... driver Universal... aborted... now try motorola... wait...

Inviato dal mio GT-I9001 con Tapatalk 2
LOL, I dont postet it to install, I postet it to use the sources
 
kacperas
Old
#18  
kacperas's Avatar
Member
Thanks Meter 12
Posts: 32
Join Date: Dec 2010
Quote:
Originally Posted by vpupkin View Post
If logcat shows something more about camera that just "Camera module not loaded" - just post it in this thread. It will be strarting point.
Hi!

Code:
04-21 11:00:18.591 I/CameraService(133): CameraService started (pid=133)
04-21 11:00:18.601 E/HAL (133): load: module=/system/lib/hw/camera.msm7x30.so
04-21 11:00:18.601 E/HAL (133): Cannot load library: link_image[1965]:   133 could not load needed library 'libcamera.so' for 'camera.msm7x30.so' (reloc_library[1314]:   133 cannot locate '_ZN7android7Overlay5setFdEi'...
04-21 11:00:18.601 E/CameraService(133): Could not load camera HAL module
04-21 11:00:48.090 I/talk (911): Refresh the supported camera state
04-21 11:00:48.180 I/talk (911): supported front camera false
04-21 11:00:48.200 I/talk (911): supported front camera false
04-21 11:01:02.494 I/ActivityManager(232): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.camera/.Camera} from pid 465
04-21 11:01:02.644 I/ActivityManager(232): Start proc com.android.camera for activity com.android.camera/.Camera: pid=1287 uid=10007 gids={1006, 1015}
04-21 11:01:02.824 V/CameraHolder(1287): open camera 0
04-21 11:01:02.824 E/CameraService(133): Camera HAL module not loaded
04-21 11:01:02.824 E/CameraHolder(1287): fail to connect Camera
04-21 11:01:02.824 E/CameraHolder(1287): java.lang.RuntimeException: Fail to connect to camera service
04-21 11:01:02.824 E/CameraHolder(1287): at android.hardware.Camera.native_setup(Native Method)
04-21 11:01:02.824 E/CameraHolder(1287): at android.hardware.Camera.<init>(Camera.java:320)
04-21 11:01:02.824 E/CameraHolder(1287): at android.hardware.Camera.open(Camera.java:280)
04-21 11:01:02.824 E/CameraHolder(1287): at com.android.camera.CameraHolder.open(CameraHolder.java:131)
04-21 11:01:02.824 E/CameraHolder(1287): at com.android.camera.Util.openCamera(Util.java:267)
04-21 11:01:02.824 E/CameraHolder(1287): at com.android.camera.Camera$4.run(Camera.java:1118)
04-21 11:01:02.824 E/CameraHolder(1287): at java.lang.Thread.run(Thread.java:856)
04-21 11:01:03.144 V/camera  (1287): surfaceChanged. w=480. h=640
04-21 11:01:03.304 I/ActivityManager(232): Displayed com.android.camera/.Camera: +672ms (total +10s633ms)
Something like this? It's from this kernel.
As you can see, module can't be loaded, because there are missing functions in library 'libcamera.so' (in logcat you can see one, but I bet, there are more).
The Following User Says Thank You to kacperas For This Useful Post: [ Click to Expand ]
 
mav.erik
Old
#19  
Senior Member
Thanks Meter 14
Posts: 124
Join Date: Apr 2012
Quote:
Originally Posted by Rom_Tester View Post
LOL, I dont postet it to install, I postet it to use the sources
No problem... i'm crazy band hope help working for we

Inviato dal mio GT-I9001 con Tapatalk 2
The Following User Says Thank You to mav.erik For This Useful Post: [ Click to Expand ]
 
Kokacrime
Old
#20  
Senior Member
Thanks Meter 35
Posts: 135
Join Date: Mar 2012
Location: Cologne
For me the problem is I don't know where I have to start. Is there any chance I can have a look on the files which are necessary for the camera? Until I have all sources etc.

Tags
camera fix, cyanogenmod, development, don't mess with the best - eat this, f u c k i n g shit, galaxy s plus, ics, im a handsome guy, oisis ftw!, sgs+ cam is shy