yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] terhiha:
I've been searching and searching, but I just can't find that .xml. It's nowhere..
[G2 Android Development] frogdr1ver:
Ive had no joy on a D802 flashing 1.2 then 1.31 get the cannot connect to camera
[G2 Android Development] technotika:
use alt version, works, D802
[G2 Android Development] frogdr1ver:
Was just flashing that and the CB10 version, works spot on now thanks OP great MOD!!
[G2 Android Development] qube310:
[MENTION=2941286]xdabbeb[/MENTION]

could you implement exposure value change in camera ui? just like brightness and ISO levels...

thank you, great work btw!
[G2 Android Development] Kreuger:
I want to note that I was using my camera for the first time really today outside to get some pics of my kid in the snow and I had to adjust the brightness up to 2. Just thought I'd share that with you all.
[G2 Android Development] Wonderwouldyou:
Is it me, or doesn't the stock camera use the led light to help focus in really dark or very low lighting?

It's not doing this anymore but I could swear it used to....

Can anyone confirm that is should or shouldn't use the led to focus in very low or no light please?
[G2 Android Development] daClaus:
Wonderwouldyou, same here, led flash is not used for focusing.

Is anyone else having problems wih the IA mode producing extremely dark images, they are completely underexposed. Normal and HDR modes are ok.
[G2 Android Development] mky4b11:
Still testing it. Pic quality does seem over all a little better, and focus is faster. I'm the type that likes to edit my pics after I take them, so I don't mind fiddling to get the shot perfect. Especially now that android has vscocam.

Was wondering if you can implement manual focus into IA mode?
[G2 Android Development] spiderio:
yeah I Experience it too... any fix for this?
[G2 Android Development] jayochs:
the flash should come on when you hit shutter, and it begins to focus. it will NOT come on when you tap the screen to focus.

guys, the reason ia mode is darker is to help the over exposure problem this phone faces. the viewfinder is darker because by doing that, there's no viewfinder lag. the way he did it was made ia mode have some features some of us wanted, and regular mode have other features.. it's sort of like 2 cameras in one.
[G2 Android Development] daClaus:
Thanks for the info.

Well, when I tap the diplay to focus and hit the shutter it should instantly take the picture. There is no sense in focusing before hitting the shutter when the camera focuses again after the shutter is hit.
[G2 Android Development] jayochs:
if you tap to focus then hit the shutter it will automatically take the pic.. but not if the flash is on lol. if the flash is on, you can be in focus, but sometimes it'll refocus again just bc flash is on. it's a stupid system. idk why they couldn't make it like samsung where when you tap to focus, flash comes on, focuses, stays in focus, then you hit shutter and it immediately take a a pic.
[G2 Android Development] lemach:
That it would be fantastic if our dear modder could do it.
[G2 Android Development] daClaus:
Word! I doubt that LG will ever fix this.
[G2 Android Development] Wonderwouldyou:
+1

Yes please :thumbup:
[G2 Android Development] reocej:
Can anything be done about the low quality pics taken while in video mode? My S4 takes awesome pics while in video, but the pics from the g2 are just pitiful. Awesome mod btw and thanks.
[G2 Android Development] jayochs:
I've spoken to him about this.. it may be possible in time, but it may be a harder fix than everything else. htc doesn't do this either but htc is worse. it won't even focus with the flash at all.. it keeps the original focus, even if out of focus, when taking the shot. Samsung does it best.
[G2 Android Development] lemach:
I understand you. It must not be easy to do.

Stock camera and the mod can focus with the led's light but only if the focus it have not been "tapped"... but it is not usefull if we want to focus any objet not centered.

Sorry for my english ;)
[G2 Android Development] Steamer86:
Am I the only one around here that prefers LG's dark flash focus? My SO has a Note3 (big reader) and that **** is blinding. I get the same quality if not better, after this mod, and I don't blind the hell out of people in dark areas. Close shots also look better on subjects eyes, no small pupils. If you change this [MENTION=2941286]xdabbeb[/MENTION], could you please split the package?
[G2 Android Development] dondavis007:
HTC One does use led to focus on 4.4. I almost cried with luck, finally I can use it in the dark. Don't care a out anything else but this in the latest update. 4.4 also have a very less aggressive auto killer

Sent from a mobile Gadget...
[G2 Android Development] lemach:
It is so easy as turn off the flash
[G2 Android Development] Steamer86:
That's not a good excuse when the area is very dark. I just prefer LG's short burst.
[G2 Android Development] JmJ17:
Yes, I'm with the same problem.

