yashsingh1/xdaforums huggingface dataset:
[Touch Pro, Fuze Android Development] yourboyfrombk:
oh ok how would i do that...could you post or pm a copy of a txt file with it added thank you!!!!
[Touch Pro, Fuze Android Development] arrrghhh:
Open froyo.user.conf (in the CONF directory). Look near the bottom, there's a section called CustomCommands. Within that section (there's some braces signifying where the boundaries are for this section - {}) put the line

modprobe ipv6

Simple!
[Touch Pro, Fuze Android Development] yourboyfrombk:
i tried that an its slow an sluggish maybe i dont know where in between the command line goes???
[Touch Pro, Fuze Android Development] arrrghhh:
Are you aware of the system_server bug? It's completely unrelated to this change. Sounds like what you're running into, make a call to voicemail.

Basically you'll put it in the same section as the mount --bind statements in the froyo.user.conf...

Jerome... Perhaps we should just include this in the froyo.user.conf so no one else asks about it? Eventually I'm sure we'll be enabling it at the kernel level (the support is obviously there).
[Touch Pro, Fuze Android Development] DmK75:
Great!

Now with kernel from "kernel_modules_01282011.zip" i make 3mp photo.

And with "zImage_jpeg_fix_qdsp5.zip" make and save 5mp, but lose Wifi (error).

Thanks.
[Touch Pro, Fuze Android Development] viruscrazy:
Can you try the attached package ? I can't understand why the other package doesn't work...that making me crazy...Anyway, this package is the latest I can do...next one will be in one week !

Jerome
[Touch Pro, Fuze Android Development] zooster:
My topaz reboot as soon as haret starts loading, with last pack: new haret + commandline + modules of 28 + zImage_jpeg_fix_qdsp5.zip...
[Touch Pro, Fuze Android Development] Erikson89:
The mentioned crash occured after loading the phone and making a lot of other things. After new booting screenshots worked again in standard camera app.

I tested intensively with the package of post 1 and it works mostly. Often the preview hangs on different apps. I think it is when the app uses Auto-Focus.

After hanging and restarting the app it worked again. Screenshots worked in normal camera app and in camera scanner. In all other apps I tested camera doesn't work. (they perhaps all use autofocus?)

After all should I try the new kernel?

You have to download the file in the post, not the attached.

http://www.4shared.com/file/yWGPM0sc/kernel_module_01282011.html

Sometimes this occours on my topaz, too. I try always booting two, three times and it boots sooner or later.
[Touch Pro, Fuze Android Development] zooster:
It happens all the time here, always rebooting in winmo as soon as using new haret + setting...
[Touch Pro, Fuze Android Development] Erikson89:
I have no idea.

You can try to set up a new system and try again.
[Touch Pro, Fuze Android Development] DmK75:
Yes, downloaded and tested.

Camera works in 5mp mode and saves photos :)
[Touch Pro, Fuze Android Development] yourboyfrombk:
well this is what i did putting the extra command in...like i said i could be doing something wrong....i was not aware of any system_server bug neither

# custom shell commands, these commands run last custom_shells{chmod 777 /etc/dbus.conf

# echo "Hello!!!"

# example rm -rf /sdcard/*.rec modprobe ipv6 mount --bind /sdcard/libGLES_qcom.so /system/lib/egl/libGLES_qcom.so mount --bind /sdcard/gralloc.msm7k.so /system/lib/hw/gralloc.msm7k.so mount --bind /sdcard/liboemcamera.so /system/lib/liboemcamera.so}
[Touch Pro, Fuze Android Development] arrrghhh:
Yes, the problem is you have it all on one line... I put it in code braces, copy and paste it over that same section.
[Touch Pro, Fuze Android Development] paulabutler:
Blackstone Camera - it works

Blackstone wm6.1 Cloudy 0.7 Rom

FRX03 with FRX04 system.ext2

kernel_module_01282011

Haret from first post

edited startup with set INITRD_OFFSET 0x608000

Everything seems to be working, camera works on 5m and I have wifi (though it drains battery in about 2 hours)

Many thanks for all your hard work - Paula
[Touch Pro, Fuze Android Development] zooster:
You guys with this new haret working, what version of topaz do you have, monodie or dualdie? And do you use Andboot folder or sd root? FRX04 or 03?
[Touch Pro, Fuze Android Development] imranjamadar:
Camera works but slow

