[SOLVED] Need Help with Camera - Android Q&A, Help & Troubleshooting

OK, so I'm building a AOSP rom from source for the Xoom. When I compile the rom it will make gallery2.apk just fine. But the camera app does not show up in the app drawer although gallery will.
I have copied gallery2.apk to my galaxy nexus and both camera and gallery works fine.
I have googled and come up short of solutions for this issue other than "camera & gallery merged". I know this already, it just seems like something is missing allowing the xoom to start the camera hardware.
Also, camera works fine on other builds like CM or EOS....just not my build...grrrrr
Does anyone have any ideas to throw my way to get this resolved? Any help is appreciated.
Oh...when trying a 3rd party camera app I get "Error: Cannot start camera"
SOLVED - WAS MISSING A DRIVER

Related

No Camera App CM10

I have the latst CM10 that was posted on the forums but the camera app is not showing for me. Anybody know why? I installed gapps.
Nobody ha this issue before? I know the camera works because I can use it in google hangouts, I just don't have a camera app. Is there somewhere I can get it or does anyone understand why the stock isn't showing up?
It's odd that you don't have a camera app since it's a system app. Could you have accidently disabled it? If you didn't, you can find the Android 4.2 camera and flash it. Works fine except for photosphere.
Had the same problem; I was following one of the tutorials that advised to desactivate Gallery, but the photo app dissapeared when doing so. Reactivating Gallery brings back the photo app. Hope this helps...
the gallery apk does contain the camera runtimes, they aren't seperate.

[Q] camera sometimes freeze

Hi folks,
I have a haipad i9300 mtk 6577 4 days ago the camera start to make trouble. Sometime just show black screen and after ask for a force close.
I tried to delete the old camera apk and installa brand new...I give to JB 4.2 camera a try to see if it works...nothing still the same. Black screen and after several touch ask for a force close. I guess is not an hardware problem because sometimes it works...what can I do?
I notice if I press several time and I force close then the camera app cannot connect to camera. This happen 4 or 5 times...then if I am very lucky the camera rebirth and start working again...It seems there is a kind of problem between the app camera and the camera hardware...because every camera app have the same issue, so maybe the problema is after...maybe some libs or something like that...any idea?
Odd update...I have a torchlight app with its widget. I notice the torchlight has the same issues of the camera. In fact it freezes and often I need to force close. The strange thing is if you turn on or turn off after few timers you can heard a kind of "click"...the same click you heard when you activate the camera...after that if you turn on the camera it is working. So I guess the torchlight and the camera are linked in some way. Of course I try to unistall the torchlight app...nothing the camera still not working.
Any ideas?
I'm not expect ,but
if something using start using camera (for example torch widget app) then other program cannot access to camera,so if program was not design for that case it will crash. (I know this as When I writing my app i spotted the same problem as You. ).
So i guess something using camera and that cause your problems.Try to find how many programs/services use camera and close all of them and then check/
That's my thought...in fact I'm pretty sure something is bothering the camera app...but...I did an hard reset, so a clean system, but the camera still freeze so I assume is not an application I installed. How can I check which application is accessing the camera?
atabaque said:
I'm not expect ,but
if something using start using camera (for example torch widget app) then other program cannot access to camera,so if program was not design for that case it will crash. (I know this as When I writing my app i spotted the same problem as You. ).
So i guess something using camera and that cause your problems.Try to find how many programs/services use camera and close all of them and then check/
Click to expand...
Click to collapse
I tried to edit also the build.prop it seems to work for a bit...then same old problems...

[Q] 4.2 Camera with Photosphere

Hi guys,
I've been searching for a fully stable flashable .zip for the JB 4.2 camera&gallery app with Photosphere. I have tried "4CamNex2.zip" & "4.2Camera_t04.zip" apps. The latter with slightly improved stability, (photosphere, panorama etc. working) however main issue/bug is: in standard photo taking mode, if you tap the screen to focus (or pre focus) and then take the picture, camera and gallery crash - Quite frustrating.
I've wiped cache&dalvik and re-flashed zip etc. (this helped as the first time I flashed the zip, photosphere was not working - solved by clearning cache & re-flashing)
Running:
Liquidsmooth v2.1 - 4.2.2
Siyah kernel 1.9.1
Thanks for any input!
Questions Welcomed also
UPDATE:
The crashing only occurs when the flash comes on. Forcing flash off or when there is enough ambient light you can pre-focus on a spot then take the pic.
I think currently there is no camera stable for 4.2.
I'm very interested in this as well (who wouldn't be?). I wonder if anyone is even working on it, and where we could perhaps track the progress. I don't see anything in the log tracker but I could have missed it.
LudicrousPeed said:
I'm very interested in this as well (who wouldn't be?). I wonder if anyone is even working on it, and where we could perhaps track the progress. I don't see anything in the log tracker but I could have missed it.
Click to expand...
Click to collapse
when Cm10.1 nightly builds reach stable stage youll be able to use this camera with photosphere normally, now its just expérimental..
Sent from my Supercharged V12 Samsung Galaxy S3 using Tapatalk
they never will. CM said it will be stable only if Samsung release the sources, which will not happen
how to i delete this...
you have a completely different device
Dont know why but jb+ camera works perfect on aosp roms. No touch to focus issues, front camera working perfect.Only persisting issue is that sometimes sound on recorded videos is very low. After hundreds of hours testing and trying to reproduce the bug i thing it is related to notifications or sound volume adjusting. For example:when i recieve some notification immediately after booting my phone and then i want to grab some video-recorded sound is too low..... Can someone tell me if its kernel, rom or what? Why touch to focus works perfectly on jb+ camera without samsung exynos4 sources but this bug is still present. I just cant sleep.......
Glebun said:
you have a completely different device
Click to expand...
Click to collapse
Sorry, wasn't paying attention.
Can anyone provide a download link to the standard jellybean (4.2.+) camera apk/zip?
I did find this camera worked quite well (stock samsung one that is), with the exception of no photosphere (which is only really usefully for showing off to be honest)

