continous autofocus problem - Galaxy S II General

I wish to turn off continous autofocus when i take videos, the only thing this continously does is - it continoutly ruin my videos with excessive amout of blur that makes it impossible to use in many cases.
Interior videos, even outside it tends to totally mess up any attempts to make a decent video.
I saw some custom roms have a option to disable it in options, but i would like to keep the original rom - Root it and change whatever magic inaccesible settings i need to change (like the silent camera shutter ro.camera.sound.forced=0 setting).
I saw Potatoman's camera.apk mod but that does not have any options regarding video autofocus.

totally useless
i am with you on that problem, i don't even film anymore. all movies with moving objects or even if i move my camera are useless. i don't know why they made it this way. hope for a quick and reliable solution.

Its annoying as hell. I also dont bother recording! . Sad really.
Sent from my porn shoot using GT-I9100.

+1 for this problem.
I saw some custom roms have a option to disable it in options
Click to expand...
Click to collapse
Can you provide a link to a such rom?

It is miui for galaxy s2, i saw this in action and it has a option to disable auto-bluring of videos but i dislike the rest of gui. Plus i lose stuff like usb otg if i put that rom on so i'm searching for another solution:
http://forum.xda-developers.com/showthread.php?t=1130951

No luck Tried the camera apk from miui and it doesn't work on my kf3 stock rom.

I think our best hope is that Potatoman fixes this, i cannot reply in his topic (10 posts limit), but i sent him a private message about this and i hope he reads it.
I looked into disassembly tools for apk files and so far had no success taking apart the camera app myself, otherwise if i had a working way to disassemble and reassemble it i would do this myself (baksmali fails on me with a "Could not find the main class: R:\Internet\baksmali-1.2.7.jar. Program will exit." message).

JernejL said:
I looked into disassembly tools for apk files and so far had no success taking apart the camera app myself, otherwise if i had a working way to disassemble and reassemble it i would do this myself (baksmali fails on me with a "Could not find the main class: R:\Internet\baksmali-1.2.7.jar. Program will exit." message).
Click to expand...
Click to collapse
You should extract the classes.dex file from the Camera.apk (using WinRar) and put it to the same folder with baksmali-1.2.7.jar.

