yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] jayochs:
thank you :)

in terms of video, here's the problem.. stock, it's the Auto breathing problem that xdabbeb fixed. however, now we have the problem of bad focus. it'll get unfocused and take like 7 seconds just to refocus correctly. there's no focus lock, where we can choose a point as we're filming, lock focus there, and it won't keep auto focusing until you hit the button again.. the s3 and s4 do this and it's wonderful. the focusing on the g2 is just very bad in general, even in auto. the s4 on auto just does a much better job.

in terms of audio, the g2 uses an awful noise gate that tries to eliminate background noise that is "unwanted." problem is, we actually want these frequencies and LG decided to try to wipe them out with their awful noise reduction, which makes it sound like it's underwater and garbled.

image wise, it's so blurry and does not look hd at all. compared to the s4, it looks like a damn gingerbread video lol.. the noise reduction is apparent in the videos as well, so you can see the image getting blurred and not sharp whatsoever.
[G2 Android Development] raghavan_nvr:
Is the problem seen on the camera of AOSP roms as well?
[G2 Android Development] woof123:
I asked before but i will ask again.Since we know the problems with Lg camera soft.And since G2 is sharing the same sensor,with the i9500 S4 version.Wouldnt it be better to try and do a port of the excelent i9500 camera,instead of trying to fix the lg one? (the korean S4 version shares the same sensor as the i9500 and the same soc with G2 too,but somehow i think i9500 take better pics..)
[G2 Android Development] le_lutin:
Totally agree with Jayochs. I came to this phone from a Note 2 (which has the same cam as the s3), and I have to say it's barely an upgrade camera-wise. xdabbeb has made some brilliant modifications, but the speed of focus and the speed of the shutter on this phone really lets it down.

Jayochs, for video, have you tried the lenovo super camera app? I think the video using that app is less soft and focus is faster (audio might also be better, but can't remember). It's a nice app, definitely worth a try.
[G2 Android Development] raghavan_nvr:
I agree too ... definitely worth a try .. Is it possible to port it ?
[G2 Android Development] Deni_NS:
You should try Focal. It can lock focus AND can have touch to focus :)
[G2 Android Development] le_lutin:
I like it a lot. Also lets you touch&lock focus on the photo app AND a separate touch&lock exposure. Means you can focus on one thing and have the whole scene exposed for a completely different part of the frame. Very nice indeed.
[G2 Android Development] eadred:
The file is not available anymore. Would you be so nice to reupload? That would be very nice.

I am actually preparing to install the update from lg. I have D802 stock rooted with twrp. Last time I got into a bootloop and had a hard time getting out of it. I want to give another try and I heard I should do two things:

1) remove any system mod (that is among other this xdabbeb camera)

2) update with usb cable and lgmobile support tool

Do you guys believe that should work? Will I still have root afterwards (as far as it works)?
[G2 Android Development] freebee269:
http://xdaforums.com/showthread.php?p=49551394#post49551394
[G2 Android Development] myhalcyondaze:
Sports mode changes?

In looking over the changelog and searching this thread, I didn't see anything about specific changes to "sports" mode. It would be great if it was tweaked to be optimal at stopping motion, as the name would suggest. I know IA mode has the highest shutter speed, but it also has additional processing. Maybe sports mode could be made with even higher shutter and also avoid the additional processing?

Matt
[G2 Android Development] raghavan_nvr:
Focal viewfinder occupies the whole screen i.e. Cropped 16:9 even if the image captured is 13MP.
[G2 Android Development] CrfEpic4g:
What's the difference between the quiet version and normal version ?
[G2 Android Development] screenager:
the quiet version is quiet ;) - in addition to disabling the shutter sound there are no focusing and other noises your camera would make. be sure to flash the normal version first and then quiet to have the full benefit of this mod.
[G2 Android Development] CrfEpic4g:
Lol okay that what i figured just wanted to make sure it wasnt some kind of hidden message
[G2 Android Development] screenager:
no problem! just remember to flash the normal version first since the quiet one only contains the apk.
[G2 Android Development] Junetastic:
Finally got a chance to install this mod, and in the first minute of using it, I can tell it's leaps and bounds better than the stock camera.

Thank you for your hard work!
[G2 Android Development] ziociccio:
Hi.

I jave only root and stock recovery.

