yashsingh1/xdaforums huggingface dataset:
[Touch Pro, Fuze Android Development] slickdaddy96:
Hey since you are going to be getting back to looking at the Camera elements Jerome. Is it possible while you are looking at the other issue, that you can look into the problem with most of the Rhodiums not recording sound when recording video?

I know you are doing this all in your spare time, but I thought I would mention it since you are getting back into messing with the camera issues.

Thanks, great job, and great work!
[Touch Pro, Fuze Android Development] mzmf:
I have rhod100 from uk and camera still not working. What i have noticed is that it works on a low light ambient, almost dark room. when I switch the room lights, the camera freezes after 2 seconds with the usual issues. i am using the 1276 kernel.
[Touch Pro, Fuze Android Development] arrrghhh:
Please, read the first post. Your feedback is useless without logs.
[Touch Pro, Fuze Android Development] viruscrazy:
OK guys, I've found some time to update to the latest FRX06 and test the "stock" camera without my changes...and indeed, the colors are not good and quality is a pity...but that because we are not using the correct codec. I thought that stinebd merge all of my changes but a part of it is missing and that makes the video using the software codecs, not accelerated.

I'm going to check with the good codecs, then check with stinebd if he can make them merged in the build. so that we have the good codecs.

Edit : I've found the missing change in the Xdandroid tree. I've sent a mail to stinebd so that he can make the change and compile the new library for us (I could do it, but I prefer that he do it in the official release building environment). That way, I will make it available here for tests then if it's all OK, then it will be quite easy for him to make it available in the build. I don't wan't him to spent too much time on this so if he can't do it easely, I will do it in my build environment.

Jerome
[Touch Pro, Fuze Android Development] shatred:
will those new codecs also solve the non working cam problem for us rhod100 users with an AUO panel?
[Touch Pro, Fuze Android Development] arrrghhh:
Awesome jb, thanks for the hard work!

To shatred - probably not, at least I seriously doubt it...
[Touch Pro, Fuze Android Development] viruscrazy:
No, unfortunately, it's not related to that. I'm going to have a look to the logs and try to make your cam work.
[Touch Pro, Fuze Android Development] shatred:
thnx :) i was starting to get jealous of everyone with working cam on rhod XD
[Touch Pro, Fuze Android Development] tomdeaap:
That'd be awesome, thanks for all the effort!
[Touch Pro, Fuze Android Development] slobba:
Just wanted to confirm that I am seeing these exact symptoms on my Rhod110 with EID panel. Attached are some logs where I took a few shots of darkness (which worked OK) and then moved the camera to point to a light source. A couple of seconds later the image on the screen became corrupted and froze. Onscreen camera controls are still responsive (except Expose button) and it is possible to get back to home screen.

I've done this a few times and had a look in the logs. Problem seems to coincide with the "Window already focused..." line in the logs (line 2243 in the attached logcat.txt).

Hope this helps and thanks for your time viruscrazy.
[Touch Pro, Fuze Android Development] viruscrazy:
That's a strange problem indeed and I hope it's not related to the library we are using that makes the adsp crash. When you're un dark light, does the autofocus try to focus ? With light, does the picture gets screwed after that autofocus have moved ?

Jerome
[Touch Pro, Fuze Android Development] slobba:
I have been able to take a couple of pictures in a light level just high enough to see the auto-focus is focussing. I believe that the auto-focus is only active when the shutter button is pressed? The problem with the screen corruption and freezing, in normal light levels, happens without pressing the shutter button.

What I have also noticed is that when the light level is just high enough to start the display corruption I have been able to take a picture before the shutter button becomes unresponsive. This resultant picture is quite normal and does not have the corruption that I see on the screen.

Thanks.
[Touch Pro, Fuze Android Development] shatred:
any success so far jerome? if you need anything tested i am gladly to help you out.
[Touch Pro, Fuze Android Development] viruscrazy:
Hi,

I'm just back from some hollidays and I will test the files that stinebd sent me (I've asked him to generate them so that in the mean time, I'm sure it can be quickly included in the main build). I've now recevied both files and must do a test on my device to exactly determine what must be added to the official system build to make tests (i.e change to the froyo.user.conf mainly). As soon as it ready to be posted, then I will make an update of the first thread and a small post here.

Regards, Jerome
[Touch Pro, Fuze Android Development] viruscrazy:
First post has been updated with new libraries for the camcorder fix.

