yashsingh1/xdaforums huggingface dataset:
[Galaxy S Plus I9001 Android Development] Mirceabadea:
So this is the kernel in CM9 alpha5 but with the camera fix ? nothing else more ?
[Galaxy S Plus I9001 Android Development] :
hi

i need the extended power menu. great rom!
[Galaxy S Plus I9001 Android Development] cheehsiang:
continuely take more than 5 photo will get fc.
[Galaxy S Plus I9001 Android Development] Flextrick:
Yes, for me too.
[Galaxy S Plus I9001 Android Development] pedrsantiago:
Are we able to take 5MP pictures?

I'm sorry to "spam" but I didn't see any mention to this in the past pages and I haven't tested the patches myself.
[Galaxy S Plus I9001 Android Development] DiKei:
Yes, of course.
[Galaxy S Plus I9001 Android Development] K_o_G:
Ivendor made 2 fixes. The first one is based on arcos alpha 1 kernel and the second is a modified alpha 5 kernel.

http://xdaforums.com/showthread.php?p=29263451
[Galaxy S Plus I9001 Android Development] dr.wtf:
but i suppose the 5 mp are still compressed, right?
[Galaxy S Plus I9001 Android Development] EternalFame:
yep i think so
[Galaxy S Plus I9001 Android Development] mertee:
the pictures are much better than before ivendors fix with alternitve camera apks.
[Galaxy S Plus I9001 Android Development] gezze:
Short: which is the best Modem for now (poor wifi Signal )

Thx
[Galaxy S Plus I9001 Android Development] dr.wtf:
how big are the pictures when you take them in a not too dark environment? bigger than 1 mb means they are not overcompressed anymore
[Galaxy S Plus I9001 Android Development] DiKei:
<1mb

So, it's compressed ...
[Galaxy S Plus I9001 Android Development] AndrolinRoot:
Can someone say where camera hall is located , I want to fix compression
[Galaxy S Plus I9001 Android Development] mirred:
device/samsung/ariesve/camerahal/cameraHAL.cpp
[Galaxy S Plus I9001 Android Development] AndrolinRoot:
Thanks to mirred

Big thanks to mirred ;)

If someone want to try it too

How_to fix jpeg compression

You need to add it in https://github.com/ivendor/android_d.../cameraHAL.cpp

function CameraHAL_FixupParams

add

camParams.set(android::CameraParameters::KEY_JPEG_ QUALITY, "100");

just after strings:

camParams.set(android::CameraParameters::KEY_MAX_S HARPNESS, "30");

camParams.set(android::CameraParameters::KEY_MAX_C ONTRAST, "10");

camParams.set(android::CameraParameters::KEY_MAX_S ATURATION, "10");

and rebuild hal binary
[Galaxy S Plus I9001 Android Development] oisis:
Will try it later. Thanks.
[Galaxy S Plus I9001 Android Development] dr.wtf:
if this works (and god, i hope this works) please do the same thing for cm7
[Galaxy S Plus I9001 Android Development] AndrolinRoot:
So I was thinking 5 minutes back too :D :D
[Galaxy S Plus I9001 Android Development] mirred:
It is just an idea.
[Galaxy S Plus I9001 Android Development] dr.wtf:
btw link doesn't work because of the "..."
[Galaxy S Plus I9001 Android Development] silviu_iliescu:
So could this fix be done with Root Explorer because I didn't found the patch...Thanks!!!
[Galaxy S Plus I9001 Android Development] Winamp_zg:
am I the only one who get 404 error when opening links in first post??
[Galaxy S Plus I9001 Android Development] andrzej_d:
https://github.com/ivendor/android_device_samsung_ariesve/blob/ics/camerahal/cameraHAL.cpp
[Galaxy S Plus I9001 Android Development] Harrocan:
No. We all have, because link are wrong added :P
[Galaxy S Plus I9001 Android Development] :
how can i enable the extended power menu?

i need this for turn on /off mobile data. i missed it actually.