Can i install this mod by copy/past in system dir the files?

Inviato dal mio LG-D802 con Tapatalk 2
[G2 Android Development] CrfEpic4g:
What's keeping you from a custom recovery ?
[G2 Android Development] ziociccio:
Please...reply me to my question...

Inviato dal mio LG-D802 con Tapatalk 2
[G2 Android Development] micheled:
What's happen when I install only the quiet version instead of both? Then I have the stock (not modded) camera with sounds disabled or is the quiet version also modded? Thanks for your reply.
[G2 Android Development] akaloith:
I have xdabbeb's camera v1.3.1 - alt installed

can i install xdabbeb's camera v1.5.0 on top of it?

if no how can i revert to original cam files? i have D80210a-262-01

thank u
[G2 Android Development] ziociccio:
No one?

Inviato dal mio LG-D802 con Tapatalk 2
[G2 Android Development] PAGOT:
Have a backup ready. Twrp. But I think I did it that way. Actually from 1.3 alt to 1.4 and now 1.5

---------- Post added at 02:04 PM ---------- Previous post was at 02:01 PM ----------

Can you make a backup? Not sure you won't get some app/ ui crashes? Did not look what files are overwritten. Why don't you install a custom recovery?
[G2 Android Development] ziociccio:
I wan't install custom recovery.

In zip file there are files that overwrite files in system folder or not?

Inviato dal mio LG-D802 con Tapatalk 2
[G2 Android Development] anonymousss:
+1 i for example flashed the quiet one only and there was a noticeable improvement on the spot
[G2 Android Development] ziociccio:
Hello.

I want to install your modified camera G2, but I do not want to put a custom recovery (not to lose OTA updates).

I wanted to ask, can I copy the files contained in the zip file to flash into the system folder? Having root of course.

Thank you.
[G2 Android Development] akaloith:
I installed it using cwm philz touch

it worked

ver 1.5 over 1.3.1

all ok
[G2 Android Development] SREEPRAJAY:
Just a small request my friend and to ask others here

No need to quote a whole opening post to ask a question....makes it so difficult to check posts from the device....and also remains irrelevant anyway

Thanks for the understanding

sent from my old war horse O2X or my new beast G2
[G2 Android Development] -Zork-:
Are there any MOD to have compatibility with ASOP or CM?
[G2 Android Development] martindar:
you cannot update from lg once you are rooted,without going back to completely stock ie root removed,twrp removed and stock recovery reinstalled ie phone returned to as bought from new- if I undersrand your question right?
[G2 Android Development] gonk24:
As long as you have root access then yes it should work. You'll have to unpack the zip file and place each file in the proper directories as laid out in the zip file structure. You'll also need to change each file's properties to rw-r--r--. Be sure to backup every file that you're going to replace first in case something goes wrong and you need to revert to stock.

On a side note, check to see if you can even still take ota updates if rooted. Probably not. If you gotten rid of any apps that wouldn't install through Android's native app manager, you also can't take an ota update.
[G2 Android Development] aTanCS:
Hi, thank you for your camera mod. Would it be possible also to fix horrible blurry video quality? It is much worse than Galaxy S3 video (the only one I can compare to).
[G2 Android Development] mistermidas:
You can be rooted and update, but you can ONLY be rooted. Can't have twrp or other mods
[G2 Android Development] le_lutin:
Been playing with Focal camera all weekend. The actual stills camera isn't as good as this mod, but the video is far, far better. Indoors and in low light, for me it blows away the stock camera. Framerate is better (no loss of brightness), picture is less soft, focus is manual so it has no "breathing" issues at all. You can also adjust the sharpness and the contrast (though I think it's called "color adjust").

The only small issue is that it's not 100% stable - I get the odd freeze when switching from Focal to the stock app or vice versa.

Anyway, if like me, you take videos in doors and in low light, give this a try. I think you'll like it.
[G2 Android Development] Kreuger:
Hey man I just wanted to post again and let you know that when I upgraded from 1.4 to 1.5, I got the media scan issue. I know how to fix it, so that's not an issue. I'm just wondering what keeps causing this issue to pop up?
[G2 Android Development] gummybear00:
I installed this camera app, v1.40, and it's practically the same as the stock AT&T LG app. Picture quality looks the same, aka blurry, not sharp, and ugly.

