yashsingh1/xdaforums huggingface dataset:
[LG G6 Guides, News, & Discussion] Postmanpl:
On that version i still got wierd dots on door or on the floor. Also there is still magenta color.

First photo -your version. Second stock camera. Third photo is normal angle lens - still little magenta visible.
[LG G6 Guides, News, & Discussion] boomboomer:
Would it be an idea to start a new thread, for the current developer to update the latest version into the first post and so users know which to install?

Many thanks for your work, btw.
[LG G6 Guides, News, & Discussion] logixdev:
So... two more things to do and [MENTION=2712580]cstark27[/MENTION] version will be absolutely the best for G6.

First,

Both Portrait and Lens Blur Modes available.

Second, fix little pink magenta in wide lens.

Thanks bro for your amazing work. If you do that two things, I'll be really grateful. :)

P.S. I know that [MENTION=4860033]Arnova8G2[/MENTION] version has Lens Blur mode, but I prefer [MENTION=2712580]cstark27[/MENTION] version. ;)

Regards and one more time thanks a lot.
[LG G6 Guides, News, & Discussion] baironx:
[MENTION=2712580]cstark27[/MENTION] Would it be possible to make sure that the camera interface does not rotate if automatic rotation is active? Because turning the phone to the right the option buttons overlap the navbar
[LG G6 Guides, News, & Discussion] !bigbabba:
In darkness the flash for focus dont work,is there a solution?
[LG G6 Guides, News, & Discussion] cstark27:
Hm, this is weird. Something doesn't look right with the EXIF. I can't test N6P model because my phones won't save photos with that model, but the HDR+ software should still derive from the "config". The exif on your photo is reporting "Software: Google". It should be "Software: HDR+ ######". My 13mp wide angle photos are also 5-6mb with the 98% JPEG quality. Can't remember what the G6 mp is but ~3mb seems a bit low and more like the stock compression of older versions.

I have tested with the N6 model and the Taimen model and see the correct "software" exif. Can other G6 owners test the exif of wide angle shot with 3.2 or 3.1n6p? Those use the same model fyi. [MENTION=1606575]vitoski[/MENTION] [MENTION=3267278]Mefiboshet[/MENTION] [MENTION=8590673]directx1971[/MENTION] [MENTION=1546316]baironx[/MENTION] [MENTION=235507]ArtZ[/MENTION]
[LG G6 Guides, News, & Discussion] baironx:
Wide 3.2 ~7MB in very low light i have a little of magenta cast [MENTION=2712580]cstark27[/MENTION]
[LG G6 Guides, News, & Discussion] directx1971:
No purple tint at all at wide angle you can check my posted wide angle test a couple of pages back , as for EXIF "Program Name HDR+ 1.0.177471000n"

As for the image size i always use 16:9 wide screen as all my displays are wide screen , never use 4:3 , the 16:9 wide gives 9.7 mp , with that i have the images ranging from 2.2 MB in low light

And 5.5MB in good light , also bear in mind that the wide angle lens is f2.4 so it is much dimmer under the same lighting condition , also the lens is much softer near the edges , so all this will

Translate into noticeable less size than the normal lens.
[LG G6 Guides, News, & Discussion] ArtZ:
Hi,

I gave another try to your version 3.1 on the G6 very early this morning outside, on a very cloudy and grey day. I do get some magenta tint in pictures with white and grey areas. I start thinking that comes from my device because if I use the same configuration [Rear Model: Nexus 6 (shamu), Front Model: Huawei Nexus 6P (angler), Config: Pixel 2 XL (taimen)] with BSG 'all in one' versions (I tested with v1.4 and v2c), I get the same issue. On my device I get more natural colors with Taimen, Angler, Taimen. It gives a warmer ton closer to reality.

I wonder if LG is using different versions (revisions) of Sony IMX258 sensor on the G6. If it's not very difficult to change the settings, I'd love to give a try. It's very weird.

Regards,
[LG G6 Guides, News, & Discussion] Mefiboshet:
+ [MENTION=2712580]cstark27[/MENTION]