i have try some one zip's via recover menu but then have i boot reloop
[Galaxy S Plus I9001 Android Development] R341M@N:
You can go to "settings>system>notification drawer>Widgets buttons" and check "toggle mobiledata" and uncheck "toggle sound".

That's all, 4 Widgets button always visible in your notification drawer.
[Galaxy S Plus I9001 Android Development] :
hi

Now I have another problem with the camera on the back

is in the video recording manipulates image correctly, you will switch to the visual images is mirrored and rotated with it.

in the pudding camera is not the case

the picture in front of the camera is rotated and mirrored

Skype in the front camera is working properly.

edit:

after you have switched from video recording to recording images, the image is properly manipulates.

fix?
[Galaxy S Plus I9001 Android Development] :
what does final road means?
[Galaxy S Plus I9001 Android Development] Keinbockwurst:
It means that we are close to get a fully working cam
[Galaxy S Plus I9001 Android Development] fabsau:
Skype works not properly because the front camera is on brood bussines edition 180 upside down.

Gesendet von meinem GT-I9001 mit Tapatalk 2
[Galaxy S Plus I9001 Android Development] AndrolinRoot:
you can change it:rolleyes:
[Galaxy S Plus I9001 Android Development] AndrolinRoot:
I try with oisis to fix camera quality...

It looks better
[Galaxy S Plus I9001 Android Development] YMYA:
I feel this camera fix has an effect on the GPS locking..
[Galaxy S Plus I9001 Android Development] jura-akm:
I didn't know.. now I do :thumbup:
[Galaxy S Plus I9001 Android Development] binlalo:
I think that too. Anybody else with the same issue?
[Galaxy S Plus I9001 Android Development] Karls0:
On AOKP beta pre11e with fixed camera GPS works good. I didn't test beta pre11f with fixed quality
[Galaxy S Plus I9001 Android Development] alexu2007:
im sorry to bother , but can any of you provide the download links for camera fix on the first page .. because i get the error 404 when trying to download . thanx a lot , keep up the good work .
[Galaxy S Plus I9001 Android Development] Flextrick:
http://xdaforums.com/showthread.php?t=1492165

here are all files, too.
[Galaxy S Plus I9001 Android Development] Winamp_zg:
on last page someone get me this link, not sure is it ok

https://github.com/ivendor/android_device_samsung_ariesve
[Galaxy S Plus I9001 Android Development] alexu2007:
thanx guys .. btw which is more stable or which has the more features working . i know they are only for testing but i want to use cm9 as a daily rom and i would like a working camera or some sort of ..
[Galaxy S Plus I9001 Android Development] fabsau:
i will keep it short.

yeah you can change it but then you see yourself in the bottom, right-hand corner upside down and your patner sees you then perfectly.

And romtester you are like the dev of lionrom a little kid not so worse like him but you are on a good way.

And guys because of all these little kids here in this forum i'll act like manver0. i created a second account and i will just observe the progress and will never post something.

Good luck in dev! espiaccaly to oisis, invendor, texten, arco, broodplank, crybert, skywalker (well i think he is so pissed of like me), spawk and vitaly (you guys made.this community) (sry if i forgot someone)

PS:

where are now all people who said i will donate to the dev of ics?! fu**ing hypocrits!!!

Gesendet von meinem GT-I9001 mit Tapatalk 2
[Galaxy S Plus I9001 Android Development] maro_ka:
I dont want to be rude...

where's your coder?

where's your

ics themed widgets?

You are not helping! Not at all!

I dont want your work. Leave real developers.
[Galaxy S Plus I9001 Android Development] AndrolinRoot:
Honey maybe you look aokp therad :banghead:
[Galaxy S Plus I9001 Android Development] scorpion2884:
Fix permissions it worked for me.
[Galaxy S Plus I9001 Android Development] texten:
guys it would be nice when you use this thread for bug report,

that means a report with almost all the informations you can give, step by step and a logcat.

