yashsingh1/xdaforums huggingface dataset:
[Galaxy S Plus I9001 Android Development] :
Just make a folder /system/firmware and put the four (CE147F00.bin, CE147F01.bin, CE147F02.bin, CE147F03.bin) in.

Set permissions, that´s it.

I couldn´t see a differenz between firmware files from KQE and CM9 of I9000.
[Galaxy S Plus I9001 Android Development] Bongerz_0522:
Used firmware files and I can't generrate logcat. And error msg Unfortunately Camera has Stoped.

Edit:

Here is the logcat. I have to close the batch file use before the error to capture the logs.
[Galaxy S Plus I9001 Android Development] :
I think the issue with the stopping app is related to the firmware files.

Tried to do another logcat? Happend to me several times that i had to kill adb.exe in taskmanager, reconnect phone and run logcat again.
[Galaxy S Plus I9001 Android Development] Bongerz_0522:
Yes. I Posted above... :)
[Galaxy S Plus I9001 Android Development] oisis:
You can make test with those files form Italian guy:

libcamera.so
libmmipl.so
libmmjpeg.so
liboemcamera.so

and:

/system/app/Camera.apk
/system/etc/media_profiles.xml

But firs remove binary firmware(you can try also with binary firmware, not sure for now), then logcat.

Or zou can use media_profiles.xml from GB.

Logs looks better now, this one i like :).

LINKS:

- Arco Camtest8

- Arco libcamera.so - from Arco's camtest.zip? Correct me :)

- Italians guy(libmmjpeg.so, liboemcamera.so, libmmipl.so, media_profile.xml)

- Firmware KQB

EDIT1:

Few important things:

1. Do notes because we will have to restore steps.

2. If you have linux, grep logs like that:

Linux shell:

cat ./logcat.txt | grep camera > logcat.new.txt

Windows cmd:

type logcat.txt | findstr camera > nwelogcat.txt

less logs - easier to read, logs only related with camera.

3. If you will find in log that HAL cannot connect with camera do not post logs because they are useless

4. Do not zip or rar logs easier to read on phone

EDIT2:

Phones with MSM8255:

- CDMA XPeria Play

- LG Revolution

- HTC Desire S

- Sony xperia mini,mini pro, neo etc - camera works

- My touch 4g - camera works

- Xperia play - camera works

- Htc desire s - camera works

- Huawei honor - official ICS

- Htc one V - no front camera but official ICS

- http://xdaforums.com/showthread.php?t=1639634

You can try use libs from this phones. Thanks to: Spider550 for links, he cannot post here yet.

http://xdaforums.com/showthread.php?t=1639634[/QUOTE]
[Galaxy S Plus I9001 Android Development] Bongerz_0522:
I manage to open the cam application no preview but no error. unfortunately I didnt capture the logcat. I'll try again if ican redo it.

Camera App opened. No preview. if you press the capture the focus rectangle appears.

Rotation on cam is working

I can see my latest photo on galery, but cannot press anything. also cant quit i have to force stop by holding back button.

Edit:

Here is the log cat of opend camera app.

i got unfortunately, Camera has stoped. when i click switch to front cam.

Here is my Combination.

1. Arco's HAL from Camtest8

2. Arco's libcamera.so

3. Italians guy's libmmjpeg.so, liboemcamera.so, libmmipl.so, Camera.apk and media_profile.xml

4. firmware files from KQB
[Galaxy S Plus I9001 Android Development] Bongerz_0522:
I have to restart my phone to redo the situation, after i got the error "Unfortunately, Camera has stoped" I can't do it again, ill try to remove the firmware files and see what happens

---------- Post added at 01:13 PM ---------- Previous post was at 01:06 PM ----------

Ok guys camera is actualy taking pictures, but I used third part app (Paper Cam) and I actually get a picture. but when I use default cam after using paper cam It wont open it gives me "Unfortunately, Camera has stoped"

