yashsingh1/xdaforums huggingface dataset:
[Touch Pro, Fuze Android Development] arrrghhh:
Uhm... What? First of all, it's going to be much better to get this cam code committed to the main GIT tree rather than trying to merge two completely disjoint trees to make a third disjoint tree. Second of all, I created that thread, and it's meant for panel testing only. This kernel is meant for cam testing only... See how that works? We test things separately and them merge them all into the main kernel. Please don't repost that thread anywhere else, thanks.

Just let the developers do what they do best, they have a lot of work to do to get this code committed!
[Touch Pro, Fuze Android Development] djdafreund:
Ahem, and THAT"S why we always ask to read the first post, especially the line that says "This is for camera testing of these models only, don't post about anything other then this." Following directions. This i ssimply to get camera h/w working properly, then Viruscrazy will get it integraded in the official branch, which at THAT point you can use the main branch with what ever tweaks and newer builds you want. But for this thread, please leave anything unrelated DIRECTLY away, thank you. :)

@Viruscrazy, no rush, just checking to see if you had a chance to see if you had any clues to the log files on what might be causing the flash thing. Was just giving you that log per your request, so no rush. Just following up only. :)
[Touch Pro, Fuze Android Development] skimike02:
2/16 kernel working great on rhod 210. Just realized I never updated haret... thanks!
[Touch Pro, Fuze Android Development] Lump800:
Raph 100

New kernel

Speed great

Kamera not working (have all files to got it)
[Touch Pro, Fuze Android Development] playerxl:
I know that this android version is a beta and in testing procedure. But it's very nice to play around with this android... But the files (zImage, haret, modules etc) aren't easy to find... so someone can help me to get the right files to get my android working again?
[Touch Pro, Fuze Android Development] viruscrazy:
Hi,

I quickly checked the log but the only one flash call is with level 0...I need to check again, but I think level 0 is to disable the flash. Maybe it needs something else to work (like an ioctl or something like that). It will probably be part of an improvement after the "basic" camera has been committed.

TO ALL PEOPLE TESTING THE NEW KERNEL ON OTHERS DEVICES THAN THE ONE SAID TO BE WORKING (DIAMOND, RHODIUM), DON'T EXPECT THE CAMERA TO WORK. I'M REBASING THE KERNEL AND ADDING DEVICE PER DEVICE TO ENSURE PROPER WORK AND PATCHES.

Once your device is supported with the new kernel, there will be an update and the device will be mentionned.

