yashsingh1/xdaforums huggingface dataset:
[Galaxy S Plus I9001 Android Development] oisis:
I'm worried about this line:

[COLOR="Red"]E/V4L2Camera( 143): ERROR opening V4L interface: No such file or directory[/COLOR]

It seems that there is no interface for Video4Linux, this option is in the Linux kernel. Checking file: /proc/config.gz you'll notice that Arco does not compile it into the kernel.

If you will add V4L2(and maybe something else, i not sure for now) then will be created file: /dev/video0 or something like that and that's what maybe we needs. This option is compiled in ROMs kernels 2.3.6 and there the camera works.

Arco said that the kernel is ok but everyone can sometimes be wrong, maybe he missed something.

I already compiled a few kernels, but unfortunately I can not run them on the phone, probably because I was doing it for the first time for android. I have some ideas on how to fix camera but the first kernel compilation.

Link: http://4.padadaz.com/~cherix/kernel.png
[Galaxy S Plus I9001 Android Development] :
Had the same idea, and looking for some kernels, where we can do additional research. My problem is that i don´t have a pc to compile, my dualcore machine left me, caused by overheating. CPU, CPU controller and RAM controller died...

Will report back when i have a clue to go further.
[Galaxy S Plus I9001 Android Development] oisis:
Kernel compilation no needs supercomputer so you can try on your old machine. Good luck.

I can send you config file.

Edit1:

Needed good howto create kernel and installable cwm zip pkg :)
[Galaxy S Plus I9001 Android Development] :
It´s only a windows machine with 60GB HDD, Unbuntu in VM sucks, havn´t tried dualboot till now.

BTW: Take a look at the boot.img i added, it´s from I9000. Maybe it helps ...
[Galaxy S Plus I9001 Android Development] saperkus:
Arco68 wrote about it few weeks ago.
[Galaxy S Plus I9001 Android Development] andynroid:
Sorry to have interrupted just to convey you guys the best of luck in creating the driver is what we really need.

l am not a developer but have high confidence it is going to work n as a unified team anything is possible..:)

Once again Good Luck ! :)
[Galaxy S Plus I9001 Android Development] oisis:
Driver is in kernel and is off, everything else is libs, HAL and Camera.apk.
[Galaxy S Plus I9001 Android Development] andynroid:
arco68 has mentioned too in an attempt getting the camera to work goes to FC's on the Ancora....someday it is going to work....

...One fine day....Eureka !!
[Galaxy S Plus I9001 Android Development] oisis:
Finally have working kernel. Today will make few tests. Now i have /proc/video20 so for me looks better now.

Thanks to kacperas for link to arco news with kernel and arco for post.
[Galaxy S Plus I9001 Android Development] YMYA:
Can we say now we have done any progress in the camera development?
[Galaxy S Plus I9001 Android Development] oisis:
Have to wait few hr cause i'm busy man :). Need to do tests.
[Galaxy S Plus I9001 Android Development] macdroid2:
I would make a donation to arco's developement but also to all these people who is working on drivers, bug solutions, etc.

Ics is near galaxy s plus :D
[Galaxy S Plus I9001 Android Development] kunalwanvari:
So proud of u guys ! recently read an article on hw cm9 puts samsungs ics to shame ! let em c the work u guys hv put in ! Ne help frm our side guys do let knw ! lets hv a working cm9 wid cam !
[Galaxy S Plus I9001 Android Development] oisis:
Now looks better:

