G
g60madman
Guest
I've successfully deposited a check using the USAA banking app.
adamto,
Great work man, I am glad some one was able to push the Triumph to ICS with a fully working camera!! Very nice work indeed!! :thrasher:
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've successfully deposited a check using the USAA banking app.
Thanks! But, you and the rest of the team did all the hard work, I just pulled her into the garage after the cross country trip.adamto,
Great work man, I am glad some one was able to push the Triumph to ICS with a fully working camera!! Very nice work indeed!! :thrasher:
100% working? Well I'll be damned. Might get out the old Triumph and test her out. Great work guys! If everything works 100%, expect a donation.
Adamto: In case you wanted to move on to FFC, here is a logcat of switching to the FFC in the stock camera app:
V/QualcommCameraHardware( 135): SetautoFocusRectangle X V/QualcommCameraHard - Pastebin.com
I'm away for a couple days and you get the camera working. Good job man!I'm happy to announce I have taken my first picture in cm9 with preview working. I went the other way with kernels, moving the cm7 camera driver into the cm9 kernel, and that seems to do it.
I'd love to get a test version up somehow but I'm still new at this, let me see if I can figure out how to throw together something quickly.
EDIT: hope this works:
CM-MTDEV9-20130217-really02-21.zip (107.8 MB)
https://mega.co.nz/#!bF8BXQZL!JHhOwCW9Bbe2NQREHuNDfG8qjsZ7N_pSoNq53mlVBjo
- Yes, the date is wrong
- I'm only interested in whether or not the camera is working for you
- The rotation is still wrong
- Front camera doesn't work
- Good luck!
EDIT2: Don't switch to the front camera, causes a crash, then you can't change the camera app to back camera.
Very good info, just need to get the code in to a repo so we can all get to work on the nitty gritty.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. There
is an msm_camera.h here that should probably be kept in sync with the
kernel's. Also, The CameraHardwareInterface class contains a vtable
that needs to be kept in sync with libcamera.so.
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.
Note that libcamera2.so is not used
I always have issues pushing to git, I have my keys set up and everything. This is what you are gonna have to do:I'm having trouble pushing my commits to MTDEV git, so I have made another testing build, with the orientation fixed:
Mediafire:
CM-MTDEV9-20130223.zip
Mega:
https://mega.co.nz/#!SAUnjYqA!W4AUcgRT9-CYX6uWNDtpOwx8AlByhiZPtmTb4gpTjQM
So great job on getting the camera and preview working perfectly but there is still no camcorder and now the build breaks the ability for ooVoo and Skype to use the camera for video calls.Here's the logcat for Skype.It still gets stuck at sign in screen when I enable video and it also causes the camera to not open til phone is restarted.I'm having trouble pushing my commits to MTDEV git, so I have made another testing build, with the orientation fixed:
Mediafire:
CM-MTDEV9-20130223.zip
Mega:
https://mega.co.nz/#!SAUnjYqA!W4AUcgRT9-CYX6uWNDtpOwx8AlByhiZPtmTb4gpTjQM
I'm not sure this portion contains much useful. Please recapture the log with "adb logcat -v time *" (sometimes timing is important) and include the full log. It would be most useful if you could start from the back camera, switch to front, then take a picture. Also, I'm thinking the FFC may have some i2c misconfiguration, so please include the output of "dmesg" from the phone after you do this as well.
Getting the cm7 logs for comparison is a good step in getting the FFC working, and something I didn't think of doing (although I did for the back cam), so this is much appreciated.
Great Job guys! Now maybe with these breakthroughs all the ics based roms can get working cameras on them too.
They should. I know BSydz is smart enough to do it.![]()
Ha, I was thinking the same thing about you. I'll put in some work, I should be able to get this put in all the source built ROMs, including CM10, which sucks cause we are gonna have camera before we even get data or wifi fully working. Now that the source has been pushed, having a few more eyes on it may help. I'm about to pull in the changes now, and see what is happening.They should. I know BSydz is smart enough to do it.Great Job guys! Now maybe with these breakthroughs all the ics based roms can get working cameras on them too.![]()
Well once you get PA JB with a working camera up I will test the hell out of it for you.Ha, I was thinking the same thing about you. I'll put in some work, I should be able to get this put in all the source built ROMs, including CM10, which sucks cause we are gonna have camera before we even get data or wifi fully working. Now that the source has been pushed, having a few more eyes on it may help. I'm about to pull in the changes now, and see what is happening.
I have been using the 2/23/13 CM9 rom for the day now, great battery, camera is amazing. Scanned a check onto Navy Federal perfectly. Definatly amazing thanks MTDEV and everyone in-between. Excellent rom!! Cant wait for CM10.
None so far very smooth. I also have installed Seeder in the past to help lagging issues and it seems to do well for me with this rom as well.