yashsingh1/xdaforums huggingface dataset:
[Galaxy S Plus I9001 Android Development] oisis:
The best way is to look for camera.ariesve.so or maybe camera.msm7x30.so.
[Galaxy S Plus I9001 Android Development] :
I think aries is device name for I9000, ariesve for I9001, ancora for I8150 and so on. Don't think that any other device will have camera.ariesve.so

Looks for me like a device specific lib file.

Maybe camera.msm7x30.so can be found somwhere.
[Galaxy S Plus I9001 Android Development] texten:
here is everything what i have found in this port cm9

edit: i don't know what files we will need for a test, can someone check and reupload only with needed files?
[Galaxy S Plus I9001 Android Development] oisis:
Can I get file: /system/etc/media_profile.xml from GB with working camera? Thanks.
[Galaxy S Plus I9001 Android Development] texten:
edit: sorry my mistake

here it is
[Galaxy S Plus I9001 Android Development] wuhaoyu1990:
thanks

but I think it is useless

It's camera is 8000000 pixel and has a flash lamp

same CPU or others doesn't mean same camera

sorry for my poor english
[Galaxy S Plus I9001 Android Development] oisis:
I would like to check camera section in GB and ICS. I think should be same but hard to say if you checking on phone :(. In this file you can configure camera. In one oldest log was something about configuration and a lot stuff was working. So for me it is interesting.
[Galaxy S Plus I9001 Android Development] texten:
big thanks for your work. oises have already done and shared the needed files.

please check some few posts before and try the files with cm9 and oises kernel 2 , make a logcat, thanks
[Galaxy S Plus I9001 Android Development] umb3rts:
Woah, well i've tryed. :<

I'll finish upload them just in case they will be used in future. (:
[Galaxy S Plus I9001 Android Development] texten:
good job :)
[Galaxy S Plus I9001 Android Development] umb3rts:
Edited post, hope it's useful. I'll continue help if needed :D
[Galaxy S Plus I9001 Android Development] texten:
i would click the thanks button, but there is this text "Sorry, you are limited to 8 thanks per day". so i hope anybody else will click for your effort
[Galaxy S Plus I9001 Android Development] oisis:
Have seen all logs, the best shot/combination was at 276 post from Grabber28, when you can see in logs that HAL cannot connect with camera or something like that(i don't remember full message now) there is nothing to debug, nothing interesting in logs.

You can try with kernel-02 and libs form HT HD2 wrapper or last Arco libs and try to add firmware or something like that. We need all possible information, maybe will be usefull for Arco, don't know :).
[Galaxy S Plus I9001 Android Development] texten:
you have tried with gb files, but what about cm7 files? from this post: [Development] cm7 & AOSP 2.3.7 Beta

edit1: i will look at this and upload some useful files.

because i have restored my old gingerbread, can't test at this moment
[Galaxy S Plus I9001 Android Development] oisis:
We need files from ICS only except binary firmware maybe, some text settings files, if it is possible to use GB files the problem will not exist :).
[Galaxy S Plus I9001 Android Development] texten:
yes i know, that we could use the libs, but you have tried with xml and firmware. so i put everything what i have found in the rar..

ah i have forgotten the media profile. will reupload here:

can someone test with firmware files in that rar and make a logcat... push the firmware files, set permissions, reboot, start camera, close camera - make logcat... thanks
[Galaxy S Plus I9001 Android Development] fender90:
This is what the italian guy posted on our forum.

Before taking picture: http://imageshack.us/photo/photo/835/screenshot2012052218370.png/

After taking picture;

http://imageshack.us/photo/photo/100/screenshot2012052219142.png/

I just asked him if he's touched something in system files.

Edit: it's on a Galaxy Wonder.
[Galaxy S Plus I9001 Android Development] oisis:
looks interesting, we need few informations and files from him.

1. Android version

2. Kernel version

3. All files from: /system/libs

4. Binary firmware files - if he used any

5. Maybe this:

adb shell lsmod

