yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] dawabz94:
Still at work here, reading you makes me really want to dig the Lenovo's thing deeper !

Thanks for sharing this one too, we're all trying to get the best out of the G2's hardware
[G2 Android Development] mac20dnangel:
Yup. Just tested bunch of its software capabilities. And it is really a jaw dropping cam app. It has lots of options to tweak the camera and also lots of stuff to play with.

It makes the LG camera near to perfection. As in Near...
[G2 Android Development] dawabz94:
Granted !

It *do* is better than LGCam

Exposure is better managed

It pushes ISO to 1900

And allows more control over petering

... And offer a lot to play with

Thanks for the finding and sharing your experience

Made my day :)
[G2 Android Development] xdabbeb:
[MENTION=2987846]dawabz94[/MENTION] [MENTION=4685163]mac20dnangel[/MENTION]

This isn't really on topic, but I had tried out the SuperCamera app a while ago and liked/disliked some things in a previous version so I decided to give it another try.

I took two photos in the same lighting of the same object and noticed some of the same pros/cons I had noted before. Namely, the SC app tends to introduce more chroma noise. My guess would be that it's partially b/c that version of the app is tuned for the Lenovo Vibe Z, which has a faster lens (f1.8 vs f2.4 of the G2). You can clearly see the chroma noise and a lack of detail/sharpness in the two crops I've attached. If you look at the exif info you can see that all parameters of the camera were the same for the shot (1900 iso, 1/10 shutter speed, etc). It seemed to be making the same choices as far as ISO and shutter for most situations, so I don't think it would do anything differently for moving objects either in normal mode. They may have tuned their sports mode for an even faster shutter and higher iso, but I didn't play with it much and there would be tradeoffs for doing so.

LG - crop

SC - crop

One thing I do like is that they've included way more options (i.e. spot-metering) that I always wish LG would've added. It also seems to have a lot more built-in effects. That said, the trade-off in the image quality isn't worth it to me. The video recording quality doesn't seem to be as good either, the framerate drops, and I found that the focusing in both camera/video was slower and a little less accurate.

As for the perceived brightness, the SC app has a default setting that turns the brightness of your screen up while using the app, so make sure you turn that off before comparing. I'm also a little wary of all the unnecessary permissions this app has (for a camera app). I know some of them can be removed, but I looked in the smali quickly and noticed some tracking classes as well. They may be harmless, but without looking into it deeper I can't say for sure.

I definitely like hearing about other options out there but, again, it doesn't really belong here. Please try to keep it on topic so the thread doesn't get cluttered.
[G2 Android Development] Zoide_:
xdabbeb: I'd love to try your camera, but I'm running an AOSP-based ROM. Is there anything we can do to help you adapt it?

Thanks
[G2 Android Development] xdabbeb:
Find a way to squeeze more than 24hrs into a day :)

I still would like to, but given that I'm doing this for free with spare time it mostly comes down to not having as much motivation to use what little I have when I don't use or prefer any of the aosp roms on my device. If I start using another rom or get more spare time that would certainly change things.
[G2 Android Development] Zoide_:
:P

I understand!

Would it be a matter of finding the right combination of libraries to copy here and there, or does it involve modifying and rebuilding the camera app itself? I was thinking maybe I could try to figure it out myself by reading the errors via logcat and seeing which libraries are missing, or something along those lines.

Thanks
[G2 Android Development] xdabbeb:
The binaries are definitely part of it, but you'd also need to hook/bypass some of the calls in the smali that reference lg-oem specific framework. If you're very familiar with logcat I'm sure you could piece it together. The other problem I had was that the one time I had tried a test version, no one was able to get me the proper information to get it working. As I'm sure you know, telling me "it doesn't work!" isn't very helpful. It wasn't purposeful, but having a good/reliable tester is imperative unless I decide to use CM/AOSP myself.
[G2 Android Development] mac20dnangel:
Thanks for really trying... I supposed not to clogged the thread. I just want you to also to noticed something that we could do to really utilize the LG Cam hardware using it's software by adding more options and fixing imperfections through some apps for example.

I did not mean to do that.
[G2 Android Development] RubbleTea:
Great great mod....only regret was waiting to flash it....just wondering what you would do if you were to come out with a new one?....not that its needed this things NiCE! but curious of your thoughts on this?.......
[G2 Android Development] xdabbeb:
[MENTION=4685163]mac20dnangel[/MENTION] no problem at all! I understand what you meant.