Jerome, pls find the attached logs for my device Topaz Diamond 2 ,camera works fine, but when changed to video mode it crashes,which is a know issue.
[Touch Pro, Fuze Android Development] GoldAngelo:
Because viruscrazy not yet started work on the video. For now deals only with photos.
[Touch Pro, Fuze Android Development] zooster:
Am I the only one with rebooting behavior with new haret?
[Touch Pro, Fuze Android Development] Erikson89:
I think so. I also have a dualdie and it works.
[Touch Pro, Fuze Android Development] zooster:
FRX04 updated ota?
[Touch Pro, Fuze Android Development] djdafreund:
Works just fine with FRX04, without the 2 command line's removed as shown in first post ("If using FRX04, SOME might need to removed these 2 lines.....")

Try a fresh data.img to make sure it's not that, as that clears up a lot of issues. Just to be safe, if not we will try to help further (provided your following instructions properly already and using the correct files in this thread, since that's all were testing here is camera functionality.
[Touch Pro, Fuze Android Development] thomas d:
Where exactly in startup txt do you put set INITRD_OFFSET 0x608000. Do you replace set initrd initrd.gz or what i am confused.
[Touch Pro, Fuze Android Development] Erikson89:
You will find it if you read on the last 3 pages.
[Touch Pro, Fuze Android Development] zooster:
Guys the problem is with this new haret. As soon as the bar ends loading, it vibrates just once and reboot into wm.
[Touch Pro, Fuze Android Development] Corias:
1. Is it necessary to put INITRD_OFFSET string in specific place or it does not matter?

2. Does Raphael 100 get any advantages with 20110128 kernel?
[Touch Pro, Fuze Android Development] DmK75:
I use this startup.txt, for boot with new haret.

set ramsize 0x10000000

set ramaddr 0x10000000

set mtype 2293

set KERNEL zImage

set INITRD_OFFSET 0x608000

set initrd initrd.gz

set cmdline "rel_path=FRX04 pm.sleep_mode=2 acpuclock.oc_freq_khz=691200 lcd.density=240 msmvkeyb_toggle=off sensor=topaz"

boot
[Touch Pro, Fuze Android Development] drhadidy:
Hi guys...

Im still on the conf. mentioned in my signature...

i still have a problem with the data connection... it never works...

is there a solution for that??

thank u
[Touch Pro, Fuze Android Development] zooster:
Tried and it doesn't matter still reboot into winmo...
[Touch Pro, Fuze Android Development] Corias:
Try to insert that string after initrd.gz definition
[Touch Pro, Fuze Android Development] _ptr:
Try reselecting your network operator.

As in: Settings > Wireless & network settings > Mobile networks

That usually solves it for me
[Touch Pro, Fuze Android Development] zooster:
Already tried, I think there is some incompatibility with this new haret and my Topaz, but I don't know what...

*Edit: also resetting data.img it reboots at the end of the haret loading bar...
[Touch Pro, Fuze Android Development] Ray2210:
no zoom when capture photo

THX viruscrazy!!!!!

Zoom is work on my raphael with FRX04, :D

but when I captured the photo still no ZOOM.:confused:

I follow all the instruction in post 1 and used new haret,

but the navipad seem not working when it not bright before booting into xdandroid.

It make crazy a lot, i need to touch the navipad first before every booting. It can be make sure the navipad can working after boot into android.

Anybody show me how to solve the issue???????:confused:
[Touch Pro, Fuze Android Development] rainbowsky:
Which kernel do you use.

I can take a photo on my blackstone, but i can not find the photo, I think there is not a photo saved in SD. please tell mu Which kernel do you use, and which android rom do you use, thanks!
[Touch Pro, Fuze Android Development] R^7Z:
Kernel package is in the first post. Please read in it's entirety as there is very important information. If you are using a build other than FRX03/FRX04, you'll just need to find a camera app that works as some neopeek variants do not include the camera app as reported by some users.
[Touch Pro, Fuze Android Development] DmK75:
Seems these libs not compatible only with 2.1+Sense build.

It cannot boot with them.
[Touch Pro, Fuze Android Development] R^7Z:
A slightly off topic post

Funny you should mention sense builds, I was just checking out the Rosie package I downloaded last year. I recall it booting but never really noticed anything better/worse outside of a degrade of performance. Possibly related to sense and the Raph's underpowered processor. I guess to a certain point, it's more of a hardware issue than software, though I still blame technology not being where it would be of any use. I suppose we're stuck with the limitations of being human, for now anyways ;) :p
[Touch Pro, Fuze Android Development] havas:
diamond:

preview is ok,both photo or video recording mode.

but cannt save pictures, when take photo or video,the camera app hangs.
[Touch Pro, Fuze Android Development] hovensy:
use 01232011 kernel

