Camera app problem - LG Optimus 4X HD

I am trying to figure out why apps such as ProCamera or Camera360 which look very nice, are just not working properly with any of the CM mods. If I try to take a picture with a flash they all flash, but no picture and then at least 10 seconds later flash the picture with no warning.
The only app that works with quick response is the one in this ROM's thread: CameraApp3.apk: 20130606
Is there a reason for this, or a fix I can recourse to so i can use the other apps?

Related

camera not going back to apps that called it forth?

I seem to have this problem with most apps that prompt the camera to be used. For example, the program "A World of Photo" (you send a random photo from your location to someone else in the world, and they send one to someone, etc) will automatically prompt my camera to come up so I can take the said picture, but after the pic is taken, it just goes back ready to take another pic as if I had opened the camera app. It doesn't go back to A World of Photo as I am assuming it should.
I am on CM 5.0.5.3 (wasn't feeling 5.6) and using the desire camera. Is the desire camera the problem, and how might I fix?
thx
bpm2000 said:
I seem to have this problem with most apps that prompt the camera to be used. For example, the program "A World of Photo" (you send a random photo from your location to someone else in the world, and they send one to someone, etc) will automatically prompt my camera to come up so I can take the said picture, but after the pic is taken, it just goes back ready to take another pic as if I had opened the camera app. It doesn't go back to A World of Photo as I am assuming it should.
I am on CM 5.0.5.3 (wasn't feeling 5.6) and using the desire camera. Is the desire camera the problem, and how might I fix?
thx
Click to expand...
Click to collapse
Try reverting to stock camera and see if the problem persists.
Is that as easy as pushing the stock htccamera apk back in the system app folder or do i need to do something with the existing desire app? Sorry, still getting used to android.
edit: and why do I keep getting read-only filesystem errors when trying to do so?
edit2: ok just needed a remount - got it copied over. Now I have two camera apps lol.
edit3: yup it was the desire camera apps fault... well I have dual option now I guess so it does "work" with the stock camera app. Work in progress!
thx

Possible 720p camcorder fix for CyanogenMod.

Instead of trying to keep up on the two CM threads that are already going and talking about the exact same things I figured I would start up a new thread and see if this fixes anything.
--------------
I will admit... I don't know jack about programming... but I am good at messing with stuff and seeing if it works. I got a little bored tonight and noticed there was a new change to the MIUI ROM that adds 720p recording. So being Halloween... why not Frankenstein a little!
I grabbed the camera.apk from the MIUI ROM (its an AOSP ROM.. so it should work right? lolz). Copied it over to my clean install of CM6.1 RC2 and boom... no crashing recording using 720p.
I have recorded about 30 videos now that are anywhere from 2 seconds in length to 5 minutes... one after another... without a crash.
There are a couple options missing that CM has... but I think this would be a good start to resolving the issues.
Please keep in mind.... there are a couple things you will need to do.
1. Download the following APK. (see below)
2. Using root explorer... browse to /system/app and check the current permissions for the existing camera.apk. It should be rw-r--r--.
3. Copy the downloaded camera.apk and replace the one in /system/app.
4. Change the permissions of the new camera.apk to rw-r--r--.
5.Close root explorer and reboot your phone.
6. Open the camera app, switch to camcorder. Using the onscreen menu, change the quality setting from high to custom.
6. Now select the top option to change the video quality. Select 720p.
7. Profit.
If you don't know how to change permissions... or know how to copy apks... please.. please.. please don't do this. If you are comfortable with it... let me know if it keeps crashing.
I know it doesn't have all the fancy settings the CM camera does... but I think this may be a very good step forward. So far.. It hasn't crashed out on me.
If you are going to do this and record one video and say its fixed... please dont bother. We need REAL testing.
The camera.apk can be downloaded here....
http://www.mediafire.com/?q9y8zst9aeqlgc7
Thanks all... if this ends up not working... I blame the to much beer.
If it does... we may be on a good start to getting this fixed. Cheers.
Oh yea... if you are using the camcorder.. you can turn of the screen and it wont force close when you turn it back on. Win.
Here's an update.zip for it. Flash via recovery. Also added the original CM camera from the Incredible build. I'll post a few cameras for you guys to test.
Thanks goes to the OP for getting this in motion.
touchpro247 said:
Here's an update.zip for it. Flash via recovery.
Click to expand...
Click to collapse
Thank you... I'll admit it... I fail. lol. Just trying to be of some help getting this fixed.
I have tried the Nexus camera.apk in the past... it had the same issue.
It seems that the 720p issue exists on most if not all of the CM builds.
The only difference I see from face value is that CM camera builds have the crazy auto focus. If you are in a quiet place, listen to the camera itself. It physiclly moves inside the housing.
If you ever happen to hear the camcorder app FC, you can hear a little "click" right before it force closes. That is the camera lens moving.
It appears that the auto focus is messing everything up. Without autofocus (the MIUI camera.apk)... everything appears to work as it should.
As soon as you throw in the fancy auto focus stuff... it causes crashes.
Food for thought. I don't know a lot about it... but progress is progress.
Thank you for a zip version, Root explorer doesn't work on AOSP roms for me, is this common across the board?
mikeymop said:
Thank you for a zip version, Root explorer doesn't work on AOSP roms for me, is this common across the board?
Click to expand...
Click to collapse
Works for me. Are you sure you gave it root access in SU with the remember button ticked?
Also, good to see that somebody took the initiative. I had posted in the CM forum this afternoon that the MIUI Rom had functioning cam but nobody seemed to notice and I don't have much skills - glad to see camalus did - going to try this right away...
http://forum.xda-developers.com/showthread.php?p=8931211#post8931211
I swapped the MIUI camera with root explorer and recorded 10 videos in 720p. The camera didn't fc on me at all. The videos looked good and playbacked smoothly on my phone and computer. The camera at times would get hung up for a second or two but I'm not complaining at all. Got a working camera now!
I just found that if you turn the focus mode to off in the camera settings with the camera that comes with cm6, this also allows you to record in 720p with no force closes. Funny its such an easy fix. As long as auto focus doesn't mean the world to you.
I have suspected for a while that the auto focus was causing issues.
I just loaded the patch on the newest nightly... no fc either.
I sent a message to koush on twitter. Hoping his intelligence can pinpoint this in more depth.
Here's to hoping!
Sent from my ADR6300 using XDA App
Anyone else testing this? Could use more help here.
Sent from my ADR6300 using XDA App
camalus said:
Anyone else testing this? Could use more help here.
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
Works perfectly for me. Taken 4 test videos in quick succession, no issues whatsoever.
Did not realize this was even an open issue. I believed this was already in the CM6.1 chain for inclusion in RC3 or whatever.
Ok. Just wanted to report my findings after flashing the zip file. The only settings I change in the camera was quality to custom in order to get the 720 resolution enabled.
Video #1: 1 min, 22 sec
I stopped recording of first video and without closing the camera app I started a 2nd video,
Video #2: Started recording and the camera freezed (FC would have been better) after 22 seconds. Had to pull out the battery to restart the phone.
In summary, is still not fixed. I'll revert back to the original Camera.apk.
Androidnite said:
Ok. Just wanted to report my findings after flashing the zip file. The only settings I change in the camera was quality to custom in order to get the 720 resolution enabled.
Video #1: 1 min, 22 sec
I stopped recording of first video and without closing the camera app I started a 2nd video,
Video #2: Started recording and the camera freezed (FC would have been better) after 22 seconds. Had to pull out the battery to restart the phone.
In summary, is still not fixed. I'll revert back to the original Camera.apk.
Click to expand...
Click to collapse
What version of CM are you running? What kernel? Did you do a full wipe before trying this?
camalus said:
What version of CM are you running? What kernel? Did you do a full wipe before trying this?
Click to expand...
Click to collapse
I did not flash the zip file and instead did it manually and it works for me.
Sent from my ADR6300 using XDA App
camalus said:
What version of CM are you running? What kernel? Did you do a full wipe before trying this?
Click to expand...
Click to collapse
I had a clean install:
1) wipe data/cache/dalvik
2) Install CM6.1 RC2
3) Install gapps
4) Wipe dalvik
5) Flash Adrynalyne's kernel: I have SLCD and the stock kernel does not work for me
6) Reboot until the homescreen
7) Go to recovery and flash camery fix
8) Reboot to homescreen and try camera
Which camera did you install the MIUI or CM6?
Sent from your mom's phone
masully1984 said:
Which camera did you install the MIUI or CM6?
Sent from your mom's phone
Click to expand...
Click to collapse
The CM6 one
Androidnite said:
The CM6 one
Click to expand...
Click to collapse
The MIUI camera has the fix, not the CM one.
Fretless said:
The MIUI camera has the fix, not the CM one.
Click to expand...
Click to collapse
LOL!!!! So why they posted a separate CM6 one? Are you saying you were able to use the MIUI one with CM6?
Androidnite said:
LOL!!!! So why they posted a separate CM6 one? Are you saying you were able to use the MIUI one with CM6?
Click to expand...
Click to collapse
Yes. The MIUI adds the 720p non-fc functionality, or at least it has so far.

