Search This thread

texten

Senior Member
Apr 4, 2012
1,309
1,506
whith a new kernel update, we should only try with these files at first:
Code:
[COLOR="Red"][SIZE="2"]from kqb[/SIZE][/COLOR]

[B][COLOR="DarkSlateBlue"]\system\lib\[/COLOR][/B]
liboemcamera.so

[COLOR="DarkSlateBlue"][B]\system\firmware\[/B][/COLOR]
CE147F00.bin
CE147F01.bin
CE147F02.bin
CE147F03.bin

[B][COLOR="DarkSlateBlue"]\system\etc\permissions\[/COLOR][/B]
android.hardware.camera.autofocus.xml

[COLOR="Red"][SIZE="2"]from arco [/SIZE][/COLOR]

(camtest8)
[B][COLOR="DarkSlateBlue"]\system\lib\hw\[/COLOR][/B]
camera.msm7x30.so

(camtest8)
[B][COLOR="DarkSlateBlue"]\system\lib\[/COLOR][/B]
libcamera_client.so
libui.so

[B][COLOR="DarkSlateBlue"]\system\etc\[/COLOR][/B]
media_profiles.xml

this should be the base so far.
 
Last edited:

code2k

Member
Jul 27, 2007
25
34
i have compared cm9 build3 by arco with kqb and uploaded all files which are not included in cm9. if you realy know which files are camera related, tell us!

I don't know if this helps but here are the dependencies of `libcamera.so` of a KPG Rom:

Code:
libcamera.so
 libutils.so
  libz.so
   libm.so
  liblog.so
   libm.so
  libcutils.so
   liblog.so
   libm.so
  libm.so
 libui.so
  liblog.so
   libm.so
  libcutils.so
   liblog.so
   libm.so
  libutils.so
   libz.so
   liblog.so
   libcutils.so
   libm.so
  libEGL.so
   liblog.so
   libcutils.so
   libutils.so
   libm.so
  libbinder.so
   liblog.so
   libcutils.so
   libutils.so
   libm.so
  libpixelflinger.so
   liblog.so
   libcutils.so
   libhardware_legacy.so
   libm.so
  libhardware.so
   liblog.so
   libcutils.so
   libm.so
  libhardware_legacy.so
   libutils.so
   libbinder.so
   liblog.so
   libcutils.so
   libwpa_client.so
   libnetutils.so
   libm.so
  libm.so
 libcamera_client.so
  liblog.so
   libm.so
  libcutils.so
   liblog.so
   libm.so
  libutils.so
   libz.so
   liblog.so
   libcutils.so
   libm.so
  libbinder.so
   liblog.so
   libcutils.so
   libutils.so
   libm.so
  libhardware.so
   liblog.so
   libcutils.so
   libm.so
  libsurfaceflinger_client.so
   liblog.so
   libcutils.so
   libutils.so
   libbinder.so
   libhardware.so
   libui.so
   libm.so
  libui.so
   liblog.so
   libcutils.so
   libutils.so
   libEGL.so
   libbinder.so
   libpixelflinger.so
   libhardware.so
   libhardware_legacy.so
   libm.so
  libm.so
 liblog.so
  libm.so
 libcutils.so
  liblog.so
   libm.so
  libm.so
 libmmipl.so
  liblog.so
   libm.so
  libcutils.so
   liblog.so
   libm.so
  libm.so
 libbinder.so
  liblog.so
   libm.so
  libcutils.so
   liblog.so
   libm.so
  libutils.so
   libz.so
   liblog.so
   libcutils.so
   libm.so
  libm.so
 libs3cjpeg.so
  liblog.so
   libm.so
  libm.so
 libm.so

I'm not yet allowed to post external links here but you can find my script which I used to generate this on github: hxxp://gist.github.com/2858794
 

texten

Senior Member
Apr 4, 2012
1,309
1,506

I don't know if this helps but here are the dependencies of `libcamera.so` of a KPG Rom:

