yashsingh1/xdaforums huggingface dataset:
[G2 Themes and Apps] Melodycd:
Looks like viewfinder now is less laggy. And at last i got the menu like in all reviews, before i had a strange Verizon moded camera without pics in menu and without Auto Flash in A.I. mode.

Anyway need to test it in low light conditions in the evening.
[G2 Themes and Apps] KassaNovaKaine:
Hey, just wanted to know if you have any comment on this particular post someone made in another thread regarding the camera:
[G2 Themes and Apps] Jishnu Sur™:
Who is this ZigZagJoe Elite Recognized Dev?? If he thinks I'm a noob, please fix all the problems of the camera. Seems like He made the camera for the LG G2. If you did, man you are a bad engineer! ! :D :D
[G2 Themes and Apps] donis:
Not working in my f320k. Camera ver. 4.3.1
[G2 Themes and Apps] edangel:
Thanks...deleting the odex files made camera working..
[G2 Themes and Apps] Heatshiver:
[MENTION=2941286]xdabbeb[/MENTION] - I would definitely welcome any new libraries that would help! Feel free to tell me to add things to this thread, as it should be yours (I just got too excited when I saw it and tried it!).
[MENTION=4149218]KassaNovaKaine[/MENTION] [MENTION=4972367]Jishnu Sur[/MENTION] [MENTION=4786694]ZigZagJoe[/MENTION]

The writer seems to be guessing, but this is my area of expertise so I can tell you that when you shoot a sports event you ALWAYS use a high shutter speed at a low aperture to capture every movement without showing blur yet having great lighting. So, obviously, Sports Mode is going to be "biased" towards high shutter speeds. Image

quality

never gets worse as ISO increases, noise increases as ISO increases, making the image look worse. As far as the slow lag theory, it is somewhat correct. The "lag" would refer to the drop in framerate, which looks like lag to our eyes. Test this by moving from a well-lit area to a poorly-lit area and you'll see the difference between 30/60fps and 15fps. Go back to a well-lit area and a second or two later the camera is back to 30/60fps again. 15fps always looks odd. Check out this video on YT, which compares 15fps to 30fps. I also shot video on my Galaxy Note II in a poorly-lit area, and while the lighting was horrible compared to my LG G2, the fps stayed at 30fps, explaining its smoothness. The focus issue seems to be greatly reliant on how it is setup in the software (I would say the way light is processed is a probable culprit). As noted by the commenter, setting to infinite focus gives a workaround for this but people should know that this can provide

acceptable

sharpness but have less items in focus. Exposure seems to have no consequences to image focus. I tested with -2.0, 0.0 & +2.0 values. I was able to focus without any issues. To that end, it seemed underexposure focused much faster, and slowed as exposure was increased (of course, at the sake of lighting). I am not sure if this what you wanted KassaNovaKaine, but I hope that helps.

NOTE: I also used "low aperture" to mean lower numbers. Normally, you would say small aperture for higher numbers and large aperture for small numbers.
[G2 Themes and Apps] ZigZagJoe:
Image quality definitely gets worse as ISO increases - saturation and fine detail take a dive off a cliff, to say nothing of noise. Fine detail loss is then compounded by overzealous noise reduction. Quality loss is more noticeable in these cameras due to the tiny sensor.

Yes, it makes sense that sports mode would increase shutter speed, but without documentation to that effect, who knows what it might do? For all I knew it could just be applying filters and/or changing WB like the other modes seem to do. Not sure what landscape mode does, even. Probably modifies saturation. Exposure settings increasing and decreasing framerate would make sense as it'd be changing exposure by decreasing/increasing shutter speed. Only time you'd have things out of focus is if they are closer than 3 feet, which is the approximate hyperfocal length for these sensor/lens combinations. One of the only blessings of such a small sensor....

Misc data, the phone is able to capture at 1/10000 of a second if conditions permit - ie. taking a picture of a light bulb. Might be able to go a bit faster; some images has the speed recorded as 1/INT_MAX. 1/6s seems to be the minimum shutter speed.

If autofocus was made a bit more "brave", ie. bigger focus steps, it could help, at the expense of focus precision. Could possibly be gotten away with as focus doesn't need to be hyper precise on these things anyways. Trade offs no matter how you go though - you either get slow, but accurate AF, faster but less accurate AF, or fast AF that can't focus (minimum FPS raised). A bandaid fix would be to have the flash LED turn on and be used as an AF-assist lamp for focusing in low light always instead of only when flash is enabled. Of course, wouldn't help when the object isn't in range, but still an improvement.
[G2 Themes and Apps] xdabbeb:
I had a chance so sift through the updated libs, etc., and have made a flashable zip with all the updated files.