<6>[ 1.274108] [CAMDRV/CE147] ce147_init: E
<6>[ 1.274169] [CAMDRV/CE147] __ce147_probe: E
<4>[ 1.274230] [CAMDRV] config_camera_on_gpios
<6>[ 1.275024] [CAMDRV/CE147] ce147_sensor_probe: E
<6>[ 1.275054] [CAMDRV/CE147] ce147_i2c_probe: E
<4>[ 1.275085] [CAMDRV/CE147] ce147 i2c probe successful
<6>[ 1.275146] [CAMDRV/CE147] cam_pm_lp8720_probe: E
<4>[ 1.275146] [CAMDRV/CE147] lp8720 i2c probe successful
<3>[ 1.280212] [CAMDRV/CE147] ce147_set_power: POWER ON.
<3>[ 1.303222] [CAMDRV/CE147] ce147_set_power: POWER CONTROL END.
<4>[ 1.303222] [CAMDRV/CE147] ce147_load_fw START
<4>[ 2.010925] [CAMDRV/CE147] ce147_load_fw END
<3>[ 2.011352] [CAMDRV/CE147] ce147_set_power: POWER OFF.
<3>[ 2.016876] [CAMDRV/CE147] ce147_set_power: POWER CONTROL END.
<4>[ 2.016906] [CAMDRV/CE147] ce147 sensor probe successful
<4>[ 2.016906] [CAMDRV] config_camera_off_gpios
<6>[ 2.018646] [CAMDRV/S5KA3DFX] s5ka3dfx_init: E
<4>[ 2.018737] [CAMDRV] config_camera_on_gpios
<3>[ 2.020294] [CAMDRV/S5KA3DFX] s5ka3dfx_sensor_probe E
<3>[ 2.020324] [CAMDRV/S5KA3DFX] s5ka3dfx_i2c_init E
<3>[ 2.020324] [CAMDRV/S5KA3DFX] s5ka3dfx_i2c_probe E
<3>[ 2.020355] [CAMDRV/S5KA3DFX] s5ka3dfx_i2c_probe X
<3>[ 2.025543] [CAMDRV/S5KA3DFX] S5KA3DFX sensor probe successful
<4>[ 2.025543] [CAMDRV] config_camera_off_gpios

Still testing :).
[Galaxy S Plus I9001 Android Development] alidsd:
Excellent @oisis !!! because there is no error in log.

Keep it up.

---------- Post added at 11:17 PM ---------- Previous post was at 11:11 PM ----------

Please don't forget me. :-)
[Galaxy S Plus I9001 Android Development] alidsd:
By deep looking the log it seems to be that now we are able to access I2C bus of camera module. thats great.

My best wishes are with you.
[Galaxy S Plus I9001 Android Development] R-Boy:
I'm sorry for that. Some people have nothing to do except being criminal. I hope those stealers will be found -.-

By the way, with the last version from 28.07 I cannot make any calls. With the version from 24.07 I am able to make calls.
[Galaxy S Plus I9001 Android Development] ivendor:
No new phone, i haven't much money to spend this period for a smartphone like i9001. (It was a gift )

The only way that i could continue develop on i9001 in near future, it's with a donation by the community of 200 € at least.

I'm sorry, i would have continue developing for this very good phone.
[Galaxy S Plus I9001 Android Development] Keinbockwurst:
I would donate, but what about others? Should I start a thread?
[Galaxy S Plus I9001 Android Development] Blumdum:
+1
[Galaxy S Plus I9001 Android Development] ivendor:
I've started another thread, we should stop off-topic on this, thanks.
[Galaxy S Plus I9001 Android Development] arco68:
720p recording should be ok now. Had to allocate more memory to PMEM ADSP in kernel for it to work.
[Galaxy S Plus I9001 Android Development] jokill2555:
wow! really great news!!! arco68 will there be an update of youre rom? and do you think its still alpha now?

best greatings to you!
[Galaxy S Plus I9001 Android Development] arco68:
There will be an update soon yes. I'll probably keep it alpha still though.
[Galaxy S Plus I9001 Android Development] jokill2555:
:o

---------- Post added at 08:08 AM ---------- Previous post was at 08:00 AM ----------

is the "five pictuteres taking bug" also fixed?
[Galaxy S Plus I9001 Android Development] demon434:
Arco can you please roll out the update today? Because I will go on vacation tomorrow and I would like to film in 720p :D. If not possible then it's ok dont worry, appreciate your work :beer: cheers
[Galaxy S Plus I9001 Android Development] :
hi

I now have several kernels and several of CM9 cwm recovery tried UDN also as it is in the thread here, it is always without success. once I update.zip (the last version), install it hangs on boot

and thereby hangs the whole camera, and the "puddingcam" depends on four pictures and must be stopped.