Removed the firmware files and now I can open the camera even after some errors, galery button is working, settings button is also working, switching from camera to video working, but both no preview. when selecting panorama and switching to front cam gives FC, after selecting Capture/Record on Video nothing happends and all buttons are disabled
[Galaxy S Plus I9001 Android Development] oisis:
Could you write logs in different format because everything is in one line and it is really hard to read.
[Galaxy S Plus I9001 Android Development] mav.erik:
Is possibile product a file.zip For installation or manualy copy/paste For test other people and report logcat????

Inviato dal mio GT-I9001 con Tapatalk 2
[Galaxy S Plus I9001 Android Development] Bongerz_0522:
Ok guys camera is actualy taking pictures, but I used third part app (Paper Cam) and I actually get a picture

But when I use default cam after using paper cam It wont open it gives me "Unfortunately, Camera has stoped"

Removed the firmware files and now I can open the camera even after some errors.

*Galery button is working

*Settings button is also working

*switching from camera to video working, but both no preview

*when selecting panorama and switching to front cam gives FC

*after selecting Capture/Record on Video nothing happends and all buttons are disabled

**After removing Firmware files I cannot open Paper Cam(Third part App).

Sorry get to excited to report thats why I typed it on paragraphs.
[Galaxy S Plus I9001 Android Development] oisis:
Yes it is possible without problem, just have to download some update.zip(not kernel one, Arco camtest8.zip will be ok) and edit:

META-INF\com\google\android\updater-script

this file, it really easy to do so everyone can try, and of course add needed files to zip.

Just like i said, CM9 camera will not work with HAL Wrapper, be couse now everything is working like HAL wrapper. Have to download different Camera.apk, just looking for proper one.

EDIT1:

Try with this one.

Just editing logs to read them somehow, think that we have a quiet big problem with audio too, example: incoming voice call, i mean microphone inside phone drivers or something else, don't know now. We will be know soon :).
[Galaxy S Plus I9001 Android Development] Bongerz_0522:
Only with firmware files I can capture pictures from paper Cam, I haven't tried other apps.

But if I tried to use default camera first then paper cam, paper cam cannot get a preview only black screen.
[Galaxy S Plus I9001 Android Development] EminSG:
Guys you are awesome. It's unbelievable. Please do it quickly(i mean zip). THX!!!!!!!

---------- Post added at 03:40 PM ---------- Previous post was at 03:39 PM ----------

It means that problem is in stock cm9 camera)
[Galaxy S Plus I9001 Android Development] oisis:
Still need readable logcat, could you provide for me please, becouse lastone was terrible, everything in one line :(. Thanks.

I think that there is alot to do.

EDIT1:

Will be nice if somebody after taking picture will do something like that:

adb shell dmesg > /sdcard/dmesg-log.txt

And then post it here(/sdcard/dmesg-log.txt).

Thanks.
[Galaxy S Plus I9001 Android Development] Bongerz_0522:
Sorry thats not for your camera.apk.

here is the logcat for your camera.apk

I tried to capture image with that logcat then Forcce stop it. Im off for now, I'll try to feed more info tomorrow. Or you can try my combination if it will work with your phones.
[Galaxy S Plus I9001 Android Development] oisis:
You post logcat from your first good try and i think with your combination. This logcat is not readable form because everything is in one line, that is way i asked for another one. Thanks.
[Galaxy S Plus I9001 Android Development] UpGado:
What combination did you use ?
[Galaxy S Plus I9001 Android Development] Blumdum:
read!
[Galaxy S Plus I9001 Android Development] Bongerz_0522:
1.arco's build 3

2. Files in camtest8 you can find it in this thread i dont exctly know what post #

3. Camera lib files used by the italian guy exept libcamera.so

4. Firmware files of KQE put: n system/firmware. You have to create firmware folder in /system/

You can find which camera lib files i used i think on my previous post
[Galaxy S Plus I9001 Android Development] oisis:
Could you try with media_profile.xml from some stock GB? Should be better. And some logcat please because maybe I know how to fix it little bit more but I need logs. We need few more libs from GB. Thanks.
[Galaxy S Plus I9001 Android Development] Bongerz_0522:
Im sorry i cant right now co'z i dont have pc here. Is it possible by only using phone?

BTW here are some screenshot and sample photos

I cant upload screebshot it says incorrect extension name but i can view it in my gallery.

In this photo i used retro cam.

Facebook cam also works. It try to upload screenshot tomorrow
[Galaxy S Plus I9001 Android Development] Bongerz_0522:
This is from paper cam. I can upload pics taken from my camera but why cant i upload photos from screenshots?
[Galaxy S Plus I9001 Android Development] oisis:
Ok so I will wait for logs, and focus on AOKP for now. You can upload yours photos to Google drive and post links :).

