yashsingh1/xdaforums huggingface dataset:
[LG G6 Guides, News, & Discussion] ale29:
This is consistent with my findings. I get a purple tint with hdr enhanced no matter what version I try, with very low light. In Extremely low light any gcam version i tried has blue/red dots in darker Areas and very poor detail, while any highlight has the usual high quality. This does not happen with LG camera, which on the other hand has limited Dynamic range and lots of unnecessary processing even in good light conditions.
[LG G6 Guides, News, & Discussion] Wassupdog:
When I'm taking a picture with this camera app, each picture is saved as an album with the name of the picture.

How can I set the app to just save the pictures in my "Camera" album?
[LG G6 Guides, News, & Discussion] ArtZ:
That's normal. It's Google Cam design. On Pixel it's the same.
[LG G6 Guides, News, & Discussion] Wassupdog:
This is weird. Is there a way to just set it to save all the pictures to the "Camera" album in the gallery?
[LG G6 Guides, News, & Discussion] ArtZ:
Nope. However this happens only in 'Portrait mode' (with front or rear camera). When you use 'Normal mode', the pictures are /Internal memory/DCIM/Camera.
[LG G6 Guides, News, & Discussion] Wassupdog:
Okay, thanks :D.
[LG G6 Guides, News, & Discussion] Generic Kinetic:
Yep can confirm this.
[LG G6 Guides, News, & Discussion] ArtZ:
[MENTION=4860033]Arnova8G2[/MENTION] [MENTION=2712580]cstark27[/MENTION]

Now the bad news... First picture (with magenta cast) was taken with Arnova's version. Second picture with cstark27. Both pictures were taken with HDR+ set to 'Medium'. If I set HDR+ to 'High' is even worse. I have repeated the test about 10 times and I always get the same results. I can tell you guys that the building in front is not purple... It's white!

It happens outdoors and indoors with Arnova's. I only can get rid of the magenta cast with HDR+ set to 'Low'

Colours are better with [MENTION=2712580]cstark27[/MENTION]. No doubt.

Maybe [MENTION=4860033]Arnova8G2[/MENTION] could help [MENTION=2712580]cstark27[/MENTION] to solve the problem with the video camera. That will be great if you work together, guys.
[LG G6 Guides, News, & Discussion] logixdev:
[MENTION=2712580]cstark27[/MENTION] [MENTION=4860033]Arnova8G2[/MENTION] can you add also Lens Blur mode? Portrait Mode is awesome, but it works only if I take picture of face. :/

I want to have both modes (Lens Blur for taking e.g. food photos with blured background and portrait mode also for taking photos of people).
[LG G6 Guides, News, & Discussion] ale29:
That's what I meant with my previous post.

First pic is LG camera.

Second pic is cstark 27 taimen angler taimen with default settings

Third pick is the same cstark .apk with HDR+ enhanched
[LG G6 Guides, News, & Discussion] Troilorenzo:
Do i gonna download it all to work fine?

Thanks
[LG G6 Guides, News, & Discussion] Vkboy:
Please somebody with pixel 2 or pixel 2xl provide a photo comparision with lg g6 with gcam so we can know what is the difference.please try to do more photos in various light conditions?
[LG G6 Guides, News, & Discussion] ArtZ:
Video mode not working on LG-H870 and magenta cast

[MENTION=4860033]Arnova8G2[/MENTION]

cstark27_GCam_5.1.018_24_TAT_v2.1 (cstark27, 2018-01-19) and cstark27_GCam_5.1.018_24_rTaimen_fAngler_cTaimen_v2 (cstark27, 2018-01-17) are the best mod Google Camera for the LG G6 in terms of stability and color rendition. However video camera is not working

GoogleCamera-Pixel2Mod-Arnova8G2-5.1.018 (Arnova8G2, 2018-01-19) it's very good but at low light magenta cast is very strong which makes impossible to use this application on the LG G6. In attached files, I have posted just one exemple but this happens all the time. I have sent a few pictures to [MENTION=2712580]cstark27[/MENTION] yesterday.

Could you, please, correct the magenta issue and/or help [MENTION=2712580]cstark27[/MENTION] to fix his versions of Google Camera to work with the LG G6? I have included in attached files logcat for both versions.