New Stock Camera App

Article from DroidLife with link to download the new stock camera app from the Google GS4 and HTC One.
http://www.droid-life.com/2013/06/27/download-new-stock-camera-app-from-google-play-edition-phones/
Hope it plays well with our phone...
Digil said:
Article from DroidLife with link to download the new stock camera app from the Google GS4 and HTC One.
http://www.droid-life.com/2013/06/27/download-new-stock-camera-app-from-google-play-edition-phones/
Hope it plays well with our phone...
Click to expand...
Click to collapse
I already tried it... and it works well on LG stock 4.1.2 also. including Photosphere.
Edit: We don't have HDR mode. (on 4.1.2)
Failed to install for me on 6/23 Rootbox.
Works perfectly on slick jb. Photosphere worked pretty well too.
Sent from my LG-E970 using xda premium
Digil said:
Failed to install for me on 6/23 Rootbox.
Click to expand...
Click to collapse
Workaround to get to install on Rootbox:
-browse to /system/app with a file browser
-find Gallery2.apk. Rename Gallery2.apk to Gallery2.apk.bak
-exit file browser
-install new camera app as you normally would (sideload)
Optional if you want your old camera and the new one (I did, cause there's more options in the RootBox camera, and it can save to external - the new one can't)
-go back in your file browser, and rename the Gallery2.apk.bak to Gallery2.apk. (it will be at the bottom of the list now due to the .bak extension)
you will now have 2 cameras in your app drawer.
This worked for me (i already had 2 cameras installed by using ponyexpress' sphere fix) and the new camera overwrote pony's sphere camera.
Edit: getting gallery fc when trying to save pics with new cam. Clearing app data didn't seem to solve this. Still messing around trying to get it to work right.
Edit 2: At work, so can't spend too much time with it. If I already have GalleryGoogle.apk installed (from ponyexpress' prior sphere fix) it will install itself as a system app, overwriting pony's fixed sphere camera. If I rename GalleryGoogle.apk to GalleryGoogle.apk.bak before I install, it will install as a user app (presumably because there is no GalleryGoogle.apk in /system/app to overwrite??).
In both cases, the gallery will force close immediately after taking the first photo with the camera. I can re-open the camera app, and take one more shot, then get another gallery force close. The photos I'm taking are being saved, and are viewable in the gallery. Clearing app data for GalleryGoogle.apk in either case does not fix the force close. Also, once I clear app data the UI in the new camera gets mangled - it appears that all the functions still work and are in their proper places, but the icons representing many of them are either wrong or absent. Not sure what to make of this. If installed as a system app, uninstalling updates then reinstalling results in screwed up UI from the get-go.
I've pretty much reached the extent of my troubleshooting knowledge on this - if anyone has any other suggestions, I'll give them a shot. A full wipe may be helpful, but I'm not in a position to do that until after the weekend at the earliest - and I'm not convinced it will change anything. FWIW, I'm on houstonn's RootBox 6/28a build using his included kernel, Banks 4.2.2. multi-dpi gapps, houstonn's ATT NFC fix and as previously stated, pony's sphere camera flashable fix.
How is the quality on root box? Any better or worse?
danial.aw said:
How is the quality on root box? Any better or worse?
Click to expand...
Click to collapse
I'm certainly not the best person to be comparing quality of camera apps to each other - but it looks about the same, or maybe slightly poorer than the included RootBox camera. This is with minimal testing and a very un-critical eye.

[Q] Camera error - Can't connect to camera

I've just recieved a hand-me-down SGS2, and immediately found the camera wasn't working on the stock 2.3.3 rom. Didn't think much of it as I was planning to go to CM10.1 anyway.
I'm now on CM10.1 (cm-10.1-20130723-NIGHTLY-i9100) and although everything else appears to be working fine, I'm still getting the same error when opening the camera app. I don't have any other camera or flashlight software installed.
From what I can see with a few google searches this seems to be a relatively common problem with S2s, but couldn't find any fixes. Does anyone have any suggestions?
Thanks in advance!

Categories

Resources