Try using 01232011 modules, zimage and camera lib package, old haret on FRX04, camera works for me.. video is still in progress.. zooming on camera works on preview but no zoom on saved pictures.
[Touch Pro, Fuze Android Development] Eodun:
Using kernel_modules_01282011.zip, cam works, takes and saves 5mp photo, view of last photo taken working (though when I click it nothing happens, is that normal?), system working flawlessly.

The only issue is with apps other than Camera, I'm having the same result as mentioned above. Seems they can't handle the autofocus.

Thanks viruscrazy!

Edit: About zoom, I'm having weird/funny results.

1.- Tried different levels and all of them take the same photo

2.- It first shows the full photo (unzoomed) and saves a zoomed photo

3.- The saved picture is not what it's shown while taking it, but one at full zoom (more than the camera should handle???) and not centered where I was pointing.

Have a good week, viruscrazy, we'll wait for you ;)
[Touch Pro, Fuze Android Development] goducks3620:
awesome that you all are working on this. Was just trying to decide about whether to keep the wife's Rhodium, she would like to run Android but not having a camera isn't an option for her.
[Touch Pro, Fuze Android Development] imranjamadar:
try putting it on the top

make sure you have the latest haret specifically for these kernel, and put that line,text on the top above all, i did that and it worked for me.:D
[Touch Pro, Fuze Android Development] mizofizo:
Just updated to the latest kernel/zImage and now my camera doesn't work anymore. All I see is a pink/purple image. I've tried both the dream and legend libraries. I'm also having a lot of random reboots. Not sure if it's the new haret or something else.
[Touch Pro, Fuze Android Development] Eodun:
Did you add the "set INITRD.OFFSET" line? re-check first post.
[Touch Pro, Fuze Android Development] mizofizo:
Yup, I tried it before the init, after the init and I currently have it as the first line.
[Touch Pro, Fuze Android Development] arrrghhh:
Honestly if it was working before, there's no point in going with a newer test kernel... those are for 5mp blackstone, etc.

As was stated before, if you've got a working setup no need to update it.
[Touch Pro, Fuze Android Development] mizofizo:
I was hoping that I could have the panel collapse and camera working. Guess it's either or at this point.
[Touch Pro, Fuze Android Development] arrrghhh:
Considering they're two different kernels...? Yes. Please be patient until the code is committed. Even then, please continue to be patient :p.
[Touch Pro, Fuze Android Development] mizofizo:
Heh, I'm definitely keeping my patience hat on. I just got excited when I saw that there was proper panel init for rhodiums in the latest update. I figured the camera would still work since it had just been changed to add in more cameras. I guess I'll roll back to 1/23 then! :D
[Touch Pro, Fuze Android Development] h3xadecimal:
thanks! testing in my tp2!
[Touch Pro, Fuze Android Development] mahoaga:
got the raphael 100 but when i configure it like you said in first site, then i only see blackscreen when i start camera in froyo.

i make '#' before the mount commands in the file conf

copy the kernel modules and the new haret file also the zimage.

and add the set initr_offset in startup file

but doesnt work....
[Touch Pro, Fuze Android Development] arrrghhh:
Why would you comment all the mount commands out...? That will prevent them from mounting (obviously) so you should probably fix that... Without these libs mounted, it'll never work...
[Touch Pro, Fuze Android Development] Corias:
Bet one that libs are misplaced in this case.
[Touch Pro, Fuze Android Development] zooster:
@viruscrazy

I've tried all the possible combinations but this new haret doesn't work for my topaz.

No matter what I do, set command line or anythign else. It just reboots into winmo as soon as the bar ends loading.
[Touch Pro, Fuze Android Development] SmartPhonevsHotGirl:
Whoops, newest kernel and modules 0128 just keeps freezing my DIAM500 after making that reboot sound. Gonna have to see if I can isolate the problem and see what may cause it.

edit: Seems like the kernel was a no go (tried old and new haret). Will see if I can get some more updates.
[Touch Pro, Fuze Android Development] arrrghhh:
Wasn't DIAM already working on an older kernel...?

Don't update unless the fixes are for you - which AFAIK the newest fixes are for blackstone. If there was a previous kernel that worked for your phone, stick to that kernel. No point in updating if it was working! When it's committed we can worry about it more.
[Touch Pro, Fuze Android Development] SmartPhonevsHotGirl:
Hi. I didn't get both the camera and wlan working with any combination of kernel0modules thus far since I started trying beginning with the 12-23, 01-22, 01-28 if i remember correctly thereforce I've been through these.