EDIT:

Can somebody try to swap Italian guy files with files from GB, should works also :).
[Galaxy S Plus I9001 Android Development] Bongerz_0522:
Oisis can you upload some media_profile i can try later i found an app on the market that generate logcat without pc and adb. Alogcat is the name of the app in case you are interested
[Galaxy S Plus I9001 Android Development] kubson1999:
Does anyone can collect the files that are needed for operating the camera? I have not found all the necessary files

Wysłane z mojego GT-I9001
[Galaxy S Plus I9001 Android Development] texten:
here are some instructions

and here are the files of the "italian guy":
[Galaxy S Plus I9001 Android Development] Blumdum:
here is the media_upload.xml from stock GB
[Galaxy S Plus I9001 Android Development] wintel_mac:
As far as I know screenshots get saved as .png files. And XDA app does not support png file upload.
[Galaxy S Plus I9001 Android Development] zimmbadroid:
Yes, need to rename .png to .jpg
[Galaxy S Plus I9001 Android Development] oisis:
Could somebody try to swap libs with audio in names:

libaudioalsa.so
libaudioutils.so
libaudioeffect_jni.so
libaudioflinger.so

And test camera and incoming call volume level? I think that can fix audio and camera a little bit too. :)

Waiting for logs :).

EDIT1:

This combination with libs and Arco "wrapper" will work also on i8150. Thanks for Arco of course, well done.
[Galaxy S Plus I9001 Android Development] crazybasss:
Edit:

Hy, can anybody try this apk? It is camera ics+ version 1.2.1 from google play store
[Galaxy S Plus I9001 Android Development] Alex93917:
Pay app, don't put a link with apk of a pay app. Warez ...

Pay this app : https://play.google.com/store/apps/details?id=com.moblynx.cameraicsplus&hl=fr

Or download Camera ICS (Free version) : https://play.google.com/store/apps/...wsMSwxLDEwMiwiY29tLm1vYmx5bnguY2FtZXJhaWNzIl0.
[Galaxy S Plus I9001 Android Development] texten:
please delete the link in your quote ;)
[Galaxy S Plus I9001 Android Development] ad0dh:
:rolleyes: why you don't try it yourself?

Verstuurd van mijn GT-I9001 met Tapatalk
[Galaxy S Plus I9001 Android Development] gezze:
Why do i still get black screen do i have to change rights on that files ?
[Galaxy S Plus I9001 Android Development] :
Hey OISIS, i uploaded an update.zip

Can u change the permissions to the right settings please, as you know i have not the right equipment at the moment.

ZIP contains files for (partially) working camera.

Note: PuddingCamera.apk from Play Store is also needed.

For those who don´t want to wait.

Try to flash the zip with CWM and set permission using RootExplorer

or

extract it on your SD copy them manually and set permission with RootExplorer or use adb.

adb shell chmod 755 /path_name/folder_name

e.g.

adb shell chmod 755 /system/firmware

adb shell chmod 644 /path_name/folder_name/file_name for files