This will enable hardware codecs for our devices and will also enable sound recording. If you have problems then, once again, do dmesg + logcat of the problem (try to get a logcat of the moment you switch from camera mode to camcorder, that the moment when the libraries are loaded and if it should fails, then it will probably the best place to get debug messages).

Thanks.
[Touch Pro, Fuze Android Development] arrrghhh:
Nice, thanks Jerome.

Mind updating us on the AUO panel situation? Should they test this as well? I know they have been itching for cam :p.
[Touch Pro, Fuze Android Development] viruscrazy:
Unfortuntely, I didn't worked a lot on the AUO panel issue. I've check lots of winmo dlls to see if there were some special codes on some rhod devices (including the dlls that some people posted here). I can't see anything different between those dlls and the one I have from different rhods.

If anyone is ready to make some tests with a device that have this problem, then please send me a pm and I will give you my mail so that we can speak about the problem and solve it.

Regards, Jerome
[Touch Pro, Fuze Android Development] arrrghhh:
np man. I'll try to point some knowledgeable AUO panel folk in your direction...
[Touch Pro, Fuze Android Development] viruscrazy:
Well guys, there's not a lot of testers here ?

Please, I need at least 2 or three testers. It's working for me and if we want to release this for everybody, I need a little confirmation.

Thanks. Jerome
[Touch Pro, Fuze Android Development] arrrghhh:
Bummer man. I PM'd a couple of guys with AUO panels. Haven't heard anything back from them myself.

I bumped a thread over in the TP2 section, sending people over here. Hopefully it gets more attention.
[Touch Pro, Fuze Android Development] slickdaddy96:
I don't have AUO panel, but if you want to tackle the Rhod400 {and possibly other Rhodiums?} problem with recording sound with video, I would be glad to test that! :-)
[Touch Pro, Fuze Android Development] arrrghhh:
Did you at least bother to read the first post?
[Touch Pro, Fuze Android Development] slickdaddy96:
My bad, didn't do it cause I was using the XDA app and didn't realize someone already fixed it because I haven't really checked this thread for a month or so. I am just subscribed to it in my email, so I thought I would respond in jest. Next time I will check the first page before I do that. :-)
[Touch Pro, Fuze Android Development] snalbansed:
Except you did hear back from me... and I'm in contact direct with Jerome now.

But he obviously needs others: tomdeaap, shatred?
[Touch Pro, Fuze Android Development] viruscrazy:
Well guys, I need some testers for the camcorder stuff. For the AUO panel, I'm in contact as told above so only camcorder test is needed right now.

Thanks, Jerome
[Touch Pro, Fuze Android Development] tomdeaap:
Yeah, was meaning to give it a test today, but work would't let me. Perhaps tomorrow, will report back here.
[Touch Pro, Fuze Android Development] arrrghhh:
Heh, sorry snalbansed. I forgot, you did reply to my PM :p. Thank you.

Jerome - I never tested camcorder audio functionality so I'm not sure if I'm in the camp of working or not working (seems some it did work, others did not...)

So I'll test both angles, 'stock' FRX06 setup to see if it works at all, and then your setup. Thanks again for your work!
[Touch Pro, Fuze Android Development] slickdaddy96:
Hey Jerome,

I put all the library files where I should, and I also put the appropriate linesin the froyo.conf file. I even tried to mount them manually using terminal emulator. Sound still won't work on my Rhod400. I am using wistilt's kernel and not the newest RIL(because I had issues with that one) but the one that he stopped updating before he changed the code for it. I don't know if that makes a difference or not. When I get a chance I will download the FRX06 autobuild and try to run the library files on that to see if that makes a difference.
[Touch Pro, Fuze Android Development] arrrghhh:
Would be interesting to see if there is a difference on a 'clean' FRX06 build, but the cam code should be no different in WisTilt2's kernel. RIL would have absolutely no effect on cam either.

So I doubt there would be a difference on autobuild everything, but try it anyways - and please, submit logs. Feedback isn't really so useful without 'em.

Edit - tested this myself finally. First run, no audio on the recording - didn't have your new libs. Second run, with libs - the phone worked great, until I tried to stop the recording. Phone freaked out, and got very sluggish. I hit the 'home' button, and it seemed to completely hang. I got the logcat, it's attached. I'm going for another run...

Edit 2 - Run 3 was much much better. I'd say everything worked as expected, but still no sound :p. Logs from run3 also include a dmesg with the logcat!