[Q] Camera app

So after having gone through 5 different camera apps that won't use the front facing camera and also switch to video mode, it's getting frustrating install and uninstalling.
The stock camera works but is sloooooow.
What camera apps have y'all installled from the market that you like and works well with the FFC and switching to video mode?
Flash this (my custom one thx to |ErosizeD| ) let me know is this work for you. it work on my thrill pretty fast.
Flashable Zip through CWM
shouldnt have any issues.. but plz backup
What does this mod do?
Sent from my LG Thrill 3D using XDA Premium
What does this mod do?
Click to expand...
Click to collapse
it will make the camera resolution clear and fast
Thanks! Just flashed it.
So much better. Takes about a second and a half to 2 seconds from first tapping the icon for it to be ready to take pics. Then somewhere between a second and two seconds to take the pic.
That's a huge improvement and takes away my need for another camera app.
Thanks given!
I tried it out, went from a 5 second launch to a 3 second launch. So any improvement is welcome.
"Ask not what your Thrill can do for you, but what awesome things can you do with your Thrill!"
Everything on this I thought was great until I went to look at my gallery. The resolution is way whacked out on viewing photos/icons/etc in my gallery.
How do I undo the mod? Do I just delete the apk?
The more I think about this, the more it irks me. Do they not have a QA person that checks things? I mean, c'mon, 5+ more seconds to start up and then the terrible delay on snapping pics. Well, unless your idea of a good camera is it takes long enough so you can make a pot of coffee and drink a couple cups.
Everything on this I thought was great until I went to look at my gallery. The resolution is way whacked out on viewing photos/icons/etc in my gallery.
Click to expand...
Click to collapse
I don't have problem but you can always undo it
copy zip file file to your SDcard unzip it using root explorer copy mediaprofile.xml and TicameraCameraProperties.xml
to your etc folder using root explorer and restart the phone
that will undo it
I can confirm that this mod doesn't work on gingerbread
wait is the resolution problem recurring? Or was it just for that guy.