Any solution?
[G2 Android Development] Wonderwouldyou:
I'm running Rayglobe 3.2 and used alt. It's working for me.

Sent from the hair on my chinny chin chin...

AT&T D800 Running Rayglobe 3.2
[G2 Android Development] Jostian:
I'm still on 1.20 (have 10 code base) and newer versions have a problem (nav buttons cover over half of the camera control buttons...when on camera UI) but the one thing I saw in 1.20 which is a bug is that if one uses normal mode and switches to Intelligent auto mode the picture is much much darker, (intelligent auto is reading the scene VERY dark) dunno if this is fixed in newer versions maybe. Hopefully the developer can fix the newer versions to work on 10 code base, thanks
[G2 Android Development] lemach:
It is not a bug, read the OP.Xdabbeb did the mod with these values.

IA have a faster shutter speed so the pic will be darker. The normal mode have a medium shutter speed, it is more slower shotting and get more light in pics. Finally, night mode have the slowest shutter speed and by this can get much more light although without flash.

Cheers
[G2 Android Development] daClaus:
Nice, but indoor pics get so dark that they are in fact unusable. I doubt that that's the purpose of the mod. Do I have to raise the exposure setting every time?
[G2 Android Development] trickster2369:
Or use normal mode....

Thanks Devs. From my VZW G2.
[G2 Android Development] Jostian:
Ah ok, my bad, makes good sense to, Thanks!
[G2 Android Development] suhiiii:
AI is just bad mode xD HDR and normal mode are good
[G2 Android Development] lemach:
AI is the perfect mode to get pics without blur as it have the fastest shutter speed. It is like sport mode. My recommendations:

IA for high light conditions (sunny days...) and objets in movements

Normal mode with enough light or in low light conditions and objet in movement.

Night mode: very low light conditions and quiet objet in scene.

HDR in any situations with very dark areas vs bright areas.
[G2 Android Development] suhiiii:
Maybe is good for bet conditions ,didn't try it ,bad weather. But hrd gives more light on pictures,and looks best for me. Even on low light situations.
[G2 Android Development] widezu69:
I use normal mode in most cases and HDR (Dynamic Tone) in dark places that have quite distracting lights, especially during Christmas. The pics come out nice and bright in the dark places and well balanced in the bright places with minimal noise. I'll put some pics up when I get the time.
[G2 Android Development] le_lutin:
Sorry to be a pain and ask for help, but I'd love to get this mod working (it's basically the reason I bought the phone a couple of days ago!).

I have D80210C and have flashed most of the recent releases, but none of them seem to work (I get the "cannot connect to camera message").

I've tried the following:

1.31

1.31 alt

1.2, then 1.31 alt.

1.2

1.2 CB10 test

I don't have any special mods on my phone. I've just got root and I'm using ClockworkMod to flash. Apart from that, everything is completely stock.

Has anyone with D80210C got any advice on what i could do?