[MENTION=5274225]RubbleTea[/MENTION] Do you mean for future versions? If so I still have some things I'd like to do, and once 4.4 is official for more variants I think I'll have even more options.
[G2 Android Development] suhiiii:
[MENTION=2941286]xdabbeb[/MENTION] Is possible to make thath power button blinking like on flex ,for face detection in camera ? Or we need kernel thath support thath ?
[G2 Android Development] dawabz94:
Hi, first, I'm sorry if you felt offended, did not mean to

To end this, both are good and I'm keeping both on my phone

I have not had time to deeper compare img quality, will do on my side and make my own mind but won't report anything here

Agreed with better img quality for LG on your samples though

Agreed this if out of topic and am sorry for that

Nice day all

BTW, still an issue with my paypal account but will definitely donate to this mod :)
[G2 Android Development] xdabbeb:
I looked into it briefly with v1.3.0, but it appeared it would also require framework changes which, while possible, would be beyond the scope of a camera mod.
[G2 Android Development] eadred:
What should I do to go back to stock? Flash backup file provided our the restore for provided?

I have d802 stock with root
[G2 Android Development] iall5tar:
Hi [MENTION=2941286]xdabbeb[/MENTION] could you mind to tell me what's the difference this mod from the Jhisnu?

Thanks
[G2 Android Development] screenager:
Its in the first post... Shutter speed is limited to 1/10 in normal or 1/15 in ia, iso 1600 support, 60fps...
[G2 Android Development] daClaus:
The backup file is not the backup, when you flash the backup file it backs up the camera files. When you flash the restore file it restores the previously backed up files.

This means: If you didn't flash the backup file before flashing the mod, you don't have a backup.
[G2 Android Development] freebee269:
stock camera apk and libraries. this is flashable through recovery.

http://d-h.st/Qxt
[G2 Android Development] selami023:
hi guys i flashed this mod over jhisnus mod. Everything is perfect. FullHD@60fps is also very fluent, thx for that. But i cant set the OIS to on. Its greyed out. Is this normal or did i do something wrong ?
[G2 Android Development] GibMcFragger:
Oops. NVM.
[G2 Android Development] screenager:
ois unfortunatley doenst work with 1080p60fps! you can use it on every other mode!
[G2 Android Development] xcubeinc:
Hi. Link is broken. Please post another link.
[G2 Android Development] screenager:
Instead you could reflash rom also!
[G2 Android Development] Jemus:
The mod still doesn't work with CM11, right?

Gesendet von meinem Nexus 7 mit Tapatalk
[G2 Android Development] freebee269:
stock lg g2 camera. recovery flashable. make sure to rename lgcameraapp.apk and odex and lggallery.apk and odex to .bak. or you can just push these files to their respective directories with a root explorer. make sure to change permissions to 0644.

http://d-h.st/8OP
[G2 Android Development] slebit:
Thanks a lot for this mod. Working great on stockmod rom.
[G2 Android Development] twigster:
Flashed v1.5.0 on top of the spidero Rom. Works great except for the fact that in the camera there is no settings button. Very strange.

When I change it to front camera the settings button is there though.

LG G2 D802
[G2 Android Development] kewkie:
With this mod im getting landscape only in camera.. have to reflash rom to get this issue away. dont know why this is.. even trying wipe cache/dalvik wont help :(

tried with different roms (stock, custom stock, flex).
[G2 Android Development] gonk24:
Very strange. I'm stock and have used every version of this camera as it has been developed. I have yet to see this happen on my device. Have you tried another camera app to see if this problem is present outside of the mod? Also, state your device model and check the spreadsheet in the OP for compatibility if you haven't already.
[G2 Android Development] kewkie:
With another ROM its fine, everything is working yet :D lol

And the pictures are way better, thanks for this mod man!

// edit

maybe it was the kernel? (dorimanx) i dont know, i will stay with stock, guess its better :)
[G2 Android Development] Jostian:
in Normal mode when I select 1600 iso it shoots at 800 iso not 1600 iso?? why
[G2 Android Development] dukat0s:
d802

yes dude i have the same problem its dorimanx kernel.returing to stock fix the issue
[G2 Android Development] toybxb:
Is this compatible with LG OPTIMUS G E975 ?
[G2 Android Development] Deni_NS:
I'm on dori's kernel and don't have that problem...
[G2 Android Development] dukat0s:
d802

