Search This thread

texten

Senior Member
Apr 4, 2012
1,309
1,506
note: these files are provided with no warrenty. you are installing it at your own risk!


instructions:

1. you will need cm9 by arco68 (alpha build 5) and a ics recovery
2. wipe dalvik cache
3. wipe cache
4. install latest camfix
5. fix permissions


download:

http://xdaforums.com/showpost.php?p=29459177&postcount=1568


bugs:

-fc after taking 5 photos
-videorecording in hd (720px) is not working

-------------------------------------------------------------------

if you want to report some bugs, do it!
but follow some rules. post step by step what you did and attach a logcat.
[WIKI I9001 - HOW TO REPORT BUGS]





3698430XDArules.gif


thanks to ivendor, mirred, grabber28, vpupkin, oisis, arco68 and all testers


(will add more informations soon)
 
Last edited:

vpupkin

Senior Member
Apr 5, 2009
60
321
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.
 

AndrolinRoot

Senior Member
Apr 7, 2012
2,149
2,891
>>>>Ansbach<<<<
carbonrom.ca.ohost.de
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.
welcome back!!! privet ukraina!
 
  • Like
Reactions: _H3CKER_

Keinbockwurst

Senior Member
Mar 7, 2011
563
248
Where can we get some coders to get our camera working? Or to support vpupkin?

Gesendet von meinem GT-I9001 mit Tapatalk
 

Keinbockwurst

Senior Member
Mar 7, 2011
563
248
So we just need a camera driver that is starting now to start programming with it? :)

Gesendet von meinem GT-I9001 mit Tapatalk
 

Mirceabadea

Senior Member
Apr 19, 2012
127
40
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. :D

Welcome back !
 

mav.erik

Senior Member
Apr 28, 2012
136
15
I try install driver galaxy ace.... aborted... driver Universal... aborted... now try motorola... wait...

Inviato dal mio GT-I9001 con Tapatalk 2
 

saperkus

Senior Member
Dec 16, 2010
55
39
Somewhere
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).
 
  • Like
Reactions: Keinbockwurst

Kokacrime

Senior Member
Mar 4, 2012
183
62
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.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 60
    note: these files are provided with no warrenty. you are installing it at your own risk!


    instructions:

    1. you will need cm9 by arco68 (alpha build 5) and a ics recovery
    2. wipe dalvik cache
    3. wipe cache
    4. install latest camfix
    5. fix permissions


    download:

    http://xdaforums.com/showpost.php?p=29459177&postcount=1568


    bugs:

    -fc after taking 5 photos
    -videorecording in hd (720px) is not working

    -------------------------------------------------------------------

    if you want to report some bugs, do it!
    but follow some rules. post step by step what you did and attach a logcat.
    [WIKI I9001 - HOW TO REPORT BUGS]





    3698430XDArules.gif


    thanks to ivendor, mirred, grabber28, vpupkin, oisis, arco68 and all testers


    (will add more informations soon)
    47
    Update: Front-camera take picture works.

    Remain:
    -problem with orientation in front camera
    -crash with some settings
    -video 720p

    Attached zip.
    46
    I have been doing some testing (I really care about deep sleep more than camera, honestly),

    With ivendor kernel (2.6.35.7-cyanogenmod+tiziano@tiziano-ubuntu #3) and stock camera app, back cam does work, 480p video recording and panoramic photo works too.
    Unfortunately, front cam does not take photo, only video.
    Phone enters deep sleep state, but Wifi is not working. So I installed another kernel.

    With oisis kernel aokp pre11e (2.6.35.14-aokp-v3-OiSiS oisis@localhost #1) and stock camera app, same as the ivendor kernel, but Wifi is working, so Im sticking to this kernel ATM.

    The strange this is, with latest ivendor kernel, front cam is taking photo (the only bugs are fc after 5 photos and 720p video record not working).
    With this kernel phone does not enter deep sleep state,

    Hope this helps.

    I' will test it with my new i9001, i've ordered tonight on amazon... be patient next weekend more udpates!
    39
    Lastest patch:

    -Revised exposure values for cameras (avoid crash front camera on set exposure value)
    -Fix rotation issue of front camera

    Remain:
    -Crash after taking 5 photos
    -720p video
    32
    This patch should resolve orientation bug.