[EDIT: also tried v1.00 and it didn't work either]

[EDIT: I've attached a logcat for v1.00]
[G2 Android Development] switchgott:
Hi,

please could you make a new version of D802 10E ??

BIG THANKS!!!
[G2 Android Development] madmax916sps:
Flashed now the new cm 11, read that this mod works or even there is a beta file for cm... possible to get this?

Best regards

Gesendet von meinem LG-D802
[G2 Android Development] suman_pal78:
Same here
[G2 Android Development] deathshead:
To guys running cutom roms, have you checked the the guys who made the rom for support?

Makes no sense for Xdabbeb to chase every issue brought upon by a custom rom...
[G2 Android Development] le_lutin:
Totally agree. I'm completely stock though and it's still not working for me (see my post above for more details).
[G2 Android Development] XERO_Racer:
Try this, and this goes for anyone else on Rayglobe thats having issues as well

-Download 1.2.0-Codebase 10 Test and 1.3.1 Alt Version

-Reboot into Recovery

-Flash 1.2.0-Codebase 10 Test

-Reboot phone

-After phone is booted, reboot back into recovery

-Flash 1.3.1 Alt version

-Reboot

This should be able to fix the issue, at least from my experience
[G2 Android Development] suman_pal78:
Hi...I am completely on stock and strongly appreciate what Xdabbeb is developing. We are just passing on information to Xdabbeb to look into when he is bit free and for larger support
[G2 Android Development] nic85:
for the 4k argument...

the LG Gflex has the same hardware of the G2,but with Gflex you can record in 4K,so maybe can you look in that camera settings? :good:
[G2 Android Development] woof123:
The problem is that if he use his time to fix all these issues that some people are having,he wont have time to develop the camera further.Also forget the 4k now guys...lets fix the picture quality issues fist before we ask for 4k...
[G2 Android Development] le_lutin:
I'm not asking him to fix anything. I was simply wondering if there was something I was doing wrong or if there was some reason why it wouldn't work for my setup (D80210C with stock Rom).
[G2 Android Development] switchgott:
Some people tells us that 10e has fixed some problems with camera and focus.

In looked inside mod camera code and new 10e.

To many changes :mad:

Gesendet von meinem GT-I9100 mit Tapatalk 2
[G2 Android Development] JmJ17:
I've updated to Rayglobe 3.2 and now it works fine. Thanks
[G2 Android Development] Deni_NS:
Yeah some people told that. I'm still waiting for pics, because everybody can tell its super duper faster, but without proof... So first to see pics and proof then we can talk.
[G2 Android Development] switchgott:
Can i sent you the files to check it yourself?
[G2 Android Development] sylviofurtado:
just for the record

i was using the mod with software rev 10A and it was perfect... after it was updated to 10B last week the camera started giving me the "cannot connect" error message

so, the problem was after the update, on 10A was perfect, 10B is not working
[G2 Android Development] Deni_NS:
What files?
[G2 Android Development] xdabbeb:
I'd really like to have the option, but unfortunately there's no way to manually select specific shutter speeds at this time. Google has said that the api is coming in a future version of android, however! For now, if you want some control over it, you can set the ISO to a fixed value (in Normal mode) and use the brightness slider. Since it's a fixed aperture you'll just be changing the shutter speed at that point (within obvious limits).

Please try installing 1.2.0 CB10, install 1.3.1 alt on top of it (without restoring) and if still having the issue get me a logcat and I'll take a look.

I don't believe there's ever been any debate as to whether the G2 hw is capable. The problem is that every one of the proprietary libraries that enable certain advanced features like that are specific to the hw (and sometimes sw) they are made for. If it were as simple as copying the files over from another phone that has 4k and 120fps, it would've been done long ago. As I've said, I can get the camera app to do everything properly. I can make it pass every variable to the driver...but then it barfs.

I've been busy with other things the past few days, but spent some time tonight on seeing what can be done about the issues that are affecting a few people (notably those on D802). I also converted the new apk to xxhdpi and cleaned up a few things. I should have a new version in the next couple of days. Hopefully this will fix most of the weird variant issues for a little while.
[G2 Android Development] umaru:
using 1.3.1 alt on D803. so far so good!

camera seems smoother

thanks for the great mod
[G2 Android Development] zathus:
Wow! I'm using 1.3 .1 alt and wow! Amazing video is so much better. The breathing stop altogether. Took my phone out of my pocket pitch black room just TV on point it out to TV take a picture and it came out great I'm using voice to text so this is all screwed up oh well you get the point lol
[G2 Android Development] umaru:
i'm new to the lg g2 and i was just playing around the different camera modes and noticed how fast and smooth the intelligent auto mode is.

do you know why that is?

that mode however, doesn't seem to be adjusting for low light shots =/

not so intelligent after all...?
[G2 Android Development] switchgott:
Any news about camera from version 10E ??

Does LG fixed all problems?

Or have we to mod it?
[G2 Android Development] nic85:
The mod is ok with 10e upgrade?
[G2 Android Development] le_lutin:
Thanks for your help. Just did that. Still not working, BUT i'm not just simply getting the "camera cannot connect" mesage anymore.

- I load up the camera, I see all the buttons, but I get a black background (i.e. no view finder). Buttons do nothing when you click on them

- I press the home button and then relaunch the camera. I see the same thing as before, but I can now press the "switch camera" button, which will allow me to switch cameras and in the viewfinder I can see my face. I can also take a photo.

- I can now also access the mode button, which will allow me to select other modes. IA, for example, WILL show the viewfinder, but will not allow me to take a photo.

I have attached a log in which I do the following:

Open the camera (no viewfinder), press home, open camera, press mode, choose IA, press the shutter.
[G2 Android Development] daClaus:
same here on open 80210e (stock, rooted)
[G2 Android Development] Zoide_:
How's your stock camera working? Some people have said that LG fixed most of the issues in the 10e version.

Thanks
[G2 Android Development] gotwillk:
where can one get this 10E version that everyone keeps talking about? and what issues are fixed exactly?
[G2 Android Development] daClaus:
Well, I'm not impressed. The Mod on 10a focused much faster that the 10e stock camera, at least in not well lit environment. Didn't try it outside. There's still much room for improvement. I hope xdabbeb will mod this version, too.
[G2 Android Development] Jostian:
so we cant use this mod on 10E?? just to confirm or is there someone that has got it working?? thanks
[G2 Android Development] daClaus:
As you can read above this doesn't work for me and others on 10e
[G2 Android Development] Jostian:
yip, doesnt work for me either, camera is lost...hope a compatible version comes soon.

Any way to restore it?? to get camera working again? thanks
[G2 Android Development] gonk24:
Yeah, flash the restore files zip from the OP. That restores your stock files that were backed up when you flashed the backup files zip also in the OP. Unless you didn't do that before flashing the mod.
[G2 Android Development] daClaus:
Since he's asking if there's a way to restore I really doubt that he made a backup.
[G2 Android Development] switchgott:
Please my friend mod Version 10 E for best resolutes:p

Gesendet von meinem GT-I9100 mit Tapatalk 2
[G2 Android Development] gonk24:
Lol, nope
[G2 Android Development] maydayind:
can't get this to work with my d80210a-eur-xx

ether blackscrean or can't connect 1.3 and 1.3alt
[G2 Android Development] exec99:
I also like how it works - it keeps shutter speed higher than in normal, but unfortunatelly it's capped at iso 800 and that drastically reduces it's usefulness in low light string. I hope that this will get fixed. :)
[G2 Android Development] xdabbeb:
If those looking for D80210E support could get me a link to download the stock (before any mods) system/lib/, system/vendor/ and system/bin/ directories I'll look into it.
[G2 Android Development] switchgott:
Hi my friend

my rom is not finishes yet.

But you could take this one.

Camera is inside and its odex.

http://xdaforums.com/showthread.php?t=2557156

Gesendet von meinem GT-I9100 mit Tapatalk 2
[G2 Android Development] Jostian:
hehe, yip I had no backup... so had to reflash 10E ROM and then restore data, camera fine again now, cant wait for 10E support with this mod.
[G2 Android Development] jayochs:
no. there's nothing to fix. if you want low light, use night mode. if you want brighter, use normal. there's a a reason ia mode is so dark... it's a much faster viewfinder in lower light photos, it's purposely capped at iso 800 and has a faster shutter (Except with the flash on, then the shutter is super slow..) but it's all done like this purposely. there's nothing to fix with that mode.
[G2 Android Development] nic85:
i hope The dev upgrade The mod :(
[G2 Android Development] xdabbeb:
I will, but it would be a big help if someone could get me the files I mentioned a few posts back. They'd need to be stock (not from a modified rom).
[G2 Android Development] le_lutin:
xdabbeb,

Was the log cat I attached a few pages ago any help in determining the cause of this mod not working on D80210C with stock Rom?
[G2 Android Development] exec99:
xdabbeb - is there a posibility that intelligent auto mode ISO 800 cap could be set higher - up to 1600 perhaps?
[G2 Android Development] Jostian:
The stock camera (when using face tracking and flash) is very poor, took 7 pictures and not one in focus...really hope this mod is revised for 10E.
[G2 Android Development] xdabbeb:
I'm looking through a couple of 4.4. leaks and the VS98012B update, so please be patient. I haven't forgotten about the 80210E.

The bad news for 4.4 so far is that it looks like LG still isn't planning on enabling 120fps or uhd for the G2. The good news is that they seem to at least be including the right libs so it may be possible in the future even if they don't.
[G2 Android Development] nic85:
i wait for your mod before upgrade to 10e lol
[G2 Android Development] jayochs:
as mentioned many times, there's a reason it's capped at 800.

if you want 1600iso, go to NORMAL mode. don't use IA.

you guys need to realize something...the higher the ISO, the more the noise reduction kicks in. the noise reduction on this phone is god awful, and it blurs everything and that's how you get that oil painting watercolor crappy effect in low lighting.

the lower the ISO, the less the NR kicks in. by capping it at 800, you have a better, higher quality (albeit a little darker) photo on IA mode.

so again, he PURPOSELY made ISO800 the cap on IA mode, so if you want 1600 and above, use NORMAL mode.
[G2 Android Development] SoKoOLz:
How cone I got an error saying cannot connect to camera. How to fix it
[G2 Android Development] soapinmouth:
Did he ever release an aosp version?
[G2 Android Development] Jostian:
Cannot fix it unless you did a backup of your camera settings etc, you have to wait for 10E version of mod, which hopefully happens soon...nudge nudge wink wink :)
[G2 Android Development] xdabbeb:
D80210E test version below. It's best if you're starting from stock, but if you didn't make a backup and are currently stuck this certainly won't make it any worse.

download

EDIT: [MENTION=1545532]nic85[/MENTION] if you could let me know how the video focus breathing and denoising levels are on this compared to the previous version I'd appreciate it. Thanks, dude.
[G2 Android Development] Jostian:
Awesome, thanks, cos the stock 10e camera, especially using face tracking and flash) gives very poor results...
[G2 Android Development] woof123:
Downloading the new F320K 4.4.2 rom and i will try to install.If it works,i will provide the camera files to anyone that needs them.
[G2 Android Development] le_lutin:
This version works with D80210C! All I did was start from the stock camera and then flash this one file. Works perfectly.