Thanks for the blackstone and topaz testers. That test was to confirm the memory configuration is working for all the devices (it's quite important because as you've seen, a small computation mistake makes the device crashing...imagine I've submitted the patch to be committed in the main tree, it would have break your devices...).

Will try to prepare an other device today.
[Touch Pro, Fuze Android Development] playerxl:
I used haret from 1st post... but when I tap on it.. my blackstone will boot up in WM :(
[Touch Pro, Fuze Android Development] viruscrazy:
First thread updated with a new kernel that adds camera support for TOPAZ on the new kernel basis.

Please, let me know if you have problems running this kernel (try to take a snapshot if preview work, normally, everything should work fine).

Thanks, Jerome

P.S : playerxl : read the first post entirely. You might need to use the "set INITRD_OFFSET" parameters...
[Touch Pro, Fuze Android Development] DmK75:
Yes, seems new kernel for Topaz works perfect :)

Created 5mp photos with AF in standard or other cameras.

And other features like wifi, 3d etc not missed.

Thanks.
[Touch Pro, Fuze Android Development] viruscrazy:
Thank you. The most risky part is now behind me (the pmem adjustements...it's a real pain with our current tree).

Next device will probably be raphael, then the blackstone (I forgot that I did a small patch for the blackstone tests, but ain't released the kernel for tests...)
[Touch Pro, Fuze Android Development] skimike02:
Not sure how camera-related this is:

On a previous kernel (1/23 or so), google goggles worked with modprobe ipv6 added to froyo.user.conf. With 2/16 kernel, goggles crashes on startup. It may be related to a recent update in google goggles though. Regular camera still works fine. Just letting you know in case it helps.
[Touch Pro, Fuze Android Development] djdafreund:
@viruscrazy, ok i will try making a log next of switching to auto, then switching it back to on, then taking a picture, then making a log right after. That way we can see if it's still 0 (hopefully not) and if so, something just isn't getting switched right when switching it 'on', even though the flash is being manually switched on. Also, i'll be there for ya when the raphael testing is on.
[Touch Pro, Fuze Android Development] viruscrazy:
Another way to test the flash is to download an application on the market that computes the heartbeat from the camera (yeah, it seems weird but it's working fine on my brother's android phone with flash. It's called "Instant Heart Rate" and use the flash to "enlight" the blood at the tip of the finger.

Hopes this help.
[Touch Pro, Fuze Android Development] djdafreund:
Ok, i will definitely get and try that. Sound's like a better shot for sure. Thanks.
[Touch Pro, Fuze Android Development] Erikson89:
Can confirm that! Thanks great work!
[Touch Pro, Fuze Android Development] viruscrazy:
Perfect, that make 2 topaz ok with the new kernel. I can now move to the next step, raphael and then the blackstone.
[Touch Pro, Fuze Android Development] viruscrazy:
I think the flash won't power up because I just figured out that the gpios used for flash on cdma were not the same as gpios on gsm...but anyway, it will show me if the flash level is different from 0...I'm currently coding the flashlight gpios to support both cdma & gsm.

Jerome
[Touch Pro, Fuze Android Development] viruscrazy:
Updated First thread with a kernel including support for Raphael.

Please, test it and report any crash or bug (only concerning camera). Flash might or might nor work with this kernel. If it doesn't work, then try to download "Instant Heart Rate" application from the market and launch it. Close it and make a dmesg log so that I can see what's going wrong.

Thanks, Jerome
[Touch Pro, Fuze Android Development] djdafreund:
Ok, noctied there were 2 programs both called the exact same name, but i grabbed the higher star rated one. Tried it, hmm, 64beats, pretty wild how good it works, any way, lol, here's a log in case it helps further, sound's like you got it figured out now anyway. :)

http://xdaforums.com/attachment.php?attachmentid=520146&stc=1&d=1297967100

Edit- grabbing new files now. Posted this the same time you posted last message, so i didn't see it until after i posted. Will grab and test again now.
[Touch Pro, Fuze Android Development] viruscrazy:
I don't know why but it seems the flash subroutine isn't called at all...Will have to investigate how it's supposed to be called...
[Touch Pro, Fuze Android Development] viruscrazy:
Updated First thread with a kernel including support for Blackstone.

Please, test it and report any crash or bug (only concerning camera). Autofocus is not enabled yet on this kernel for the blackstone. If there a crash, make a dmesg log so that I can see what's going wrong. If the screen power off, please, try to make a dmesg log after having waited for 1 minute after boot.

Thanks, Jerome
[Touch Pro, Fuze Android Development] shavenyaknz:
Topaz Kernel doesn't seem to work

Hey viruscrazy,

Tried the Topaz Kernel and it boots but when I start the camera I just get a black screen and then eventually the wait/force close dialog. Attached is the dmesg and logcat.

Thanks.
[Touch Pro, Fuze Android Development] welard:
HI WHAT DO I NEED TO DO A dmesg and logcat I HAVE NOT DONE ONE BEFORE...........THANKS
[Touch Pro, Fuze Android Development] viruscrazy:
Check your libs.
[Touch Pro, Fuze Android Development] R^7Z:
First post states that you need to be able to run ADB or even know a little about it to be useful in this project/thread. Please give THIS a once or twice over and then try again my friend... ;)
[Touch Pro, Fuze Android Development] shavenyaknz:
See here http://xdaforums.com/showpost.php?p=10832376&postcount=482
[Touch Pro, Fuze Android Development] welard:
thanks alot
[Touch Pro, Fuze Android Development] sirthoz:
to CORIAS: thanks very much I got it now at last I can test this kernel like others, ENJOY CHRISMAS,GOD BLESS:D
[Touch Pro, Fuze Android Development] smack_exTreme:
xdandroid runs very slow for me (diamond200), unusable. the one mentioned is pretty fast (like wm 6.5.5 + sense 2.5). has some bugs though, but hey, so do windows mobile:)
[Touch Pro, Fuze Android Development] R^7Z:
I have a Fuze and I am using the FRX03 package from THIS thread. Not using the andboot option nor the OC. I am using an app called controlcenter to produce the dmesg and logcat. I am also using the modified froyo.user.conf file posted a few posts ago.

First zImage dmesg: pastebin link

First zImage logcat: pastebin link

Second zImage dmesg: pastebin link

Second zImage logcat: pastebin link

NOTE: I was able to boot with both zImage but when I tried to launch the camera app, all I got was a blank screen but I was able to get back to the home screen.

Let me know if there is anything else I can do to help out, thanks!

Odd, I find it running really fast on my Fuze. Then again, I do modify a few things on initial boot to get a good data.img file. I posted a decent troubleshooting tutorial to include a lag fix work around HERE.
[Touch Pro, Fuze Android Development] djdafreund:
Was trying to help out to get info for raph800, and does both in my root SD install (tried both), and did the same in my android2.2 install dir (where i keep my android installation, setpath=android2.2") and it starts showing the linux start screen and after like 3 seconds the screen fade's to black (can see light still on, not totally off) and waited a while but nothing else happened. I tried first the 'usememory' version file, then tried "printonly" image in hopes to be able to record the memory layout for you. No luck though. Was just trying this to help give info for when you get around to the raph800's.

Using main package from FR03 (same thread as link above), then appying diamond module's replacing file, and using both test zimage file's. I know it's for diamond, but trying to at least get the memory map to help for when doing the raph's, you got the info you need.
[Touch Pro, Fuze Android Development] tiad8:
Merry Christmas Guys. God bless all of you. Thanks

sprint htc touch pro 2 (rhod400)
[Touch Pro, Fuze Android Development] CeasarRAPH100:
Hi

Attached is dmesg and app start logging from TouchPro RAPH100

When starting camera app screen goes black, and after a while camera not responding FC or Wait.

Cheers.

/S
[Touch Pro, Fuze Android Development] smack_exTreme:
well fuze has more memory than diamond (i think even faster memory chips)....
[Touch Pro, Fuze Android Development] Rotary Parts:
i have a blackstone downloading now will try and let you know!!
[Touch Pro, Fuze Android Development] Simon_WM:
Hi tried on my HD,

get " Sorry!, Activity Camera (in application Camera) in not responding..

Real shame, :o
[Touch Pro, Fuze Android Development] nowm:
camera on touch diamond works now!

at least a bit... I get timeouts every now and then

but I could take some photos!

thanks!
[Touch Pro, Fuze Android Development] Rotary Parts:
Same here doesn't work!:)
[Touch Pro, Fuze Android Development] viruscrazy:
Thanks all for your tests and merr xmas to all of you.

I don't have much time right now to work on the camera but will soon be able to work on that.

I'm collecting your dmesg logs and will look at them. It seems like camera app on some devices don't even try to open camera driver...that's quite strange. I've not yet tested FRX03 image, I'm still on a homemade image (may be equivalent to FRX03 but I don't really know).

Maybe it would be usefull to add the debug outputs from userland camera application to debug (I will probably share my compiled camera application with debug outputs, so that you will just have to replace one file to activate debug outputs).

Anyway, thanks again for your tests ! I will get back here with new files soon !
[Touch Pro, Fuze Android Development] Simon_WM:
Just thinking, What version of XDandroid are you running ? Becuase it might work on FRX02 then 03 ? Just an idea ;)
[Touch Pro, Fuze Android Development] R^7Z:
Was thinking the same thing! However, he mentions he is using a custom/homemade image. So, there's really no telling... ;)
[Touch Pro, Fuze Android Development] Simon_WM:
Well, if it a custom image ? when why could'nt he upload it for testing, that then might solve the camera issue on the Touch HD ? :o
[Touch Pro, Fuze Android Development] R^7Z:
Perhaps to isolate an issue:confused: Keep in mind, this was originally released for testers with specific devices (diamond) ;)

