• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[GCam] [Wide Angle] LG G5,LG G6,LG V20,LG V30 - v4.2

Search This thread

lucfig

Senior Member
Feb 19, 2008
895
261
Rio das Ostras
LG G6 Lineage users please test this version https://drive.google.com/open?id=1HEWzgc7wfcMeL06J6TohuJSVR_RcK_T3

The values would require input from you - it would be too difficult for me to guess.

Should I just add in the manual black level selector? It's something I've tried very hard to stay away from, I like my version being "simple".

I agree you should keep it simple. It is a major strength of your build.

I can either share some pictures with you or, if possible, you can send me a test version with manual black level selector. This way I can test and try to find the best setting for you to implement in the regular version.


Enviado de meu LG-H990 usando Tapatalk
 

Nightshadow931

Senior Member
Oct 25, 2011
1,386
501
Belgrade
Xiaomi Mi 10
Huh, latest version takes some pretty great pictures in LL, it sets ISO value very low(around 100). In the same conditions, without slow stutter speed, ISO is set to ~2800(and it's too bright)
Same conditions, stock camera sets the ISO to ~1300(better pic)

My question is, is it possible to use lower ISO values in LL? There's no need for such high values(2x higher compared to stock). I guess it depends on the model used? I get really good pictures(better than stock) on daylight, but high ISO values seems to be a problem in LL.

Slow stutter mod makes really good pics with low ISO, but there's a problem if something moves or walks :D

I'm on v20 btw.

Btw 2: here's an example of daylight photos taken with gcam/stock
https://photos.app.goo.gl/83eZBZychMVYwGZG3

On the right side is the one taken with gcam, and it's noticeable better :)

Sent from my LG-H990 using Tapatalk
 

eigenjim

Member
Feb 4, 2018
18
4
Slow shutter hdr enhanced

@cstark27
The new slow shutter hdr enhanced is very nice! However, like some other users reported it gets toooo slow at many situations. It would be nice it we can have a minimum shutter speed setting. If a setting is noy possible, i would say a trying keep the shutter> 1/15 sec offer a good tradeoff.
 
  • Like
Reactions: frasre

Vkboy

Senior Member
Dec 29, 2017
419
173
Arnova8G2 posted one time what needed done. I think he said you need to find Camera2 API equivalents and you need to root and add info to build.prop if your rom doesn't report EIS or OIS capabilities through the API. I tried to force EIS for another user but even though he could select it, it didn't do anything.

@cstark27 yes I have root access and used arnova code in build prop but nothing happens. Sadly I think stabilization is not possible.,:(
 
Last edited:

yanrachna

Member
Apr 6, 2009
30
2
@cstark27

It seems that wide camera app is different from normal camera app. In wide camera app, when choosing HDR+, some pictures got no HDR, some got HDR. It seems that it auto detect HDR not forced HDR. Am I correct?
If so, please change it like normal camera app which always got HDR, when enable HDR+.

Thanks!
 

Vkboy

Senior Member
Dec 29, 2017
419
173
@cstark27 could you please add a noise reduction toggle with different 4-5 settings like hdr+ parameter. It's just a suggestion which will benefit definately. Also can you please add motion photo in your app. Then your app will be surely a complete package.( I am on Oreo and motion does not come as option)

Next I followed your post regarding stabilization referring arnova's post. I tried his codes but nothing happens in stabilization but I start to get green and unusable videos with super gitters. Really a mess.
 

remondz

Member
Aug 15, 2016
19
12
That's what sucks about the G6 color issue...it's not consistent from what I gather. So the black level fix isn't the best we can do, but it's the only one we have at the moment. Try to turn it off and take a few HDR+ Enhanced photos and rely on that maybe the 2nd or 3rd photo will be OK in colors. Or tap on the brightest area of the image to set focus/exposure on it. On the ZSL, maybe a toggle reverse of what was in there before. Ie, default to non-ZSL but give you the option to change it. Do you see the same color issue when using Portrait Mode with the new HDR+ Enhanced Portrait option? I would assume so, but would be nice to have confirmation. If not, do you have the same color issue if you shoot the same scene in normal HDR+ Enhanced mode, but zoomed in 1.5x?
I think the colors on the G6 are just fine without the color fix. Right now it basically just acts as a toggle between blueish shadows and green shadows (which look even worse). This could be fixed by adding manual controls for black levels from BSG version so everyone can play around with the values and customize it.

Try to turn it off and take a few HDR+ Enhanced photos and rely on that maybe the 2nd or 3rd photo will be OK in colors. Or tap on the brightest area of the image to set focus/exposure on it.

This is just a workaround for this "amp glow" issue that can't be fixed with setting different black levels. I think it will be present even in Portrait Mode (HDR+ Enhanced Portrait option)... will have to test that later.

And as for ZSL, I think it was fine how it was in v3.3 because if you select HDR+ enhanced once it should stick even if you restart the app (unless you go to settings, then it switches back to HDR+). Or that toggle you mentioned, that would work too.
 

basmeuter

Senior Member
Dec 3, 2015
136
31
For LG G6 in low light:
I did some small test with the settings for the G6 in low light, made one pic with only adaptive shutter speed, one with only LG G6 color fix, one with both options toggled on, and one without.
HDR+ parameters to medium.

The one with both toggled on is greenish, 'nothing' has magenta cast.
Colorwise both with one setting on is pretty good, but the one with adaptive shutter speed is less noisy and sharper (slightly better colors).

So winner in area without moving things: only adaptive shutter speed on
Winner in moving environment: only color fix
 

Attachments

  • PicsArt_02-19-11.14.17.jpg
    PicsArt_02-19-11.14.17.jpg
    214.8 KB · Views: 1,420
  • PicsArt_02-19-11.16.16.jpg
    PicsArt_02-19-11.16.16.jpg
    256.1 KB · Views: 1,412
  • PicsArt_02-19-11.12.05.jpg
    PicsArt_02-19-11.12.05.jpg
    226 KB · Views: 1,404
  • PicsArt_02-19-11.17.35.jpg
    PicsArt_02-19-11.17.35.jpg
    258.4 KB · Views: 1,366
Last edited:

cstark27

Senior Member
Jul 2, 2010
1,237
7,252
Huh, latest version takes some pretty great pictures in LL, it sets ISO value very low(around 100). In the same conditions, without slow stutter speed, ISO is set to ~2800(and it's too bright)
Same conditions, stock camera sets the ISO to ~1300(better pic)

My question is, is it possible to use lower ISO values in LL? There's no need for such high values(2x higher compared to stock). I guess it depends on the model used? I get really good pictures(better than stock) on daylight, but high ISO values seems to be a problem in LL.

Slow stutter mod makes really good pics with low ISO, but there's a problem if something moves or walks :D

I'm on v20 btw.

Btw 2: here's an example of daylight photos taken with gcam/stock
https://photos.app.goo.gl/83eZBZychMVYwGZG3

On the right side is the one taken with gcam, and it's noticeable better :)

Sent from my LG-H990 using Tapatalk

It seems like ISO and shutter speed are tied together in GCam that if you don't get the right ratio, I have run into issues where the photo wouldn't capture anymore. But maybe Miniuser's Slow Shutter mod is more versatile...I have not played with the numbers at all yet so we'll see. As mentioned, on my V30, it gets too slow with the current settings. I think on the S7 that Miniuser has, he said it goes as low as 1/10s. However on my V30 it's not hard to get it to go to 1/1s or even longer, I believe, depending on light condition.

The slow shutter mod is not meant to be used when you're taking photos of moving objects. Just like you wouldn't set a 1s exposure time in manual camera settings and expect to take a photo of a moving child. Same philosophy here. The stock Google Camera settings really favors a rapid shutter speed, which can have a lot of noise at night - this mod is meant to help that. It would make more sense to have a menu on the side for "Night Mode" that would activate all this, but I still am not sure how to direct what "module" gets selected.




@cstark27
The new slow shutter hdr enhanced is very nice! However, like some other users reported it gets toooo slow at many situations. It would be nice it we can have a minimum shutter speed setting. If a setting is noy possible, i would say a trying keep the shutter> 1/15 sec offer a good tradeoff.

I will either limit the slowest it can go or offer a "bias" setting like you mentioned...ie, "Slow, Slower, Slowest" or something similar.


@cstark27

It seems that wide camera app is different from normal camera app. In wide camera app, when choosing HDR+, some pictures got no HDR, some got HDR. It seems that it auto detect HDR not forced HDR. Am I correct?
If so, please change it like normal camera app which always got HDR, when enable HDR+.

Thanks!

The wide angle version does not offer ZSL right now and uses a HDR+ Config that when it's on Auto, it will take a moment to show a checkmark on the HDR+ icon - then it will be HDR+. I would suggest changing it to HDR+ On. The setting should stick until you go into the settings - or just wait for the checkmark icon. This is a (temporary?) workaround because ZSL dynamic range is not very good and it's hard to convey that people should switch to HDR+ Enhanced, on the various forums that this gets posted.



@cstark27 could you please add a noise reduction toggle with different 4-5 settings like hdr+ parameter. It's just a suggestion which will benefit definately. Also can you please add motion photo in your app. Then your app will be surely a complete package.( I am on Oreo and motion does not come as option)

Next I followed your post regarding stabilization referring arnova's post. I tried his codes but nothing happens in stabilization but I start to get green and unusable videos with super gitters. Really a mess.

I'm currently not sure where any de-noise parameters are. One of the settings offered in some other versions I tested that say "less noise" seem to alter the white level value which makes highlights even more blown out. Motion Photo use to work but it was turned off by default because sometimes it's not stable. I just tried to turn it on, on my Pixel and it crashes so I broke that feature at some point...would need to investigate but it's not a high priority tbh.


For LG G6 in low light:
I did some small test with the settings for the G6 in low light, made one pic with only adaptive shutter speed, one with only LG G6 color fix, one with both options toggled on, and one without.
HDR+ parameters to medium.

The one with both toggled on is greenish, 'nothing' has magenta cast.
Colorwise both with one setting on is pretty good, but the one with adaptive shutter speed is less noisy and sharper (slightly better colors).

So winner in area without moving things: only adaptive shutter speed on
Winner in moving environment: only color fix

Thanks for the samples. Maybe I can come up with a way to avoid the color correction if Adaptive Shutter is enabled and being used (ie, you're not taking a photo in good light). Will take some research.
 
  • Like
Reactions: basmeuter

directx1971

Member
Sep 27, 2017
23
23
For LG G6 in low light:
I did some small test with the settings for the G6 in low light, made one pic with only adaptive shutter speed, one with only LG G6 color fix, one with both options toggled on, and one without.
HDR+ parameters to medium.

The one with both toggled on is greenish, 'nothing' has magenta cast.
Colorwise both with one setting on is pretty good, but the one with adaptive shutter speed is less noisy and sharper (slightly better colors).

So winner in area without moving things: only adaptive shutter speed on
Winner in moving environment: only color fix

I noticed that there is a misunderstanding here , The slow shutter speed doesn't need color correction as their colors are correct even when using pixel 2 config in the input module which always guaranteed
To give the purple tint in all versions of normal shutter speed , it is also not because the iso is low as we may suspect , to test this i took the attached photo (along with many others that i didn't attach)
As we can see no color cast at all despite i used URI version which can go to high iso in such very low light situations , i repeated the test many times in various very low light situations and they all confirmed
This fact i also double checked his code to confirm that pixel 2 is used in input module , so somehow the long shutter speed is using the correct color values out of the box and i am suspecting it is using a
universal way to correctly calculate the colors based on the color profile of the sensor that's why it doesn't need a correction , that's why when the color correction is used it gives a green cast because it is
designed to balance the purple cast by shifting the image towards the greens so you can get balanced colors instead , in this case there is no purple cast so you end up with a green cast caused by the color fix

If this assumption is true then no one should get a color cast when using the slow shutter module ( new manufactured G6 users included) , so only you guys can confirm this , does anyone still get a color cast
Using the slow shutter speed WITHOUT USING THE COLOR FIX ?

Edit: I want to say this conclusion is important as if the assumption is correct then this color calculation canbe used in the normal shutter as well to correct all color casts for all sensors
(too optimistic may be :) )
 

Attachments

  • IMG_20180217_052010.jpg
    IMG_20180217_052010.jpg
    208.9 KB · Views: 767
Last edited:
  • Like
Reactions: basmeuter

indoko

Senior Member
Feb 8, 2012
81
17
Valencia
I love your app for the cam Cstark27. Now I have the 3.5 version. It takes wonderful photos with the HDR+ activated but after taking some photos my phone freezes. Is Anyone having this problem?

Enviado desde mi LG-H870 mediante Tapatalk
 
  • Like
Reactions: Doct93

1myxomatosis1

Member
May 2, 2011
21
5
I love your app for the cam Cstark27. Now I have the 3.5 version. It takes wonderful photos with the HDR+ activated but after taking some photos my phone freezes. Is Anyone having this problem?

Enviado desde mi LG-H870 mediante Tapatalk

I've notice the same. When taking some more (3-5) photos one by one - phone freezes - like it have lack of processing power... LGV30.
 

yanrachna

Member
Apr 6, 2009
30
2
HDR+ need time to process. If we take photos continuously, it will freeze the phone because it used almost all of the ram. That's the bad thing about GCam. :(

---------- Post added at 11:30 AM ---------- Previous post was at 11:26 AM ----------

@cstark27
For wide camera, I use the version of ArtZ, it uses ZSL, HDR+ work for both front and back cameras. I think you may check the ArtZ version for reference.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 227
    Disclaimer
    I am not a developer but I have tried my best to create a port that has most of the basics working on my LG V30. I cannot promise I can fix any bugs for other devices but if I have time, I can try to look into some. This version is based off Scrubber's [4PDA] and uses information I've learned from using and looking at Arnova8G2's, BSG's and others versions. All their work is much appreciated and is the only thing that makes this possible.

    Introduction
    What is Google Camera (AKA GCam)?

    Google Camera is the camera app for the Google Nexus and Google Pixel phones. It is not designed or intended to be run on other phones.

    What is HDR+?

    Basic: HDR+ is Google's proprietary image processing routine, and is more than just traditional "HDR' modes. HDR+ employs image stacking to control exposure, and also to preserve details, reduce noise, increase sharpness, etc. It is an all-in-one package.

    Advanced: https://ai.googleblog.com/2014/10/hdr-low-light-and-high-dynamic-range.html

    Google Camera Features

    Pixel 1
    • Zero Shutter Lag (ZSL) HDR+ - The Pixel 1 introduced ZSL HDR+ which means when you open the camera, the system utilizes the Hexagon DSP to constantly buffer frames and marks the time slot of when you pressed the shutter button.
      * -- Quote from Marc Levoy via The Verge:
      "The moment you press the shutter it's not actually taking a shot — it already took the shot," says Levoy. "It took lots of shots! What happens when you press the shutter button is it just marks the time when you pressed it, uses the images it's already captured, and combines them together."
      It's a major usability improvement on the HDR+ mode in last year's Nexus 6P and 5X. "What used to happen last year is you'd press the shutter button and you'd get this little circle going around while it captured the images you need for the burst; now it's already captured those," says Levoy. "And that's big, because that means that you can capture the moment you want."
      * -- https://www.theverge.com/2016/10/18/13315168/google-pixel-camera-software-marc-levoy

    Pixel 2
    • Portrait Mode - Simulates bokeh for improved subject separation from the background. The front camera of the Pixel 2 only provides Portrait Mode when a human face is detected, and the rear camera can work on an object, an animal, a human, etc because it uses information from the Dual Pixel PDAF sensor to detect depth. Google Camera ports for non-Pixel phones can NOT do this so all ports for non-Pixel phones utilize the front camera technique for both front & rear (which means all ports for non-Pixel phones can only properly apply bokeh when a human face is detected).
      * -- Advanced read: https://ai.googleblog.com/2017/10/portrait-mode-on-pixel-2-and-pixel-2-xl.html
    • Motion Photos - Provides short clips of moments before and after you take the photo.
      * -- Advanced read: https://ai.googleblog.com/2018/03/behind-motion-photos-technology-in.html

    Pixel 3



    This is how the V30's Camera ID's are laid out. My normal lens app uses ID 0 and 1. My wide lens app uses ID 1 and 2.
    • Camera 0 "LENS_FACING_BACK"
    • Camera 1 "LENS_FACING_FRONT"
    • Camera 2 "LENS_FACING_BACK" (wide angle)
    I cannot guarantee success on other devices, especially if the phone does not even report all cameras through the Camera2 API (use Camera2Test app to verify your device info). If you are on LineageOS, please consult your dev to see if they can alter the camera ID's to properly match LG stock roms, if my version does not work.

    Images
    "Wide Angle" / "Default Camera" option in the side menu:
    nOGfbyDl.jpg
    E2Holqbl.jpg

    t9keuKil.jpg


    Advanced Options:
    0J7QMNLl.jpg
    6e89Jz1l.jpg


    Installation instructions
    Root is NOT needed.
    * -- Download APK to your Phone (or PC then transfer to your phone)
    * -- Locate APK with File Manager and Install
    * -- You will be prompted to Allow Unknown Sources. This is normal for APK's not downloaded from the Play Store.

    Download
    cstark27 v4.2
    cstark27_GCam_5.1.018_24_v4.2t3.apk
    If you have issues, Clearing App Data is recommended. Open "Camera"> Settings>About>View App Settings Page>Storage>Clear Data

    -If device has more than 3+ camera sensors, displays a new side menu "Wide Angle"
    --Click this item and it opens Settings and displays a message "Switching rear Camera ID. Press back to complete." So just press the back button when you see the settings menu pop up. I can't figure out a way to do this programmatically.
    --On first install you may have to click this twice for it to start working
    --After this is toggled the side menu will say "Default Camera" to indicate you can switch back

    -The Camera Switch icon is green now to try to indicate you can Long Press this to do the same function as above (alternate between rear camera ID's)

    v4.2 fixes:
    -Resolution for main and aux lens separated thanks @fu24

    v4.1 adds:
    -Add LG G6 Lineage Toggle

    -Add Advanced>Default HDR+ Mode for Normal and Wide Lens options
    --Switching rear cameras will change the HDR+ to the specified mode
    --Usage: If you want the regular lens to usually be HDR+ ZSL, but the Wide Angle to always be HDR+ Enhanced. You can also select No Change (default) so HDR+ mode is not changed by the system and will keep what you choose when switching rear cameras

    Credits Arnova8G2, arthur, namok, fu24, Tolyan009/TlnNeun

    Alternative download location (thanks to @s4turno):
    https://www.celsoazevedo.com/files/android/google-camera/dev-cstark27/

    Alternate versions posted by @fu24 which has a toggle for standard/wide angle in the settings and much more customization options:
    https://forum.xda-developers.com/showpost.php?p=76878015&postcount=505

    Previous Versions:

    cstark27 v4.0
    If you have issues, Clearing App Data is recommended. Open "Camera"> Settings>About>View App Settings Page>Storage>Clear Data

    -If device has more than 3+ camera sensors, displays a new side menu "Wide Angle"
    --Click this item and it opens Settings and displays a message "Switching rear Camera ID. Press back to complete." So just press the back button when you see the settings menu pop up. I can't figure out a way to do this programmatically.
    --On first install you may have to click this twice for it to start working
    --After this is toggled the side menu will say "Default Camera" to indicate you can switch back

    -The Camera Switch icon is green now to try to indicate you can Long Press this to do the same function as above (alternate between rear camera ID's)

    -Black Level calculation adjusted to see if purple tint in shadows is fixed

    -Updated code of Settings Restart to newest version

    -Adjusted detection code for Hexagon DSP so mainly just LG's don't use it automatically

    Credits Arnova8G2, arthur, namok, fu24, Tolyan009/TlnNeun

    cstark27 v3.8
    If you have issues, Clearing App Data is recommended. Open "Camera"> Settings>About>View App Settings Page>Storage>Clear Data

    LG G6 Lineage users can use the toggle in the wide angle APK to fix their camera ID issue. You must force close the app.

    -Renamed standard lens package name to avoid interference with other versions (uninstall your current version)
    -Set Use_Photos on by default
    -Ported Camera relaunch after going into Settings from namok/SerJo87/Arnova8G2 (no longer have to force close when changing a setting)
    -Changed Frame Count to have a faster setting (may be useful for photos of children)
    -Added toggle to remove Portrait Mode default zoom level


    cstark27 v3.7
    -Added Advanced>Disable ZSL Toggle (this switches between Pixel 2 HDR toggle and Nexus 6 No ZSL HDR toggle)

    -Added Advanced>Model so users can experiment with phone Models (only for the rear camera). You do not need to adjust this if you don't want to, the default setting is the same as before (AUTO).

    -Added Experimental>Use Hexagon DSP and set it to No by default. This used to be "auto", effectively, and on most Snapdragon phones it would be using the Hexagon DSP in previous versions. In my testing I have found better performance when taking multiple photos quickly, by turning this to "no". Let me know your results...


    cstark27 v3.6
    If you have issues, Clearing App Data is recommended. Open "Camera"> Settings>About>View App Settings Page>Storage>Clear Data

    LG G6 Lineage users can use the toggle in the wide angle APK to fix their camera ID issue. You must force close the app.

    -Added 5 Exposure Time settings for Adaptive Shutter Speed. "Super Slow" is the same as V3.5. "Very Slow" is about 2x faster and so on and so forth. On my phone "Slow" is not actually Slow and matches normal HDR+ Enhanced speed. But it may change depending on device so I left it.

    -Normal APK: Save HDR+ choice after going into Settings (credit Miniuser123)

    -Organized Settings>Advanced by grouping all HDR+ Enhanced stuff into a section. Changed a couple strings so they'd be translated to other languages.

    -Skip Color Fix if Adaptive Shutter is enabled

    -Removed Slow Motion menu item unless you have a LG G5, G6, V20, or V30. BUT, you can enable it in Settings>Experimental.

    -Wide APK: Change HDR+ Config to Taimen so ZSL (Zero Shutter Lag) is back, but I've defaulted HDR+ to Enhanced. This won't change until you clear app data or go into settings though.

    -Wide APK: Remove Slow Motion menu item


    cstark27 v3.5
    -Clearing App Data is recommended. Open "Camera"> Settings>About>View App Settings Page>Storage>Clear Data
    -Added Advanced>HDR+ Enhanced Portrait Mode : This forces Portrait Mode to use HDR+ Enhanced which will offer better dynamic range but you lose Zero Shutter Lag (Thanks Arnova8G2 for this cool trick)
    -Added Advanced>HDR+ Enhanced Adaptive Shutter Speed : This is the Slow Shutter mod from miniuser123. I would say this is "beta" for LG devices. I know on my V30 some tuning is needed to the parameters but I want your guys feedback first. It only affects HDR+ Enhanced. The shutter speed will slow down the darker your scene is. You probably want a tripod or something to prop your phone against, for best sharpness. In normal lighting the shutter speed seems to be the same as before so I don't think it would be a negative to leave this on - but it's your choice and needs testing.
    -Added LG G6 Lineage Camera ID Fix toggle to Wide Angle APK so there shouldn't need to be separate Lineage builds for G6 anymore
    -Optimizations courtesy of Arnova8G2


    cstark27 v3.4
    -Added Lens Blur Mode on side menu
    -Added Advanced>LG G6 Color Fix from cstark27 v3
    -Removed Zero Shutter Lag option from Wide Angle due to issue with very over-exposed highlights. Will be brought back when this issue is fixed.
    -Removed Disable ZSL toggle as it did not fix anything and caused more problems


    cstark27 v3.3
    -IMPORTANT: CLEAR APP DATA after installing. This version changes the configs a little bit so more problems may happen if you do not erase app data.
    -Fixed Wide Angle HDR+ Processing with Zero Shutter Lag (ZSL)
    -Improved Re-focus after touch to focus
    -Added JPEG Quality toggle
    -Added Disable ZSL Config: switch between Pixel ZSL or Nexus 6 No ZSL configs
    -Adjust look of settings and add About section from Arnova8G2

    LG G6 owners: There may still be a purple tint in shadows in low light when using HDR+ Enhanced. I am still working on a solution but it is hard to find without having the device. There are apps that provide a black level offset to correct this but in tests we have seen that only the first HDR+ Enhanced photo is usually purple tinted but remaining photos are fine. Tapping to set focus and exposure also seems to help. I would also try the "Disable ZSL" setting and see if that helps. Huge shoutout at Mefiboshet for all of his testing and letting me pester him with test versions all the time.

    2 Separate APK's (download both, they do not require each other though so you can use a different normal lens version if you want):
    Download Standard Lens + Front Cam cstark27_GCam_5.1.018_24_v3.3
    Download Wide Lens + Front Cam cstark27_GCam_5.1.018_24_wide_v3.3


    There is no model or config to set, you should be good to go after installing. But here is the setup:

    -Normal Lens APK Config:
    --LG G6
    ---Rear Model: Nexus 6 (shamu), Front Model: Huawei Nexus 6P (angler)
    --All other devices
    ---Rear Model: Pixel 2 XL (taimen), Front Model: Huawei Nexus 6P (angler)
    -Wide Lens APK Config:
    --LG G6
    ---Rear Model: Nexus 6P (angler), Front Model: Huawei Nexus 6P (angler)
    --LG G5, V20, V30
    ---Rear Model: Pixel 2 XL (taimen), Front Model: Huawei Nexus 6P (angler)


    cstark27 v3.1 standard and v3.2 wide
    -JPEG quality increased to 98% by default
    -Removed LG G6 Color Fix option hoping the model change fixes their color issues (you may Delete Data of the app)
    -HDR+ Parameters moved to Advanced menu

    cstark27 v3 wide angle beta 1 (with LG G6 LineageOS patch)
    -Separate APK based off cstark27 v3
    -Fix front camera crash
    -Change "config" to Nexus 6P (ZSL on the wide angle does not process HDR+ currently, so this ensures the user always gets HDR+ processing)

    cstark27 v3 wide angle alpha
    -Separate APK based off cstark27 v3
    -ALPHA version of wide angle support

    cstark27 v3
    -fix G6 video (and probably other Android 7.0 devices) thanks to Arnova8G2
    -add LG G6 Color Fix option under advanced thanks to Arnova8G2

    cstark27 v2.1
    -EXIF fix, thanks Arnova8G2
    -Enable HDR+ toggle by default
    -Uncheck camera:use_photos by default to increase stability (turn back on and test if you want. Enabling this makes it use Google Photos.)
    -Uncheck camera:enable_micro by default to increase stability (turn back on and test if you want. Enabling this enables Motion Photos for Oreo only(?)

    cstark27 v2
    -fixed video on Pixel configs for LG V30

    cstark27 v1
    -based off Scrubber's APK
    -forced model of front camera to Nexus 6P for proper HDR+ Processing and color (thanks BSG)
    -rear model is set to Taimen

    FAQ
    Q: I'm on Oreo and my device constantly reboots?
    A: Follow the steps in this post https://forum.xda-developers.com/showpost.php?p=77133433&postcount=1069

    Q: Do I need to change any settings?
    A: This mod is optimized for the LG G5, G6, V20, & V30 to run without changing any settings. Some settings in the Settings>Advanced menu will provide higher quality, with their own downsides. Experiment at your own will.

    Q: What devices does this work for?
    A: The normal (not wide angle) version should work fine on devices that have a decent Camera2 API support. Snapdragon Galaxy S8, Note 8, Nokia 6, Nokia 8, Essential PH-1, HTC U11, etc.

    Thanks To/Credits
    As always, thanks to Scrubber (whose APK I started with), Arnova8G2, BSG and all the other devs working on these projects.

    XDA:DevDB Information
    [GCam] [Wide Angle] LG G5,LG G6,LG V20,LG V30 - v4.2, Device Specific App for the XDA Community Apps

    Contributors
    cstark27, cstark27, fu24, Arnova8G2, defcomg, B-S-G, many more

    Version Information
    Status: Beta

    Created 2018-11-28
    Last Updated 2018-12-11
    52
    I modified san1ty's version to have the normal lens in all the modes. It installs separately from other versions. I have been busy and sick so haven't got much time to work on the project. On the G7, Night Sight is laggy and overall stability is still a bit weak. Play around with the Model etc in BSG Settings and see if something shows to be more stable and let us know (and what LG you have).

    Download (through web browser): https://forum.xda-developers.com/devdb/project/dl/?id=30978

    Wide angle version (the original san1ty version): https://f.celsoazevedo.com/file/gcamera/MGC_6.1.021_Potter_v4F-san1ty-final.apk
    47
    Alright guys. Let's try this out. I have added my PayPal donation email to my profile. If you are able to help, anything is appreciated. I have not accepted donations in the past for my work except 1 or 2 days so if you've found use with my mod in the past and also want to show your thanks please consider donating.

    If I can get a LG G7, that would cover (7) LG devices to support. The G7's are pretty cheap these days, all things considered. About $300 USD. More than half off MSRP already. :eek:

    Thank you all for your consideration.
    45
    V3.6

    cstark27 v3.6
    If you have issues, Clearing App Data is recommended. Open "Camera"> Settings>About>View App Settings Page>Storage>Clear Data

    LG G6 Lineage users can use the toggle in the wide angle APK to fix their camera ID issue. You must force close the app.

    -Added 5 Exposure Time settings for Adaptive Shutter Speed. "Super Slow" is the same as V3.5. "Very Slow" is about 2x faster and so on and so forth. On my phone "Slow" is not actually Slow and matches normal HDR+ Enhanced speed. But it may change depending on device so I left it.

    -Normal APK: Save HDR+ choice after going into Settings (credit Miniuser123)

    -Organized Settings>Advanced by grouping all HDR+ Enhanced stuff into a section. Changed a couple strings so they'd be translated to other languages.

    -Skip Color Fix if Adaptive Shutter is enabled

    -Removed Slow Motion menu item unless you have a LG G5, G6, V20, or V30. BUT, you can enable it in Settings>Experimental.

    -Wide APK: Change HDR+ Config to Taimen so ZSL (Zero Shutter Lag) is back, but I've defaulted HDR+ to Enhanced. This won't change until you clear app data or go into settings though.

    -Wide APK: Remove Slow Motion menu item

    2 Separate APK's (download both, they do not require each other though so you can use a different normal lens version if you want):
    Download standard rear + front cam: cstark27_GCam_5.1.018_24_v3.6

    Download wide rear + front cam: cstark27_GCam_5.1.018_24_wide_v3.6
    44
    Hey guys,

    You helped raise 85% of my initial goal, so I upped my budget to order an almost new G7 for $340 which will make me more likely to try to use it daily over the Pixel 2. I appreciate all your help! Hopefully it will arrive by the end of next week.

    Thanks:
    Doblix
    speedyburnzales
    "Ari S"
    "Hank B"
    Cryptecks
    mongoload
    "Carsten O"
    meteorvn
    "Maxwell T"
    "Brandon O"
    bdasmith (2x!)
    "Erik G"
    djfreaky
    "Michal J"
    casey08
    "Melita K"
    "Matthias P"
    "Damian K"
    hotmocca
    jon313
    charliebigpot
    bobi1024
    y*******[email protected]
    Ascended 1
    "Sasa J"
    deadpool2727
    Jacky_2
    "Donald R"
    gerciolisz
    "Tyler B"