discussions or bugs which are caused by different roms or apps, you can tell in specific topics.

here were many posts the last days which haven't the development bring forward constructive.

no developer want to read all the posts, before he can find realy usefull stuff.

remember, this is no noob thread for rom discussions or installation/user guides or anything else. use the right topic and i highly recommend to use the search-function. everything is posted somewhere else.

so lets go back to this what this topic is for, camera development, logcats and helpful fixes/links/informations for this.

you can look and post here for any help, there are also some topics for discussion linked:

Galaxy S Plus I9001 - CyanogenMod 7.1 and 9.0 [Porting state]

all news/bugs and nessecary stuff you can find there.

thank you for understanding. please keep this thread as clean as possible and try to find your answers.
[Galaxy S Plus I9001 Android Development] mertee:
hi, i just installed beta 11f. for me the pictures are still compressed. con anybody confirm this?
[Galaxy S Plus I9001 Android Development] AndrolinRoot:
Yeah but look at quality
[Galaxy S Plus I9001 Android Development] Ganja_Breed:
This links:

ivendor's latest camfix is based on arcos kernel:

http://xdaforums.com/show...postcount=1333

and you can try vitaly ics kernel with latest camera fix:

http://xdaforums.com/show...postcount=1365

not working ...
[Galaxy S Plus I9001 Android Development] oisis:
Delete it. Was to fast :).
[Galaxy S Plus I9001 Android Development] puru tiwari:
links not working.
[Galaxy S Plus I9001 Android Development] Ganja_Breed:
Please give other links.
[Galaxy S Plus I9001 Android Development] texten:
use the search option or the porting state topic and you can find everything. guys don't be so lazy:

http://xdaforums.com/showpost.php?p=29243935&postcount=1426
[Galaxy S Plus I9001 Android Development] Flextrick:
After making 5 photos camera freezes for me. By looking on the 5 pictures in gallery, the 5 pictures are black.

Sorry if this was already posted before.
[Galaxy S Plus I9001 Android Development] dr.wtf:
i don't really understand... so the pictures are still compressed (smaller than in stock) but quality is better? then the issue wouldn't be completely resolved. smaller size means less information and therefore reduced quality.
[Galaxy S Plus I9001 Android Development] R-Boy:
I tried it now and it seemsI have this issue, too. But when looking in gallery the pictures are okay (they are not black).

Gesendet von meinem GT-I9001
[Galaxy S Plus I9001 Android Development] gezze:
Dr ... open your eyes and thats what i really want you to do, if they are still compressed but have very nice quality, where is the Problem ?
[Galaxy S Plus I9001 Android Development] dr.wtf:
the problem is that the solution is not optimal.
[Galaxy S Plus I9001 Android Development] Karls0:
Good quality and resolution and small size is a problem? So you need bigger photo size, but for what?
[Galaxy S Plus I9001 Android Development] dr.wtf:
i don't have a problem if the pictures have the same quality as the ones taken with the stock cam. i just don't belive that this is the case here.

somebody could actually just post some pictures to be able to compare :D
[Galaxy S Plus I9001 Android Development] EternalFame:
I think he wants to say that it is just a work-around and not a real fix (;
[Galaxy S Plus I9001 Android Development] puru tiwari:
my phone is not saving the pictures

It clicks the photos and does not save them . the screen remains in the same frame.

any solution
[Galaxy S Plus I9001 Android Development] anveshh:
Battery is draining fast. Is there some fix for it. Please help me...
[Galaxy S Plus I9001 Android Development] oisis:
Your ROM version is?
[Galaxy S Plus I9001 Android Development] rickvrolings:
when i try to open the link to the ivendor camfix based on arco's kernel (first link in OP), i get error 404. (page is deleted or server is down). any mirrors or will this problem be solved soom?

or is it my phone's fault ;p
[Galaxy S Plus I9001 Android Development] ivendor:
Update: Front-camera take picture works.

Remain:

-problem with orientation in front camera

-crash with some settings

-video 720p

Attached zip.
[Galaxy S Plus I9001 Android Development] cheehsiang:
continuely take 5 photo still fc...:)
[Galaxy S Plus I9001 Android Development] UpGado:
Good work, Confirmed working on build 5 , i tried it in build 4 but no luck (maybe because of non-clean install)
[Galaxy S Plus I9001 Android Development] mirred:
I've managed to make camera working on i8150 with stock libcamera.so. The patch and discussion in separate forum http://xdaforums.com/showthread.php?t=1671495&page=16