I managed to do that, and found the magic command line parameters for running it, i have the smali files but this looks like one big mess.
I found startTimer in onVideoRecordingStart
and .method public handleMessage(Landroid/os/MessageV in camera main handler, this contains text such as "AF_WAIT_TIMER_EXPIRED" and calls to restartTouchAutoFocus, it could be the timer which continously calls autofocus, but it's not in camcorder classes but the camera class - i am not sure how the classes are interconnected and if this is really what i was looking for, i wish potatoman can help better with this.

I found something else, it looks like continous focus is a camera property - focusing mode:
.method public static getFocusModeString(I)Ljava/lang/String;
it has modes: "auto, fixed, macro, facedetect, continuous-video" and is saved to preferences as "pref_camera_focus_key" (this is my guess based on what i am seeing)
It seems that android api confirms this:
developer.android.com/reference/android/hardware/Camera.Parameters.html#FOCUS_MODE_CONTINUOUS_VIDEO
called with:
developer.android.com/reference/android/hardware/Camera.Parameters.html#setFocusMode%28java.lang.String%29
camcorderengine:
.method public doPrepareVideoRecordingAsync()V
const-string v3, "continuous_af"
this goes into..
const-string v1, "continuous_af"
const/4 v1, 0x0
invoke-virtual {v0, v3, v1}, Lcom/sec/android/seccamera/SecCamera$Parameters;->set(Ljava/lang/String;I)V
useful info here too:
pastebin.com/V94HYCnk
Code:
// Parse continuous autofoucs into a format the driver understands
conAf = pars.get("enable-caf");
if (conAf != 0 && strcmp(conAf, "on") == 0) {
mContinuousAf = true;
}
else {
mContinuousAf = false;
}
pars.set("continuous_af", mContinuousAf ? 1 : 0);
I hope this research opens up the possibility that potatoman fixes this for us, i can barely read this .smali assembly and i'm afraid i'll break everything if i change anything.
note: i had to cripple all the http links because i have too few posts to link to things externally.. :/

Hey guys, just a heads up that I'm working on v2 of my mod now, so while I'm doing that I'll take a look at this too. I don't usually film video though, so just to be clear, do you guys want it to just stop adjusting the focus entirely, or adjust the focus faster so that it isnt blurry for so long (since atm it takes like 5s before refocusing.) Personally I think the best solution would be to refocus on tapping the screen like the camera does, but I'm not sure if that's possible during capture, so I'd have to look into it.
Please post telling me which, so I know what I'm trying to implement here. I don't want to make it worse!

Refocus when tapping the screen will be the best way i think...
Sent from my GT-I9100 using XDA App

Based on the code and documentation that i saw, it's not even possible to adjust the focusing speed.
I would prefer that any automatic focusing is simply disabled during video recording / camcorder mode.
If tap to focus works can be done that would be brilliant, but no automatic adjustments as this ruined every video i took so far.
The phone simply starts refocusing / enters blur mode for no reason while the picture is already totally crisp and then ruins 3-5 seconds of video with blur while it tries to find "focus".

we need touch to focus
is the best solution

today i read online that choosing for a lower resolution then the full had filming wil fix the problem, i havent got any time yet to test it ........

Tap2Focus would be awesome! BUT simple disabling continuous af would be enough for start

I wish the operation is as following:
1, The focus start and lock when I touch the Record icon.
2, The focus is disable and start to record when I release my finger from the Record icon

mrky said:
today i read online that choosing for a lower resolution then the full had filming wil fix the problem, i havent got any time yet to test it ........
Click to expand...
Click to collapse
I tried this - one of first things i tried, it doesn't really help at all in my case (tested this outside in a clear well sun lit scene)

stev2010 said:
I wish the operation is as following:
1, The focus start and lock when I touch the Record icon.
2, The focus is disable and start to record when I release my finger from the Record icon
Click to expand...
Click to collapse
+1 Yes please!
But I would settle for ANYTHING to disable auto-focus because it make videos totally useless.

I actually have no problem with autofocus itself... but my issue is that auto focus does not work at ALL on any resolution lower than 1080... Anyone else have this issue?

Related

Hd2 wp7 Camera Autofocus? (not camcorder)

Hey i just wanted to know if there is a way to focus the camera in wp7 becouse it's all blurry?
Yes im having the same problem
camcorder is working fine
Unless we get a sort of focus implementation like in android then it's just like that. The camera was designed to have a button which could be half pressable to focus, and then when pressed in fully, takes the picture. Obviously we don't have a button like that so, a touch sort of focus needs to be implemented for us, until then, pictures will be blurry for now.
Wonder if a person could create a double tap to take a picture app..
Wdave said:
Wonder if a person could create a double tap to take a picture app..
Click to expand...
Click to collapse
'double tap' amazing idea!
Solution to problem
Quick'n'dirty Workaround to Autofocus:
1. Before taking the picture, switch to video mode
2. Wait for the camera to refocus ~1 second - you will see the image sharpness change
3. Switch back to camera mode and take your picture
This works because the camera will simply retain the focus distance that the video camera set.
So, until Microsoft implements touch-focus (which they really should) we could just use this.
antonsb said:
quick'n'dirty workaround to autofocus:
1. Before taking the picture, switch to video mode
2. Wait for the camera to refocus ~1 second - you will see the image sharpness change
3. Switch back to camera mode and take your picture
this works because the camera will simply retain the focus distance that the video camera set.
So, until microsoft implements touch-focus (which they really should) we could just use this.
Click to expand...
Click to collapse
quick you have to be like lightning to take a picture as it starts un-focusing straight away.
By the time you press the button you have moved the phone so its blurred & camera is already out of focus.
Must be an easier way.
Please please please someone design a fix for the camera.
I loved the panoramic shot aswell on hd2 but everything is gone.
Video is great but camera is poor.
Thank you
Before taking a picture toggle between photo and video mode. That fixes the autofocus issue. Not an ideal solution but an alternative nonetheless
maybe its can help for developers :
http://www.codeproject.com/Articles/151485/Hacking-the-WP7-Camera-The-basics.aspx
Maybe a possible solution could be map the focus function (the half click) in another button?
I think the solution is because we don't have a two position button is to do touch the screen to focus and then take the shot. But that probably requires a lot of coding.
Until this is sorted, I think its a major flaw with HD2 and WP7
Use the camera a lot, unless its bright sunlight the camera just will not focus.
Luckily I can dual boot, lets hope for a fix of some application that uses touch screen to focus
It's possible the focus could be mapped to one of the volume buttons within the Camera app.
This would likely depend on the half-press on native WP7 systems having its own key mapping, separate from the full-press, and the Camera app listening for each keymapping separately. We'd just need to hack the keymapping for the half-press to the volume button. This is, of course, if WP7 still deals with keymapping the way earlier versions did.
Also, if the Camera app treats the camera button as some kind of special case, and rather than 2 mappings for half- and full-press, it has a single mapping, it'll likely need a major rewrite to support focus on the HD2.
Fingers crossed it's just a case of searching the code for keypress 0xC1 and replacing it with 0x76 (for example).
i think... and i think ... but nobody search...
i think the solution is here:
http://forum.xda-developers.com/showthread.php?t=935029
look to link
ilijan said:
i think... and i think ... but nobody search...
i think the solution is here:
http://forum.xda-developers.com/showthread.php?t=935029
look to link
Click to expand...
Click to collapse
640x480 is not good enough.
It will be unlikely we'll be able to map this app to replace the internal Camera app completely.
Will 3rd party apps, like barcode readers, be able to use this app?
Hexediting the native Camera app and changing the key mapping, and cooking it into a new ROM would be much better.
That app shows promise, though.
Dont know if this helps, but here is another solution that claims to fix HTC HD2 cam running WP7. no camcorder though.. http://aliwaqas.info/shcamera-fixes-camera-issues-on-htc-hd2-running-windows-phone-7-xap/
Just post the direct link to XDA lol
http://forum.xda-developers.com/showthread.php?t=942605
Autofocus works PERFECT!
For recording videos, just use the original camera app.
Regards,
Lukas
Well one solution if we are to implement focusing through buttons instead of touch, is that we have the call button when held down, focus, and then the camera will take the picture after we've released the call button.
Kailkti said:
Well one solution if we are to implement focusing through buttons instead of touch, is that we have the call button when held down, focus, and then the camera will take the picture after we've released the call button.
Click to expand...
Click to collapse
That's the behavior I thought would be appropriate too.
A touch screen focus would be even better, cause it would allow, like on WinMo 6.5, to focus wherever we want on the picture. But it would require a more coding than just adding a press-to-focus/release-to-shoot behavior.
The SHCameraApp is nice, but its resolution is limited, and it would be nicer to have a single, integrated app to do the photos and videos. Nonetheless, it's a nice workaround for the time being.

Droid Dev Newb - Camera Dev Help :(

Hey,
I'm new to android dev (extremely) but I'm not new to software dev, but I'm very confused.
So here's my end objective: To capture a photo and be able to edit it at the pixel level.
I'm completely lost in how to do that. Okay, let me rephrase, not completely lost. PLEASE don't link me to a bunch of tutorials, I've read them all.
I'm lost on a few apparently key concepts:
- SurfaceView - What exactly IS a surface? I read the doc from android dev for it, but I'm not quite grasping it. Is it just used to display or subclass it for OpenGL, or picture viewports? Or is there more to it?
- Every camera tutorial mentions subclassing surface.holder, implementing canvas methods methods (changed, create, destroyed), and that's that - which is fine, if you're going to preview an image there, which I want...but what about taking the actual picture, that leads me to..
- StartPreview function, what the hell does this thing do, all it does is crash my phone, I don't want to "preview" anything, I want to take a picture using the built in camera activity, and store in a surface, do whatever pixel manipulations I need, and possibly write it back out to the SDCard
What does the preview have to do with anything? Every tutorial (including android's includes it), but I can't figure out for the life of me what the thing does...I could see if you wanted a camera viewport in your app, but I don't.
Now what I DID do was start the camera activity using the intent, then store the callback "data" into the surface, the problem with this, though, is it's EXTREMELY pixelated, the image previewed in the surface is of horrible quality, like it's a thumbnail. What gives? I used this code:
Code:
Bitmap thumbNail = (Bitmap)data.getExtras().get("data");
mImageViewer.setImageBitmap(thumbNail);
So yeah, sorry the questions are so sparsed out, just been confused as hell and am unfortunately on a truncated time table - nobody's been able to explain anything so far, just have what I have from playing with it..
TIA, sorry for the long post
Bump*
Anybody? Somebody's had to use the camera before in an app..

how could samsung screw up the camera THIS badly..

besides unnecessary parental control put in place on the camera, like battery limitations, forcing your music to stop when its loaded, and inability to function when mediascanner is running, theyve also, and made a unmutable shutter sound and auto focus sound, and removed the option to adjust saturation, sharpness, and brightness.. and in the video camera, removed the the ability to pause the video, now you have to straight out stop it and take another one.
why did they do this you might ask? because they added extremely watered down picture editor, and video clip editor. and they somehow think that adding these after picture/video editors was such a good idea, that they should just remove them from the camera entirely.. wtf samsung?
now what i wanna know is what WE can do to fix this? is it possible to take these settings from the galaxy s1's camera app, and add them in to the s2's? the camera apps are extremely similar
EDIT: a solution?
i really think these things can be fixed, maybe not adding the saturation, sharpness, and brightness back, that seems like alot of hard work, and i guess it isnt TOO hard to edit the picture afterwards.. but i think removing the 'parental controls' put in place, is simply a matter of deleting that area of the app's code. i wonder if adding the ability to pause the video would be hard, it seems like a simple enough thing to do.. but i dont fully understand how one would go about doing this..
for SGS1 owners, do you guys remember Fr4gg0r? he created a hacked camera app that removed the battery limitation, music from stopping when camera loads, and even added the ability to use the hardware lockkey as a camera shutter button!, and he added a thumbnail of recently taken picture in the bottom right hard corner (which we now see built in to the sgs2). really amazing work! however i spoke with him, and he doesnt plan to get the sgs2, but i wonder if we looked at his changelog from the origional apk to the modded, if then we could just make the same mods to the s2..
can anyone a little more knowledgeable than me give me their thoughts?
SGS [APP] Hacked Camera.apk <- link to his thread for original hacked camera app
Modding the camera app is very difficult since it's closed source. Might be able to take the AOSP camera app and hook the driver up, but that's hard too... amount of work depends on how good the camera driver meshes with the AOSP camera app.. I think?
I've never tried to do anything with the camera so hopefully someone with more knowledge of it can pitch in!
As to your complaint about the settings... do you really sit there before taking a picture on a phone camera and fiddle with contrast/brightness settings? I wish I had your dedication to taking good pictures!
I'm guessing suspending other applications when the camera's running is to preserve resources. I don't think I've ever been listening to music when I've used my phone as a camera. I don't agree with taking away flexibility but I think the percentage of people impacted isn't going to be high.
I can understand your concern but I don't think these restrictions justify saying they screwed up the camera badly.. maybe if they used a crappy sensor, but judging from the photos and video's I've seen posted quality looks very acceptable!
the reason i expect u cant use camera whilst media scanner is running is due to the fact samsungs internal memory, where pics are stored by default, is mounted like an SD card... also ive only ever had media scanner running once re-mounting from mass storage or when turning phone on... although ive never actually tested this senario as my phone is always on and storage mounted...
neither of those issues are a problem for me though... at least ive never encountered them during usage...
Dickie
i know removing the battery limit requires deleting some lines of code, same goes for it killing music, and forcing a shutter sound and focus sound, but would it be incredibly hard work to add the ability to pause a video, as i find this really necessary when taking videos
soraxd said:
i know removing the battery limit requires deleting some lines of code, same goes for it killing music, and forcing a shutter sound and focus sound, but would it be incredibly hard work to add the ability to pause a video, as i find this really necessary when taking videos
Click to expand...
Click to collapse
I fully agree about pausing a video recording. I've often used that feature on my SGS, and find it very puzzling, and annoying, that they would eliminate it. Quite odd.
i really think these things can be fixed, maybe not adding the saturation, sharpness, and brightness back, that seems like alot of hard work, and i guess it isnt TOO hard to edit the picture afterwards.. but i think removing the 'parental controls' put in place, is simply a matter of deleting that area of the app's code. i wonder if adding the ability to pause the video would be hard, it seems like a simple enough thing to do.. but i dont fully understand how one would go about doing this..
for SGS1 owners, do you guys remember Fr4gg0r? he created a hacked camera app that removed the battery limitation, music from stopping when camera loads, and even added the ability to use the hardware lockkey as a camera shutter button!, and he added a thumbnail of recently taken picture in the bottom right hard corner (which we now see built in to the sgs2). really amazing work! however i spoke with him, and he doesnt plan to get the sgs2, but i wonder if we looked at his changelog from the origional apk to the modded, if then we could just make the same mods to the s2..
can anyone a little more knowledgeable than me give me their thoughts?
SGS [APP] Hacked Camera.apk <- link to his thread for original hacked camera app
screw camera up??? except for the battery and music "issue" in my opinion this is one of the best cameras on a mobile, i tried many different modes and the pictures are quite good ))
unfortunately we cannot always have everything in just one gadged )))
well we may not be able to have everything, but i wont stop until i get some results.. ive been talking to a clever developer lately, whos on board to help me modify this app
I've started modding the camera app for battery level etc. Will take a look more today
These mods shouldn't be hard to implement and there is no closed source when it comes to android. We have apktool and smali / baksmali, we don't need source code from Samsung for this.