I'm on FRX4 now though and may have to try and roll back and try a couple different releases though.

edit: Hrmm, may be a good idea to roll back to a working camera release redo everything, seems like the newest modules seem to fix the wlan though but breaking camera. May be better to just wait for a while.

edit2: hp tool and a fresh install of frx4 with the oldest kernel/modules (think it was from 12-2X) I could find using the decommented .so seems to be working for now :). Looking good thus far!
[Touch Pro, Fuze Android Development] arrrghhh:
Don't worry about things like wlan in this test kernel. This kernel is meant to be for camera testing, and camera testing only. We can hash out issues like wlan with the main kernels, thanks.
[Touch Pro, Fuze Android Development] mahoaga:
i only '#' these mount commend...

mount --bind /sdcard/lib_camera/libGLES_qcom.so /system/lib/egl/libGLES_qcom.so

mount --bind /sdcard/lib_camera/gralloc.msm7k.so /system/lib/hw/gralloc.msm7k.so
[Touch Pro, Fuze Android Development] arrrghhh:
Well, if you're on FRX04 that's fine. Please be more clear next time, I can't make assumptions about what you're doing - otherwise I assume you're doing it wrong :p.
[Touch Pro, Fuze Android Development] viruscrazy:
Hi there,

I'm back, but won't be working on camera till tomorrow or monday.

I'd like to have an overwiew of the working devices with the last kernel.

That way, I will focus on non working devices, then get closer to the "official" kernel and some people might be able to start merging the camera for tested devices.