Thanks so much xdabbeb. Donation is on it's way.
[G2 Android Development] exec99:
You don't get it. IA is fast because the slowest shutter speed is 1/15 sec. which is great. In normal shutter slowest shutter speed (in modded version) is 1/10 sec. It's better than stock, but still too slow to not get blurry images of moving objects in low light.

If IA 800 ISO cap is removed it wouldn't mean it will become slow, but only that you could get more light boost only when needed. I'm not talking about changing shutter speed in IA. Besides - ISO 1600 isn't that bad on G2.

So, even if you change ISO cap to 1600, IA will still be faster AND darker than normal because in normal you have 1/10 shutter speed (and 1900 iso max).

BTW: another problem with this camera is that it overexposes outdoor shots almost every time. You have to manually set EV compensation to -0.3 or -0.7 to get a good shot. This is annoying especially since the camera doesn't remember EV settings....
[G2 Android Development] Jostian:
Great now to see if works on 10E?
[G2 Android Development] screenager:
any mods? i switched to stockMOD 10a rom and it works perfectly. i suggest to everyone (with D802) who has problems to start with 10a rom without any mods (for me some xposed mods break the camera). the differences between a/b/c or e versions are minor anyway.

so until 4.4 you can enjoy a better camera, while xdabbebs can concentrate on making the mod even better.