had also been in some people via PN to ask where it goes and held me to her instructions, even ill-success.

has anyone ideas?

regards
[Galaxy S Plus I9001 Android Development] joeri1985:
Working:

-camera (back)

-camera (front) without making a photo

-video via. lg camera from playstore

. great patch but if i use lg camera i get a green image and otherwise the phone quick reboots.

Is there another app for videorecording? for image i use camera zoom fx and pudding.
[Galaxy S Plus I9001 Android Development] XeLLaR*:
Arco. You are a friggin genius!
[Galaxy S Plus I9001 Android Development] sn0vvman:
set resolution to 800x480 and bitrate to 3 Mb in lg camcorder settings
[Galaxy S Plus I9001 Android Development] joeri1985:
Thank you very much, Tried it and works.

Glad to finaly use cm9 as daily. the camera stopped me from going from cm7 to 9 but with the ivendor patch and this 3th party app i'm a happy men. :laugh:
[Galaxy S Plus I9001 Android Development] nuck1982:
with resulotion 480 works stock app to. no need for a 3party app

Gesendet von meinem GT-I9001 mit Tapatalk 2
[Galaxy S Plus I9001 Android Development] XeLLaR*:
Theres no need for anything. I think the Alpha 6 will be there in a short time, and we can finally enjoy Camera Goodness:good:
[Galaxy S Plus I9001 Android Development] jokill2555:
think so too ;)
[Galaxy S Plus I9001 Android Development] arco68:
No idea, but on the Galaxy W I can take more than 5 pictures in a row without a problem.
[Galaxy S Plus I9001 Android Development] jokill2555:
hmm ok, we will see in next build...do you have an idea when youre ready for releasing it?
[Galaxy S Plus I9001 Android Development] XeLLaR*:
Dont ask for ETA´s. Thanks.
[Galaxy S Plus I9001 Android Development] rickvrolings:
Second link to vitaly kernel is dead, 404 error. Can anybody reupload?
[Galaxy S Plus I9001 Android Development] Flextrick:
first too for me.
[Galaxy S Plus I9001 Android Development] eBug:
Androidlost might help you trace your phone back.
[Galaxy S Plus I9001 Android Development] Keinbockwurst:
I dont think he had that installed.
[Galaxy S Plus I9001 Android Development] Daniel.96:
Then 'Plan b' I have red a bit about it, and you can install it AFTER your phone git robbed. Just log in google play and install it throug the briwser ;)
[Galaxy S Plus I9001 Android Development] shahbaz5588:
it only works if the person who stole it is "dumb" enough to turn it on and keep using the phone with wifi on, data on, and the gmail account still logged in on the phone... and if he was "smart" enough then he would have already formatted it...
[Galaxy S Plus I9001 Android Development] IceTe:
Well, there is no harm in trying (if he did not already)
[Galaxy S Plus I9001 Android Development] DreamerTKM:
Hi, im new to CM9 and im interested in moving from GB to ICS so i hope that you guys give me some help and advices on it.

First, http://xdaforums.com/showthread.php?t=1650615

1. Flash CWM 6.

2. Flash CM9.

3. Flash gapps.

From this is it my steps above correct:confused: Then in order to get working camera with front + back + orientation + video 720P fixed what should i do with it:confused: Thanks.
[Galaxy S Plus I9001 Android Development] AndrolinRoot:
Guys please let this theard clean of stupid things!