The fix is very simple. It based on previous HAL revision from ivendor. The changes are attached.

To make possiable to run stock libcamera.so it is needed:

1. Build libcamera_client from ivendor sources with SAMSUNG_CAMERA_QCOM flag.

2. Modify CameraHardwareInterface.h. It is the most complicated step. I've dissassembled virtual table from libcamera.so for i8150 and adjusted interface. It was before ivendor starts using SEC_openCameraHardware, maybe it is not needed now.
[Galaxy S Plus I9001 Android Development] ivendor:
for seccamera you shoul look for virtual table of SecCameraHardwareInterface in libseccameraadaptor.so if you have this file

Inviato dal mio GT-I9001 con Tapatalk 2
[Galaxy S Plus I9001 Android Development] mirred:
Yes, I know :) I will check it and make a new patch for i8150.
[Galaxy S Plus I9001 Android Development] jura-akm:
Try to turn on data connection only when you need it.. really works.. it eats too much energy I think, even when you're not actually using it, but it's only on..
[Galaxy S Plus I9001 Android Development] rickvrolings:
wil this work on any cm9 (build 5) based rom?

Sent from my GT-I9001
[Galaxy S Plus I9001 Android Development] michhh:
work great on MIUI 2.7.20 (build 5) thank ivendor
[Galaxy S Plus I9001 Android Development] :
i have installed the lastet update zip via cwm, but it dosen't boot.

i used cm-9-20120720-UNOFFICIAL-ariesve
[Galaxy S Plus I9001 Android Development] gezze:
same for me
[Galaxy S Plus I9001 Android Development] Rutgar:
I had to flash a new rom because of this :/
[Galaxy S Plus I9001 Android Development] :
thank you

i have try. it reboots, but it hangs now on "Android wird aktualisiert ; Apps werden gestartet" (Android will be updated; apps to start)
[Galaxy S Plus I9001 Android Development] drummer1839:
Camera freezes .. then i press home button and when i relaunch camera it takes picture by itselfs. No logcat :)
[Galaxy S Plus I9001 Android Development] CastagnaIT:
Do a wipe all before reflash and remember gapps update
[Galaxy S Plus I9001 Android Development] mirred:
I've dissambled vtable for android::SecCameraHardwareInterface from i8150 libseccameraadaptor.so. The same modification of CameraHardwareInterface.h as I did before is needed to make HAL working with stock libs.

I can do the same for i9001 if you wish to migrate on samsung libs. Please attach libseccameraadaptor.so from i9001 stock firmware and I will update CameraHardwareInterface.h for attached lib.

I am going to prepare a new patch for i8150 with your latest HAL changes today or tomorrow.

Your changes and findings are perfect and I really impressed by your work. Thanks a lot!
[Galaxy S Plus I9001 Android Development] :
i have do a full wipe before i flashed

gapps update have i installed and wipe cache & fix permissions..
[Galaxy S Plus I9001 Android Development] Harrocan:
So we must wait. I will test it..
[Galaxy S Plus I9001 Android Development] :
when added to the taskbar with mobile data spins the whole taskbar. switched from one ton of vibration to go to the symbol for mobile data base, although it is off kompllet in attitudes.

Toggle data connection as I get into the PowerMenu?
[Galaxy S Plus I9001 Android Development] ivendor:
you can use arco lastest build.