adb shell uname -a
[Galaxy S Plus I9001 Android Development] fender90:
He told me he flashed CM9 starting from a XXLM8 base, then flashed Reloaded MOD (it's a status bar mod), Bravia Engine (this might be interesting, what does that mod actually touch? I never tried it even on GB.), touch screen improvement.

He said he also installed some other mods he will list later on.

Unfortunately he's a noob, so no way he's gonna do anything with adb shell, and also no way he messed with the firmware binaries.

I'll try to get every piece of information I can from him anyway :D

Edit: I might as well convince him to send me a full Nandroid backup if we can't get anything useful in third person.

Edit n.2: Android version 4.0.4

Kernel 2.6.35.14k@- cyanogenmod

arco@tuxbox #1

He's uploading /system/libs
[Galaxy S Plus I9001 Android Development] texten:
where is that file attached?

---------- Post added at 09:55 PM ---------- Previous post was at 09:51 PM ----------

yes, he should make a

nandroid backup

and upload the boot.img and system.ext4.tar
[Galaxy S Plus I9001 Android Development] oisis:
Backup from CWM will be the best :).

I posted link only to HTC HD HAL wrapper.
[Galaxy S Plus I9001 Android Development] fender90:
Are boot and system partitions enough or should I get him to upload the whole phone?
[Galaxy S Plus I9001 Android Development] texten:
super, thanks

it is enough, all other is personal data
[Galaxy S Plus I9001 Android Development] projeto56:
It's a shame i can only thank 8 times a day.

I wish i could thank everyone in this topic *-*
[Galaxy S Plus I9001 Android Development] gezze:
hey there

i have now sent an email to samsung support requesting an coder to help us at least with the camera... lets wait if they answer

btw i will join testers of ics, just give me manuals how to test new combinations
[Galaxy S Plus I9001 Android Development] androabot:
But this is from Galaxy W

Model : GT-I8150

PDA : I8150XXLM8

CSC : I8150OXXLC2
[Galaxy S Plus I9001 Android Development] texten:
here are all files you need.

flash cm9 flash kernel oises 2

and for the first test you can try this

or some other people can test this^

or test with this: HTC HD HALWrapper

we need always a logcat. with the same steps: install the files, set permissions, reboot, start cam, close cam > logcat
[Galaxy S Plus I9001 Android Development] gezze:
ok kernel, no problem but where to bit camera files and hal wrapper ?
[Galaxy S Plus I9001 Android Development] texten:
the files that they say you. in my example the files in the folder "firmware"..

extract the attached rar, look into the folder "firmware push the files to /system/firmware, set permissions, like all other files there.. reboot, start cam, close cam and make a logcat
[Galaxy S Plus I9001 Android Development] gezze:
i am not sure but can i copy them if phone connected to pc or must i use rootexplorer ?
[Galaxy S Plus I9001 Android Development] texten:
rootexplorer or adb shell, because you have to set permissions.
[Galaxy S Plus I9001 Android Development] fender90:
So, he uploaded boot.img and lib.zip.

Hope you can download them. He's still uploading the system folder.
[Galaxy S Plus I9001 Android Development] texten:
just to be sure, he has an galaxy S PLUS?

because, why he flashed XXLM8 ? its for galaxy w
[Galaxy S Plus I9001 Android Development] fender90:
As I stated in my first post, all of this happens on a Galaxy Wonder :)
[Galaxy S Plus I9001 Android Development] texten:
ah you mean galaxy W (like Wonder)

we need the system.ext4.tar :p
[Galaxy S Plus I9001 Android Development] oisis:
Can you ask him about /proc/config.gz? Thanks.

Kernel should be like in i9001 because it is Arco kernel but anyway i would like to check config.
[Galaxy S Plus I9001 Android Development] fender90:
I'll post it in this very post tomorrow, now need to go to bed because I have an exam in the morning.