well its quite possible we have diff roms etc.me and 4 of my friends and 3 of em got this problem . 1 is completly ok like u :) for me return to stock fix the issues with rotation in camera auto connect to wifi and animation on flex lockscreen works again.
[G2 Android Development] Deni_NS:
Probably :) I'm on stockMOD 1.0.6 with dori's 1.4.1 and xdabbeb 1.4.0 camera
[G2 Android Development] dukat0s:
d802

it metionted before we are on flex rayglobe rom 1.4.1 dorimanx and 1.5.0 cam :)
[G2 Android Development] Deni_NS:
So problem is flex ROM ;)
[G2 Android Development] matheus_sc:
No my rom is rayglobe, problem is With 1.5 version i think
[G2 Android Development] iall5tar:
Hi, maybe this question is already answered but whats the difference from the normal one and the quite one??

Thanks!
[G2 Android Development] Giocarro:
The quiet one doesn't produce shutter sound.
[G2 Android Development] iall5tar:
THanks for the reply but the normal one can also turn off the shutter in cam settings isnt it? or am i wrong?

im using the quite one cause i see this one is the most downloaded than the another one. xD

Edit: Btw this Mod works like a charm! Awsome work [MENTION=2941286]xdabbeb[/MENTION] Congrats!
[G2 Android Development] raghavan_nvr:
2 modes not working

Thanks for the mod.. but still i find that the noise suppression is overly done and the details are getting lost

when compared to even a galaxy s3 !!

the photos almost start looking like a painting ...

'time catch' and 'shot&clear' are not working ..Camera crashes..

Any tips ?
[G2 Android Development] _Infamous_:
I don't have this issues pictures look great and shot&clear work so does time catch:) what rom are you running
[G2 Android Development] raghavan_nvr:
Spiderio 380dpi. Found the issue.. It was from Xposed - App settings.. Now both modes are working.. Yes photos are not sharp in portraits... It is not much visible in object shots but in portraits it is much inferior even to a Galaxy s3. I prefer noise over very low shutter speed that this LG cam provides..

Also, flash mode doesn't increase shutter speed by a lot to give a clear picture....

Can someone post some indoor portrait photos for comparison?
[G2 Android Development] Deni_NS:
We can't do much... That's LG's "feature". More denoise less sharpness. I like too Samsung's sharpness over denoising pictures
[G2 Android Development] raghavan_nvr:
for the Mod developers, Is it possible to somehow gain control of Shutter speed ?

---------- Post added at 01:53 PM ---------- Previous post was at 01:51 PM ----------

there is another issue with their s/w ..

When i keep ISO as 1600, i end up getting an even brighter image rather than increased shutter speed

(which improves negligibly) ..
[G2 Android Development] xdabbeb:
Can you provide more details? Are you sure you aren't in IA mode on the back camera? That mode doesn't have a settings button on stock either. Not sure why LG did it that way as opposed to just greying out the options, but they did.

Can you provide more details? I can't reproduce this issue and haven't heard of it before.

I'd guess it's a problem with the kernel or rom. There's nothing in 1.5.0 (or any version) that would change rotation behavior. It could be that LG changed something in the newest version of the apk, however. Try the stock 4.3.12 camera to verify (you can pull it from a stock vs98012b rom) and let me know. Keep in mind that flex-roms were originally for the flex, not the g2. There are going to be weird quirks as such.

Yes, I enabled shutter-off for all variants early on with this mod so that should always be an option.

Per the OP:

Google doesn't currently provide an api for direct/manual control over shutter speed. There is talk of that being provided in a future version of android, however.

As for the denoising, I finally had a chance to try out a s4 over the weekend, and though I found that it definitely has much better flash performance I was underwhelmed by the low-light performance without flash. I don't like flash on either regardless. As expected, the lack of OIS made slow-shutter speed shots more susceptible to camera movement/blur and despite the slightly faster lens, I didn't get any more detail. I'm strictly talking about normal-mode, which is really the best choice if you're trying to get the highest-quality shots with the most control and least post-proc.
[G2 Android Development] raghavan_nvr:
Yes, i too don't prefer to use flash ..

Another option - Is there a way to bypass S/W processing (denoise) ? sort of taking RAW output ...