everyone would win!!
[G2 Android Development] Jostian:
just be aware screenager that the mod does NOT work on 10E... thats why xdabbeb is busy bringing out a 10E compatible version.
[G2 Android Development] le_lutin:
Did you try the version he posted just a few posts back? It's a brand new version.
[G2 Android Development] screenager:
so?

just wanted to point out: in my experience the easiest way to use this mod for now is flash 10a rom and then camera. period.
[G2 Android Development] jayochs:
I never once said why it was fast, just FYI. the VIEWFINDER has no lag, but that's different. you simply didn't understand my point.

I'll reiterate. capping at 800 means LESS NOISE REDUCTION. if you cap it at 1600, then whenever it needs to pull 1600, pictures will look like garbage because of the noise reduction.

I never ONCE said it was shutter speed that was an issue.. oh and fyi, it's not capped at 1/15. go turn the flash on and take a pic, you'll get a super slow shutter speed.

and yeah, 1600 IS that bad on the g2 because the algorithm for when to increase noise reduction jumps up exponentially over 800, thereby making indoor photos look like complete garbage.

if you have an issue with ia, just use normal mode. I don't get what the difficulty in this is. you can then adjust your own iso, which he added 1600 for everyone btw, and do your exposure compensation to help your outdoor over exposure, which doesn't help much, but dropping it as low as it can go helps a little.

ia was made specifically for a capped 800 iso for less noise reduction, fast focusing, and fast shutter speed.

normal mode was made for everything else but that. he simply is trying to give everyone what they want by essentially putting two cameras in one app.
[G2 Android Development] linjes:
I'm sorry if I sound like a complete idiot, but I think that the feature to leave the flash on and let the camera do its thing is pretty useful, especially so you can let it focus and stuff. Could such a feature be implemented? Thanks!!
[G2 Android Development] xdabbeb:
Here's a test version for those that are running the leaked 4.4. Please make sure you have a backup before installing it.

once again...this is ONLY for those running the leaked f320k20a rom.

Download