Solution 4 unlimited video record on android record over 4gb and no time restricted

Hi All,
i found solution for unlimited recording on android device, it has pros and cons so hopefully some programmer will come and modify the buildin camera apk.
here are solutions they are working perfects but the problem is the quality is no where close to the buildin cam apk.
1. lgCamera
2. Snap Camera HDR
3. moto x camera apk its free and in my opinion its quality better than the other 2.
so the problem of limited recording is not due to format fat32, because htc on buildin cam apk record 30 minutes and stops and its size is 4gb, but i have tried lgcamera was recording over an hours and its size was 5.7gb.
i do not keep it long, i hope some programmer modify htc one cam apk to record unlimit or auto splitted to 30 minutes duration, also modify its zoom default to the value of 50% because htc one cam is way zoomed out.
so if any genius person modify the camera apk then it will be best solution, it just need to override the default camera apk setting when some one modifying its camera apk.
some time when we have party i do not like to go and modify zoom setting and start record again every half an hour.
Thanks for any programmer who modify this and good luck with the rest for temporary solution.
Hi,
snap camera records 30fps with 20mbit in low light, but the result is darker then htc stock camera.
regards
starbase64
I could be off here, but since you said recording stops at 30 minutes, I think I have a solution:
In /system/etc/media_profiles.xml, there is a "duration=" setting for each encoder profile. This can be set to either 30 or 60, and currently all profiles except qvga are set to 30. You may be able to set this to 60 and be able to record up to 60 minutes. Report back.
zindu said:
i do not keep it long, i hope some programmer modify htc one cam apk to record unlimit or auto splitted to 30 minutes duration, also modify its zoom default to the value of 50% because htc one cam is way zoomed out.
Click to expand...
Click to collapse
You do realise that routinely changing the zoom is a terrible idea on the One?
It's a digital zoom, not an optical one, so all you are doing by zooming in is losing pixels - this is fine if you are shooting something and wish to zoom in for effect, but as a general rule if you want to get the best quality out of the camera, you should leave zoom well alone. This is especially true of the One as it doesn't have that many pixels to play with in the first place.
See here for more info - http://www.tfpsoft.com/fun/digitalcameraguide/digitalversusopticalzoom.html
Regards,
Dave
unlimited video recording android
In /system/etc/media_profiles.xml, there is a "duration=" setting for each encoder profile. This can be set to either 30 or 60, and currently all profiles except qvga are set to 30. You may be able to set this to 60 and be able to record up to 60 minutes. Report back.[/QUOTE]
hello homeslice976
Thank you very much for the information you have provided. i have uploaded 2 screen shots of the xml file you have stated and also uploaded 2 xml file which are original xml file on my htc device, but i think the device must be rooted to replace those xml files? am i wrong?
if i need to root my device then i will try to do it later today as my connection is very slow right now.
Regards,
zindu
unlimited video recording htc one
It's a digital zoom, not an optical one, so all you are doing by zooming in is losing pixels - this is fine if you are shooting something and wish to zoom in for effect, but as a general rule if you want to get the best quality out of the camera, you should leave zoom well alone. This is especially true of the One as it doesn't have that many pixels to play with in the first place.
Regards,
Dave[/QUOTE]
Thank you Dave,
i will test to video one with zoomin at let say 40% and other will let zoom alone but i will crop the video to equivalent of 40% zoomin video, i will compare the 2 side by side and will report back the result.
Regards,
Zindu
zindu said:
In /system/etc/media_profiles.xml, there is a "duration=" setting for each encoder profile. This can be set to either 30 or 60, and currently all profiles except qvga are set to 30. You may be able to set this to 60 and be able to record up to 60 minutes. Report back.
Click to expand...
Click to collapse
hello homeslice976
Thank you very much for the information you have provided. i have uploaded 2 screen shots of the xml file you have stated and also uploaded 2 xml file which are original xml file on my htc device, but i think the device must be rooted to replace those xml files? am i wrong?
if i need to root my device then i will try to do it later today as my connection is very slow right now.
Regards,
zindu[/QUOTE]
yes you'll need to be rooted. you don't need to do anything with media_codecs.xml. Just media_profiles.xml.
unlimited video recording android
yes you'll need to be rooted. you don't need to do anything with media_codecs.xml. Just media_profiles.xml.[/QUOTE]
Thank you, i will try to rooted later on today and report back if i succeed.
regards,
zindu
zoomin htc one
hello Dave,
i have tested the video, i captured 2 video phone was at stable position, one without touching zoom and the other shoot was zoomed about 60%
then i cropped the one with 0 zoom to the same frame as the one with 60% zoom.
the result is as follows:
after cropping the video file from 1920 x 1080 became 775 x 425 well if i keep this size the file remain same quality but when i cropped back to
1920 x 1080 the quality is blury and no where near the original or the video was shooted with 60% zoomin.
so i believe the zoomin in htc one does not effect its quality as long as you are not zoomed extreme.
when you crop video and resized you will lose quality the same as zoomin, but all camcorders allow certain zoom without affecting quality, so i believe htc one zoomin is the same, but some video camera have advanced zoomin to go beyond limited for instance 72x advanced zoomin and the normal zoomin is 20x, so if you go beyond 20 you still zoomin further but you will lose quality and shaky footage.so the safe is to stay with 20x range.
all edited with after effects and even i did not export the out put, but after editing them compared them side by side, it is like day and night the quality differences between the 2 videos.
thank you though for information, i will try first to root my device and see if i can go beyond the limited recording.
homeslice976 said:
I could be off here, but since you said recording stops at 30 minutes, I think I have a solution:
In /system/etc/media_profiles.xml, there is a "duration=" setting for each encoder profile. This can be set to either 30 or 60, and currently all profiles except qvga are set to 30. You may be able to set this to 60 and be able to record up to 60 minutes. Report back.
Click to expand...
Click to collapse
hello again
i have changed those number to 60
i started from
<!ATTLIST EncoderProfile duration (60|60) #REQUIRED>
and each
<EncoderProfile quality="cif" fileFormat="mp4" duration="60">
so as you see all are in 60 minutes but no luck sofar i tried twice
1st record 25:39
2nd attempt records 26:04
both size are 3.79 gb in size
now i started recording again to see what is the the outcome if it is the same then i have to try to changed back to 30 at least its 30minutes, so i think it is the size limit thing
update: it is size limit issue, i checked again it says video size limit is reached.
i think it is be useful if some one try to write a code to state when ever the video reach limited time then start again automatically.
but thanks for the advice, i will let you know if i come with better solution..
thank you.
regards,
zindu
update: it is size limit issue, i checked again it says video size limit is reached.
zindu said:
update: it is size limit issue, i checked again it says video size limit is reached.
Click to expand...
Click to collapse
Sorry - that was just a theory anyway. I'll keep looking around for something else that might be limiting the file size.
homeslice976 said:
Sorry - that was just a theory anyway. I'll keep looking around for something else that might be limiting the file size.
Click to expand...
Click to collapse
Hi guys, this seems to be the only real discussion on this issue going on at all.
Has anyone been able to find a way around this limitation?
the problem is there are many know how to solved but they do not shared with us.
only who does not know and they spread a word over the net and same crap like, it is due to format type, let me tell you i have solved mine on htc one no problem what so ever until i stopped manually.
i am not a programmer but currently when i have time i try to learn java then i will after that develop simple app and progressing from there and will help the community but that take up to 1 to 2 years.
any way how i solved mine? i do not know my self but i did 2 things will shared with all of you.
1. i rooted my htc one device, there is plenty guide on this forum.
2. i decompile my camera apk and i change a picture and i can not remember if i mess little with codes or not but i doubt i did, so i deleted the original camera apk and replaced with my modification.
i will be glad to share my camera apk with you if you think it might be due to this modifications, i tell you what? i never update the system software now, because i am afraid i will lose the unlimited recording, so it works for me but i do not know how, but in future when i understand java programming i will help every one in this community.
zindu said:
the problem is there are many know how to solved but they do not shared with us.
only who does not know and they spread a word over the net and same crap like, it is due to format type, let me tell you i have solved mine on htc one no problem what so ever until i stopped manually.
i am not a programmer but currently when i have time i try to learn java then i will after that develop simple app and progressing from there and will help the community but that take up to 1 to 2 years.
any way how i solved mine? i do not know my self but i did 2 things will shared with all of you.
1. i rooted my htc one device, there is plenty guide on this forum.
2. i decompile my camera apk and i change a picture and i can not remember if i mess little with codes or not but i doubt i did, so i deleted the original camera apk and replaced with my modification.
i will be glad to share my camera apk with you if you think it might be due to this modifications, i tell you what? i never update the system software now, because i am afraid i will lose the unlimited recording, so it works for me but i do not know how, but in future when i understand java programming i will help every one in this community.
Click to expand...
Click to collapse
Zindu, thank you so much for sharing.
I emailed Google about this here is the response I got:
"Thank you for contacting Google. I appreciate your patience with me as I look into this issue. It seems as though the limit placed on the video data file of 2gb is written into the android operating system. This is in effect on all types of android devices.
I have researched a few video control apps, they follow the same rule and stop at 1.9-2gb. At this time I do not believe there is a work around for this issue. I do not have software update information available either. Some of the research I have done points to a possible legislative law that limits the video recording time of mobile devices as it takes away from video recorders."
pal first thing you do undock the cam apk from the bar dock on your phone, see if it is working, what i mean by the dock is the bar on your phone on the bottom which have space for 4 or 5 applications, so undock cam apk from this dock and used on the main windows view.
if that does not work root ur phone and undock cam apk from dock bar.
if both does not work then if you have htc one i will upload my cam apk so you can install it on urs.
mine was limited to 4gb now its unlimited in size and durations, a programmer can develop application to over ride the camera system settings, so if i learn java in future my first apk will be try to over ride system setting.
zindu said:
pal first thing you do undock the cam apk from the bar dock on your phone, see if it is working, what i mean by the dock is the bar on your phone on the bottom which have space for 4 or 5 applications, so undock cam apk from this dock and used on the main windows view.
if that does not work root ur phone and undock cam apk from dock bar.
if both does not work then if you have htc one i will upload my cam apk so you can install it on urs.
mine was limited to 4gb now its unlimited in size and durations, a programmer can develop application to over ride the camera system settings, so if i learn java in future my first apk will be try to over ride system setting.
Click to expand...
Click to collapse
I have a Nexus 5. My camera app is not docked. What should I do next?
if its not docked then rooted anyway see if it works?
what i did i undocked, rooted, modified a pick and some codes in xml file, and it works for me so i do not know which step caused the fix, but you need to root your device if you want to replace system application on your phone.
try to root your device first and try to modify xml file see if it works, if it was htc one i could help because i can upload xml and apk file.
that is all i know for now hope someone who have better knowledges to help you out but i hope i learn java within a year or too then i be able to fix this issue.
m__singh said:
Zindu, thank you so much for sharing.
I emailed Google about this here is the response I got:
"Thank you for contacting Google. I appreciate your patience with me as I look into this issue. It seems as though the limit placed on the video data file of 2gb is written into the android operating system. This is in effect on all types of android devices.
I have researched a few video control apps, they follow the same rule and stop at 1.9-2gb. At this time I do not believe there is a work around for this issue. I do not have software update information available either. Some of the research I have done points to a possible legislative law that limits the video recording time of mobile devices as it takes away from video recorders."
Click to expand...
Click to collapse
So far this has been the most insightful information. Still, no idea how to overcome something this stupid.
joint.striker said:
So far this has been the most insightful information. Still, no idea how to overcome something this stupid.
Click to expand...
Click to collapse
Ikr, it is pretty ridiculous. Zindu is right though, it's simple enough but the people who can figure it out don't care. Most people just don't seem to need their phone for our purpose.
My workaround has been SVR Pro:
-Upsides -It will record in fragments until your storage is full.
-You can use your device while recording
-You can record with the screen turned off !! which is epic for battery life!
-Downside -you loose like a second of video between the fragments
Link: play.google.com/store/apps/details?id=com.zeronoiseapps.secretvideorecorderpro