I'll also post logcats after reproducing everything he did :)
[Galaxy S Plus I9001 Android Development] oisis:
One more question: he made only once photo or he can do one photo and then FC everytime?
[Galaxy S Plus I9001 Android Development] Keinbockwurst:
i think he only sees the screen filled with the camera picture, but when he makes a photo it fc
[Galaxy S Plus I9001 Android Development] oisis:
Ok, but only once it happens or he can replay this situation?
[Galaxy S Plus I9001 Android Development] Phoenix Fire:
With the first flash he had this situation all the times he use camera.

Then he flash miui and camera doesn't function. after that i reflashed cm9 and now sometimes he saw thing in the screen and other times camera app had FC

sorry for the english
[Galaxy S Plus I9001 Android Development] texten:
strange, because the camera is official not working in that build http://xdaforums.com/showthread.php?t=1576874

so i think the reason for that could be some addons/tweaks...

maybe he has added some modified libs

or some build.prop tweaks for quality of image/video recording

or general graphic tweaks, like sony bravia engine f.e.

or he has modified camera.apk for new media profiles...
[Galaxy S Plus I9001 Android Development] fender90:
He installed the Bravia Engine mod and modified build.prop to use S Voice.

Here is config.gz.

He said he can reproduce that bug from time to time, sometimes it just can't connect to the camera and sometimes he sees the image but can't shoot.
[Galaxy S Plus I9001 Android Development] UpGado:
First,I'm am not a developer ,but i'd like to help them with camera

i have an idea to have the camera working,

We can modify (or make) camera app which communicates directly with libcamera.so which communicates with Gingerbread working Kernel Drivers (which we will compile into ics kernel) with this method we even don't need HAL but we use Gingerbread camera drivers (maybe cm7)

I know it's a crazy idea, but i see it may work
[Galaxy S Plus I9001 Android Development] :
This will be ok for only taking pictures. But what's with other threads like video calls, skipe and so on. Should they be modified also, or do they call camera.apk also?
[Galaxy S Plus I9001 Android Development] fender90:
Well, being able to take pictures would be a good step forward to begin with.

I'll look into it after having tried to reproduce the thing the italian guy did.

Inviato dal mio GT-I8150 con Tapatalk 2
[Galaxy S Plus I9001 Android Development] oisis:
It will be good idea, try to collect all files with updates and remeber order of installations.
[Galaxy S Plus I9001 Android Development] UpGado:
Well, this will work only in modified apps, because normal apps call HAL which isn't working .
[Galaxy S Plus I9001 Android Development] oisis:
Check this post and this one. Here HAL is working, correct me. So maybe we can try this combination and special Camera.apk. Similiar solution is in thread with HTC HD HAL wrapper. They have also rebuilded Camera.apk.
[Galaxy S Plus I9001 Android Development] UpGado:
I agree with you HAL is working but it has problems :) we can't use it
[Galaxy S Plus I9001 Android Development] :
Don't know if HAL or drivers are still the problem. As you can see in my logs (e.g. post 276) a few parameters are not correct set. It would be a big deal if anybody has knowledge where this settings are made, or in which file they are stored.
[Galaxy S Plus I9001 Android Development] oisis:
I think the problem is with files:

/system/lib/libcamera.so

and with?:

/system/lib/hw/camera.ariesve.so

Arco's working on them now, you can get sources on his github. You can check parameters in lib by typing in linux:

string ./libcamera.so | grep magic

or something like that. Then you have to take a look in lib and HAL sources.

We are still waiting for system.img from this Italian guy.
[Galaxy S Plus I9001 Android Development] Bongerz_0522:
I tried this Combination and here is my logcat. Hope it helps.

1. update-oisis-02

2. I copied some files from DHD here http://code.google.com/p/aospx/downloads/list I think it's from May 3 release

Only this Combination I dont get HAL not loaded..
[Galaxy S Plus I9001 Android Development] oisis:
Could you try one more time with this Camera.apk.

Put this file in /system/app/

chmod 644 /system/app/Camera.apk

reboot phone

make test and post logcat. Thanks.