Inviato dal mio GT-I9001 con Tapatalk 2
[Galaxy S Plus I9001 Android Development] crybert:
Here is the libseccameraadaptor.so. Hope it helps :)
[Galaxy S Plus I9001 Android Development] Harrocan:
Ok. So i test it and i must say - video recording in 720p still dosen't work - camera gets laggy and system framework gets stupid. WiFi and Bluetooth works well. Front camera preview is ok - but when i'm taking photo - it save upside down. That's all in this moment.
[Galaxy S Plus I9001 Android Development] rickvrolings:
front cam saves the pictures upside down. (not important). but in tango (app like skype), the video stream is upside down. is there a solution yet or do i have to wait? i dont mind waiting for this, but sure a solution would be nice ;)

Sent from my GT-I9001
[Galaxy S Plus I9001 Android Development] hypnos17:
Is only for cm9?

Inviato dal mio Nightmare con Tapatalk 2
[Galaxy S Plus I9001 Android Development] mariuano:
for now you expect him to enter in oisis' AOKP: p
[Galaxy S Plus I9001 Android Development] Alpha120:
Links on 1st post are broken, they have the "..." in the link and of course, isnt working :(
[Galaxy S Plus I9001 Android Development] texten:
wipe cache, wipe dalvik cache install this latest camfix:

http://xdaforums.com/showthread.php?p=29423986#post29423986
[Galaxy S Plus I9001 Android Development] ivendor:
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
[Galaxy S Plus I9001 Android Development] demon434:
Thanks! Front camera saves the picture correctly. Hope that 720p is coming soon :)
[Galaxy S Plus I9001 Android Development] matiza5:
Front camera video rotated. fc after 5 pics. laggy backcam hd video.

everything else working as charm.

thank you!
[Galaxy S Plus I9001 Android Development] hypnos17:
Doesn't work only on my device? :D

Inviato dal mio GT-I9001 con Tapatalk 2
[Galaxy S Plus I9001 Android Development] Alpha120:
Thank you, but I meant that URL in the link is truncated and the links arent working... (you get a 404 if you click in any of the links at the 1st post).
[Galaxy S Plus I9001 Android Development] mirred:
Modified file is attached. The current implementation from ivendor misses one definition in the end of header.

Most probably it is not important because this function is in the end of table.

On i8150 there is one more function in the middle. Without modifications I got interesting fault on i8150. HAL called setParams() function insted of getParams() and hanged.

You can try to use attached header. It won't break anything, but can make camera abit better.
[Galaxy S Plus I9001 Android Development] :
Also today I've tried with the "newer" update zip that hangs on boot again sgs again. although everything I've flashed several times and wipe cache, data, davilk, etc.
[Galaxy S Plus I9001 Android Development] Harrocan:
What version of CM9 do you have? Ivendor, arco? Lastes patch is for arco CM9 kernel.
[Galaxy S Plus I9001 Android Development] :
oh it's my fault, sorry!

is used ivendor's

i havent found the link to arco's cm9 kernel.
[Galaxy S Plus I9001 Android Development] Harrocan:
http://xdaforums.com/showthread.php?t=1650615

Flash Alpha 5 and the last patch from ivendor and should be awsome :)
[Galaxy S Plus I9001 Android Development] :
thank you. i will try!
[Galaxy S Plus I9001 Android Development] ivendor:
Bad news, i've been robbed today, i don't have my i9001 anymore, sadly i have to stop developing.

If i have some update i'll write here.

Thank you to all the people supporting me in developing especially arco and oisis.

See you soon, (i hope)