I've done hundreds of tests for [MENTION=2712580]cstark27[/MENTION] to improve his versions. If you don't have a LG G6, I can test for you too. Or you can check with [MENTION=2712580]cstark27[/MENTION] directly.

Regards
[LG G6 Guides, News, & Discussion] Vkboy:
[MENTION=235507]ArtZ[/MENTION] [MENTION=2712580]cstark27[/MENTION] please do so.ething about 4k video addition and stabilisation in gcam as the stabilization on current gcam modes doesnot even have 4k and the stablization is not that great although our g6 has great ois and moving phone in either direction left or right causee gitters?

---------- Post added at 11:56 AM ---------- Previous post was at 11:55 AM ----------

[/COLOR [MENTION=235507]ArtZ[/MENTION] [MENTION=2712580]cstark27[/MENTION] please do so.ething about 4k video addition and stabilisation in gcam as the stabilization on current gcam modes doesnot even have 4k and the stablization is not that great although our g6 has great ois and moving phone in either direction left or right causee gitters?
[LG G6 Guides, News, & Discussion] revinoval:
i thing lg camera better than gcam
[LG G6 Guides, News, & Discussion] Arnova8G2:
Which version of Android are you using?

You can do this test that forces EIS into 4K

Here is the code adding this in the build.prop file

#Enable camera EIS
persist.camera.eis.enable=1
persist.camera.is_type=4

Or you can use these pixel 2 code with EIS3.0

# Works for Oreo

# Settings to enable Device Orientation Sensors
ro.qti.sensors.dev_ori=true

# Additional buffers shared between Camera and Video
vendor.vidc.enc.dcvs.extra-buff-count=2
vendor.vidc.enc.disable.pq=1
persist.camera.tnr.preview=1
persist.camera.tnr.video=1

# Enable camera EIS3.0
persist.camera.eis.enable=1
persist.camera.is_type=5
persist.camera.gzoom.at=0
persist.camera.llv.fuse=2

# Enable camera ae saturation stats
persist.camera.saturationext=1

# Camera gyro and laser sensor
persist.camera.gyro.android=20
persist.camera.tof.direct=1
persist.camera.max.previewfps=60
persist.camera.sensor.hdr=2

# Add an extra 10% saturation to display colors
persist.sys.sf.color_saturation=1.1

# Enable CameraHAL perfd usage
persist.camera.perfd.enable=true

# Enable Gcam FD Ensemble
persist.camera.gcam.fd.ensemble=1
[LG G6 Guides, News, & Discussion] ArtZ:
Hello [MENTION=4860033]Arnova8G2[/MENTION]

Stock Android 7.0

Kernel 3.18.31
[LG G6 Guides, News, & Discussion] Vkboy:
Sir i don not know about coding and cannot add in build prop as i am not rooted. Can you prepare an apk with working 4k and eis for lg g6
[LG G6 Guides, News, & Discussion] !bigbabba:
Nice work! But in darkness there is flash missing by touch focusing. So the pics go milky stormy . Is there an solution?
[LG G6 Guides, News, & Discussion] Arnova8G2:
Sorry but it's codes are built into the camera driver not in the app
[LG G6 Guides, News, & Discussion] ArtZ:
I don't understand what you mean.

1.- With your application, video camera works but there's an important magenta issue under low light.

2.- With [MENTION=2712580]cstark27[/MENTION] app, video camera doesn't work but not magenta issue and colors are great.

It should be possible to do something, shouldn't it?

Regards,
[LG G6 Guides, News, & Discussion] Vkboy:
[MENTION=4860033]Arnova8G2[/MENTION]

please do something about stabilization and magenta issue.please? @ Artz is correct in his post
[LG G6 Guides, News, & Discussion] Arnova8G2:
So to put it simply, if your device disables the stabilizer for 4k by default, this code allows you to activate it.

Thank you for your logcat, I am looking for a solution for the video

Edit : To not have the magenta color on GCmod use the pixel 2 config
[LG G6 Guides, News, & Discussion] ArtZ:
I think you confused me with another user. I didn't ask 4K video stabilisation. My OP was only to find a solution for the magenta cast with your version and/or helping [MENTION=2712580]cstark27[/MENTION] to solve the problem with video camera (app crashes) in his versions when are used on the G6.

Regards,
[LG G6 Guides, News, & Discussion] Vkboy:
Yep that was me. I asked it for. [MENTION=235507]ArtZ[/MENTION] don't you think it will be great to have pixel 2 video stabilisation supersmooth like a gimble ?
[LG G6 Guides, News, & Discussion] ArtZ:
The magenta cast happens with your version GoogleCamera-Pixel2Mod-Arnova8G2-5.1.018 (Arnova8G2, 2018-01-19).

Please read carefully my OP #1094 https://xdaforums.com/showpost.php?p=75267519&postcount=1094

After your mod GCam version GCam5.1.018-Arnova8G2-V1.2 (Arnova8G2, 2017-12-11) video camera does not work any more in LG G6 but it works fine on your latest version GoogleCamera-Pixel2Mod-Arnova8G2-5.1.018 (Arnova8G2, 2018-01-19). However in this version there's strong magenta cast under low light conditions (even with HDR+ set to 'Low').

On the other hand, on [MENTION=2712580]cstark27[/MENTION] versions colors are great (no magenta cast in low light conditions) but he can't make the video camera work for the LG G6.

I was only asking you a solution: Solve the magenta cast issue on your version GoogleCamera-Pixel2Mod-Arnova8G2-5.1.018 (Arnova8G2, 2018-01-19) and/or to give a hand to [MENTION=2712580]cstark27[/MENTION] to make video camera work for the LG G6.

Thank you.

Regards,
[LG G6 Guides, News, & Discussion] ale29:
In extremely low light I still get a splotchy mess with Gcam.

Maybe I should try again MGC_5.1.018.177470874.41362666__A7.0-8.1_MI5S_v2e And see if playing with the max analog sensitivity setting does anything

Left is a crop LG Camera, right is a crop using cstark27_GCam_5.1.018_24_TAT_v2.1
[LG G6 Guides, News, & Discussion] ArtZ:
The BIG (elephant size) problem with MGC_5.1.018.177470874.41362666__A7.0-8.1_MI5S_v2e is you lose all settings every time you use LG Smart Doctor (or when you clean application 'cache' manually. A pain in the a...

cstark27_GCam_5.1.018_24_TAT_v2.1 is a very good version for color rendition. IMHO, as Google Camera has not been designed for other devices (only for Nexus & Pixel) we must do some concessions. Some exemples:

- HDR+ Enhanced mode is not reliable on LG G6;

- HDR+ should not be set to a higher value than 'Medium' or 'High' (I get very good results in low light with cstark27_GCam_5.1.018_24_TAT_v2.1 and HDR+ set to 'Medium'

-HDR+ blows highlights but in a low light photographie this is not a major problem. If you use DHR+ set to 'Medium', you'll minimize the risk to get blown highlights, even in daylight.

[MENTION=2712580]cstark27[/MENTION] keeps on working in Google Camera to improve it. Other people too. Be patient. These guys do a lot of work and they're not paid. Just enjoy and be happy!
[LG G6 Guides, News, & Discussion] cstark27:
All, Arnova8G2 has provided a hint to me about where to look to fix the video which is probably the best he can do without owning the device or being provided a log. But I haven't had time to look into it yet.

I will send him a log file I received and see if has further pointers.

Thanks for your patience.
[LG G6 Guides, News, & Discussion] ale29:
Anyway, the max analog sensitivity does indeed have an influence on those artifacts in very low light.

Setting it at 110 makes for a tangibly better picture compared to 3300 or even 1500.

Just saying...this could be useful for devs :)
[LG G6 Guides, News, & Discussion] ArtZ:
[Humor Mode=ON]

Changing Huggies takes a lot of time and training...

[Humor Mode=OFF]

Don't worry.

Regards,

---------- Post added at 04:15 PM ---------- Previous post was at 04:12 PM ----------

IMHO, I found 1600 (Nexus 5 and Nexus 6) gives best results on the G6. With 3300 value you'll burn highlights more.
[LG G6 Guides, News, & Discussion] cstark27:
From what I've seen, the G6 and V30 are reporting a max sensitivity of 12,000. Compare to Pixel 2 @ 3200...analog sensitivity is 800 vs 400, respectively.
[LG G6 Guides, News, & Discussion] cstark27:
[MENTION=8821460]Vkboy[/MENTION] info I received from a G6, with the app, camera2test, insinuates that the G6 does not make OIS available through the Camera2 API. It reports as 0,0 for Android.lens.info.availableOpticalStabilization.

A few options. 1) disable video stabilization in Google Camera and look for the Stabilization option in Google Photos (maybe on PC only) 2) attempt to force OIS through a modified Google Camera app and hope it works 3) use LG cam for video only.
[LG G6 Guides, News, & Discussion] Vkboy:
I am hoping option 2 works?. I am satisfied with lg cam video and has no issues with it. But if that works i will be glad to you. Thanks for your reply. Your efforts meants a lot.
[LG G6 Guides, News, & Discussion] ArtZ:
Manual fix black level offset on LG G6