By the way have you tested it with FRX02 yet?
[Touch Pro, Fuze Android Development] Captain_Throwback:
Same experience here, on my Fuze (RAPH110).

Running the 2nd zImage with memory settings enabled, and the lib_pack mounted via froyo.user.conf, on FRX03 w/fresh data.img.

dmesg attached. Hope it helps! should I test on my RHOD300 & TOPA210 as well, or is it definitely not supported on those devices?
[Touch Pro, Fuze Android Development] viruscrazy:
Well, I've builded some new images + modules so that you can get the wifi and things like that working with the zImage...

The links are on the first post in the "updates".

This new image include small fixes but most important is that they include more debbuging outputs for camera (I forgot to enable them on other images, so I don't have a lot of information in dmesg logs).

My "custom" build system.img is from the general repository of Xdandroid, so it should be the same as FRX03. I runned a "custom" build because I did some tests on the camera application (like some memory rounding, debug outputs, ...thing like that). Nothing really differs from my system.img from the FRX03.

If the debug is still not easy with the help of kernel debug messages, then I might need to upload a userland camera "debug" image also, to have userland messages in logcat.

But right now, I think you can start doing some tests with the newly uploaded kernel + module.

Thanks

P.S : Bzo got the camera working on its rhodium, I will gather the required mods to the rhodium files and post a new image with them so that rhodium users will be able to test it. Topaz is not yet done.
[Touch Pro, Fuze Android Development] viruscrazy:
Please, will you be able to test the new image ? Maybe the new debug output will tell me why the image is upside down. Is it totally reversed of only upside down ?

Regards, Jerome
[Touch Pro, Fuze Android Development] djdafreund:
This sounds great. Just say the word when you start getting around to the raph800 units. I am totally ready to help out. I already tried this for fun in hopes to be able to give info that might be of use in terms of the memory log, but it just fades to black screen about 2 seconds into the heret boot process. Oh well.
[Touch Pro, Fuze Android Development] welard:
Camera not starting here's my txt file for blackstone

EDIT:CAMERA WORKING ON XDANDOID BUILD..............NOT WORKING ON TIAD8 BUILD...........
[Touch Pro, Fuze Android Development] Eodun:
Please, test this kernels only with XDAndroid stock build, as devs don't know what modifications has tiad8 made, so it's impossible to debug.
[Touch Pro, Fuze Android Development] Eodun:
Last test kernel for blackstone, using NO AF libcamera:

Boots, everything working perfectly, cam launches but black screen (no control frame). Stays there until I tap any HW button, then FC/wait dialog. If wait, same behaviour. Tried rebooting again, same result. Attached dmesg&logcat.
[Touch Pro, Fuze Android Development] :
Great job..

On my raphael,Camera works like a charm...Without an problem..But wifi gives me an error with every kernel(from camera session) if i try to open it for the second time...By the way im impressed with all your job...Great Job...Thanks...
[Touch Pro, Fuze Android Development] viruscrazy:
From the dmesg log, I would say that the library does not seem to be the library of my packages. Can you please check your froyo.user.conf and check that the bind is still present to the library (and that the library is still present) ?

Regards, Jerome
[Touch Pro, Fuze Android Development] Erikson89:
Please stop writing with caps lock. It's annoying! We can also read it if you write in a normal way.
[Touch Pro, Fuze Android Development] idogxx:
cool! the 02/17 kernel,DIAM500 can boot now,and i can use camera & af!

sorry for my bad english.
[Touch Pro, Fuze Android Development] Eodun:
Hm, seems I'm having problems with my froyo.user.conf. I doesn't delete fsck files anymore.

I'll tell you something when I can, I'm leaving today. Thanks.
[Touch Pro, Fuze Android Development] viruscrazy:
Probably the source of the non working camera. Have a good day.

Jerome
[Touch Pro, Fuze Android Development] Eodun:
Don't understand what happens, everything is correct in my conf file but custom shells don't run. I'll make a clean install and try again.

Sent from Blackstone using XDA App
[Touch Pro, Fuze Android Development] surge919:
The camera starts up fine and when I press the shutter button is goes through the motions but only shows a pink screen.

After that, whenever I open the camera, it force closes.

I've attached my dmesg and logcat.
[Touch Pro, Fuze Android Development] mizofizo:
I have that problem too! I thought I was the only one... :eek:
[Touch Pro, Fuze Android Development] idogxx:
the 02/17,diam500 can not weekup before sleep
[Touch Pro, Fuze Android Development] welard:
here my attached file wth libcamera.so 5mp.............it freezes when taking a snap shot.........thanks
[Touch Pro, Fuze Android Development] McFlyH:
how to type ">" on keyboard in terminal ? :confused:
[Touch Pro, Fuze Android Development] R^7Z:
I use the software keyboard to do my typing under terminal
[Touch Pro, Fuze Android Development] snalbansed:
If you have a rhodium, use the rootfs from http://xdaforums.com/showpost.php?p=11018866&postcount=1 and you will be able to use Fn c and Fn v to get <> on the hardware keyboard.
[Touch Pro, Fuze Android Development] pdawg17:
Is it a known bug to get a pink screen after taking pic on rhod400? Camera used to always work for me but this Feb 16 version gives the pink screen...
[Touch Pro, Fuze Android Development] tiad8:
I don't have this issue. I have taken over 150 pictures on my rhod 400 with no prblem.

I add it 5 libs driver to system/lib. camera works really good. I'm only using virus kernel 1214. Thanks virus.

Thanks

sprint htc touch pro 2 (rhod400)
[Touch Pro, Fuze Android Development] pdawg17:
Dec 14 kernel? Camera has worked for me until this Feb 16 one...anyone using this newest kernel with a rhod400?
[Touch Pro, Fuze Android Development] McFlyH:
On my Raph GSM software keyboard not work in terminal

:mad:
[Touch Pro, Fuze Android Development] arrrghhh:
Uh... kinda off-topic, but ConnectBot - should be no problem using the virtual kbd in a terminal.
[Touch Pro, Fuze Android Development] daeinnor:
Download the latest terminal emulator from the market. The old one does not support it.
[Touch Pro, Fuze Android Development] savioning:
I have this problem too....
[Touch Pro, Fuze Android Development] pdawg17:
What phone do you have?
[Touch Pro, Fuze Android Development] savioning:
my phone is touch pro RAPH100, xdandroid
[Touch Pro, Fuze Android Development] arrrghhh:
Can you post your dmesg and logcat as requested? If you want to help test, that would be useful...
[Touch Pro, Fuze Android Development] surge919:
I posted my logs in an earlier post. Was there anything useful in them or should I post another set of them?

thanks
[Touch Pro, Fuze Android Development] arrrghhh:
I quoted savioning, not you surge919 ;). Thanks for submitting your logs, I am no expert at deciphering logs, but viruscrazy is and he needs them to improve the cam code for commit. If you already submitted logs great! I was quoting savioning because he didn't submit any logs, and just made a basically useless post. Thanks!
[Touch Pro, Fuze Android Development] viruscrazy:
No need for new logs yet. I will at first have a look to the difference between the new kernel and the older one.