The Nexus 5 camera app has an HDR+ mode that produces exceptional pictures. The HDR mode in this app/stock app looks ugly, and basically the same as Normal mode.

Nexus 5 HDR+ mode: http://i.imgur.com/vmxVUaQ.jpg. The kid is moving so her body is blurry but look at her hair, the background color, details and sharpness. I can't get anywhere close to this on my G2.

In fact the Nexus 5 HDR+ mode produces the best pictures I've ever seen. Is there any way to bring that to the G2?
[G2 Android Development] anonymousss:
Can we improve-front camera as well?
[G2 Android Development] gonk24:
Check the version number in app info, because this mod is worlds better than stock. Either it didn't install or its how you're using it.

Here's a couple pics of my cats using normal mode, no need for HDR.

And another of some books when I was messing with depth of field

Hopefully those uploaded full resolution.
[G2 Android Development] amonrei:
Try shooting a high contrast scene with Normal & HDR mode. It's a huge difference for me.
[G2 Android Development] Steamer86:
Agreed, except pictures in good lighting demolish the former. I own a note 2 and 3. Video, undesirable. Good light amazing, however, my note 2 actually performs better in weaker lighting. The note 2 and 3 perform much better with moving targets in low light setting, the G2 still demolishes the former in good light. Hardware and SoC wise, this shouldn't be. I will continue to chalk it up to horrid software / drivers.
[G2 Android Development] gummybear00:
After flashing camera 1.4 and quiet 1.4, I'm seeing version 4.3.12. Is this the right version? I'm on CleanROM XE 2.0 with TWRP 2.6.3.3. Using D800 AT&T G2.
[G2 Android Development] _Infamous_:
Yes that's the right camera
[G2 Android Development] Jemus:
Is there going to be a port of this cam for CM/ASOP roms? Does anybody know?
[G2 Android Development] jayochs:
no man, no idea, you're the first to post this question in the entire thread.
[G2 Android Development] le_lutin:
Hi Jayochs . I know you were one of the people who was unhappy with the video quality on the G2 (as was I). Just wondering if you saw my post in the last page about the video functionality of Focal?
[G2 Android Development] Hid3rs:
I've just downloaded Camera FV-5 from the play store, and it does let you manually set the shutter speed. Just took a picture with a 60 second exposure time. 1080p is the highest resolution for long exposure shots, so it's not that great, but I thought it was interesting.
[G2 Android Development] xdabbeb:
Cool. I'll take a look at it. Not sure how they're doing it as (like I said) Google doesn't currently provide a method for setting it, but hopefully this bodes well for the future.

EDIT: FYI...here's the current api. Keep in mind not all phones support all of these even.
[G2 Android Development] raghavan_nvr:
I have played with this app a lot.. It doesn't do long exposure... It takes multiple shots continuously and merges them.
[G2 Android Development] gummybear00:
Actually I checked the stock camera app in the backup folder and the flashed camera app. They both have the same version number. I don't think the new camera has a different version number.

Secondly, your pictures are totally different concepts. You're focused on one object in the foreground. Any camera can do a decent job at this.

Where the G2's camera is weak is in getting sharpness and good colors for things in the background, from 1 feet away to 15 feet away. Stuff in the background don't look sharp and colors are always washed out.

I guess HDR is just a minor color tweak on the G2. On the Nexus 5 with Google's software it's like night a day, images have much more sharpness, clarity, and color.
[G2 Android Development] switchgott:
Please,