To do that, I will also have to revert to the "old" memory configuration files. It might broke some devices at first (if I make mistakes...but if I don't do mistakes, then you won'"t have anything to say and tests would be useless...) that's why I need to know what devices are fully working, and which ones are not working yet (by "working", i mean camera preview + snapshot...EXCLUDING : ZOOM on saved picture, VIDEO CRASH, and other non related bugs like audio, panel, navipads, ...).

Can you please reply to this with somthing like :

Device : DIAM100 (Exact model as printed on the label on your phone)
Camera : working or Not Working (if not working but was working with a preview kernel, please let me know the package date).

Thanks all for your tests.
[Touch Pro, Fuze Android Development] spitzilla:
The DIAM100 has been reported as working with some kernels, but I have tried all released kernels and none seem to boot on DIAM500 device.
[Touch Pro, Fuze Android Development] GoldAngelo:
Raph100

FRX04

Kernel+zImagine 28.01.2011

lib_camera 23.01.2011

rootfs 23.01.2011

Camera not working (at least in my case).

I can't connect Raphael with ADB (system the system displays a message at lack drivers?) and i when i do it in ,,Emulator" on device this is not safe on sdcard so I can't add dmesg.txt+logcat.txt
[Touch Pro, Fuze Android Development] Eodun:
Device Blackstone

Camera working, 5&3mp

Zoom working (sort of)

Edit oops : last kernel

Sent from Blackstone using XDA App
[Touch Pro, Fuze Android Development] mahoaga:
got the same device raph 100, and camera is not working
[Touch Pro, Fuze Android Development] mizofizo:
RHOD400

Camera Working

Library, zImage, Modules: 1/23/2011

Old Haret

New Haret and 1/28 modules did not work. Preview would work but no app could capture and save the image.
[Touch Pro, Fuze Android Development] viruscrazy:
Well, seems I must clean up the forst post of the thread with only one set of files (kernel, modules, libs, ...).

I will do that tomorrow and then we will be able to start on a clean basis for tests.

I've tested the latest packages on my DIAM100 and it seems camera is broken with the last library (libcamera.so). I need to investigate on this tomorrow, seems like it might also be breaking some other devices.
[Touch Pro, Fuze Android Development] Erikson89:
Welcome back!

I will be here for testing your work.

Only as summary:

The crash I mentioned at last occured after loading the phone and making a lot of other things. After reboot the device screenshots worked again in standard camera app.

Should I test the kernel you posted last anyway?

I tested intensively with the package of post 1 and it works mostly in standard app. Often the preview hangs on different apps. Maybe it is when the app uses Auto-Focus.

After hanging and restarting the app preview worked again a short time. Screenshots worked in normal camera app and in "CamScanner". In all other apps I tested camera screenshot didn't work.
[Touch Pro, Fuze Android Development] viruscrazy:
Hi,

You don't need to test the other kernel package I made, it's the same as the one you are using but I just did a clean of the build tree to be sure that all was rebuilded.

For the other apps problems, can you please make a logcat log of the application start and give me one example of an application that crash (the best would be the same application as the one you used for the logcat).

Same thing if you have a preview hang, can you make a dmesg + logcat if your phone is

I will update the first thread today with a new libcamera.so that re-enable autofocus for the 3mp devices (I broked it when I've update the userland camera driver). Now, autofocus works for 3mp. I will also make a second libcamera.so that re-enable autofocus for the 5mp sensors but it might not works and if so, I will need some logcat logs (and maybe dmesg log).

As soon as I've updated the first post I will let you know.
[Touch Pro, Fuze Android Development] viruscrazy:
In fact, it's not broken...I just had screwed my libs when I did some previous tests and I did not restored them. So diamond and similar devices should be working. As mentionned in the previous post, I will update the library package with a newer library to re-enable autofocus on the 3mp sensors.

First post has been updated with 2 libcamera.so files. 1 for 3mp sensors, to re-enable autofocus, and one for 5mp autofocus tests. Please if you have any trouble with the 5mp snapshot (crash), then make a logcat + dmesg. Thanks
[Touch Pro, Fuze Android Development] Erikson89:
Can you delete the attached modules and kernel. It confused many people and is a older package, isn't it.
[Touch Pro, Fuze Android Development] viruscrazy:
Done. Thanks
[Touch Pro, Fuze Android Development] Erikson89:
I tested both 3MP and 5MP. Camera hangs at taking pictures on both modes. Do you need a logcat while taking a picture or only after?

Here are the logs after taking a 3MP picture. In this the frame was white.

In this 5MP log the frame goes red and then it hangs. It does not always the same.

I rebooted the device between these two logs.
[Touch Pro, Fuze Android Development] viruscrazy:
Thanks for your tests. Seems like the autofocus support is not yet enabled for the mt9p012 sensor. I've made a change in the kernel to enable it, can you test the kernel attached in the first post (named zImage_02072011_5MP_AF_TEST.zip )

Thanks again
[Touch Pro, Fuze Android Development] Erikson89:
I will test it tomorrow.

Have not much time at the moment because of exams.
[Touch Pro, Fuze Android Development] djdafreund:
Raph800 (TOUCH PRO CDMA SPRINTPCS)

FRX04

Kernel+zImage 28.01.2011

lib_camera 23.01.2011

new Haret (plus command line added)

rootfs 21.01.2011

libcamera.so (fixed focus version 3mp 07.02.11)

Camera Works fine. Autofocus is also working fine again now (thanks)
[Touch Pro, Fuze Android Development] shavenyaknz:
The new zImage works well on my Topaz, also the autofocus works very well. Not sure if it's been mentioned before but all the images I've taken with the camera modules seem to have lines through them.

I've attached an image along with logs to show what I mean. Awesome work Viruscrazy, this camera is getting really close now !
[Touch Pro, Fuze Android Development] Erikson89:
Yeah! I tested different apps. Autofocus was the problem as I thought. ^^

Preview works. Pictures saves.

Save zoomed pictures still doesn't work.

Thx.

I doesn't have this problem on my Topaz.
[Touch Pro, Fuze Android Development] viruscrazy:
Does the lines also shows in preview ? Do they appears in winmo ? Thanks
[Touch Pro, Fuze Android Development] welard:
Hi viruscrazy,......just a quick question:- i have a blackstone and i use your libs and modules camera and they are working very well, could i use this on any android build with userland enabled or is it only made to work on xdandroid build only..........thanks in advance!
[Touch Pro, Fuze Android Development] shavenyaknz:
Yes they appear in the preview but not in Winmo. All the versions of the camera modules I've tried have had this problem. I'll try with the non-5mp version from the first post and see if that makes them go away.
[Touch Pro, Fuze Android Development] viruscrazy:
Hi,

It "should" work on any android build that have the camera enabled. But, it might not work properly without the changes I made in the libcamera2 driver. Those changes includes some fixes for zoom (not yet fully working), 5mp & 3mp sensor supports, ...

Currently, I don't have a repository to publish the changes I made in the userland, I might do it these days but it's not a priority.

Jerome
[Touch Pro, Fuze Android Development] shavenyaknz:
Hmm, same problem. Perhaps it's just my phone.
[Touch Pro, Fuze Android Development] welard:
thanks for the kind responce.........how ever in the last 15mins i have tryed your libs and modules on a different build, all i got was (camera error) cannot connect to camera..........but i know your files work because it works on xdandroid build.............thanks again and look forward to your libcamera2...............
[Touch Pro, Fuze Android Development] viruscrazy:
If it's not showing those lines in winmo then it's probably a misconfiguration in android...I will have a look to that.

Jerome