This probably should have its own thread, but it doesn't make sense to create more clutter. [MENTION=3404331]Heatshiver[/MENTION], if you don't mind, could you please update the title stating that this is the F320K11E Stock Camera + libs and remove the original download (as it was incomplete) to avoid any confusion. Actually, it would probably be a good idea to quote all of this as well so people don't have to read/search through the whole thread. I don't mind that you started it, as long as you field all the support questions ;)

I have tested this on my VS98011A and it is a marked improvement over the original. All of my comments are in relation to that version of the software/camera.

What's new:

The app itself is more useful, time to focus is improved, low-light performance is better, etc. It's not perfect, but it's definitely an improvement. It seems like LG balanced things out. The video bit rate has been reduced, min fps increased, image quality increased, sharpness increased, audio bitrate increased, and more. Many of these changes are also in [MENTION=4972367]Jishnu Sur[/MENTION]'s excellent mod, but with different values. Buy that guy a beer. He's been working on this camera for some time without even owning the device (and therefore without any of the benefit of the increased performance).

Included in the zip are a number of updated libs that deal with post-processing. If you use panorama, effects, etc. they may be improved with this. I don't use them much so I only verified they still work. Some of them (particularly some of the render script support libs), seem to be more for the stock Google gallery app and weren't even included in the VS98011A rom, but I figured it wouldn't hurt to include them in case the newer gallery app uses them.

Instructions:

1) Do a nandroid, or see which files are being updated and manually back them up.

2) See #1. If you mess something up you'll wish you had.

3) Flash away. I tested this with TWRP on a VS98011A and it works perfectly.

4) If you have another variant, let us know here whether or not it works.

F320K11E Camera Update

*I will also send the files along to Jishnu separately for inclusion/analysis in his mod.
[G2 Themes and Apps] ZigZagJoe:
So, loss of detail. For an example, have a look at this comparison. Less severe in larger sensors (IE. DSLRs) and more severe in smaller sensors, you know, what phones use. To what degree detail is lost depends on the severity of processing. Noise obscuring detail = detail loss. NR processing smoothing the image = more detail loss. Safe to say, higher ISO, more detail lost.

Saturation - essentially, color purity. I'm not referring to manipulation of saturation. A washed out image lacks saturation. Yes, it is moronic to equate saturation = quality. But, my personal preference doesn't enter into this at all. Is color information lost in an ISO 3200 image when compared an ISO 100 image? Yes. To what degree depends on the sensor and processing performed. Most dedicated cameras keep it fairly well in check, but phones tend to have serious issues with saturation at higher ISOs (also, Foveon sensors).

It does depend on the sensor pedigree, though - for instance, nikon's midrange APS-C sensors handle their noise a lot better than canon's 18mp-based offerings. So for phones to have different image quality is not unexpected.

Uh, JPG artifacting is way different than noise, and we were not even talking about compression in the first place?

Modes - don't care what the other ones are for, I was simply mentioning their presence. Don't ever use them on my real camera, but don't exactly have a choice in regards to phone. I was unable to get any sort of significant difference out of sports mode when I first tried it.... rest of the modes seem to be purely post processing related, for all I know LG made sports mode the same way. Later, checking EXIF info, I did see it changing shutter speed and ISO, favoring faster shutter speeds, which is the expected behavior, it's just not got much leeway for adjustment.

If ISO isn't already maxed (you know, like it is in low-light situations), yes, exposure control could be adjusting ISO too. But in the context of preview in low light, the exposure control directly affects the preview FPS, so it can only be adjusting shutter speed as ISO is already maxed. Would expect a similar effect on video but haven't tested it. Autofocus speed is directly linked to preview FPS, which is in turn limited by shutter speed (currently).
[G2 Themes and Apps] freebee269:
[MENTION=2941286]xdabbeb[/MENTION]