e.g.

adb shell chmod 644 /system/firmware/CE147F00.bin

EDIT:

I added two photos where you can see how the settings have to look with RootExplorer (long press and tab "permissions").

Picture 755 for folders

Picture 644 for files

EDIT 2:

NEW LINK FOR ZIP FILE
[Galaxy S Plus I9001 Android Development] androabot:
The camera.apk from HTC desire S works but not take photos

It´s possible to modify this app?
[Galaxy S Plus I9001 Android Development] texten:
great news,

post the apk please, maybe with some other combinations of media_profile.xml or something else, it will

which files did you also use?

and make a logcat
[Galaxy S Plus I9001 Android Development] androabot:
I use the media_profile and libs from italian.
[Galaxy S Plus I9001 Android Development] texten:
logcat please. maybe try with alogcat on google play store., if you dont know how to do.
[Galaxy S Plus I9001 Android Development] oisis:
I fixed installation script(added set permissions), could you try now, after installation please check manually permissions. I just created my first installation script :).

Installation:

1. Open CWM
2. wipe cache and dalvik-cache
3. Install pkg
4. wipe cache and dalvik-cache
5. Set permissions
6. Reboot
7. Make some photos :)

EDIT1:

What about audiolibs? Somebody tested it?
[Galaxy S Plus I9001 Android Development] :
Works for me, thx for editing.

I did this simple by taking a working update.zip, unzipped it, added the files i needed, rezipped it.

(I love Mythbusters)
[Galaxy S Plus I9001 Android Development] Xistance:
Audio libs from where? Other phones or GB or somewhere else?
[Galaxy S Plus I9001 Android Development] oisis:
Just use any stock GB files.
[Galaxy S Plus I9001 Android Development] texten:
or those from italian guy?!
[Galaxy S Plus I9001 Android Development] Xistance:
Well since that Italian guys phone is i8150 I'm guessing it won't work?! Will try in a bit anyway. If possible can anyone post audio libs of GB as I can't get them right now.
[Galaxy S Plus I9001 Android Development] BzArEx:
ICS S+ photo test 1
[Galaxy S Plus I9001 Android Development] gezze:
ah ok might it relay to that i use original kernel of arco ?

then what are the negative points of the oisis kernel ?
[Galaxy S Plus I9001 Android Development] texten:
you can try everything :D

here audio libs from gb (kqb)
[Galaxy S Plus I9001 Android Development] Xistance:
How did you get that to work? Gives me a black screen.
[Galaxy S Plus I9001 Android Development] mav.erik:
Guys i with build alpha 3 and camera experimental0.1 work but when i tale a foto not save to Gallery and crash app camera...

Inviato dal mio GT-I9001 con Tapatalk 2
[Galaxy S Plus I9001 Android Development] Bongerz_0522:
Camera apk from DHD works with preview. Can't produce logcat atm.
[Galaxy S Plus I9001 Android Development] BzArEx:
In android 4.0 camera drivers is not related to kernel. I using Arco's kernel now and taking photos. Packages doesn't even include boot.img.

---------- Post added at 08:51 PM ---------- Previous post was at 08:49 PM ----------

Me too, it's not starting properly every time, testing now.
[Galaxy S Plus I9001 Android Development] texten:
just use the thirdpart app: all latest infos here (i update it permanently ;) )
[Galaxy S Plus I9001 Android Development] Niksac:
use another camera app - pudding camera works good for me

https://play.google.com/store/apps/details?id=com.kth.PuddingCamera&hl=de

It's really easy - arcos latest build with oisis update zip

http://xdaforums.com/showpost.php?p=26515320&postcount=443

works
[Galaxy S Plus I9001 Android Development] projeto56:
And all this happened when i stopped folowing this thread 5 hours ago?

:D

You guys are awesome.