Tiziano
[Galaxy S Plus I9001 Android Development] Harrocan:
World is cruel, that's in fact. Thank you very much for your work. I hope phone and other stuff will be find as quick as it possible. :)
[Galaxy S Plus I9001 Android Development] UpGado:
Very Sad to read this :crying: i just wanted you to know , you did your work perfectly we won't get another Tiziano , hope you find your phone soon , praying :)
[Galaxy S Plus I9001 Android Development] Keinbockwurst:
:( are you going to buy a new galaxy s plus or get a new phone?

Gesendet von meinem GT-I9001 mit Tapatalk
[Galaxy S Plus I9001 Android Development] Flextrick:
still hoping for this!
[Galaxy S Plus I9001 Android Development] davidrome:
:crying: ****! I'm sorry!!, but could you finish camera? only have to fix the HD video, rotation of the front camera video and crash after 5 photos :crying::crying:

we can donate to buy you another i9001:o
[Galaxy S Plus I9001 Android Development] arco68:
Oh man, so sorry to hear that! :(

Don't know if your insurance cover such cases, but I do hope so. At least I hope the robbers get caught and you get your phone back, although there's probably a slim chance for that sadly.
[Galaxy S Plus I9001 Android Development] nuck1982:
rotation of frontcam is fixed with last update.

ivendor i hope you get your phone back.

thx for the nice work.

Gesendet von meinem GT-I9001 mit Tapatalk 2
[Galaxy S Plus I9001 Android Development] hypnos17:
Oh....very bad news...Good o luck...

..o tanto visto che sei italiano te lo.dico nella nostra lingua, buona fortuna spero tu lo riabbia

Inviato dal mio Heretic Plus con Tapatalk 2
[Galaxy S Plus I9001 Android Development] umb3rts:
Yeah, good luck man! Dannati ladri <…<

Inviato dal mio GT-I9001 che di originale non ha più nulla ed ora anche con la CGM9 usando Tapatalk 2.
[Galaxy S Plus I9001 Android Development] cheehsiang:
oh ....too bad...hope still can help...since last part we left.
[Galaxy S Plus I9001 Android Development] jura-akm:
Why can't I download file..? It downloads, but doesn't save no where, nor can I open it.. why?
[Galaxy S Plus I9001 Android Development] :
EDIT4:

Seems to me, that when camera is started by any app, it´s calling /system/lib/hw/camera.ariesve.so, not camera.msm7x30.so

Due the fact of this, any changes in camera.msm7x30.so have no effect. Please correct me if i´m wrong. I´m sure it´s not only a mather of HAL, also camera app has an major effect in our case. Adding logcat (used camera.aries.so - had to be renamed to camera.ariesve.so)

Edit5:

Using renamed camera.aries.so (from I9000) brings up "Sorry, camera has been closed" and the following log. Using renamed camera.msm7x30.so brings up "No connection to camera" and in the log the well known "No HAL loaded".

Looks like working with camera.aries.vo is the next step.

Unlucky, my laptop left me forever, and i have to work with an Toshiba Satellite P20 from 2003. Tried it, but no chance to decompile anything.

Single Core 2.66 GHz and 512 MB RAM don´t do the job.

________________________________________________________________________________________________________________________________________

Did not recognize this post, sorry for late response.

Isn´t it that way (in ICS caused by HAL usage), that from the moment the camera is loaded and recognized, HAL should enable the camera app to communicate directly to the camera hardware? I think this is the ground meaning of the HAL usage, correct me if i´m wrong.

So, if the camera is loading with HTC HAL wrapper as you said, and we are able to use libs from I9000 (same camera chip) the fault is at the app.

Any idea?

Edit: Adding Hardware device files from Onecosmics build, and camera firmeware from I9000.

Edit2: HTCs Wildfire S and One X have working cameras on CM9

Edit3: Additional links for research:

[WIP]Camera enabled CM9

Cyanogen Camera Package

C++ access to camera hardware

Reverse engineering of libcamera
[Galaxy S Plus I9001 Android Development] darkmansd:
sorry i didn't read the thread just the last posts....but maybe the guys from over the sl i9003 forum can help you guys since they got camera preview working(and their phone should be similar to yours):

http://xdaforums.com/showthread.php?t=1449649

(btw: i own neither of these two devices....:D just found it by coincidence)
[Galaxy S Plus I9001 Android Development] Xistance:
This has already been suggested but thanks for trying to help anyway :).