[MENTION=4860033]Arnova8G2[/MENTION] [MENTION=2712580]cstark27[/MENTION]

Guys, after a few hours testing 'Manual fix black level offset' on BSG v2c version for the LG G6 I think I got the perfect settings (or very close to perfection).

Please try, you won't be disappointed. Promised. They bring you natural colors. They're almost perfect in artificial low light and they should be the same in daylight.

Please, let me know to include the settings in [MENTION=2712580]cstark27[/MENTION] version.

Regards,

EDIT:

NEW IMAGE WITH SETTINGS AFTER TUNING

Try HDR+ set to 'Medium' plus 'HDR+ Enhanced' -> Just BEAUTIFUL!

Exemple (same settings and very low light):

Picture 1: cstark27_GCam_5.1.018_24_TAT_v2.1 (HDR+ set to 'Medium' and 'HDR+ Enhanced' ON)

Picture 2 (my settings): MGC_5.1.018.177470874.41362666__A7.0-8.1_MI5S_v2c (HDR+ set to 'Medium' and 'HDR+ Enhanced' ON)

.
[LG G6 Guides, News, & Discussion] igoork:
Why BSG v2c, isn't v2e supposed to be newer(better) ?

Regarding video, I think LG stock cam is ok, we can live without it on gcam.

Still images are the problem and that is where all attention from the community and these great people how develop code should be.