confirmed working on my at&t g2. the viewer for low light when in video mode is indeed faster and not as laggy as it was on stock. this is with me using the camera inside in my house where it's mostly inside lights and some sun coming in through windows. not ideal lighting compared to being outside. the viewer when in picture mode is still laggy though. and the focus when in picture mode still takes a long time to react. i think i had got a little spoiled with jishnu's mod. it took some of that lag in picture mod away but not all of it. but it is an improvement over the stock apk's that came with the phone. with that said, i would still rather prefer jinshu's mod because you can tell it is more tweaked. thank you for bringing this to us. would like to see if jinshu would re-base his mod off of these apk's instead.
[G2 Themes and Apps] farazafs:
Anyone tried this on the international D802 with Root and stock rom ?
[G2 Themes and Apps] Heatshiver:
[MENTION=4786694]ZigZagJoe[/MENTION] - This is my last time I'm telling you to bring this back to your own thread to discuss it or send your comments over PM. Otherwise I'll just have the forum admin pull all your posts from my thread. You obviously don't have enough respect to at least hide your comments so that it doesn't intrude on what this thread is truly about.

Higher ISO means more noise, and always will. However, higer and lower ISO can create loss of detail too, so I prefer to make proper distinctions so no one is confused.

Color information is not lost, that has to do with color bit-depth. Is color affected aesthetically, yes. Two different things.

Canon video on ASP-C sensors are better than that of any Nikon counterpart. So, what's your point? Sensor hardware was already my point. No one ever disputed that phones have different image quality, it would be stupid to think otherwise. I even noted the major difference in small sensors already.

How am I to know what you are talking about when you don't even know basic modes of a camera? You didn't specify video or photo so that's something you needed to clear up. Compression was brought up by me since I cannot gauge your knowledge on these things. What's interesting is that I never said I was talking about JPG as I referred to MB/s (clearly video), but since you brought it up, it's funny that you provide me an example that is all JPG images... JPG is a lossy

compression

codec, so it seems pretty obvious there would be a loss of detail.

You don't use the "M" mode on your real camera? I do. If you don't care about the modes then why mention them at all?

As I said before, exposure values control all three aspects (two in phones), there's no could about it. Why don't you run some tests (and post them in "your" thread or in a PM) and we'll see how the FPS varies from well-lit to not? I have already stated that it changes (from EV) to a constant so you must be arguing that it varies... FPS is shutter speed, it is not limited by one or the other. Again, AF seems to be greatly affected by light, which is more than just shutter speed. You can test this by going to the camera and changing ISO values in a small area that has okay lighting, but enough to take decent pictures without flash.
[G2 Themes and Apps] raimondomartire:
Please this is Heatshiver thread no spam left alone and in peace. He spend a lot of time with rom, recovery and mod here. Should be respected by all he don't work for Lg. Lg must work to better camera:good::good:
[G2 Themes and Apps] :
Hi,

Don't we need another libs from the update? Like these:

libHDR.so
libjpeg.so
libmmcamera_interface.so
libmmjpeg_interface.so
libmorpho_image_stab31.so
libmorpho_noise_reduction.so

And maybe others I forgot? Or these are not necessary?
[G2 Themes and Apps] xdabbeb:
I only included the files that were changed/updated. Those libraries were the same.
[G2 Themes and Apps] illyfilly:
Will this run on CM?
[G2 Themes and Apps] emplox:
No.
[G2 Themes and Apps] Jishnu Sur™:
Someone send me the new libs please.. I canot download the zip from the OP :P Its toooo big lol..
[G2 Themes and Apps] somboons:
for d802 can you make return stock
[G2 Themes and Apps] Heatshiver:
There is a post on the first page to return to stock.
[G2 Themes and Apps] somboons:
more lib file in flashable zip but on the first page return stock has 1 file in lib folder
[G2 Themes and Apps] Incep:
This works great on my phone. I had already the custom version of LG 's app installed, flashed a revert to stock zip and then this new one on top of it. Huge fps boost in the viewfinder. Thank you, Op.
[G2 Themes and Apps] DinarQ8:
thanks but where D802
[G2 Themes and Apps] nimanic:
Is this also working on CM10.2?
[G2 Themes and Apps] DinarQ8:
now i try not work for cm10.2

I hope make it for cm
[G2 Themes and Apps] cali90028:
Works for the sprint variant thanks...

My LG G2...
[G2 Themes and Apps] :
Hi,

Works without issues on stock D802 10a odexed (and 10b odexed/deodexed too but it's already in the OP).

And yes you need to go to /system/app and delete the odex files for LgCamera and LgGallery (before flashing).

:)
[G2 Themes and Apps] Heatshiver:
[MENTION=4008653]somboons[/MENTION] - Easiest method to create your own ZIP is download the update from the OP. Pull the same files from your current ROM. Then use 7z or WinRAR to open the ZIP download and overwrite the files inside with the files you took from your current ROM. [MENTION=3223592]DinarQ8[/MENTION] - The download works for many variants, including D802. [MENTION=1982022]nimanic[/MENTION] - It is confirmed not working for CM.
[G2 Themes and Apps] DinarQ8:
[MENTION=3404331]Heatshiver[/MENTION]