Btw i've tried the camera experimental 0.1 and it just gives me a black screen on third party apps, and FC on the regular camera app.
[Galaxy S Plus I9001 Android Development] oisis:
It is experimental :), not always will be working, can be some problems etc. Still waiting for some readable logs(logcat and dmesg) :).
[Galaxy S Plus I9001 Android Development] :
Please in future, post the app and which configuration you used.

This is still development.

Logcat still needed hardly!

;)

---------- Post added at 09:00 PM ---------- Previous post was at 08:56 PM ----------

If you are using (for example) PuddingCamera App, and you have a black preview, just hit the "settings button" inside the app, and then the hardware back button.

When i press the thumbnail at right lower edge, and go back to cam, i get a black screen also.

With the hint above it works again without forceclosing app.

Flextrick posted he got front cam working. Hope he will post a "HOW TO" with LOG.
[Galaxy S Plus I9001 Android Development] dbx4:
Thank you oisis, your zip worked for me!

Other than Pudding Camera, HDR Camera and Photoaf Panorama are also working for me.
[Galaxy S Plus I9001 Android Development] projeto56:
No luck for me, still have a black screen.

Btw i'm using build 2 from arco, should i update? Or it doesn't make a difference?
[Galaxy S Plus I9001 Android Development] :
Once again, my base is

Arcos Alpha3

experimantal_camera_01.zip (camtest8.zip is already included)

Third Party Camera App

Look a few post before, TEXTEN linked a post where ýou can find most of this.

Newest build is at first post.
[Galaxy S Plus I9001 Android Development] andynroid:
You guys are GREAT [...echo...echo] !

And Good Luck !
[Galaxy S Plus I9001 Android Development] projeto56:
Got it!

Sorry.

Will update and then i try it again :)
[Galaxy S Plus I9001 Android Development] oisis:
Now a few words of explanation as to why it works :):

1. Arco writes wrapper, do not know if he finished all the fixes applied(that's why it is experimental and you can have problems).

2. We had a terrible mess with libraries(which is why they exchanged), was part of the ICS and part of GB, we need only those of GB related to camera(maybe audio).

3. We had config file media_profiles.xml form ICS but we need from GB because we are using GB libraries

4. Binary files - we use GB libraries and that is why the binaries comeback in to the system.

5. Had to read a lot in other forums :)

Hope this explanation will help to understand: how to, and what i was doing all this thread :).

Thanks:

Arco for build.

fender90 and ItalianGuyfor for I8150 files

texten for testing that much

Grabber28 for research and finding of missing firmware binaries

And all of you guys.

WELL DONE!!!!
[Galaxy S Plus I9001 Android Development] :
But for now, one thing is to say.

We got the fastest built CynanogenMod with working camera in history of Android!

For a phone that is to weak in hardware to run ICS!
[Galaxy S Plus I9001 Android Development] texten:
user Flextrick did these steps and had for few seconds the frontcam working:

installed camera_experimental-0.1.zip

and the camera.apk from htc desire...
[Galaxy S Plus I9001 Android Development] mobuch:
Ics build 3

Camera experimental cam zip

CameraZoomfx works, crashes after switching to video.

Front cam worked once, but then it got frozen when tried to go back to back cam. Now it freezes app each time i want to switch to front.

Facebook integrated cam works fine, video causes fc.

//logs to come
[Galaxy S Plus I9001 Android Development] Bongerz_0522:
DHD camera.apk i can capture panorama image.

But i cant capture on normal cam...
[Galaxy S Plus I9001 Android Development] oisis:
Logcat and dmesg please one more time :) with filtered data form camera if it is possible, thanks.
[Galaxy S Plus I9001 Android Development] BzArEx:
Arco's CM9 build 3, Oisis's package logcats:

Pudding Camera - Play Store; Open, cam working, take photo, try switch to front cam, FC

http://www.mediafire.com/view/?ocjula3n88cflav

dmesg ended fc: http://www.mediafire.com/view/?iedufndfdjl0fs7