Guys thank for the hard work, we do appreciate it!
[LG G6 Guides, News, & Discussion] ArtZ:
v2e has a nasty bug. You lose all configuration settings every time you launch LG Smart Doctor (or if you clear application 'cache') That makes v2e unusable. The only difference between them is you have more options. You can test the settings on v2e.
[LG G6 Guides, News, & Discussion] ArtZ:
I keep tuning up with [MENTION=2712580]cstark27[/MENTION] black level offset. Latest settings that seems to work fine on G6 are 64.50 - 63.40 - 63.40 - 64.00

A new version from [MENTION=2712580]cstark27[/MENTION] with video mode working is almost ready. We only need to find the best settings to avoid magenta cast.

Stay tuned!
[LG G6 Guides, News, & Discussion] Yoguko:
I just want to say that I really appreciate what you're doing. I'm sure I'm not the only one. Thank you.
[LG G6 Guides, News, & Discussion] Arnova8G2:
I add the code in screenshot 1

The test does not work with my device

I put my device on my desk.

hdr+ Enhanced code remove magenta : screenshot 2

hdr+ code remove magenta : screenshot 3

hdr+ Enhanced : screenshot 4

hdr+ : screenshot 5
[LG G6 Guides, News, & Discussion] ArtZ:
[MENTION=2712580]cstark27[/MENTION] is building right now a beta with 64.50 - 63.40 - 63.50 - 64.00 These settings perform very well on LG 6G with BSG v2c under artificial low light. I can test tomorrow morning under natural low light.

On my calibrated color monitor, colours are faithful. The most difficult thing is AWB is not always right under artificial low light conditions and natural low light could deserve us surprises.