Let me know if you need moar Jerome, thanks.
[Touch Pro, Fuze Android Development] Chillout:
I have a RHOD100, and would love to support with testing!
[Touch Pro, Fuze Android Development] EmanuelARG:
hi i wanna take the try! i' ve been using XDAndroid 2.2 (rel 1.6) but the cam is not working and that suck and i cant use neither the 3G network, with this may i can??
[Touch Pro, Fuze Android Development] shatred:
virus i did send you an pm with my email adress in it, you just never replied -.-"
[Touch Pro, Fuze Android Development] arrrghhh:
To both of you, then help out! Everything you need is in the first post.
[Touch Pro, Fuze Android Development] tomdeaap:
I did some extensive testing on the camera concerning the AUO-issues. I tested on a fresh stock FRX06 (autobuild kernel) with a (not the most recent) f22 rootfs.

The things I noticed:

- the standard camera app doesn't work and will result in a reboot to WinMo

- With fxCamera:

very low lighting: everything works fine​

intermediate lighting: the camera image on the screen is warped (striped, image divided in squares, or diagonale stripes run over the screen , and the colours are weird) but I can still take a picture, and the picture turns out great. The camera image is normal after that (when in low enough lighting)​

normal lighting: The screen goes warped for a second, but then freezes in that positions. I can still press the on-screen buttons to take a pic, or go back to the menu, but only that last one works, the rest does nothing. I can go back to home, but the phone is sluggish. OsMonitor shows nothing in particular eating up CPU. Even sometimes the screen will only remain in landscape mode, and all hardware keys are unresponsive, including the kb.
​

I was able to take logcat and dmesg (did the test minutes after startup, so everything should be there)

dmesg: http://pastebin.com/6jB2DJim

logcat: http://pastebin.com/BSTPUERN

BTW I took 3 pictures in the following order:

- Finger slightly in front of lens -> "intermediate lighting" -> warped image, but the stored image was normal. Pic 1

- Finger almost entirely in front of lens-> low lighting->everything OK Pic 2

- Picture taken under my desk -> "intermediate lighting" -> warped image, but OK picture Pic 3

Then I pointed the cam at my tft, and that was too mucht light.
[Touch Pro, Fuze Android Development] viruscrazy:
Thank you for all the details. I'm currently *working* on that (and other things) and as soon as I've got something either to test or need more logs, then I will update the thread. I thinks something is going wrong with the settings sent to the DSP camera application but I can't understand why it's only happenning on AUO screen devices...

Thanks again for all your logs.

@ shatred : I had no time theses days to come on xda, sorry. Now, I've got your mail and as told above, I will try to sort this problem. I hope it will be simple...I just need to find some times to prepare a more verbose kernel for camera to collect some informations on a precise case. Anyway, thanks for your help.
[Touch Pro, Fuze Android Development] tomdeaap:
A small update: since I couldn't open the regular cam app, I also couldn't try the camcrder ,but I found a direct shortcut. The result is more or less te same as the photo cam. In direct light it starts stuttering and hangs. If the buttons remain responsive, I can go back to home but screen is landscape and all hardware buttons are unresponsive.

And there is only static sound with the saved videos.

Would you also like to have logs for the video?
[Touch Pro, Fuze Android Development] muziling:
com.android.camera FC
[Touch Pro, Fuze Android Development] ryannathans:
Would NEVER have found this (as I only patrol the touch pro 2 section) if it wasn't for arrrghhh

Standard camera app opens for a second then crashes (I can see about a second of 'view' from the camera.)

FxCamera just freezes up usually, same deal as normal camera but without the crash.

Can't test video.

I have a rhod110 - it does NOT have an AUO panel.

Attached logs are from opening standard camera and experiencing the crash.

WisTilt2 Test kernel
[Touch Pro, Fuze Android Development] arrrghhh:
Didja read the first post? Yes, logs are absolutely and utterly necessary, lest you want your feedback to be rendered completely useless - as it is without logs.
[Touch Pro, Fuze Android Development] ryannathans:
Got the dmesg and logcat general for ya. Updated post above ^^

Standard camera app opened and saw a second of 'view' from the camera before crashing.
[Touch Pro, Fuze Android Development] Chillout:
whoops, seems I was wrong, I have panel type 14...
[Touch Pro, Fuze Android Development] shatred:
hey Jerome, just wondering.. how far is the development for the rhod100, AUO panel Camera?
[Touch Pro, Fuze Android Development] The_Font:
Camera Tests