Wide angle does indeed suffer from purple tint when shooting in low light, especially in high dynamic range scenarios.

Also, file size is unnecessarily high.

There's nothing in the attached image that would justify it being over 10MB (which it is).

JPEG quality of 95% is more than enough as there is next to zero added details above that, but file sizes grow exponentially.

Regarding EXIF, only model name is available (which refers to the actual used hardware).

No way of knowing which config is used as there is no 'Maker' identifier.
[LG G6 Guides, News, & Discussion] cstark27:
This app shows you the "software" in the exif [MENTION=235507]ArtZ[/MENTION] [MENTION=3267278]Mefiboshet[/MENTION] https://play.google.com/store/apps/details?id=net.xnano.android.photoexifeditor

I don't know why [MENTION=3505109]sandulea[/MENTION] image shows "Google", it should either have a HDR+ #### or similar to joan-tmo-us-##### if HDR+ is off. [MENTION=4860033]Arnova8G2[/MENTION] have you ever seen Software on Exif reported like that?

I will give in and add a model toggle in the future (but will still force a model by default)....in the mean time stop taking photos with your wide angle lens in your dark houses or upgrade to a V30. Lol
[LG G6 Guides, News, & Discussion] Mefiboshet:
Fair enough :)

Honestly the G6 wide angle camera is nothing to write home about anyway...

P.S.

How about JPEG quality control?

Pretty please with sugar on top.
[LG G6 Guides, News, & Discussion] ArtZ:
HDR+ 1.0.177471000z
[LG G6 Guides, News, & Discussion] Arnova8G2:
I will edit your version to find a fix
[LG G6 Guides, News, & Discussion] Mefiboshet:
HDR+ 1.0.177471000n
[LG G6 Guides, News, & Discussion] cstark27:
Don't spend too much time. Everyone else is reporting the right info. It's possible [MENTION=3505109]sandulea[/MENTION] is running a custom rom or needs to Clear App Data or something. :good:

However, [MENTION=4860033]Arnova8G2[/MENTION] I have wanted to test limiting the MAX_SENSITIVTY_RANGE to 3200. The V30 reports up to ~12,000 on the main sensor. 6400 on both G6's sensors. The Pixel 2 and V30 wide angle is 3200.
[LG G6 Guides, News, & Discussion] sandulea:
I rotated the photo in google photos on the phone because of the orientation, it might have messed up the exif. Or possibly Google Drive? I'm gonna take the photo again in 10 mins and repost. I was running stock v11g for h870. Now running v11i, just did an ota. Still stock.
[LG G6 Guides, News, & Discussion] cstark27:
Thanks, crisis averted. Editing with Google Photos changes the software to Google. :good:

[MENTION=4860033]Arnova8G2[/MENTION]
[LG G6 Guides, News, & Discussion] mingo_mgx:
Thank you!
[LG G6 Guides, News, & Discussion] Postmanpl:
I've got some comparition between [MENTION=2712580]cstark27[/MENTION], [MENTION=235507]ArtZ[/MENTION] and stock app -in good and low light

also between [MENTION=2712580]cstark27[/MENTION] beta, new version and stock wide camera -in good and low light

and portrait mode [MENTION=2712580]cstark27[/MENTION], [MENTION=235507]ArtZ[/MENTION]

As I saw - Camera Wide produce photos with double size in comparition with beta. 7,5 MB latest version vs 4,2 MB in beta - same photo, same settings.

NORMAL LENS

ArtZ - normal lens

cstark27 - normal lens

LG app -- normal lens

ArtZ - normal lens - low light

cstark27 - normal lens - low light

LG app -- normal lens - low light

WIDE LENS

cstark27 - wide lens

cstark27 - BETA wide lens

cstark27 - BETA wide lens - with COLOR FIX

LG app --wide lens

cstark27 - wide lens - low light

cstark27 - BETA wide lens - low light

cstark27 - BETA wide lens - low light with COLOR FIX

LG app --wide lens - low light

BONUS

Portrait - ArtZ