Thanks.
[Touch Pro, Fuze Android Development] Eodun:
Seems my froyo.user.conf got corrupted somewhere. Now camera works, but the libcamera.so for AF doesn't, it freezes the app. Do you need logs or was that expected?
[Touch Pro, Fuze Android Development] popsterfr:
I am also affected by this problem. Problems using 2/16 and 2/17 kernel with attached haret and initrd offset. If another set of logs would be help I would be happy to post them when I get home from work.

Phone: RHOD400 on sprint

Rootfs: 20110210-2cb7ec0
[Touch Pro, Fuze Android Development] viruscrazy:
Autofocus is not yet enabled on the blackstone as I suspect it to make the device not to boot. I will do an other kernel for blackstone with autofocus enabled. There have been so many changes in the previous tree I was working on, that I couldn't be sure from where it could come.

I also have to find out the pink problem on the RHOD400 (seems that it mostly affect this device). Does anyone of you can take a picture of the "pink" screen ?

Regards, Jerome
[Touch Pro, Fuze Android Development] viruscrazy:
First thread update with new kernel for Blackstone (Autofocus is re-enabled in this kernel).

Please let me know if you have the screen problem with this kernel. Thanks
[Touch Pro, Fuze Android Development] surge919:
I grabbed the attached image using the ScreenShot tool in DroidExplorer.