Other problem we found is LG G6 screen and V30 screens have different calibration. So, what looks good on my G6 looks a bit green on the V30.
[LG G6 Guides, News, & Discussion] Arnova8G2:
For the test

parameter> advanced> remove magenta

GoogleCamera-Pixel2Mod-Arnova8G2-remove-magenta.apk
[LG G6 Guides, News, & Discussion] ArtZ:
Tested. It doesn't work well on your version. I get much better results with BSG v2c. I suppose there're other settings used by BSG which are different in your version.

Could you add to a beta version 'Manual black level offset' menu like BSG? I will try to find the right settings for your version and you can hide the menu after.

Regards
[LG G6 Guides, News, & Discussion] Arnova8G2:
For the test 2 with 64.50 - 63.40 - 63.50 - 64.00

parameter> advanced> remove magenta

GoogleCamera-Pixel2Mod-Arnova8G2-remove-magenta.apk
[LG G6 Guides, News, & Discussion] ArtZ:
Much better!

HDR+ set to 'High' and 'Auto'. Very low light

#poke [MENTION=2712580]cstark27[/MENTION]

.
[LG G6 Guides, News, & Discussion] ArtZ:
64.50 - 63.40 - 63.50 - 64.00 or 64.50 - 63.40 - 63.40 - 64.00?

Did you see the pictures indoors and outdoors in previous post?

As you can see, the result is very good. I insist if you could do a another beta where I can play with the values before we can fix them for the G6. What do you think?

Regards,
[LG G6 Guides, News, & Discussion] Arnova8G2:
I do not think, this version is to help [MENTION=2712580]cstark27[/MENTION] to add these codes, because this version is similar to the original. the version of bsg and GCMod5 a lot of modified codes.

version with : 64.50 - 63.40 - 63.50 - 64.00
[LG G6 Guides, News, & Discussion] ArtZ:
I think they should work. These values are only color calibration for LG G6.

Could you, please, just make another beta with 64.50 - 63.40 - 63.40 - 64.00? I mistyped the values on the OP. Sorry about that.

In fact, 63.40 was the best value I found for BSG v2c but when I compare your version (63.50) and BSG's (63.40) both are very close. I'll tell you tomorrow with natural light which value is the best.

What do you think of the exemples?

Regards,
[LG G6 Guides, News, & Discussion] Vkboy:
Sir i used your apk and it gives good photos at night and artificial light and also not any noticable pink/magenta tint but in day light it gives green tint.(i am talking about hdr+ enhanced parameter medium) here is example
[LG G6 Guides, News, & Discussion] Arnova8G2:
The idea of adding a toggle is for night photos or for artificial light.

Deactivated for photos of the day, the hdr + makes a beautiful picture in daylight.

It is necessary to rename > remove magenta color by improving the night photos
[LG G6 Guides, News, & Discussion] ArtZ:
Why do you use 'HDR+ Enhanced' to take this picture?

'HDR+ Enhanced' doesn't make pictures better all the time and this is valid also for Pixel 2 devices.

'HDR+ Enhanced' is for very difficult light situations and it has consequences every time we use it.

The problem we're facing here (with Google Camera on our G6s) it's to find a compromise to get the best quality images knowing that Google Camera has not been build for our G6s. This compromise must take in account very low light conditions in both artificial and natural light, bright light conditions and AWB issues (AWB is far to be perfect... and it has been developed by Google!)

Maybe it's possible tweaking more colour calibration settings I proposed to [MENTION=4860033]Arnova8G2[/MENTION] but remember that it won't be perfect in all situations. This is also valid for Google calibration for their Pixel 2 phones. I'm still working with [MENTION=4860033]Arnova8G2[/MENTION] and [MENTION=2712580]cstark27[/MENTION] to find better settings but every time we change a single setting, they have to rebuild the version. That takes time and a lot of work.

In other words, if you don't want to get this greenish colour on daylight you'll get other issues on natural or artificial low light like magenta cast. The whole point is to find a compromise to get the best image results under all conditions. Besides, you get the greenish colour because you're using wrong settings to take this picture. Then I repeat, my first question: Why do you need to take this picture with 'HDR+ Enhanced' when you'll get better results even without HDR+ in such light conditions? You can also drive a car at 40km/h in 4th gear but you won't be happy because it has not power. This is the same thing.