Is Gcam fully working? I cannot get it to work

I was up until 430 am last night trying different configs and Gcam APKs and the best I can do was using 6.1 or 6.2. No crashes but these 3 problems are present in every APK I tried so if there's anyone that has an APK that works for these, would love to hear it.
Problems:
1) Camera takes first picture quite fast. 2nd picture is slightly slower. 3rd and beyond is unbelievably slow. Slower than Night Sight. You can tell that the picture is being taken all at the same rate because the picture is showing up in the Gallery Icon, but the viewfinder is just loading and hanging.
What is the reason for this? (HDR Enhance is NOT on)
2) Turn off HDR+ and camera button doesn't even work. It works in Portrait and video but not in regular camera mode.
3) If I switch Cameras or modes (From regular camera to wide... or regular camera to Portrait and then back to regular) then it will take the picture fast. Which means that it's a software issue of lagging. Almost like it's lagging or having problems clearing memories while taking consecutive pictures?
Night Sight and actual photos look GREAT. Which is why it's pissing me off. The VG35 is a godly phone I just bought and I love everything about it. But the camera is lacking. And having a somewhat partially working gcam app just teases me that the picture could be better but isn't. The camera itself is good it's just the software that isn't so great.
LG's stock camera app puts on a lot of sharpness everything gets so blurry.
Any FULLY working apks out there that don't have issues with lag when taking pictures?
UPDATE: I tried cstark and a few others but the one that works for me fully (Night Sight, portrait, wide lens, correct colors, etc) is Arnova 1.7 here
https://www.celsoazevedo.com/files/android/google-camera/dev-suggested/#apk411
Arnova 1.6 also works.
So I managed to fidget with all the settings and basically... here is an update. AS IS, the Gcam with Arnova takes 2 pictures at regular speed. The 3rd picture on, it will show the circle and lag, taking about 5 full seconds to complete a picture. (There are other people on reddit who confirmed this) If you change the camera view in any way, OR press the home button and come back to camera, it resets allowing you take 2 more pictures at normal rates before it starts to slow down again.
By reducing HDR frame from 7 to 3, it allows you to take about 5 pictures before the slow down happens. So, it's not ideal but a workaround is to just take 5 pictures and press "portrait" and then come back to regular camera and it should allow for 5 more pictures at the regular rate.
HDR off also does not allow the camera to take a picture.
But that being said, does anyone know WHY it's happening? I don't know much about how android and the camera works but if we can figure out why the loading circle starts to slow down after a certain # of pictures, and WHY it resets when you change the camera view for a split second... I'd be happy to contribute in any way I can to get a fully useable Gcam app for us. V35s are so underrated with the High Quality Dac and if we get fully working Gcam, it would be a massive upgrade for anyone with a V35.
The pictures with Gcam are no joke.
The reasons for why the Gcam can only take a few pictures before it starts to load in the viewfinder very slowly, and why it resets when you "refresh" the camera view:
(These are complete uneducated guess but using logic based on what I'm been testing)
- It's not related to HDR. There was 1 apk that allowed me to take pictures with HDR off and it still did it.
I thought it was the HDR processing in the background that was queueing up but that's not the case.
- Changing camera view and switching back, RESETS this problem. Is there some sort of memory that needs to be cleared in the camera after each picture? Or after each # of pictures you can set that might address this problem?
There was another APK that I used that had the ability to increase the memory and it didn't do anything.
- I have a feeling it might be related to the buffer fix issue. The buffer fix, fixed the lag in the view finder. However, after taking a few pictures and hitting the limit, you can tell the loading circle will start to slow down because the viewfinder for a split second will lag as if the buffer fix was turned off.
So, maybe buffer fix is being reset or paused after a few pictures?
I wish I knew more about this stuff but if anyone has any ideas, would be great.
I read somewhere that the LG V35 and the G7 have similar cameras.
Check the G7 gcam thread for more info and assistance
https://forum.xda-developers.com/lg...oogle-camera-gcam-lg-g7-thinq-t3855081/page49
destroyer67 said:
I read somewhere that the LG V35 and the G7 have similar cameras.
Check the G7 gcam thread for more info and assistance
https://forum.xda-developers.com/lg...oogle-camera-gcam-lg-g7-thinq-t3855081/page49
Click to expand...
Click to collapse
Thank you Ill check out that thread
Thanks destoyer67, I was able to get a better Gcam situation using that link.
Gcam_6.2.030_Advanced_BF_V2.2.2beta2.190904.1817
from https://www.celsoazevedo.com/files/android/google-camera/dev-arnova8G2-beta/#apk1121
This is the one that works very well. There is .a work around for the camera shutter loading really slow after 2 pictures.. and that is the setting called Reinit for HDR+. Just turn it on and after every time you take a picture, your camera and viewfinder will reinitialize and blink for a split second. Every picture taken is fast. You just have to wait a full second in between pictures or so.
Its way better and more useable and waiting 6 seconds for each picture.
Night Sight works without ANY lag, so does portrait, wide angle, etc.
Things that do not work at all:
- HDR Off mode
- Flash (goes off doesnt take a picture)
This is a useable version for me.
I also also narrow down and say the shutter loading slow is caused by something in the "buffer fix" setting. If you turn off buffer fix, the camera will take a picture INSTANTLY. Like the stock LG cam. However, the viewfinder has that crazy lag so you cant see what you're taking a picture of.
i tried above but when its low light it freezes. i'm on at&t v350 /w PIE (20c)
kettlecorn said:
Thanks destoyer67, I was able to get a better Gcam situation using that link.
Gcam_6.2.030_Advanced_BF_V2.2.2beta2.190904.1817
from https://www.celsoazevedo.com/files/android/google-camera/dev-arnova8G2-beta/#apk1121
This is the one that works very well. There is .a work around for the camera shutter loading really slow after 2 pictures.. and that is the setting called Reinit for HDR+. Just turn it on and after every time you take a picture, your camera and viewfinder will reinitialize and blink for a split second. Every picture taken is fast. You just have to wait a full second in between pictures or so.
Its way better and more useable and waiting 6 seconds for each picture.
Night Sight works without ANY lag, so does portrait, wide angle, etc.
Things that do not work at all:
- HDR Off mode
- Flash (goes off doesnt take a picture)
This is a useable version for me.
I also also narrow down and say the shutter loading slow is caused by something in the "buffer fix" setting. If you turn off buffer fix, the camera will take a picture INSTANTLY. Like the stock LG cam. However, the viewfinder has that crazy lag so you cant see what you're taking a picture of.
Click to expand...
Click to collapse
Are you on Pie or Oreo?
Mine's on Pie(20s) and everything works relatively well except for images taken with the wide angle lens: the red and blue color channels seem to be swapped, making photos looking weird.
kaneorotar said:
Are you on Pie or Oreo?
Mine's on Pie(20s) and everything works relatively well except for images taken with the wide angle lens: the red and blue color channels seem to be swapped, making photos looking weird.
Click to expand...
Click to collapse
I'm having the same issue. Is there a fix for this? Tried playing around with the settings but couldn't land on a solution.
Okazar said:
I'm having the same issue. Is there a fix for this? Tried playing around with the settings but couldn't land on a solution.
Click to expand...
Click to collapse
OK, so I spent all day trying a bunch of versions, and finally found the one version that can get rid of the color issue and the lag between shots. Here it is:
https://www.celsoazevedo.com/files/android/google-camera/dev-arnova8G2-beta/#apk1114
With this one, make sure to enable both the "Use Restart for AUX Mod" and "Use Reinit for HDR+" settings in the "HDR+ control" menu. Make sure to enable the AUX button as well, and disable Google photos. You'll see the screen go black a little bit after taking a photo, and then you can take another one and switch cameras. When you switch cameras, it reinits the camera app, which gets rid of the channel swap issue. For some reason the other version that was linked has an issue when both these settings are enabled, but it works great with this version.
Ezzelin said:
OK, so I spent all day trying a bunch of versions, and finally found the one version that can get rid of the color issue and the lag between shots. Here it is:
https://www.celsoazevedo.com/files/android/google-camera/dev-arnova8G2-beta/#apk1114
With this one, make sure to enable both the "Use Restart for AUX Mod" and "Use Reinit for HDR+" settings in the "HDR+ control" menu. Make sure to enable the AUX button as well, and disable Google photos. You'll see the screen go black a little bit after taking a photo, and then you can take another one and switch cameras. When you switch cameras, it reinits the camera app, which gets rid of the channel swap issue. For some reason the other version that was linked has an issue when both these settings are enabled, but it works great with this version.
Click to expand...
Click to collapse
Glad someone finally found the right one, but the link you gave us only leads to a list of many gcam apks, which one exactly did you mean? Also, by disabling google photos, you mean that we have to disable it completely or just disable it somehow from gcam?
The version that I linked to blinks when you first open the page. It's V2.2.1.190831.2245-fix-2. As far as disabling Google photos, it's a setting inside the camera app that uses Google photos as the viewer when you look at the photo you just took. However, this integration doesn't work, so disable that so it uses the built in viewer. You'll also need to go to the About screen in settings and turn on advanced options to see most of the settings I've listed.
Thanks! It really works great, taking pictures is fast and even night mode is quick.
Good job on finding this
kettlecorn said:
kaneorotar said:
Are you on Pie or Oreo?
Mine's on Pie(20s) and everything works relatively well except for images taken with the wide angle lens: the red and blue color channels seem to be swapped, making photos looking weird.
Click to expand...
Click to collapse
I am having the same issue. Wide angle photos are totally blue. Other than that it works great!!
Click to expand...
Click to collapse
elkay81 said:
kettlecorn said:
I am having the same issue. Wide angle photos are totally blue. Other than that it works great!!
Click to expand...
Click to collapse
Hello,
I have found this version works on the V35.... Gcam_6.2.030_Advanced_BF_V2.2.1.190831.2245-fix2.apk. Wide Angle, Regular, Night Sight. However getting the white balance just right for both indoors and outdoors is not easy, so I I actually use a dual install combo for slightly better results:
OUTDOORS/Regular - Gcam_6.1.021_Advanced_BF_V1.6-Fu24_5Lens-02.apk - With this version I can customize sharpness without loading custom libs, etc. White balance is yellow indoors, and Night Sight has buffer problems so I don't use it.
INDOORS/Night Sight - Gcam_6.2.030_Advanced_BF_V2.2.1.190822.1145.apk - This version does well indoors with Night Sight... outdoor photos are pinkish however
You *should* be able to install both these versions without overwriting each other...
Here is a link to more conversation (G7 forum)...
https://forum.xda-developers.com/lg...gcam-lg-g7-thinq-t3855081/page53#post81474127
Click to expand...
Click to collapse
Ezzelin said:
OK, so I spent all day trying a bunch of versions, and finally found the one version that can get rid of the color issue and the lag between shots. Here it is:
https://www.celsoazevedo.com/files/android/google-camera/dev-arnova8G2-beta/#apk1114
With this one, make sure to enable both the "Use Restart for AUX Mod" and "Use Reinit for HDR+" settings in the "HDR+ control" menu. Make sure to enable the AUX button as well, and disable Google photos. You'll see the screen go black a little bit after taking a photo, and then you can take another one and switch cameras. When you switch cameras, it reinits the camera app, which gets rid of the channel swap issue. For some reason the other version that was linked has an issue when both these settings are enabled, but it works great with this version.
Click to expand...
Click to collapse
Near as I can tell this works perfect after following the indicated settings. No need for a buffer fix module, it's built in. Night sight works, viewfinder works properly in wide / normal etc etc.
thanks for mentioning it, there are so so many available that *might* work, a daunting task to try them all.
delete

Categories

Resources