[Q] Camera working in ICS CM9 nightly build

I have installed 27th April CM9 Nightly build on my SGT P1000 and somehow, the camera is working perfectly fine. I am unable to find settings for the camera, but it's working perfect. The gallery is showing all the images that I have captured.
The reason of writing this post is that all other posts claim that the camera is not yet working for ICS port on SGT-P1000. I first installed Overcome 4.1.0 with the kernel, and then flashed the CM9.
The question is, how is it working, and is it normal to work?
If it is normal to work, can someone point me in the direction where i can follow the updates?
Links
I used this get.cm link for downloading the CWM flashable CM9 nightly build ROM. Just want all to know that EVERYTHING seems to be perfect. I flashed the ROM yesterday, and till now, everything works.
Wifi
Bluetooth
Video Recording
Camera
Music playback
video playback
GPS
Video calling (through skype etc.)
Front/Rear Cam
Smooth Screen Rotation
Live Wallpapers
Phone
Contacts
SD Mount
Market
Browser is smooth as ever, tabbed and can be linked with chrome
Just want to know if anyone else has flashed this, and if anyone else has cam working.
I remember someone came up with a fix for the camera in the form of a flashable zip a while back so I imagine it's been included in the latest CM9 builds.
Well, I am still waiting for people to comment on it. I haven't found any comments. Is there a thread following the nightly CM9 build for p1000?
It has been working fine for many weeks.
This is the discussion thread
http://forum.xda-developers.com/showthread.php?t=1495007
Sent from my GT-P1000 using XDA
Thanks Priyana, just a little problem, i posted in a new question thread aswell.
Unfortunately, camera closed. This error I am getting frequently. Not always, but frequently. I have no idea what is causing the app to run sometimes, but close at other times.
I am on aokp milestone 5.
I also have camera fc from time to time.
Sent from my GT-P1000 using XDA
Little manual fix i have. Put the cam to 2.5 MP and when your'e clicking a pic, dont press and hold the blue button. Just push and let go. The pic will snap, and the frequency of cam gone FC will reduce by 90%. I think there is a problem with the autofocus which causes the cam to go bonkers. Do try it and share...
obahmood said:
Little manual fix i have. Put the cam to 2.5 MP and when your'e clicking a pic, dont press and hold the blue button. Just push and let go. The pic will snap, and the frequency of cam gone FC will reduce by 90%. I think there is a problem with the autofocus which causes the cam to go bonkers. Do try it and share...
Click to expand...
Click to collapse
not working bro . .is there any update to fix this?