Code:
libcamera.so
 libutils.so
  libz.so
   libm.so
  liblog.so
   libm.so
  libcutils.so
   liblog.so
   libm.so
  libm.so
 libui.so
  liblog.so
   libm.so
  libcutils.so
   liblog.so
   libm.so
  libutils.so
   libz.so
   liblog.so
   libcutils.so
   libm.so
  libEGL.so
   liblog.so
   libcutils.so
   libutils.so
   libm.so
  libbinder.so
   liblog.so
   libcutils.so
   libutils.so
   libm.so
  libpixelflinger.so
   liblog.so
   libcutils.so
   libhardware_legacy.so
   libm.so
  libhardware.so
   liblog.so
   libcutils.so
   libm.so
  libhardware_legacy.so
   libutils.so
   libbinder.so
   liblog.so
   libcutils.so
   libwpa_client.so
   libnetutils.so
   libm.so
  libm.so
 libcamera_client.so
  liblog.so
   libm.so
  libcutils.so
   liblog.so
   libm.so
  libutils.so
   libz.so
   liblog.so
   libcutils.so
   libm.so
  libbinder.so
   liblog.so
   libcutils.so
   libutils.so
   libm.so
  libhardware.so
   liblog.so
   libcutils.so
   libm.so
  libsurfaceflinger_client.so
   liblog.so
   libcutils.so
   libutils.so
   libbinder.so
   libhardware.so
   libui.so
   libm.so
  libui.so
   liblog.so
   libcutils.so
   libutils.so
   libEGL.so
   libbinder.so
   libpixelflinger.so
   libhardware.so
   libhardware_legacy.so
   libm.so
  libm.so
 liblog.so
  libm.so
 libcutils.so
  liblog.so
   libm.so
  libm.so
 libmmipl.so
  liblog.so
   libm.so
  libcutils.so
   liblog.so
   libm.so
  libm.so
 libbinder.so
  liblog.so
   libm.so
  libcutils.so
   liblog.so
   libm.so
  libutils.so
   libz.so
   liblog.so
   libcutils.so
   libm.so
  libm.so
 libs3cjpeg.so
  liblog.so
   libm.so
  libm.so
 libm.so

I'm not yet allowed to post external links here but you can find my script which I used to generate this on github: http://gist.github.com/2858794


can someone with linux do the same with "liboemcamera.so" in xxkqb stock rom

oisis?

full kqb system folder:
KQBsystem.zip



thank you
 
Last edited:

code2k

Member
Jul 27, 2007
25
34
can someone with linux do the same with "liboemcamera.so" in xxkqb stock rom

oisis?

i am uploading the system folder of kqb right now

will edit this post with the link


thank you

Here is the result from textens Gigabread rom for liboemcamera.so:

Code:
liboemcamera.so
 liblog.so
  libm.so
 libcutils.so
  liblog.so
   libm.so
  libm.so
 libmmjpeg.so
  liblog.so
   libm.so
  libcutils.so
   liblog.so
   libm.so
  libgemini.so
   liblog.so
   libcutils.so
   libm.so
  libm.so
 libmmipl.so
  liblog.so
   libm.so
  libcutils.so
   liblog.so
   libm.so
  libm.so
 libm.so
 

texten

Senior Member
Apr 4, 2012
1,309
1,506
Here is the result from textens Gigabread rom for liboemcamera.so:

Code:
liboemcamera.so
 liblog.so
  libm.so
 libcutils.so
  liblog.so
   libm.so
  libm.so
 libmmjpeg.so
  liblog.so
   libm.so
  libcutils.so
   liblog.so
   libm.so
  libgemini.so
   liblog.so
   libcutils.so
   libm.so
  libm.so
 libmmipl.so
  liblog.so
   libm.so
  libcutils.so
   liblog.so
   libm.so
  libm.so
 libm.so

thanks, i will compare with cm9, which files are not included there

edit: all files are included in cm9 except liboemcamera.so, so we should try to replace some cm9 files with kqb files.
in fact, i know so far, if you replace libm.so or libmmjpeg.so you will stuck on bootlogo

with this as base:

Code:
[COLOR="Red"][SIZE="2"]from kqb[/SIZE][/COLOR]

[B][COLOR="DarkSlateBlue"]\system\lib\[/COLOR][/B]
liboemcamera.so

[COLOR="DarkSlateBlue"][B]\system\firmware\[/B][/COLOR]
CE147F00.bin
CE147F01.bin
CE147F02.bin
CE147F03.bin

[B][COLOR="DarkSlateBlue"]\system\etc\permissions\[/COLOR][/B]
android.hardware.camera.autofocus.xml