Portrait - cstark27
[LG G6 Guides, News, & Discussion] sandulea:
Retook photo, the size seems correct now.

Stock camera:

https://drive.google.com/file/d/13fee_0DB_I2Lf6rcianLELEXoJZsu-e0/view?usp=drivesdk

Cstark27 3.1 with nexus 6p model:

https://drive.google.com/file/d/1LwGsMyR8IZbZ1kNASVPOVDZeBtX1b5n2/view?usp=drivesdk
[LG G6 Guides, News, & Discussion] ArtZ:
Great work. Thank you.
[LG G6 Guides, News, & Discussion] baironx:
Stock camera Wide lens VS cstark27's gcam wide 3.2

omitting for a moment argument magenta, this little test shows how much difference there is in terms of quality of shooting, I unfortunately own the g6 with 2.09 mm lens even more lacking, but the result is really fantastic with gcam, especially if enlarged in the sunset area where, with the stock camera, practically the tree does not exist

all that remains is to thank [MENTION=2712580]cstark27[/MENTION] again for his work
[LG G6 Guides, News, & Discussion] ArtZ:
According to Photoshop, you're also using HDR+ 1.0.177471000n

My LG G6 uses HDR+ 1.0.177471000z with stock ROM V11i-EUR-XX
[LG G6 Guides, News, & Discussion] cstark27:
[MENTION=8894731]Postmanpl[/MENTION] assuming the "cstark27 wide" is v3.2, it looks like an improvement over the beta to me. The purple tint to the beta wide night photo and on the dog photo is pretty much gone and the color difference is pretty small, in my opinion, to the other apps. In the end it's still just a phone camera, not a professional multi thousand dollar DSLR.

---------- Post added at 06:38 PM ---------- Previous post was at 06:32 PM ----------

N is On

Z is Auto (ZSL)

On wide v3.2 my phone says N for both modes. Z is usually on Pixel configs. The wide angle should be angler config on all phones, so it should say N. And the normal lens app will be Z for HDR+ On (ZSL) and N for Enhanced.
[LG G6 Guides, News, & Discussion] Postmanpl:
Yes, cstark27 wide = v3.2

I set HDR+ On in all Wide Lens tests and Enhanced HDR+ in normal Lens tests.
[LG G6 Guides, News, & Discussion] Arnova8G2:
That's how is calculate SENSOR_INFO_SENSITIVITY_RANGE and SENSOR_MAX_ANALOG_SENSITIVITY
[LG G6 Guides, News, & Discussion] ArtZ:
Thanks. I never use 'HDR+ enhanced'. Any idea why I get with your version grey like iris color, especially in tissues?
[LG G6 Guides, News, & Discussion] cstark27:
I'm guessing it's just the way the program is interacting with the info received from your phones sensor. There shouldn't be any forced color or sensor settings besides enabling HDR+ by forcing the app to think it's running on whatever model is specified. A few things different compared to V30 is color transform values, max analog sensitivity and max sensitivity range.
[LG G6 Guides, News, & Discussion] ArtZ:
I'm testing... I've modified your cok.smali to make "lucye" run :cond_1

;)
[LG G6 Guides, News, & Discussion] cstark27:
Here's something interesting... [MENTION=235507]ArtZ[/MENTION] [MENTION=8590673]directx1971[/MENTION] [MENTION=3267278]Mefiboshet[/MENTION] [MENTION=4860033]Arnova8G2[/MENTION]

Comparing the Camera2 Test report from [MENTION=235507]ArtZ[/MENTION] and [MENTION=8590673]directx1971[/MENTION].

Regular rear sensor:

Wide rear sensor:

Device info from [MENTION=8590673]directx1971[/MENTION]:

OS Version: 3.18.31-perf-g51a41c7(17203183881a6)

OS API Level: 7.0(24)

Device: lucye

Model (and Product): LG-H870S (lucye_global_com)

Don't have [MENTION=235507]ArtZ[/MENTION]