*Potentially Working* Google Camera port

Edit: https://androidfilehost.com/?fid=962021903579482902
Remember to activate camera2 API before trying the app.
https://4pda.ru/forum/index.php?act=search&source=pst&noform=1&username=B-S-G
It appears bsg have release an ARM32 apk of an older version of Google Camera HDR. Should work on the G5Plus. Can't access the link to download though.
anyone able to help?
Focus doesn't seem to work
HDR+ port by defcomk
Here is something that works for me:
https://drive.google.com/file/d/0B4UT4dU4LpjJZFZnbGJ1TXVJN2c/view?usp=sharing
Make sure CAM2 API is enabled.
If you are on stock ROM it can be done by adding this line to build.prop:
Code:
persist.camera.HAL3.enabled=1
If on a custom nougat ROM use this module: https://drive.google.com/open?id=0B4UT4dU4LpjJRWY1dzBBUTdHbm8
If on Oreo custom ROM, cam2 is enabled by default.
To use the camera it follow these steps:
1) Open the app, change video resolution of back camera to 4K (VERY IMPORTANT, else there will be FC)
2) On the camera menu you'll notice it's not focusing, so switch to video mode by swiping left on the screen.
3) In video mode tap on the subject you are shooting to focus on it. ( May need to be tapped more than once, Zooming in with two swipe finger gesture helps to get perfect focus)
4) After you are happy with the focus switch to photo mode by swiping right, this will maintain the focus that was set in video mode, if not repeat step 3.
5) Do NOT press shutter yet. Lock AE/AF before taking shot by long pressing on the finger to form a circle on the screen. (VERY IMPORTANT, else there will be FC)
6) After you have long pressed, take the photo. A circle will be shown which takes 30 shots in one second.
7) Shutter will be grayed out until the photo is processed which happens in the background, you can check progress by taping the thumbnail.
8) You can take as many shots you like with the present focus lock, also repeat the from step 3 for changing focus.
That's it
Thanks to @defcomg for the port and @dhk.-(DhKDc) for the magisk module
Can i try that zip file for Athene(G4+) iam on a custom Rom
Ashokk8 said:
Can i try that zip file for Athene(G4+) iam on a custom Rom
Click to expand...
Click to collapse
it will likely not work since you have sd616 device which has a different DSP
Ashokk8 said:
Can i try that zip file for Athene(G4+) iam on a custom Rom
Click to expand...
Click to collapse
Exclusive to G5 plus. Sorry
Ot request, Any chance we can shoot RAW on custom roms?
How do I get this working on a Galaxy S7 Edge with snapdragon 820? Isn't it supposed to be compatible? It keeps crashing at launch.
Sent from my SM-G935T using Tapatalk
Briankbl said:
How do I get this working on a Galaxy S7 Edge with snapdragon 820? Isn't it supposed to be compatible? It keeps crashing at launch.
Sent from my SM-G935T using Tapatalk
Click to expand...
Click to collapse
try this https://www.xda-developers.com/google-camera-hdr-ported/
drunk prophet said:
try this https://www.xda-developers.com/google-camera-hdr-ported/
Click to expand...
Click to collapse
Same issue. Right after allowing the four permissions, it crashes.
Sent from my SM-G935T using Tapatalk
Works for me after enabling camera2. Is there anyway to rename the app so I can also have a normal Google camera?
There's an updated app if anyone has a 4pda account
https://4pda.ru/forum/dl/post/11407270/GC_Android-6.0+_arm-arm64_C2API_maxParam.apk
DustArma said:
There's an updated app if anyone has a 4pda account
https://4pda.ru/forum/dl/post/11407270/GC_Android-6.0+_arm-arm64_C2API_maxParam.apk
Click to expand...
Click to collapse
Error 404
FabricioGS said:
Error 404
Click to expand...
Click to collapse
You need a 4pda account to download from their forums, the 404 error only happens when you are not logged in.
I can't get to register on 4pda, any russian fellow around?
DustArma said:
There's an updated app if anyone has a 4pda account
https://4pda.ru/forum/dl/post/11407270/GC_Android-6.0+_arm-arm64_C2API_maxParam.apk
Click to expand...
Click to collapse
I created a 4dpa account by using this guide to solve the captcha and I managed to install the apk. I found out it wasn't working as well as defcomk's port cause it couldn't auto-focus lock the image. The only new thing I saw was it supported raw image capture
If any of you, for some reason want to create an account and try it for yourself, follow this guide to solve the captcha: https://doorsgeek.blogspot.com/2015/08/4pdaru-loginregister-captcha-tutorial.html
sharan.nyn said:
Here is something that works for me:
[truncated]
Thanks to @defcomg for the port and @dhk.-(DhKDc) for the magisk module
Click to expand...
Click to collapse
WOW!! I thought the Google camera HDR+ was all hype. I had HDR+ on my Nexus 5 but apparently that was the old version not using the new API. I thought that took pretty good pictures but this new one on this phone is incredible. Every single thing I tried, every camera mod I could find, on any ROM other than stock, every picture looked over softened and blurry, or super grainy and still kind of blurry. Now it looks better than stock, impressively so. The color balance, focus, and sharpness is top notch. Amazing what a change in software can do to a piece of hardware.
A quick tip for people, the camera opens up with the focus set at infinite so if you take a picture of something 5ft+ away, there's no need to swipe to the video to focus. Just open the camera, long press to hold focus, and snap the picture. The camera also works in 16:9 if that's your thing.
Edit: open camera is finicky for videos, giving me reboots. Use Footej camera for quick non HD photos and videos.
Edit2: After messing around with it a bit more, it's not the just HDR+ that makes the pictures so much better, it's the new camera API. Install and use it with any camera app supporting camera2 API and the photos are much better all around.
Thanks a ton for posting this, both you, and OP.
username8611 said:
WOW!! I thought the Google camera HDR+ was all hype. I had HDR+ on my Nexus 5 but apparently that was the old version not using the new API. I thought that took pretty good pictures but this new one on this phone is incredible. Every single thing I tried, every camera mod I could find, on any ROM other than stock, every picture looked over softened and blurry, or super grainy and still kind of blurry. Now it looks better than stock, impressively so. The color balance, focus, and sharpness is top notch. Amazing what a change in software can do to a piece of hardware.
A quick tip for people, the camera opens up with the focus set at infinite so if you take a picture of something 5ft+ away, there's no need to swipe to the video to focus. Just open the camera, long press to hold focus, and snap the picture. The camera also works in 16:9 if that's your thing.
Edit: open camera is finicky for videos, giving me reboots. Use Footej camera for quick non HD photos and videos.
Edit2: After messing around with it a bit more, it's not the just HDR+ that makes the pictures so much better, it's the new camera API. Install and use it with any camera app supporting camera2 API and the photos are much better all around.
Thanks a ton for posting this, both you, and OP.
Click to expand...
Click to collapse
can you post some sample shots? I am really curious
Deleted
wow google has some magic algorithm...

Categories

Resources