The loss of detail due to forced denoising is the most irritating feature of this camera !!!!

I hope LG fixes it in 4.4 version ...
[G2 Android Development] twigster:
Yip. Hit the nail on the head there. Sorry, i flashed a new flex rom to try it out and have just tested this again to see the same thing happening on the previous v1.4 mod bundled with the rom. So figured that this was actually the normal case.

Thanks

LG G2 D802
[G2 Android Development] nellycruzz:
Does the KitKat version work on aosp 4.4.2?
[G2 Android Development] xdabbeb:
I've been able to reduce the amount of denoising in Normal mode in low-light, but not eliminate it completely. Unfortunately, they haven't provided any direct control over the level. They aren't even using the standard android api for controlling denoising (it actually shows as being off as far as android is concerned). I haven't stopped looking for new ways to control it, but so far I haven't found much. There is no raw option currently, but that camera api update I mentioned for a future android version (beyond kitkat) should also include raw output.

Are you really noticing less detail vs the s3? Make sure when you're doing your comparison that all other variables are equal (iso, shutter, size, etc). Even the slightest difference in framing or lighting can throw it off and makes the comparison invalid. I made sure the light source was static (indoors with no exterior or fluctuating light) and that the cameras were in the EXACT same position with the exact same frame, etc. When I did that, the s4 didn't do any better than the G2. In a few shots, it was actually worse, but that could have been the slightest camera movement and a lack of OIS. I haven't tried the s3, however.
[G2 Android Development] nellycruzz:
Xdabebb, will your 4.4.x kitkat work with my aosp ROM?
[G2 Android Development] raghavan_nvr:
Yes, I did a lot of exact same mode trials with S3 & G2. For Static Shots - G2 is perfect ... way way better than S3.

People portraits ..

S3 in auto was able to get lots of details which could be denoised with PC-software better.

G2 does smoothing in such a way that it gets close to painterly (exaggerated) version ..

What I Compare most in close-up portraits are the Eyes and how detailed are they .. .S3 seems much better than G2.
[G2 Android Development] shri080:
Very interesting discussion here. well i will say my honest opinion here ( Not that its going to be of any use to any one :p ) and importantly I used S3 for one and a half year before i upgraded to G2 last week. Few things i feel about the camera difference b/w S3 and G2

1) G2 has a larger sensor camera so the area covered is more compared to S3

2) But S3 at any given point takes sharper pictures compared to G2 ( As raghavan has mentioned its definitely because of the denoising)

3) The flash pictures are definitely better again on S3 ( Donno if it has to do with the S/W or the H/W )

4) The video quality is terrible on G2 compared to S3, especially in low light the focusing also becomes very slow. ( This is the only thing that i am really disappointed with G2)

5) The IA mode on G2 takes much better pictures compared to the normal mode as i felt the denoising is lesser in the IA mode. But i cant use IA mode in really low light as i cant push ISO there.

6) But i somehow like the colour production of G2's camera.

7) And one more important thing is over all G2 is a slower camera compared to both S3 and S4. I think this is again to do with the S/W or could be a slower lens as its a 2.4 lens. ( S3 actually has a better camera than S4 as i have used both for quite sometime)

Over all i would say G2's camera is fine and i honestly feel in a lot of situation S3's camera is better. ( I can confidently say this as i am a professional photographer my self :p )

But i really appreciate this Mod as i was almost going crazy trying to find out a way for the slow shutter :p

And can some one tell me why has LG not included touch to focus in the video mode? And can that be done in the next Mod? Thanks again for all the effort !! :) :) :)
[G2 Android Development] xdabbeb:
Got it. I've never tried the s3 so I can't comment on it. Out of curiosity, what mode were you in on the G2?

1) They're actually pretty close in sensor size, though the G2 is slightly bigger (1/3.2" for S3 vs 1/3.06 for G2).

2) As I said, I only had access to a s4, but I wonder if the larger pixels on the s3 (vs G2 and S4) are partially responsible. I don't want to open up the whole density/MP debate, but there is some merit to it.

3) Flash seemed better on S4 as well in my testing, but none were particularly useful regardless. Flash makes me cringe.

4) Again, no experience with s3

5) IA is actually doing much more processing and I feel produces lesser quality photos. What you're seeing is a result of a lower iso. If you set the iso, white balance, etc. to be the same, you'll see what I mean. I'm really not the biggest fan of IA.