please if you can make file for CM

thanks
[G2 Themes and Apps] Dearborn1977:
Works for Malladus on vzw...thank you!
[G2 Themes and Apps] Evilmonstertruck:
Works on Digital on Verizon..

Its better but that focus lag is annoying.

Thanks
[G2 Themes and Apps] qsec:
I know it says official update in the title.

But where does this update come from? Has LG released it separately or was it included in a rom update?
[G2 Themes and Apps] woof123:
There are two files with different file size,the OP file and the K11e file...I installed the second,i didnt saw any visible changes..
[G2 Themes and Apps] xdabbeb:
[MENTION=2920816]viking37[/MENTION] [MENTION=3404331]Heatshiver[/MENTION] - The flashable zip I created should delete the odex files for LGCameraApp and LGGallery automatically. No need to manually do so unless you prefer.

[MENTION=2478074]qsec[/MENTION] - I got this from an official LG Rom update for the F320K model. These are the Korean variants that tend to get all the updates first.

[MENTION=5000659]woof123[/MENTION] - I'm not sure which files you're referring to, but at this point there should only be the one that I created yesterday as I believe I got rid of the others (unless someone else took them and is hosting them). You can get the latest here
[G2 Themes and Apps] woof123:
Yeah its the one i got,btw...i already had the K11E rom on my phone.With the rom i also had the camera too?Or its a seperate file.
[G2 Themes and Apps] xdabbeb:
Correct...if you already have the F320K11E rom, then you have the latest (from LG, at least). You could always diff the files to verify. Did you get it as an OTA or flash a rom?
[G2 Themes and Apps] woof123:
Flashed a rom that a vietnamese guy made for korean variants.That explains then why i saw no difference.
[G2 Themes and Apps] mky4b11:
Installed on my 801 with no issues.

Focus definitely seems quicker and viewfinder less laggy.

Used the flashable zip xdabbeb made.
[G2 Themes and Apps] Heatshiver:
[MENTION=2478074]qsec[/MENTION] - LG is in Korea, so that does make sense. Why India got it before the rest of the world is beyond me... [MENTION=5000659]woof123[/MENTION] - The files should be exactly the same just different names and different hosting sservices, just in case.

[MENTION=3223592]DinarQ8[/MENTION] - I just finished testing an AOSP-based LG Camera port with said updates. I can confirm it works on D802. All updates seemed to work except the low-light frame rate increase. Please check the OP for download, and if it works for you on CM, please tell us so we can add that information to the OP.
[G2 Themes and Apps] Eyezayah:
So, I'm curious if there's any difference between this and what Jishnu has on his thread? I noticed he said that LG may have taken the updates he made and put it into the official update? So any differences at all?
[G2 Themes and Apps] MasterThiefGarrett:
I think I lost 60 fps recording with this.

On the other hand, in low light video recording it doesn't seem to drop below the normal (30 fps) rate anymore, so that's good... now "all" we need is 60 fps video and the possibility to set the microphone less sensitive (for loud(er) environments)

Something like voodoo sound:

http://dl.project-voodoo.org/screenshots/VoodooControlApp-0.3.png

With that app you could control the audio (in video recordings) recording volume on the Galaxy S1 way back then... very useful at the time :)
[G2 Themes and Apps] arcardinal:
Updated AOSP camera works on AT&T d800. The only thing that doesn't seem to be working is intelligent auto.
[G2 Themes and Apps] drc13:
Just giving the AOSP camera a go on my D802 with CM.

Have encountered quite a few FC's.

I/A crashes, Front Camera crashes, Shot & Clear, Panorama, VR Panorama all crash.

