I'm going to leave rom building to others for now. I'd like to get rotation fixed then get this checked in so the rom builders can do their thing =]
I like how you're focusing (no pun intended) on the camera. Thanks a lot man.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I'm going to leave rom building to others for now. I'd like to get rotation fixed then get this checked in so the rom builders can do their thing =]
Just had a quick play with this. Camera is so nearly fully there, and usable in it's current form. I tried it with QR reader with success, the killer app for me is the Chase check deposit, but I don't have a check to test it with yet but am hopeful.
Really well done Adamto, am looking forward to the kernel making it to other ROMs, especially Paranoid Android.
UPDATE:
Skype and ooVoo aren't working.I try to sign on and it won't let me sign in :/.Going to reflash it and see if it works.
No they are not crashing.Like I put in my password with Skpye and sign in and it stays stuck on Signing in.... as for ooVoo it says can not sign in right now try again later.But they are not FC'ingI would imagine that they are starting with the FFC. And as it's not working right now I bet that is why they are crashing.
I'm assuming you are posting this in refference to my post about Skype.If so like I said there is no crashing or closing of the app.All that happens is if I enable video when I first sign on I get stuck where it says signing in....The circle loading thing keeps moving but it won't push any data to get me in Skype.From what I can see Skype sees that we have camera with the build adam(I guess that's his name lol) made.But when you go to enable video it stops the data from being sent to complete the sign in.To give an example....when you sign in you can see the data being transferred with the little data arrows.But in my case it won't do that with video enabled but if I don't the data goes thru and I can sign on.I don't know if anybody's missed this, but if you look here:
https://github.com/MTCM9/camerahal-test/blob/ics/Android.mk#L20-L24
You will notice there's a flag for FFC. I have tried this with it enabled and it will stop the crashing of the FFC, but it won't really change much. It's trying to enable the FFC, but ends up using the same as the rear camera. I just liked it because it got rid of that horrible camera crash![]()
No they are not crashing.Like I put in my password with Skpye and sign in and it stays stuck on Signing in.... as for ooVoo it says can not sign in right now try again later.But they are not FC'ing
UPDATE:
When I choose to not enable video calling it allows me to sign in but when I enable it during start up I'm stuck on signing screen.
UPDATE 2:
When I try to enable video from setting after signing on I get kicked off Skype.Also when I try to enable video it I will cause the camera app to not work.
Not necessarily. This is for all FFC crashes in the generalI'm assuming you are posting this in refference to my post about Skype.If so like I said there is no crashing or closing of the app.All that happens is if I enable video when I first sign on I get stuck where it says signing in....The circle loading thing keeps moving but it won't push any data to get me in Skype.From what I can see Skype sees that we have camera with the build adam(I guess that's his name lol) made.But when you go to enable video it stops the data from being sent to complete the sign in.To give an example....when you sign in you can see the data being transferred with the little data arrows.But in my case it won't do that with video enabled but if I don't the data goes thru and I can sign on.
This leads me to believe there is something in the camera file permissions that were changed that is keeping Skype from completing what it needs to complete to allow sign on with camera enabled.It's like whatever changes were made is keeping video streaming apps from letting you log in with video enabled.
I will be checking this in as a readme as well but here is some documentation I have been working on.
This is to keep track of what I know about the camera. It's certainly
not guaranteed to be right.
The camera is operated by four separate modules, now two of them are
binary, and quite frankly it's pretty scary this scheme actually
works. The MD5s of the binaries I am using:
f72f6ffb2df03f48e30984e61ba98eeb liboemcamera.so
5a5eac1a832129bfd7a37d60f547a7ee libcamera.so
First up is the kernel driver, in drivers/media/video/msm. This seems
to be mostly i2c control functions, although the version of it is
critical to the camera working for reasons I don't yet know, possibly
a difference in ioctl message values. The kernel driver I pulled is
from:
triumph-kernel-msm7x30-46cea7ad007cf38438208ce14dd1c3b4890f70c3
Second, is QualcommCameraHardware.cpp, aka libcamera.so. It doesn't
look like we actually have this source code file from a Triumph. I did
play around with a couple ideas with QualcommCameraHardware.cpp, but
could never get things working. So, I decided to use the binary
libcamera.so that we know is working from CM7. One issue with using
the binary is that the content of QCamera_Intf.h needs to match the
binary liboemcamera.so, especially cam_ctrl_type, as there is a least
one jump table in the binary that depends on its values. I have
changed QCamera_Intf.h to match libeomcamera.so as best I could.
Third, is the cameraHAL, new to ICS, which is camera.msm7x30.so. This
contains a copy of QualcommCameraHardware.cpp, so I changed the build
to link directly with the binary libcamera.so. It is worth noting that
this library is actually loaded by the mediaserver process, and that
if you want to replace it on a live phone, you need to kill the
mediaserver process before the changes will take effect. Also, there
is an msm_camera.h here that should probably be kept in sync with the
kernel's.
Last up is the camera framework. This is part of the C++ code that is made
into JNI so it can be called from Java. There is an important piece of
the puzzle here as well: CameraParameters.cpp/h. Certainly
libcamera.so depends on the parameters being correct and possibly
liboemcamera.so as well. I pulled these from cm7 frameworks.
Are you set up to take a logcat?
FFC is front facing camera right?Not necessarily. This is for all FFC crashes in the general
And here is when I try to enable the video
That would be correct.Like I said whenever I go to enable the video all data going to and from Skpye stops and I get stuck in an infinate loading screen.Like I said it doesn't force close it just stays loading.And when I enable video on Skype it also disables the camera on the phone til I restart the phone.Hmmm, there is no camera log traffic??
Going to test it and see if Skype and ooVoo will work correctly on this build.Thanks!I'm having trouble pushing my commits to MTDEV git, so I have made another testing build, with the orientation fixed:
CM-MTDEV9-20130223.zip
Going to test it and see if Skype and ooVoo will work correctly on this build.Thanks!