[COLOR="Red"][SIZE="2"]from arco [/SIZE][/COLOR]

(camtest8)
[B][COLOR="DarkSlateBlue"]\system\lib\hw\[/COLOR][/B]
camera.msm7x30.so

(camtest8)
[B][COLOR="DarkSlateBlue"]\system\lib\[/COLOR][/B]
libcamera_client.so
libui.so

(git hub 02.jun2012)
[B][COLOR="DarkSlateBlue"]\system\etc\[/COLOR][/B]
media_profiles.xml
 
Last edited:
  • Like
Reactions: genericmann

texten

Senior Member
Apr 4, 2012
1,309
1,506
here is the camtest base...

you need a cm9 and recovery by arco
without any of the camera_experimental files

install this via cwm, wipe cache and dalvik, fix permissions, reboot..


the camera is not working only with this base,
but you can try to add/replace other files in cm9 with kqb files...

logcats will be nice


edit: fixed error in updater-script
 

Attachments

  • camtest_base.zip
    1,006.6 KB · Views: 138
Last edited:

texten

Senior Member
Apr 4, 2012
1,309
1,506
ok, now i have a new knowledge about ics roms, here is the new base for camtests:

probably, we don't need the firmware folder. we will see.

Code:
[B][COLOR="Red"][SIZE="2"]from kqb[/SIZE][/COLOR][/B]

[B][COLOR="DarkSlateBlue"]\system\lib\[/COLOR][/B]
liboemcamera.so

[COLOR="DarkSlateBlue"][B]\system\firmware\[/B][/COLOR]
CE147F00.bin
CE147F01.bin
CE147F02.bin
CE147F03.bin

[B][COLOR="DarkSlateBlue"]\system\etc\permissions\[/COLOR][/B]
android.hardware.camera.autofocus.xml

[B][COLOR="Red"][SIZE="2"]from arco [/SIZE][/COLOR][/B]

(camtest8)
[B][COLOR="DarkSlateBlue"]\system\lib\hw\[/COLOR][/B]
camera.msm7x30.so

(camtest8)
[B][COLOR="DarkSlateBlue"]\system\lib\[/COLOR][/B]
libcamera_client.so
libui.so

(git hub 02.jun2012)
[B][COLOR="DarkSlateBlue"]\system\etc\[/COLOR][/B]
media_profiles.xml

[B][COLOR="Red"][SIZE="2"]from android 4[/SIZE][/COLOR][/B]

[B][COLOR="DarkSlateBlue"]\system\lib\[/COLOR][/B]
libOMX.SEC.AVC.Decoder.aries.so
libOMX.SEC.AVC.Encoder.aries.so
libOMX.SEC.M4V.Decoder.aries.so
libOMX.SEC.M4V.Encoder.aries.so
libSEC_OMX_Core.aries.so

you need a cm9 and recovery by arco
without any of the camera_experimental files


install this via cwm, wipe cache and dalvik, fix permissions, reboot..


the camera is not working only with this base,
but you can try to add/replace other files in cm9 with kqb files...

logcats will be nice
 

Attachments

  • camtest_base1.zip
    1.1 MB · Views: 29
Last edited:

oisis

Senior Member
Oct 9, 2008
1,251
2,095
Out of nowhere
(sorry for fourfold post :eek: )


here is a logcat with clean cm9 build3 and camtest_base1.zip

still need kernel update -

this is interesting
[Dev] ICS Camera Driver Development

I came back :). Can you check these files? I think they are necessary for camera. Files are from stock rom, you can try to mix them with Arco camtest8.zip. Logcat will be nice.

I now have less time, i'm trying something bigger related to camera. Thanks.


EDIT1:
I forgot about some files. Split camera-test-0.1 and camera-test-0.1-patch-0.1.zip and give it a try. U can use also my karnel without WiFi.
 

Attachments

  • camera-test-0.1-patch-0.1.tar.gz
    369 bytes · Views: 15
Last edited:

texten

Senior Member
Apr 4, 2012
1,309
1,506
I came back :). Can you check these files? I think they are necessary for camera. Files are from stock rom, you can try to mix them with Arco camtest8.zip. Logcat will be nice.

I now have less time, i'm trying something bigger related to camera. Thanks.

i will try some more things, but i am really sure we need a kernel update. without a new kernel the camera will give fc's