Hi,

I just discovered this thread.

I Have a rhod100/auo and I use FRX05 with the latsest autobuild kernel (14-05-2011). I did a test with the camera and I have the same issues as described in this thread. When I put my finger on the lens the cam keeps working but as soon as I remove my finger I get one picture and then the previewscreen hangs.

I hope the logging I captured is helpfull.
[Touch Pro, Fuze Android Development] welard:
is there front face camera surpport in these libs........thanks
[Touch Pro, Fuze Android Development] arrrghhh:
No, not to my knowledge. I think only a few devices have it, like a few RHOD100's and perhaps a few TOPA's?

I'd say less than 5% of the phones supported in this project has a front-facing cam. Would be nice to see support for it, not sure what would be required. jb's been pretty busy with the new audio routing code.
[Touch Pro, Fuze Android Development] welard:
THANKS for the responce.......would blackstone be surpported because i have one of them to........thanks
[Touch Pro, Fuze Android Development] arrrghhh:
Uhm, I already said none of the devices with front-facing cams have support for it.

Didn't realize BLAC was in the front-facing cam club. I'd imagine if the other devices get it, BLAC should - but that device isn't so well supported. We never have them in the IRC rooms, and I'm not aware of any devs with BLAC....
[Touch Pro, Fuze Android Development] welard:
THANKS.......I Knw virus is working on other stuff and its totally brillant what he as given us so far and.......audio, bluetooth to come is great news.......

hopefully in the near future we will see front camera........but what virus is working on rite now is amazing!!.....
[Touch Pro, Fuze Android Development] bArAbAts:
with new FRX07 and htc-msm-linux-20110622_180615 kernel,

i've got no image on display, its a completely black screen, and camapp hangs

Rhod100, how can i find out which panel ive got?

will try to install lib's and keep you posted

********************after lib's update*************

problem still remains, a totally black screen!
[Touch Pro, Fuze Android Development] arrrghhh:
RHOD100's usually have the AUO panel, and evidently have a different cam sensor - they're the only ones where the cam doesn't work so well... I haven't seen any updates from jb (viruscrazy) but the more logs the merrier I guess. Your post isn't really useful without 'em.

Oh, and you don't need these libs if you're on FRX07... or 06 for that matter.
[Touch Pro, Fuze Android Development] juzzwuzzz:
hey

I have a rhodium 100 also with front camera

I would like to help you get the camera to work on the rhodium and also get the front camera to work.

How can i help you.... Im not really a computer specialist.... so i didnt understand the whole first thread :( can you give me a help on this so i can help you get it to work

Step 1: Make a backup: Understand that/ Check

Step 2: See intructions in the 22/01/2011 update: call me a noob, but witch update do you mean

Step 3: If you have a CMDA rhodium: Noob again... how do i know if i have a CMDA device?

Step 4:Replace the kernel + modules with the ones provided in the latest update: Where can i find these updates?

I see 2 links... 1 to some kind of a blog... and 1 is to a download page where i can download en zimage and module?

What do i have to do with those both things?

And after testing how can i get an dmesg log?

Haha i really sound like a noob.... probably will not be the best person to be testing... but i really want to get the camera to work properly on my device and even get the front one to work.... because then i can do video calls.
[Touch Pro, Fuze Android Development] bArAbAts:
her my logcat

rhod100 AUO panel!

screen stays black!
[Touch Pro, Fuze Android Development] arrrghhh:
A user with the handle "brinka123" popped into #XDAndroid today and said he fixed the RHOD100 cam issue. No information on how he fixed it, no patches... nothing.

So if you read this, please tell us how you fixed it! Assuming the patch is acceptable, submit it so it can go mainline and all RHOD100/AUO users can enjoy their camera in Android!
[Touch Pro, Fuze Android Development] ryannathans:
*cries*

My camera demonstrates the same symptioms as a RHOD100 even though it's a RHOD110 and not AUO.

I would have loved to get a look at the fix. D:
[Touch Pro, Fuze Android Development] arrrghhh:
Hopefully you will... if he distributes it at all, he has to provide source :D.
[Touch Pro, Fuze Android Development] brinka123:
Working Camera for Rhodium 100

Hi All,

Attached an own compiled kernel, with a changed camera driver.

Now the camera is working on a Rhodium 100.

Only during zoom exposure is not correct.

Please test it on a Rhodium 100 and others (400,300) etc.
[Touch Pro, Fuze Android Development] arrrghhh:
Cam still works on RHOD400. Still randomly fails on me, but that was always an issue ever since it was enabled... I can't say it ever "worked well" although at times it would. If only it worked well consistently...

Anyhoo, RHOD100 folks that had no cam before - how's it work for you? Please focus on reporting cam-only issues - don't report any other problems! You probably will have other issues!
[Touch Pro, Fuze Android Development] brinka123:
Thats good news already, that the change did not degraded the 400 !!!:)
[Touch Pro, Fuze Android Development] Schumi_wk:
Camera works for me with the update and indeed there are now is another problem with wifi.