6) Agreed..though I think it could still use improvement.

7) The G2 has a faster lens than S3 (f2.4 vs f2.6) and slower than S4 (f2.2). I do believe the s4 tended towards faster shutter speed selection, however. No idea about s3.
[G2 Android Development] milosx_kg:
I just installed V1.5, but when i switch from Normal to IA, screen becomes much darker, and photos as well.

Any idea what happened?

EDIT: I uploaded photo samples. The first photo (darker one) is IA, and the second one is "Normal" mode.
[G2 Android Development] jayochs:
the thing is this..

it boils down to software. i'm sure that without any of LG's firmware, the G2 camera would be great. unfortunately, we have LG's crap denoise algorithms in there and it ruins the experience.

I've got both the S3 and the S4, and I can tell you now that both cameras, to me, are sharper and produce better images. the lagtime of when you hit the button to when it actually takes the pic is greater on the G2 as well. the S4 was instantaneous, even in low light. the S3 and S4 can focus like 4x faster than the G2 can. within the time it takes to focus and take a pic on the G2, you can take 2 shots with the S4. it's just a very slow UI overall, and that ruins it.

the s4/s3 interface (app) is laggier than the G2, that's for sure..but that's bc touchwiz is lagsville USA. but, even with that lag, the S3/S4 take faster pics than the G2. quality is up to you to decide, but I much preferred what the S's offered because of their sharpness and color reproduction. overall, it's denoising that ruins the G2.

another thing is the light-bleed on the G2. it's AWFUL. if you're even NEAR a light, or bright source of light, it will bleed and overexpose that area of the photo. the S3/S4 do NOT do this. they're able to compensate for that area and even out the exposure throughout the entire photo. for example, when I took some shots of my guitars in my basement, in the upper right of the photo there is a window. it's daylight, so it's bright. on the S4, it looks amazing; the photo is great quality and the light isn't bleeding in and overexposing the entire window. on the G2, however, it IS doing that, and it's just a big white blob in the top right corner of the photo. in the pics i found as examples, the light is coming from above, which is a fluroecent light. the S4/DNA are able to easily handle the light and not over-expose the top of the pic, but the G2 lets too much light bleed in, and it causes a nasty, ugly washed out picture.

and yeah, video wise, the G2 is utter garbage. it's as bad as early android phones, but has the "prettiness" of 1080p. the S3/S4 KILL the G2 video wise, as what the G2 produces is unusable.

plus, panorama in any app on the G2 produces a horribly compressed, low megapixel image. panorama on the S3/S4 is still that same 13mp. again, an unusable feature on the G2.

here's some example pics..even threw in one from my Rezound and my DNA..i still think my DNA takes better pics sometimes than the G2..

http://imgur.com/a/shrTj

notice the over-exposure of the G2. in the bass pics, notice how the light from above is shining in through the top and causing over exposure, whereas the DNA and the S4 don't have this issue. it's like the G2 allows WAY too much light into it's sensor and it's too sensitive. also notice with the truck outside pic, you'll see the smear of light running across it. if i were to put my hand over the top of the phone and taken that pic, it would not have caused that lens flare.

in general, the S4 and the DNA are capable of taking better shots than the G2, which is why i'm not even considering the G3 as my next phone. HTC One-2 or S5 for me!
[G2 Android Development] xdabbeb:
[MENTION=2770600]jayochs[/MENTION] earplugs
[G2 Android Development] screenager:
that is the whole purpouse of this mod. shutter speed is limited to 1/15 in IA and 1/10 of a second in normal mode. that will prevent fps drop in viewfinder when you pan the phone around between bright and dark areas. for dark enviroments use night mode or normal mode and adjust brightness and iso till satisfied. normal mode has the most optimisations though.

[MENTION=2770600]jayochs[/MENTION]:

i agree on most parts. but you didnt mention that in low light sitatuions the g2 has much more capabilities. i also like that the enigneers tried something new with the g2 (OIS and long exposures) but totally agree that they ****ed up the denoising. but that again is a matter of taste. for portraits sometimes it is even better, when the pictures are not so sharp ;).

with some time to get used to the camera and this mod (thx again xdabbeb) i achieved satifising results, and the low light performance really surprises me!!

and i cant see why videos are bad on the g2! could you explain? i have nothing complain about so far.

btw: nice bass guitars!!!