Thanks
[Galaxy S Plus I9001 Android Development] EternalFame:
its right but after cm9 do a full wipe to avoid problems (;

for cam search for ivendors kernel and install after you've finished all other steps
[Galaxy S Plus I9001 Android Development] DreamerTKM:
But the link on 1st page show only 404 error...maybe need to wait for link update:confused:
[Galaxy S Plus I9001 Android Development] AndrolinRoot:
false theard sorry
[Galaxy S Plus I9001 Android Development] Kokacrime:
Guy please fix your broken links in first post

Sent from my GT-I9001
[Galaxy S Plus I9001 Android Development] DreamerTKM:
yup...1st page 404 error
[Galaxy S Plus I9001 Android Development] AndrolinRoot:
guy i fixed it
[Galaxy S Plus I9001 Android Development] DreamerTKM:
Is that package included front cam orientation fix?
[Galaxy S Plus I9001 Android Development] AndrolinRoot:
Bye

yes.

Sorry guys I leave this forum, This isnt any more a development place!

Thanks for all guys who helped me with understanding my phone like

(broodplank,texten,oisis,arco and a lot more)

Please open a new camera theard, I think texten or oisis should open it, because they know much, arco too, but he is a busy man!

Big thanks to you arco for give a base for cm9!!!

But dont forget who gave us the base for AOSP

Big thanks to yard and skywalker!

By xda

it was great

but sometimes

some people dont know what a forum is..

say thanks to

zimmbadroid

he opend me my eyes....
[Galaxy S Plus I9001 Android Development] XeLLaR*:
Bye Bye.

this is not the right place to beg for attention
[Galaxy S Plus I9001 Android Development] jokill2555:
very happy that i mustn´t see youre spam anymore...yeah i know iam spaming right now too...but this must out!
[Galaxy S Plus I9001 Android Development] DreamerTKM:
To XDA Moderators I'm sorry for that but I'll only spam once.

Wow...seem so many people happy for this post :D

However, I agree with them as we all don't wan someone that didn't even carefully look through other posts, not even understand international language very well and only know to say keep thread clean bla bla bla... I not only about the CM9 flashing but ask for confirmation and main point is still stick to camera update patch. :o

To all developers, I have flashed your CM9 + camera fix...works well thank you ! looking forward for build 6 :fingers-crossed:
[Galaxy S Plus I9001 Android Development] UpGado:
Guys do not be so ,, Rom_Tester is BETTER THAN YOU , he said it's better to start a thread because of your spam

Edit: This is what You did with the Awesome Man manveru0
[Galaxy S Plus I9001 Android Development] AndrolinRoot:
-------------CLOSED------------

Thank you!

I remember the other people:

Maybe sometime I will comeback....
[Galaxy S Plus I9001 Android Development] Keinbockwurst:
Hey,

I just wanted to tell you guys that Ivendor is still collecting :)
[Galaxy S Plus I9001 Android Development] Whiskey103:
Closed per OP request.
[Galaxy S Plus I9001 Android Development] broncogr:
Reopened under new OP owner
[Galaxy S Plus I9001 Android Development] XeLLaR*:
Nice to see Texten got the OP for this thread. Now everything should be fine and developin' can begin again.Without annoying People. ;)
[Galaxy S Plus I9001 Android Development] UpGado:
Thank god :D
[Galaxy S Plus I9001 Android Development] Keinbockwurst:
ah, finally its opened again. ;)

I really hope the will be no such childish behaviour this time :)
[Galaxy S Plus I9001 Android Development] Alpha120:
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.
[Galaxy S Plus I9001 Android Development] androabot:
Try this latest patch, it works fine
[Galaxy S Plus I9001 Android Development] Alpha120:
Ok, I'll test it ASAP. First, I have to charge phone.

I hope deep sleep works with that.
[Galaxy S Plus I9001 Android Development] Daniel Bostan:
These guys are absolutely genious. HUGE APPRECIATION for the hard work about the camera. :good::good::good:

I wanted to know if there is going to be a fix for the HD recording. I really needed that and it seems the only thing missing from the whole 4.0.4 project.
[Galaxy S Plus I9001 Android Development] shubham412302:
Present in cyanogenmod thread search last few pages
[Galaxy S Plus I9001 Android Development] ivendor:
I' will test it with my new i9001, i've ordered tonight on amazon... be patient next weekend more udpates!
[Galaxy S Plus I9001 Android Development] jokill2555:
really great news:)
[Galaxy S Plus I9001 Android Development] Keinbockwurst:
Freakin awesome!! :)
[Galaxy S Plus I9001 Android Development] androabot:
With the update that I put up, you can take video in HD 720p

It´s based on the last update from ivendor and the last kernel from arco68.