release a CM11 version :((

BIG THANKS!
[G2 Android Development] gonk24:
My original backed up version is 4.2.4. This mod version 1.4 & 1.5 show as 4.3.12.

Here's a different pic. Again, this is normal mode. The roof line across the front of the closest building is 45ft. Look at the bricks on the side of the next building. If you add that I'm standing past the end of the 45ft run, and the alley between buildings, it's nearly 60ft. I'd say that's doing good a pretty good job of keeping detail at a distance. Color wise, there's not much color to start with on brown brick.

http://www.flickr.com/photos/115740156@N08/12177380225/lightbox/

I have read that hdr+ is quite good on the Nexus5 whereas the other modes are so-so. To be honest I don't see anything overly impressive with the shot you posted. Looking at it full size, there's not any less blur than what a normal shot on the G2 has. But that's me. Bottom line is that this mod has made a marked improvement on the G2's software. Other users in this read can attest to that also.
[G2 Android Development] le_lutin:
Just did some more tests with my kids and the difference in the video quality (between stock and Focal) is night and day. There is absolutely no loss of brightness or clarity or sound quality or anything. There's none of that muddy "ghosting" that you see with moving subjects on the stock camera. The quality with Focal is simply better in every regard. I wish I had known this when I was taking videos of my kids' first Christmas only a few weeks ago!

None of this, of course, takes away from this mod which is awesome for still photos.
[G2 Android Development] Deni_NS:
I told you Focal is good :angel: :p
[G2 Android Development] le_lutin:
Much obliged!
[G2 Android Development] jayochs:
the problem with focal, and every other after market camera app, is that in video mode, it creates stuck pixels that are typically blue. search your video.. you'll see random stuck blue pixels everywhere. for some reason all aftermarket video camera apps do this on the g2 while stock doesn't.
[G2 Android Development] le_lutin:
I've just checked some of the videos again, on the phone and on youtube at 1080p full screen. Several times. There definitely aren't any stuck pixels on them.
[G2 Android Development] anonymousss:
Hey xdabbeb can you by any chance try to modify the front camera to make it better ? ?

I admire your work on the rear one btw
[G2 Android Development] le_lutin:
http://xdaforums.com/showthread.php?p=49431299&highlight=front+camera#post49431299
[G2 Android Development] xdabbeb:
[MENTION=2770600]jayochs[/MENTION] is correct that you can notice stuck/hot pixels on videos with other apps at times. It depends on the iso, what spot it metered at, and obviously whether or not your cmos has any bad pixels at the time to begin with. Whether it's a lack of pre-compression pixel mapping (due to limited qcom driver support) or some other factor I'm not sure, but it happens and I've seen it.

As for focal specifically, it has some cool features that I like (the moveable exposure ring is one), but I haven't found the video quality to be any better. It is a touch brighter and less fuzzy in low-light, but that's because it's just dropping the framerate down to 15 (which is what no one liked about the stock LG camera) and so it's able to get more light to the sensor without bumping the ISO and increasing the noise/softness. They're trade-offs. There's no free lunch. The same goes for the Lenovo SuperCamera (though at least focal doesn't need the "take your first-born" permissions!) and any other I've tried. None of them will turn this camera into a DSLR, and aside from some better features at times, I haven't found any to do a better overall job (and sometimes worse as I pointed out with my example). Many/most aren't using the full array of qcom features as they are made to support many phones. LG's software is far from perfect, but it has its advantages at times.

That said, can we please try to do a better job of keeping this thread on-topic? Most of the last several pages have been decidedly off-topic. I appreciate hearing about new things as much as the next person (and there is even a feature in Focal that I'm considering for this mod), but this isn't the place for it. If there's a specific feature you found and want to see if it's feasible for the mod, that's one thing. It isn't the place to compare the G2 to other phones either (though even I was guilty of that). It doesn't help answer people's questions and in the end its mostly opinion (with individuals on both sides)...there are plenty of other threads in the general section where people can compare the G2 to something else. I'm not trying to single anyone out here...it's just gotten a little carried away and I wanted to say something before it went further.

Thanks for listening. I am working on a new version that should take the LG camera a bit further.
[G2 Android Development] raghavan_nvr:
For the new version, I have a suggestion - why don't you join forces with the other camera modder - Jishnu.. both cameras have their own benefits... Would be better to merge into one
[G2 Android Development] Zoide_:
For the next version, I think the #1 improvement would be AOSP/CM support :cool:
[G2 Android Development] le_lutin:
First off. I'm as guilty as anyone for the off-topic posting. Apologies for that - we're all just trying to get the most out of this camera.

To get specific about your point above. The amazing thing about the vids I'm shooting is that the Focal vids, the framerate is actually higher, not lower. I have 2 vids taken within seconds of each other. Stock camera shot at 14 fps, Focal at 30 fps *. Absolutely NO loss of brightness and the Focal vid was also far sharper.

The only reason I ever mention this stuff is to see whether such improvements could be integrated into your wonderful mod (though I know your focus isn't really on the video aspect of things).

fps values taken from windows media player.
[G2 Android Development] xdabbeb:
No worries at all. If you aren't getting 30fps in low-light from this mod, then there's something wrong with how it installed on your phone. Are you just flashing the quiet version without flashing the regular version first? As mentioned in the OP, the quiet zip only contains the apk...which is only part of the mod (doesn't contain the support binaries).
[G2 Android Development] mannequin:
maybe an option to disable denoise completely? i know you said the results are quite ugly without it but it could be fun to experiment with them.
[G2 Android Development] noris08:
hi xdabbeb

great work you are doing here with the camera mod!

i have one suggestion, maybe you want to consider for the next release

would it be possible to add an option to allow pics and vids to be saved on an external usb flash drive conected OTG? i saw this option on lgcamera application, maybe you can take a look

this would be great, considering that our g2 doesn't have microsd slot but will accept OTG usb flash drive

thank you!

best regards!
[G2 Android Development] Gulfcoastowl:
How do I know I am using this Mod?

How do I know I am using this Mod?? I have followed the installation instructions and I think I did it properly. Yet I see some low light pictures still bad. Do not know if the mod is working. How do I know? What is the best mode to take a picture in low light ? Will any app make my camera better while using this mod?

Thank you Xdabbeb and all
[G2 Android Development] le_lutin:
Well, to the surprise of, um, no one, you were absolutely right. I always restore between flashes and after the last time I must've only installed the quiet zip.

Makes a huge difference. Thanks so much. I wonder what else wasn't working properly...

---------- Post added at 10:00 PM ---------- Previous post was at 09:59 PM ----------

If you have the Hdr video mode, then you are using this mod.
[G2 Android Development] Zulake:
Just flashed this mod, but the quality is for some reason a lot worse than stock. It's very slow and there is lots and lots of blur and noise.

Another thing I noticed is that the cam is blazing fast in auto intelligent mode. Real-time. And it seems to shoot crispy smooth pictures. Buuuuuut it looks like the ISO is stuck on 100 or so since the image is extremely dark on both the screen while taking a photo and the photo itself is very, very dark too.

The fact that the cam feels snappy and smooth in picture mode makes me think there is a great cam in there, but there's some bugs in the software. Could you please confirm if it's normal to have very dark images in auto intelligent?
[G2 Android Development] Deni_NS:
+1 if he has time, maybe to make version with just very little denoise available.

Yes it's normal. Next time, please read thread or use search function on this forum.
[G2 Android Development] gonk24:
Intelligent Auto is darker than Normal mode, that's correct. As far as the quality being a lot worse than stock, that's not correct. This mod is a big improvement. What exactly did you flash? If it was the quiet version, make sure to flash the regular first, then the quiet.
[G2 Android Development] greyhd:
When you say the regular first then the quiet version, does that mean flash 1.5 then the quiet version?
[G2 Android Development] iall5tar:
Hi,

Yes, you have to flash firstly the normal version 1.5 then the quiet version.

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Android Development] Zulake:
Alright, thank you. I would love to use search but it always complains about the search not available right now. That's why I asked like this.

I flashed quiet as well now, but I still get terrible pictures in all modes. In some shots there's so much noise present that you can barely see what I just photographed.

Maybe a faulty camera? Although the quality was okay-ish on stock.

I also noticed an error in recovery during flashing. It seems to flash okay, then it says something about checking for loki and then it says something about an unsupported aboot image.

Thanks for the mod nonetheless, it's always great to attempt to improve something. :)
[G2 Android Development] le_lutin:
My recovery also says the loki error thing, but the camera still flashes successfully.
[G2 Android Development] iall5tar:
This happens cause you didnt disabled Loki.

Go to CWM> Advanced > Loki> Disabled > then no more error from Loki.
[G2 Android Development] heymoe:
How does the camera's default image directory get set?

Running stock (Malladus v1.2.6) with v1.5, the camera defaults to DCIM/Camera.

A few days ago I was testing Malladus v1.3 (Hybrid Stock + Flex Rom) and installed v1.5. Initially when I first started the camera the preview of the last shot taken did show the correct photo in DCIM/Camera but after I took a new photo the camera stored it in DCIM/CAM001 or something like that but it wasn't DCIM/Camera. I deleted this new directory and started the camera again and this time it didn't show a preview of my last image in DCIM/Camera and continued to store new shots in this other directory after it recreated it.

Any ideas?