Stock CM9 Camera apk:

1 FC:

http://www.mediafire.com/view/?jy0sq7elo3njnn2

2 started without fc, tried use some option, tried take photo, got dark menu - options turned off (in screen attachment)

http://www.mediafire.com/view/?8yg1n8e54yayx24

the same dmesg: http://www.mediafire.com/view/?0j3fk40qeqh3mw5

Oisis, do You need more if yes, could you tell me what log :)

PS

Camera is related to sound framework (if understand this) android is really "think different" os ;)
[Galaxy S Plus I9001 Android Development] Xistance:
Getting lots of audio errors in the logcat with stock cm9 camera.apk. This is with Italian guys audio libs. Will edit with GB audio libs.

Edit: Really weird but GB audio libs made my phone stuck at bootanim...
[Galaxy S Plus I9001 Android Development] texten:
additional info:

here a screenshot with "working" ics cam (from arco build) on galaxy s plus :p

(by Pereira.Pedro)

the cam starts only after boot for one try.
[Galaxy S Plus I9001 Android Development] mobuch:
Arco's build3 + Oasis's cwm zip v.01 + CameraZoomFX

Open cam, take picture, switch to front - app freeze, app killed with back button.

//Rebooting to wipe caches and trying to get front cam again, for taking catlog

// Didn't open front cam (back works fine) this time, will reinstall osis's script.. - also didn't work, why the heck it opened front cam on first use :/
[Galaxy S Plus I9001 Android Development] AndrolinRoot:
Camera works o_O

Big thanks to all devs,which helped us..:thumbup::thumbup:

I will collect the links and post it here very soon;)

Big thanks to Oisis and arco and all other devs!!
[Galaxy S Plus I9001 Android Development] texten:
just place the text of that post on first page ;)

http://xdaforums.com/showpost.php?p=26511647&postcount=428

would be nice, thanks
[Galaxy S Plus I9001 Android Development] Frosti1:
with CWM flashable zip and DHD camera app front facing camera were fully functional but with primary camera previews worked on camera,panorama,video but i could not take pictures or videos :D
[Galaxy S Plus I9001 Android Development] texten:
ok, so the problem is the ics camera.apk...

please let us test with some camera.apk's from ics roms...

i think these logcats would be more helpful than thirdpart apps.

thank you all for testing

(can't click the thanks button for today :D )
[Galaxy S Plus I9001 Android Development] texten:
just quote my post and copy the code, now there are no bb-codes included :D

thanks mate
[Galaxy S Plus I9001 Android Development] AndrolinRoot:
My phone goes crazy o_O look first post...
[Galaxy S Plus I9001 Android Development] texten:
just copy and paste the code of the attached txt file :)
[Galaxy S Plus I9001 Android Development] oisis:
Now we should to try swap audio files. Some camera errors are because audio. :).
[Galaxy S Plus I9001 Android Development] Flextrick:
I made a video with front cam.

Here a screenshot
[Galaxy S Plus I9001 Android Development] Xistance:
Tried, Italian guy audio libs give same error, GB audio libs makes the phone stuck at bootanim.
[Galaxy S Plus I9001 Android Development] texten:
wow! well done.

what files exactly?

make a logcat!
[Galaxy S Plus I9001 Android Development] BzArEx:
Are you have android sdk? Could give us logcat?

sorry for double req
[Galaxy S Plus I9001 Android Development] Flextrick:
sure
[Galaxy S Plus I9001 Android Development] texten:
ok steps for working frontcam (by Cpt. Captain)

- Arcos Alpha 3

- Oisis Camera_experimental-0.1.zip

- wipe Cache

- wipe Dalvik

- fix permissions

he tested some thirdpart apps and then

he started stock cam, it was workíng, but he couldnt take pictures, he played around with the options, clicked on the shutter of video, he switched to frontcam and videorecording was working.

now we are all waiting for your logcat Cpt. Captain ;)