I'll dig around when I get back to GCam modding, give me some time. Wife and kid need me too :D
[LG G6 Guides, News, & Discussion] Gagi77:
Cstark last version n6p wide, cstark last version normal angle, ArtZ, LG Stock Camera APP. There are more blue dots in the Cstark version, The ArzT In version is a bit brighter (obvious on the right).
[LG G6 Guides, News, & Discussion] ArtZ:
RESULT: On 'HDR+ auto', no color cast with "lucye" set as Taimen, Angler, Taimen in your version 3.1 (all greys are grey now, however on 'HDR+ enhanced' is worse.

In an perfect World, it be fantastic changing "Lucye" configuration from Taimen, Angler, Taimen to Shamu, Angler, Taimen when 'HDR+ enhanced' is activated. #Dreaming

PS: Very clean code, BTW.
[LG G6 Guides, News, & Discussion] cstark27:
Same as v3 and v3 wide alpha, then.
[LG G6 Guides, News, & Discussion] directx1971:
Shamu, Angler, Taimen works well on both HDR+ Auto And Enhanced In my "Lucye" device so it can be fixed and used for both cases , But what worries me the most is that we have multiple G6

Configs right now which will make the development much harder , i noticed that your firmware version is 11 while mine is 10 so it either this is the cause of the difference or there is some hardware

Difference , do you have "Lucye" also or something else ?
[LG G6 Guides, News, & Discussion] ArtZ:
Indeed, nothing else has changed. I compared sources to ver.3. Just three files changed and basically to remove color cast corrections. The only important changes are in cok.smali to detect model and apply a configuration.
[LG G6 Guides, News, & Discussion] vitoski:
My firmware version is also 11, just like ArtZ's, and I get the same results as you do (no purple tint). So most likely it has nothing to do with the firmware version... rather with hardware?
[LG G6 Guides, News, & Discussion] ArtZ:
Hi,

The European OTA update arrived today. It hasn't been a camera behavior change between yesterday and today. I have a new LG G6 (bought this month and built in November 2017 according to the box) so I believe it's more a sensor revision issue. I probably have a new sensor. I really get better colors with Taimen, Angler, Taimen configuration in 'HDR+ auto' mode. However, tons of purple in 'HDR+ enhanced' mode under low-light conditions. With my version, in 'HDR+ enhanced' there's less purple (probably due to settings from BSG).

Regards,
[LG G6 Guides, News, & Discussion] directx1971:
"Lucye" stands for G6 i realize that now , sorry ,new in this cam development and such :o
[LG G6 Guides, News, & Discussion] Mefiboshet:
LG G6 variants use 4 different camera modules (sensor+lens combo): 4.03mm/4.1mm as main camera and 2.01mm/2.09mm for the wide camera.

It is not clear why LG uses different camera modules, but it is generally agreed that the 2.09mm is not as sharp as the 2.01mm.

Perhaps this has something to do with the discrepancy in the code?
[LG G6 Guides, News, & Discussion] pbandoeng:
Dear all developers .. really good job and thank you very much for this camera mod

I am currently using the version cstark27_GCam_5.1.018_24_v3.2_wide.apk. There are still some blue and red dots especially in the darker area of the photo.

Please take a look at the attached pictures and zoom into the palm tree on the left side. For viewing and sharing in mobile phone this kind of picture is sufficient for me.

:good::good::good::good::good::good::good:
[LG G6 Guides, News, & Discussion] Vkboy:
First of all, thanks to all devs. I am and everyone should be pretty happy with camera performance with g6. And frankly does not expect anymore. Improvement is always welcome?. Second, i got to know dev [MENTION=4860033]Arnova8G2[/MENTION] made use of optical image stabilization in video mode. In g6, it works and made panning and moving very much smooth as compared to other gcams but still it is not as not even near close the stabilization of pixel 2/pixel 2 xl. (I dont have it but i can confirm this by far the videos and samples i have seen). [MENTION=1921483]Cstark27 [/MENTION] [MENTION=4860033]Arnova8G2[/MENTION] [MENTION=235507]ArtZ[/MENTION]. Is fused stabilization working or not?? Why we do not have 4k support in gcam?if possible please add?. https://drive.google.com/file/d/1OvKlZ2pBw_qb6G_ZaV_zdzwls0YCRiJM/view. This is link to apk.
[LG G6 Guides, News, & Discussion] Mohsen_alinezhad:
Dear Cstark

Thanks again for your great work .

Normal lens v3.1 is perfect

Wide lens v3.2 is very good but there are alots of blue,red dots on black areas.

I am not sure but I feel front cam hdr+ on v3 was much nicer, may be I am wrong.
[LG G6 Guides, News, & Discussion] waseembinahmed:
is front CAM HDR works on your GCam version/
[LG G6 Guides, News, & Discussion] Gagi77:
4K feature should be, it will be very nice.
[LG G6 Guides, News, & Discussion] devaa01:
Wait these are 2 seperate apps ?
[LG G6 Guides, News, & Discussion] Sergykm:
Yes, the first one is for normal lens and the second is for wide lens.

---------- Post added at 04:48 PM ---------- Previous post was at 04:43 PM ----------

@Vkboy Hello, sir. Can I ask you how many times will you repeat your nagging about video stabilization?

In every page you ask and ask for this request. Devs answered to you that they will try to do it, but you cann't stop to ask. Can you stop this, plz?
[LG G6 Guides, News, & Discussion] Vkboy:
Yep you are right, the thing is i discovered ois working apk. But it it is not super stable like pixel.so i was clearing is that fused stabilization with bug or is only ois working. Ok.

And second sir these apk are only for normal lens not wide. Wide one is only provided by cstark27, also these are two separate version as one has color settings and other has not for low light with manual value. Ok. (If you are taking about artz). If not then you are correct.
[LG G6 Guides, News, & Discussion] ale29:
Just a FYI. After trying many different versions, I seem to get the least amount of purple tint in low light HDR+ Enhanched (and a good balance of detail and noise in any light condition) with the following config:

MGC_5.1.014_7.0H_C2API_v1.5f_AllinOne.apk

Model: Nexus 6

Config Camera HDR+: PIXEL experimental features

HDR+ Parameters: Super High

Final Quality jpg: 98-100%

Super high is important to get the best detail in low light, you'll use HDR+ enhanched to avoid blown highlights whenever possible anyway.

You'll still get some purple tint in most difficult conditions (like a dark-ish room with a very bright light source between you and the focus point).

Also, using simple HDR+ is not ideal in VERY dark situations because the camera tries to increase exposure at the cost of noise and artifacts.

Use HDR+ Enhanched and you'll get a more natural exposure, some less fine details but an overall more usable shot.

Now, if only I could make the hot pixels (blue-red) disappear in dark photos, that would be perfect. I've found that the only way to make them go away is by choosing Max Analog Sensitivity 110 in newer .apk version that let you modify this parameter.

On the other hand, by doing this you'll literally destroy any detail in shadows and darker areas with a very unpleasing and unnatural effect.
[LG G6 Guides, News, & Discussion] ArtZ:
Modifications to @cstark27 version

Google Camera 5.1.018 for the LG G6 based on cstark version 3.1

NOTE: Just a few modifications to cstark version solve the blue issue on the LG G6

'We are our own best advocates', as the saying goes.

Guys,

As my LG G6 is giving me problems with colors (bluish color) I have modified [MENTION=2712580]cstark27[/MENTION] version cstark27_GCam_5.1.018_24_v3.1.apk as follows (and it works):

I've built two versions. The first one when it detects the LG G6 applies Shamu, Angler, Taimen configuration and the second one, overrides default configuration for the LG G6 and applies Taimen, Angler, Taimen, like for the V30. For other smartphones nothing changes. You can use one or the other because they're the same.

Now, what's is new: I went back to 'Color cast correction'. An option for the LG G6 is available and it does work this time. The problem with the G6 you get a blue tint. Greys look always bluish. In all color situations the blue channel is over saturated. I've just applied a very little correction on the yellow channel and... greys are grey again and whites are white. If you don't use the 'Color cast correction' option for the LG G6, you'll get exactly the same colors that with [MENTION=2712580]cstark27[/MENTION] version. This correction can be also used for the wide angle camera if you're happy but I'll let cstark to do that. I'm waiting for your feedback concerning colors!

By the way, I used the same names for ':cond' that in cok.smali from version 3.0 because I didn't want to spend a lot of time in renaming them as in cok.smali from version 3.1 It will take a lot of extra work.

I've hidden 'Developer tools' (useless with this version and if someone hit on 'camera.op_nes' application crashes) and deactivated 'Help' and 'Feedback' so you won't get the application crash every time you hit on this items.

I have also changed the application icons to original Google icons and I have done some little modifications in the labels and menus.

I hope cstark will appreciate these two versions more orientated to LG G6 owners.

All these changes will give [MENTION=2712580]cstark27[/MENTION] new ideas for his news versions.

Download links:

Version SAT: Shamu-Angler-Taimen

Version TAT: Taimen-Angler-Taimen

After your feedback, it possible to change the yellow channel but I think it's rather good as it is. It's not a strong correction.

Regards,

ADDED: I set JPEG quality to 97%
[LG G6 Guides, News, & Discussion] BrunoSlivar:
You can easily lost in all this mods.

For normal camera the best are?

For wide camera the best are?

Maybe someone try all
[LG G6 Guides, News, & Discussion] Gagi77:
LG Camera vs ArtZ vs. CStark (ArtZ color correction on HDR + High), darker than LG and the best LG Camera. I look forward to your comments and photos from different frames...
[LG G6 Guides, News, & Discussion] clarence35:
Thought I'd throw in my two cents for those like me who need their camera for pictures of things that move (kids and pets) and haven't had the best luck with auto-focus performance with the Google Camera ports so far, especially in low light where focusing is even slower or inaccurate. Try using the most recent version by BSG (v2e). I'm using Model: Pixel XL (Marlin+taimen); and Config: Pixel 2017 Zsl Hdr+. I turn on in developer settings "camera.af.debug.show" to determine where the focus is locked before taking the shot and, with ZSL, you can fire multiple shots quickly while tapping to focus between each shot in hopes of getting one in focus.

With Marlin/Pixel 2017, the autofocus performance in the center focus point is very fast and touch to focus is also decently fast and accurate. In outside light, i rarely get focus misses. However, I still get a lot of focus misses in low-light where the AF can't lock in, and the af.debug.show shows that the camera falls back to focusing at infinity (0.00) by default, which is annoying. Still, I'm finding far more in-focus shots than with the other Google Camera ported versions I've tried so far (test this by focusing on something far and placing a couple fingers in front of the center point and see how quickly it adjusts focus).

I've been following the work by cstark and ArtZ to fix the color cast issues, and I still use cstark's v3.1 as a cloned app (as well as his v3.2 wide angle version, fantastic work) if I'm shooting a still scene. I noticed that cstark's change from Taiman to Shamu improved the autofocus a lot for me. However, the auto focus performance still seems to be better with Marlin for me, so I am still using the BSG version for now as my primary camera app, even if the colors may not be as accurate. For anyone else who hasn't been satisfied with AF performance so far, give the BSG version a try and see if it helps at all.
[LG G6 Guides, News, & Discussion] Mefiboshet:
Thanks ArtZ! :good:

SAT version is very good and the colour correction option is nice to have for low light shots (I disable it in good light to avoid yellow colour cast).

Just as a side note, I feel like a broken record for repeating this but JPEG quality above 95% adds nothing to the images while making the files needlessly large.

Cheers
[LG G6 Guides, News, & Discussion] tcpcd:
Hi

is that possible to increase blur strength??
[LG G6 Guides, News, & Discussion] Vkboy:
Firstly i also used to thought the same as you, but if you compare an 95% vs 97-98% the image quality is more crip and clear and also noticable on zooming. While above 98% the difference is very very minor and file size is super large.so as a bance between size and quality 97% is best as you would get 4~4.5 mb image file which almost no details practicaly lost.