It also doesn't seem to integrate Jishnu's folder fix (so it doesn't save in a seperate LG folder) from the other thread. http://xdaforums.com/showpost.php?p=47388102&postcount=25

Appreciate the effort though!
[G2 Themes and Apps] ozzyager:
I'm on the OSE rom for vzw and so far so good with the AOSP variant. Burst didn't work, but I/A is. Thanks!

Darn, I spoke too soon about I/A on OSE. It worked in good lighting, but fc'd in a darker setting.
[G2 Themes and Apps] Incep:
Having exactly the same problems. 802 running PA with the default kernel for that build.
[G2 Themes and Apps] iOSh8er:
Same issues on vs980 on CM.

Thanks for the port!

Support your Devs......
[G2 Themes and Apps] anurbanlegend:
Installed and working on D801 T-Mobile stock rom. Definitely is faster than before. Thanks a lot for this!
[G2 Themes and Apps] CasseTrop:
Working on D803 with AOSP Carbon rom.

Seems a little better then the older version I was using.

Thank you

Edit: took two shots with HDR, went to gallery. Deleted the 2 pics, come back to the camera, try to change from HDR to Burst mode, Phone frozen.
[G2 Themes and Apps] farazafs:
Tried this on my Stock Rom D802 . Noticed almost little to no difference. There is only a v minor increment in the speed of focus. I am starting to this this is a problem of the hardware and not a software.
[G2 Themes and Apps] Heatshiver:
[MENTION=2919278]MasterThiefGarrett[/MENTION] - I could never get 60fps regardless of update, so I assume that may be dependent on the lighting situation. [MENTION=5015103]drc13[/MENTION] - I suspected it might. What CM version were you using? Unfortunately I cannot attempt the folder fix because the download link in the thread you gave no longer works. Apparently there is another link, but I don't know in which thread and what page... What you can do for now is either send pictures via Share or use a root explorer and move, zip, etc. the files to retrieve them. [MENTION=1977746]CasseTrop[/MENTION] - It sounds like Burst mode doesn't work. Would you mind trying

only

Burst mode and see if you FC. If not, then reboot and select HDR and switch to Burst again to see if the same results arise? If you do, I'd like to note this in the OP. Thanks. [MENTION=2633392]farazafs[/MENTION] - I found a great deal was improved, but I also do more than visual testing when checking. I always assumed the OIS had something to do with it, but I do feel the software is a major player.

And thanks to everyone for the feedback and verifications, the OP has been updated to reflect much of this.
[G2 Themes and Apps] somboons:
thank you Heatshiver,

I just create flashable for return Stock D802 here > https://hotfile.com/dl/255281280/c6e4c96/return_stock_LG_Camera_D802.zip.html
[G2 Themes and Apps] MasterThiefGarrett:
[MENTION=3404331]Heatshiver[/MENTION] I use stock ROM.
[G2 Themes and Apps] drc13:
Hey [MENTION=3404331]Heatshiver[/MENTION].

I run the CM nightlies for the 802 so in this case it was the 2013-11-15 nightly. I've reverted back to the the other AOSP modded camera for now which isn't perfect either but more of the functions seem to work but without the tweaks that I want from your release!

FYI here's the download link for the folder fix camera http://xdaforums.com/showpost.php?p=47434870&postcount=38

Thanks again mate, I'm confident with some time we'll have a really good camera port for AOSP.
[G2 Themes and Apps] DinarQ8:
hi. anyone try AOSP-based ROM (EXPERIMENTAL) for CM10.2 D802 Intl
[G2 Themes and Apps] bervin:
[MENTION=3404331]Heatshiver[/MENTION]

Where did you get this official update from? How did LG push this out?
[G2 Themes and Apps] nic85:
can't find in OP the revert stock zip for d802 international
[G2 Themes and Apps] raber111:
Which of mods will works on 4.3 Roms ?

Отправлено с моего LG G2 при помощи Tapatalk
[G2 Themes and Apps] j0ff:
I wish the shots of any type of movement with anything other than brilliant light were better. It really is quite shocking how bad it is. My boy is just walking across the kitchen and it's early afternoon...
[G2 Themes and Apps] Heatshiver:
[MENTION=5015103]drc13[/MENTION] - I was looking for the folder solution problem, but I realized all my images and video are in the appropriate folder on SD card or otherwise... [MENTION=2168799]bervin[/MENTION] - The update is from a Korean push. It seems to have reached India, but I am unsure where else it has arrived. [MENTION=1545532]nic85[/MENTION] - Check a few posts before yours... [MENTION=5410072]raber111[/MENTION] - Use to the AOSP experimental download. [MENTION=905260]j0ff[/MENTION] - This would have to do with shutter speed. The higher it is the less blur that occurs.
[G2 Themes and Apps] bervin:
[MENTION=3404331]Heatshiver[/MENTION]

Anyway is 60FPS working on this mod? i tried to take sample videos but i can't tell the difference.
[G2 Themes and Apps] MasterThiefGarrett:
If 60 fps works then you WILL notice it directly on your screen when recording, it's that much more smooth :)
[G2 Themes and Apps] nic85:
do you mean this?

http://xdaforums.com/showpost.php?p=47513309&postcount=62

it's a safe package...tested?