It doesn't actually grab the pink screen, so replace the blackness of the image with pink.

btw:

I'm using the package from 21/02/2011
[Touch Pro, Fuze Android Development] rank2:
Logcat & Dmesg for Raph100 attached.

Camera works great, I think there even appeard a camera flash for the first picture

Edit: Flash does work for once after reboot in camfx

Thx!
[Touch Pro, Fuze Android Development] mizofizo:
Here's a picture of the pink screen. It only happens after the preview and auto-focus happen. This was done with the Feb 21st kernel and modules.
[Touch Pro, Fuze Android Development] Eodun:
Everything works with last kernel! Cam without problems using AF, 5mp, apps IP webcam, FXcamera and Google goggles run perfectly.

You're great virus!

Edit: Even my city's public transportation app uses the camera lol!

Edit2: QRDroid and Camera360 work perfectly too.
[Touch Pro, Fuze Android Development] kruijs:
Wow, Blackstone camera working, sounds amazing!

@Viruscrazy:

I was wondering something, 1st post reads "only for XDAndroid, preferably FRX03/04".

But is there in principle also a chance it would also work on Xdandroid Gingerbread alpha?

(since it was not specifically mentioned that camera should not be working in that build?)

I did replace kernel/modules, haret.exe (plus modified startup.txt) and modified gingerbread.conf, all according to first post.

(and in the past had a FRX03 build running an earlier camera, so I know where all the files should go :) )

... But no such luck this time, got some infinite boot loop...

Or was I being a bit too hopeful here? :)

I can supply logs if this is interesting to look into, but don't let me take up your time, since you're doing such great work!

Cheers,

Robbert

HTC Blackstone running XDandroid Gingerbread-Alpha (OC@700 MHz), 1255 Kernel/modules, stock rootfs
[Touch Pro, Fuze Android Development] poleshuka:
hi

can you post your froyo.user.conf
[Touch Pro, Fuze Android Development] Eodun:
Not really different from the one in the library package. But I have the libs in the root of my sdcard (check paths) and use ipv6 because of google goggles.
[Touch Pro, Fuze Android Development] TRNSLN:
Do you use the one from your signature? XDAndroid 2.2.1???