I think we need also moded Camera.apk too. Wont to compare this two logs.

EDIT1:

Can you also try with Camera.apk from DHD(ROM from libs are)?

EDIT2:

This phone is interesting Sony-Ericsson Xperia Play CDMA: Adreno 205 GPU, Qualcomm MSM8255 Snapdragon
[Galaxy S Plus I9001 Android Development] Bongerz_0522:
Same output can't connect to the camera. here's my logcat.

note: my bootanimation turns pure white, I dont know which lib file affects that. but its not a prob as long as itt is booting up.

Edit I also tried to rip camera.apk from DHD but it says cant parse..... (sorry i cant remember the exact message). I'll try again later..
[Galaxy S Plus I9001 Android Development] oisis:
Could you move backCamera.apk to SDcard and change the name because i found something like that:

W/PackageManager( 236): Trying to update system app code path from /system/app/backCamera.apk to /system/app/Camera.apk

in log and it can mean that system restored Camera.apk from backCamera.apk and you are still using old app :). Can be wrong :).
[Galaxy S Plus I9001 Android Development] Bongerz_0522:
Ok... Moved to SD Card. and here is the logcat.

I thinks here is 1 significant chane on logcat

I/Launcher.Model( 489): not binding apps: no Launcher activity
[Galaxy S Plus I9001 Android Development] donlecho:
Why driver is on adreno 200 in CM9? I9001 have adreno 205

D/libEGL ( 139): loaded /system/lib/egl/libGLES_android.so

D/libEGL ( 139): loaded /system/lib/egl/libEGL_adreno200.so

D/libEGL ( 139): loaded /system/lib/egl/libGLESv1_CM_adreno200.so

D/libEGL ( 139): loaded /system/lib/egl/libGLESv2_adreno200.so
[Galaxy S Plus I9001 Android Development] oisis:
Are you sure that /system/app/Camera.apk is from me? Can you post full logcat? Thanks.

EDIT1:

For tests: Adreno205 drivers.
[Galaxy S Plus I9001 Android Development] :
I tried this some weeks ago, never got closer than this.

http://xdaforums.com/showpost.php?p=25105679&postcount=2219

This was with drivers from I9003, logcat included.

This line is interessting:

E/V4L2Camera( 133): ERROR opening V4L interface: No such file or directory

Other source (aries camera on Cyanogen Github)

Finally, at THIS thread, they have a working camera, excluding video recording.
[Galaxy S Plus I9001 Android Development] vpupkin:
Well, if you see

04-21 11:01:02.824 E/CameraService(133): Camera HAL module not loaded

than it's bad driver
[Galaxy S Plus I9001 Android Development] uberto.costanzo:
i have change lib, hw, and camera.apk from galaxy sl but not work, same problem. bye
[Galaxy S Plus I9001 Android Development] mav.erik:
vpupkin we are all with you and if you need testers to do testing there so I have all my overwhelming support :)
[Galaxy S Plus I9001 Android Development] oisis:
I used to have such cases with Linux, that I wanted to load a module compiled on different compiler version/different computer than mine and they could not be loaded into the kernel. So perhaps it is worth looking for driver sources and compile the kernel with the drivers and then test?

Maybe there is a way to increase higher debug mode in order to obtain more information from the logs?

Right now i compiling CM9 ICS by Arco(vpupkin tutorial), I think this is the first step to start working on the camera driver. As I have compiled CM9 then I can try to add the driver sources and HAL implementation, and then recompile everything together and test.

EDIT1:

And one more important thing, the modules should be compiled into the same kernel version like Arco kernel if you want to try to load them.

EDIT2:

I just finished compiling CM9 ICS, some interesting informations:

Hardware:

RAM: 3GB

CPU: Intel(R) Core(TM)2 Duo CPU T7500@2.20GHz

HDD: needs ~23GB free space

Build time: ~3hr

Output: update-cm-nightly-signed.zip - 77MB, update-cm-nightly-signed.zip.md5sum