greetz and thanks

edit: tested on a rhod100

Edit 1: Camcorder also works
[Touch Pro, Fuze Android Development] brinka123:
You tested on a Rhodium 100 schumi_wk ???
[Touch Pro, Fuze Android Development] djcrosstunez:
Camera works for me too!!! and same problem with Wifi!

Rhod100,

Thanks!
[Touch Pro, Fuze Android Development] schlei:
damn camera is working on rhodium100 ???

I have to test it right now ! thats are hot news !!!!!!! :D:D:D
[Touch Pro, Fuze Android Development] arrrghhh:
Yes, for anyone that has a RHOD that cam did not work before, please try this new kernel and only test cam. Wifi and probably other things will be broken - let's focus on cam testing here! Thanks folks!

It seems promising, so it'll probably get committed - but that's really what we're ensuring here - that the patch he made to the cam is commit-able. So far so good!
[Touch Pro, Fuze Android Development] schlei:
Perfect ! CAMERA and CAMCORDER is working on my RHODIUM100_de !!!

:D:D:D

Wlan is not working with this kernel but i hope a new coplete kernel will arrive soon.

great work
[Touch Pro, Fuze Android Development] arrrghhh:
brinka123 - I never saw your patch on the ML. Perhaps you can attach the actual patch here so I can submit it for you...? You'll still get credit for sure, but we need to be able to review this patch to commit it mainline... thanks!
[Touch Pro, Fuze Android Development] brinka123:
I asked you last night what mailing list....

No answer....

Again it cost me 2 hours to find out how you guys are working....Nice...

I sent a mail (2 times to xdandroid-dev@lists.xdandroid.com) with attachment last night already. A .dat file with the change is attached.

reply of the mail:

The results of your email command are provided below. Attached is your

original message.

- Results:

Ignoring non-text/plain MIME parts

- Unprocessed:

Please reply whats going to happen now...

- Done.

So what now ???
[Touch Pro, Fuze Android Development] arrrghhh:
What are you talking about...? There's a wiki page on submitting patches, there pages on how to compile the kernel and the system image, there's pages on how to do everything pretty much. C'mon... I am not always on IRC, even tho my handle is always on, I should be "away" when I'm not actually logged in.

I don't know. All I know is your post isn't there:

http://lists.xdandroid.com/pipermail/xdandroid-dev/2011-September/thread.html
[Touch Pro, Fuze Android Development] littlebigtux:
Gentlemen, just keep cool...

Brinka, Rhod100's users (I;)) hardly need your module.

Please, make it easy, don't waste your time, just attach it to your reply

(as far I understood your post on Tiad8's forum, you're not allowed to post attachement on dev's mailing list).

thx

or go to http://xdandroid.com/wiki/Submitting_Patches
[Touch Pro, Fuze Android Development] brinka123:
2 nights ago:

I created the patch as described in the procedure (pffff...) outcome is a .dat file an explanation and files I changed.

Sended it to the [mail]xdandroid-dev@lists.xdandroid.com[/email]. Got a reply that it is rejected because I am not a member....

Subscribed to the mailing list. Confirmation received I am a member. Sent the patch again. I got a reply as seen above...

So tell me what is wrong here.... I don't know.

But I sent the patch again this morning...

Checked the mailing list my mail is on it. Are the changed files included in the attachment ??

For the rest: Nice that it is working now. It is realy a simple change.
[Touch Pro, Fuze Android Development] littlebigtux:
.dat seems to be there but I couldn't say if others files are there.

With time shift between Europa and USA we'll have an answer this afternoon
[Touch Pro, Fuze Android Development] brinka123:
Thanks littlebigtux.