It´s Increase PMEM_ADSP size to fix 720p recording
[Galaxy S Plus I9001 Android Development] XeLLaR*:
Nice to hear such a great news! Happy Developing and fun with ur New (old) Phone :D
[Galaxy S Plus I9001 Android Development] Alpha120:
Camera is fully working, I think...

Panoramic ok, front cam photo and video ok, back cam taking photo ok, video 720p working.

Is something missing?

Phone enters deep sleep state.

Everything working but... Wifi isnt working with this kernel...:(

Maybe some update?

@ivendor: glad you are coming back to i9001 development.
[Galaxy S Plus I9001 Android Development] razq3k:
For me 720p recording is a little bit laggy.

Sent from my CM9 Galaxy S+
[Galaxy S Plus I9001 Android Development] ntdetect:
how about the quality of the back cam? it takes 5 mpx photos? :confused:
[Galaxy S Plus I9001 Android Development] hypnos17:
Yes 5mpx but get fc after taking 5, photos

Inviato dal mio GT-I9001 con Tapatalk 2
[Galaxy S Plus I9001 Android Development] Pyrology:
Yes with photo compressing problem
[Galaxy S Plus I9001 Android Development] Flextrick:
leave cam and start again, so you can make another 5 photos. ;)
[Galaxy S Plus I9001 Android Development] shubham412302:
That's not the real solutions as you cannot take photos in burst mode.....
[Galaxy S Plus I9001 Android Development] R341M@N:
720p recording is little bit laggy, is pmem size enough for it ? Cuz before it was like extremely lagging and got fc in the end.

don't know but maybe 5 photos fc bug have same problem- small pmem ?

Please test it. And thanks to everybody , you did a great work.
[Galaxy S Plus I9001 Android Development] Daniel.96:
I also think, that it is a pmem problem, because:

!!! The frontcam also FC when you take much photos !!! - tested yesterday, frontcam has the same problem, but you can take more pics because the resolution is smaller and so also the file size. I'm sure the problem is in the memory management.

BTW: great news, ivendor :)
[Galaxy S Plus I9001 Android Development] Alpha120:
No issues with WiFi??? It's just me?
[Galaxy S Plus I9001 Android Development] razq3k:
Most of us doesnt have any wifi issue. Do a full clean install
[Galaxy S Plus I9001 Android Development] XeLLaR*:
Ivendor could you give us a little status update?
[Galaxy S Plus I9001 Android Development] Keinbockwurst:
He got his new s+ and he said we should expect updates at the weekend

Gesendet von meinem GT-I9001 mit Tapatalk
[Galaxy S Plus I9001 Android Development] XeLLaR*:
Nice.

Danke bock ;)
[Galaxy S Plus I9001 Android Development] visheshtungare0879:
what is photo compressing problem

can anyone give proper information abt photo compressing problem
[Galaxy S Plus I9001 Android Development] mirred:
Could you please attach logcat after crash after 5 photos? I've just ivestigated crash on front camera on i8150. I will check if the crash is the same.

UPD. If somebody would like to try, the patch is here http://xdaforums.com/showpost.php?p=30004717&postcount=313

The patch is for i8150, but it should work for i9001. You can try it only after backup!
[Galaxy S Plus I9001 Android Development] UpGado:
here it is
[Galaxy S Plus I9001 Android Development] mirred:
Crash is not the same.
[Galaxy S Plus I9001 Android Development] T@z90:
Look ivendor's github! Something is arriving
[Galaxy S Plus I9001 Android Development] Keinbockwurst:
Yea, interesting commits. :)
[Galaxy S Plus I9001 Android Development] Flextrick:
Because of ivendor this ROM will be beta soon! He's a little hero :D
[Galaxy S Plus I9001 Android Development] Alpha120:
So, anything new for now?

I'm using ParanoidAndroid 1.7b. Video taken with the front cam is rotated 180 degrees...

Still getting FC after 5 photos, but 720p video is working now.
[Galaxy S Plus I9001 Android Development] Keinbockwurst:
Have a look at ivendors github to be up to date. ;)