now i will restore the backup, where i have included all missing kqb files, and replace the files from italian guy...

after that i will test with your files.

edit: ok here is a logcat where i have added ALL missing files from kqb and the camtest_base1.zip

you can see there are exactly the same errors, as before..
it's because of the kernel.
without a kernel update we can't go to further tests.

the most necessary file is the liboemcamera.so.
this files is for our cam, but this file need changes on the kernel / audio and camera drivers
 

Attachments

  • logcat001.txt
    253.1 KB · Views: 5
Last edited:

texten

Senior Member
Apr 4, 2012
1,309
1,506
Is arco working on it?

Gesendet von meinem GT-I9001 mit Tapatalk

arco did many changes on the kernel last days, but i dont know when he can give us a update

edit: i have found in arcos git hub, that he has included another file as/for liboemcamera.so (?)

i will try this: https://github.com/arco/android_vendor_samsung_ancora/commit/11fbbae00fd6d22a591b80eb9ba14f7c9ce2e87f

edit2: not working. i think we should wait for a new update from arco. without the latest kernel changes from github, our cam will not work.
 
Last edited:

texten

Senior Member
Apr 4, 2012
1,309
1,506
What are the changes we need in the kernel?

changes on camera and audio driver



edit: for now we can check why we get errors like these:

Code:
E/AndroidRuntime( 1022): FATAL EXCEPTION: Thread-76

E/AndroidRuntime( 1022): java.lang.RuntimeException: setParameters failed

E/AndroidRuntime( 1022): 	at android.hardware.Camera.native_setParameters(Native Method)

E/AndroidRuntime( 1022): 	at android.hardware.Camera.setParameters(Camera.java:1423)

E/AndroidRuntime( 1022): 	at com.android.camera.Camera.setCameraParameters(Camera.java:2251)

E/AndroidRuntime( 1022): 	at com.android.camera.Camera.startPreview(Camera.java:2017)

E/AndroidRuntime( 1022): 	at com.android.camera.Camera.access$3400(Camera.java:86)

E/AndroidRuntime( 1022): 	at com.android.camera.Camera$5.run(Camera.java:1157)

E/AndroidRuntime( 1022): 	at java.lang.Thread.run(Thread.java:856)
 
Last edited:

oisis

Senior Member
Oct 9, 2008
1,251
2,095
Out of nowhere
changes on camera and audio driver



edit: for now we can check why we get errors like these:

Code:
E/AndroidRuntime( 1022): FATAL EXCEPTION: Thread-76

E/AndroidRuntime( 1022): java.lang.RuntimeException: setParameters failed

E/AndroidRuntime( 1022): 	at android.hardware.Camera.native_setParameters(Native Method)

E/AndroidRuntime( 1022): 	at android.hardware.Camera.setParameters(Camera.java:1423)

E/AndroidRuntime( 1022): 	at com.android.camera.Camera.setCameraParameters(Camera.java:2251)

E/AndroidRuntime( 1022): 	at com.android.camera.Camera.startPreview(Camera.java:2017)

E/AndroidRuntime( 1022): 	at com.android.camera.Camera.access$3400(Camera.java:86)

E/AndroidRuntime( 1022): 	at com.android.camera.Camera$5.run(Camera.java:1157)

E/AndroidRuntime( 1022): 	at java.lang.Thread.run(Thread.java:856)

I think you should add files from my zip camera-test-0.1-patch-0.1.zip :)
 

texten

Senior Member
Apr 4, 2012
1,309
1,506
I think you should add files from my zip camera-test-0.1-patch-0.1.zip :)

i have installed camtest_base1.zip and these files:

Code:
[B][COLOR="Red"]from arco[/COLOR][/B]

(github 01.jun2012)
[B]/system/lib/[/B]
libcamera.so

[B][COLOR="Red"]from kqb:[/COLOR][/B]

[B]/system/lib/[/B]
libseccamera.so
libseccameraadaptor.so
libsecjpegencoder.so
libsec-ril.so
libsecril-client.so

[B]/system/etc/permissions/[/B]
sec_feature.xml
sec_hardware_library.xml
seccamera.xml

[B]/system/framework/[/B]
sec_feature.jar
seccamera.jar
sechardware.jar

but still the same java errors
 
Last edited:

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.