If somebody would like to test my build just send me PM.

EDIT3:

It is booting, no luncher, no google apps so need to install first google apps and then luncher from Google Play.

Thanks to: Arco and vpupkin.
[Galaxy S Plus I9001 Android Development] oisis:
Found some interesting links for camera and HAL developers:

- ICS Camera HAL for 2.6 kernel

- ICS Camera Driver Development

EDIT1:

Some logcat from my build:

V/CameraHolder( 1607): open camera 0
E/CameraService( 122): Camera HAL module not loaded
E/CameraHolder( 1607): fail to connect Camera
E/CameraHolder( 1607): java.lang.RuntimeException: Fail to connect to camera service
E/CameraHolder( 1607): at android.hardware.Camera.native_setup(Native Method)
E/CameraHolder( 1607): at android.hardware.Camera.<init>(Camera.java:320)
E/CameraHolder( 1607): at android.hardware.Camera.open(Camera.java:280)
E/CameraHolder( 1607): at com.android.camera.CameraHolder.open(CameraHolder.java:131)
E/CameraHolder( 1607): at com.android.camera.Util.openCamera(Util.java:267)
E/CameraHolder( 1607): at com.android.camera.Camera$4.run(Camera.java:1145)
E/CameraHolder( 1607): at java.lang.Thread.run(Thread.java:856)
[Galaxy S Plus I9001 Android Development] androabot:
I've seen in all my tests with different Camera Hal, always

you need to rename to camera.ariesve.so and reboot to take this library.

Of all the ones I tried, the better that works is from galaxy sl.

But I think it will only work if we compile the wrapper with the original library.
[Galaxy S Plus I9001 Android Development] oisis:
So maybe we have to make some changes in HAL sources and include drivers from GB, look on 2 link.

---------- Post added at 08:51 PM ---------- Previous post was at 07:54 PM ----------

For me interesting is this row:

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'...

Somebody has Arco's kernel form this post?
[Galaxy S Plus I9001 Android Development] Keinbockwurst:
Maybe u can PM him and ask if he still has that file.
[Galaxy S Plus I9001 Android Development] oisis:
Arco's PM is not working :).
[Galaxy S Plus I9001 Android Development] Keinbockwurst:
Damn, I will ask if someone of my german forum still has the mentioned files and report here.
[Galaxy S Plus I9001 Android Development] Daniel.96:
Maybe I have the file on my pc, I have downloaded almost every update. I will look for it tomorrow ;)
[Galaxy S Plus I9001 Android Development] vpupkin:
just build everything as "brunch cm_ariesve-userdebug" - it solves problem with launcher absence
[Galaxy S Plus I9001 Android Development] oisis:
It was only a test build so I do not need luncher :).

Do you know how to increase Android logging mode. The point is that the logs were more verbose. I am thinking how to bit camera :). Current logs do not say too much to me. I would like to use a tool such as ldd or read something from verbose logs.

EDIT1:

Can somebody post camera chipset model?
[Galaxy S Plus I9001 Android Development] :
Chipset? Phone chipset is MSM8255T

Some people say it is the same camera as in I9000.

Link
[Galaxy S Plus I9001 Android Development] Karls0:
Chipset model from service manual:

QCA01 ASSY CAMERA-5M/VGA MODULE(GT-I9001) GH96-05145A

Camera in i9000 is not the same.

Here is the link to this manual:

http://letitbit.net/download/90518.93ca3cbea53083b602c2ba47eb02/Samsung_i9001_sm.rar.html
[Galaxy S Plus I9001 Android Development] :
Maybee found another LINK for researching.
[Galaxy S Plus I9001 Android Development] oisis:
Thanks for link to service manual, will be useful for people :).

EDIT1:

I think that we have exactly Panasonic HDC-700 chipset in i9001.

We can check this:

- Nokia N9 ICS
[Galaxy S Plus I9001 Android Development] seba2121:
N9 have 8MPx we have 5MPx

Sorry for my english.