Gesendet von meinem GT-I9001 mit Tapatalk
[Galaxy S Plus I9001 Android Development] Alpha120:
Thank you, but at github you can download the files, but you have to compile kernel and everything, am I right?

I'll wait for something more stable...

It was only that this thread was very active a few weeks ago but now I see no new posts very often... I suppose people are just busy
[Galaxy S Plus I9001 Android Development] Phoenix Fire:
the true is that now the camera is quite perfect, so no one has nothing to say
[Galaxy S Plus I9001 Android Development] alexpowermetal:
What's the story with silly faces, do they work? Or still force close?
[Galaxy S Plus I9001 Android Development] omegaRED7:
Actually, no, the camera is not perfect, it works good, but not perfect. I actually wanted to initiated something, and before anyone gets any ideas, no i'm not a developer, and i have no knowledge of C/C++. I have basic knowledge of Java and programming in general, but i only started getting involved in Linux/Android a month ago.

So:

1. The only "clear" error i can see from the camera is not in logcat, but in dmesg

2. dmesg output after the 5th photo is something like

__msm_control: wait_event error: -512

3. This error is generated by kernel driver: drivers/staging/dream/msm_camera.c (you can take a look at the file in arco's repo, specifically line 259 to 512):

static struct msm_queue_cmd *__msm_control(struct msm_sync *sync,
struct msm_control_device_queue *queue,
struct msm_queue_cmd *qcmd,
int timeout)
{
unsigned long flags;
int rc;

spin_lock_irqsave(&sync->msg_event_q_lock, flags);
list_add_tail(&qcmd->list, &sync->msg_event_q);
/* wake up config thread */
wake_up(&sync->msg_event_wait);
spin_unlock_irqrestore(&sync->msg_event_q_lock, flags);

if (!queue)
return NULL;

/* wait for config status */
rc = wait_event_interruptible_timeout(
queue->ctrl_status_wait,
!list_empty_careful(&queue->ctrl_status_q),
timeout);
if (list_empty_careful(&queue->ctrl_status_q)) {
if (!rc)
rc = -ETIMEDOUT;
if (rc < 0) {
pr_err("msm_control: wait_event error %d\n", rc);

Now, i have no idea what the above code does. It looks like it the camera times out (or returns an error?) while processing the queue?. No idea. Maybe someone with some C/C++ knowledge can decipher it. In either case i doubt it's the kernel camera drivers as it doesn't explain why you can take 4 photos but not 5. Queue processing/release seems more likely, though dmesg output suggests this is happening as it should (at least if you go by the dmesg output when/after you succesfully capture a photo). Another logical explanation would be memory issues, but since it doesn't matter at which resolution you take the images, it doesn't seem to be the case. Or the memory addressing/assignment... I'm just thinking out loud here, and most probably this is just rambling... In any case, maybe someone will get an idea out of all this drivel...

Edit: Actually it DOES MATTER at which resolution you capture the images. I just took ~10 photos @ VGA resolution, so IMHO this looks more and more like a memory issue, a memory leak or something...
[Galaxy S Plus I9001 Android Development] Alpha120:
My Camera app doesnt have the "silly faces" option.. Where it is, BTW?

I remember seeing it one time, but not now...

I dont know if I have the latest fix, videos taken with front camera are rotated 180º and still FC after taking 5 photos.

I have seen ivendor's CM9 beta 3 gets the video rotation fixed, but I cant flash ivendor's CM9 directly because I use ParanoidAndroid rom...
[Galaxy S Plus I9001 Android Development] arco68:
It only appears after installing the gapps package, so it's not an option that's included in CM9. It's probably only compatible with the Nexus devices, or devices that have real ICS camera drivers. Which we don't have.
[Galaxy S Plus I9001 Android Development] alexpowermetal:
Maybe that's the case with my previous i9000. They was working fine. But it hasn't got official ICS.
[Galaxy S Plus I9001 Android Development] omegaRED7:
Hey Arco, does it make sense that the camera crashes after 5 pics on higher resolutions and after 10+ on lower resolution? I know you must've looked into this, but still seems weird...

More info from user herath, he can't post in the Development section just yet, maybe useful.