Regards,
[LG G6 Guides, News, & Discussion] Mefiboshet:
[MENTION=2712580]cstark27[/MENTION] [MENTION=4860033]Arnova8G2[/MENTION] [MENTION=235507]ArtZ[/MENTION]

After much tweaking of the black levels, I'm still unable to produce a setup that is as consistent and reliable on the G6 as https://www.celsoazevedo.com/files/android/google-camera/f/MGC_5.1.018_A7.0H_AllAuto.apk in enhanced/non-ZSL mode.

Whatever settings BSG used in that version seem to be right for the G6.

Not perfect, but certainly the best compromise (IMHO) that works equally well in all lighting conditions.

This version is missing front HDR+ and access to user definable 'HDR+ parameters' and JPG compression level.

Other than that, I find it the best one for the G6.

If either the relevant settings could be adopted from that version, or the missing features added to it, I'm pretty sure we'll have a winner.
[LG G6 Guides, News, & Discussion] ArtZ:
More colour tweaking

[MENTION=4860033]Arnova8G2[/MENTION] and [MENTION=2712580]cstark27[/MENTION]

Hi guys,

After playing with your test versions, I modified slightly my previous colour settings. They should be probably the best compromise for your applications. These settings will reduce some green cast under low light (both natural and artificial) in shadows. I don't see any magenta cast. Please try to build a new version today I can test tonight. I'm very confident. I really think I cannot get better than that.

We're really tweaking very fine here but it's worthy.

Changes are

Actual test version from Arnova8G2: 64.50 - 63.40 - 63.50 - 64.00

Actual test version from cstark: 64.50 - 63.40 - 63.40 - 64.00

NEW VERSION: 64.40 - 63.50 - 63.50 - 64.10

.
[LG G6 Guides, News, & Discussion] ArtZ:
With all respect, I do disagree. I have tested it but if you're happy with it, I'm happy for you.

Regards,
[LG G6 Guides, News, & Discussion] ale29:
I'm experimenting a bit as well, and I'd like to share these settings I'm trying on MGC_5.1.018.177470874.41362666__A7.0-8.1_MI5S_v2e.

The aim is to have something usable in any light conditions (acceptable WB, no excessive artifacts in very low light while keeping the noise under control, possibility of using HDR+ enhanched in difficult conditions to avoid blowing highlights...).

Model: Nexus 6P (Angler)

Config camera HDR+: Pixel 2017 Zsl Hdr+

HDR+ Parameters: super high (more chances of blowing highlights, but you can activate HDR+ enhanched for these situations. On the other hand, super high gives the best detail and least artifacts in extremely low light)

Manual fixed black level offset: 64.50 - 63.50 - 63.50 - 64.00

Final JPG quality HDR+: I'm trying 100% but probably will lower it to 98%

Max.sensitivity analog gain: 500 (anything higher will just increase noise. 110 is best to suppress artifacts but will severely reduce details in extremely low light areas)

Minimal HDR+ smoothing: off

You can toggle between auto HDR+ and forced HDR+ (enhanched) on the fly when taking a pic. The setting will be saved when you open the app again.
[LG G6 Guides, News, & Discussion] Vkboy:
thanks yep that is true i know it is not compatible with our g6 but i was just sharing my experience and thanks for your kind words. Your efforts meant a lot for all of us :good:

Regards

---------- Post added at 01:31 PM ---------- Previous post was at 01:21 PM ----------

@Arnova8G2 [MENTION=2712580]cstark27[/MENTION]

Can you please add remove magenta option on directly in camera slide menu or as icon in view screen as it will be more convenient for all gcam users to switch mode for removing rather than digging in camera settings every time.

Also i want to know what about status of "fused stabilization"

OIS+EIS

In our gcam from pixel 2. Are you going to develop in future?

Regards
[LG G6 Guides, News, & Discussion] ArtZ:
Remember, these settings are only suitable for Taimen ! Other models may need other calibration settings.

I tweaked a bit more my previous settings as follows: 64.40 - 63.50 - 63.50 - 64.10 I think it will be very difficult for me to improve that. Best compromise in all situations so far.