Napisane z SGS+ CyanogenMod 9
[Galaxy S Plus I9001 Android Development] oisis:
I found interesting link:

am start -n com.android.camera/com.android.camera.Camera

it will help to debug camera. We can run process from adb shell and then connect with some debugger and check what is going on. I looking for some way to get more verbose logs from process.
[Galaxy S Plus I9001 Android Development] Bongerz_0522:
yes that's your apk. i didnt notice that i forgot to attach my logcat. Here is another one. but now I use DHD media_profiles.xml

I have to compress it it says it exceeds limit for txt file

Edit: download link for 205 driver is already deleted. Is there another site i can download?
[Galaxy S Plus I9001 Android Development] AndrolinRoot:
Sorry guys that I had left you..

but I must learn for school from Monday to saturday...;) This saturday I come back!:beer::beer::beer:

Edit: great work all!!:beer:
[Galaxy S Plus I9001 Android Development] evemir:
It was always adreno 200. On GB too. It is for series 200 i guess, not model.
[Galaxy S Plus I9001 Android Development] fender90:
Here are all the files I received:

system.ext4.tar

config.gz

boot.img

lib.zip

I'm downloading them now and will make a few tries by thi evening.
[Galaxy S Plus I9001 Android Development] oisis:
I see that he has file: /system/lib/libarccamera.so we don't have it. Arc has ICS with working camera.

Next one: /system/app/Camera.apk
[Galaxy S Plus I9001 Android Development] fender90:
I want to try to restore a backup with those system files, how do I convince CWM to skip the md5 checksum?

Edit: found this method, but meh, I'll just replace the whole folder when it's already flashed :D
[Galaxy S Plus I9001 Android Development] gezze:
so news: they did not yet answer me so i hope they ve send the mail to samsung

lets see what will happen
[Galaxy S Plus I9001 Android Development] silviu_iliescu:
Hi Oisis so are you working on the camera.apk?What do you mean by "Arc has ICS with working camera"?Thank you and good luck with your work!!!Cheers :)
[Galaxy S Plus I9001 Android Development] oisis:
I am not a coder so I'm not working on an application I am trying to get as much information as is possible about the problem. I read on XDA that perhaps in addition to changes in the HAL will also need changed Camera.apk since this application from ICS will be communicating in a different way with HAL than will be needed for wrapper.

Arco is working on HAL code and doing a very good job.
[Galaxy S Plus I9001 Android Development] silviu_iliescu:
Ok man.Thanks for the update in the progress.Good luck to you and to Arco also.Cheers!!!
[Galaxy S Plus I9001 Android Development] shubham412302:
Galaxy s cyqnogenmod camera drivers can work (sorry if i am wrong)
[Galaxy S Plus I9001 Android Development] Bongerz_0522:
I have restored to Original CM9 ROM Build 2 from arco then used libcamera.so, libcamera_client.so, libcameraservice.so from the libs of the Italian Guy. and HAL from camtest8(only the camera.msm7x30.so file)

here is my logcat. HAL successfully loaded, I didn't get this error from before:

E/mm-camera( 142): config_init_ctrl: cam_conf_get_sensor_info failed!

but now I get this:

E/CAM_FD ( 143): cam_conf open driver failed: I/O error!

Hope this will be useful info. I'll try another combo from build 3
[Galaxy S Plus I9001 Android Development] :
Looks like the wrong driver for the cam is used, just as you would try to run a ATI graphics card with NVIDIA driver.
[Galaxy S Plus I9001 Android Development] Bongerz_0522:
Which means we really needs a coder to write a driver for us? or there is another workaround for this?
[Galaxy S Plus I9001 Android Development] oisis:
Maybe you can try with binary drivers? I see in logs that everything that is loading is beacuse Arco camtest8, files Italian guy didn't changes anything.
[Galaxy S Plus I9001 Android Development] Bongerz_0522:
KQE Binary Files? can you tell me where to put those files? co'z i dont have firmware folder inside /system/