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

Google Camera HDR+ (V4.0) ported to SD820/821 and works with G6

Search This thread

Kisakuku

Senior Member
Oct 31, 2011
2,590
4,617
B-S-G's Modded Google Camera 4.4.020 with HDR+ for Android 7.0 / ARM64 v4.0 All-in-One Full Manual

  • Download
  • Changelog:
    • Added manual selection of device libraries under Settings / Model
      • v3.8d All-in-One Full Manual used Pixel XL (corr) libraries
  • Settings for HDR+ support:
    • Support level override - Nexus_2015
    • Supported hardware level, rear camera - Limited
    • Supported hardware level, front camera - Limited
      • If unsupported, use Level_3 instead
  • Known effects of device libraries (for Xiaomi Mi 5s)
    • Nexus 6 - no HDR+ On in low light
    • Nexus 6P - best sharpness, larger file size, color balance shifted toward green in shadows
    • Pixel 2 XL - color balance shifted toward red in shadows
    • Pixel XL (orig) - low sharpness, smaller file size
    • Pixel XL (corr) - good sharpness, neutral color balance
  • New settings take effect after application is restarted
  • Must clear data / cache after installation and if the app force closes
 

MaorSwan

Senior Member
Oct 30, 2012
151
2
I've had the Nexus 6p for the past 2 years and now have bought the G6. I was REALLY disappointed by the camera but this app is great and improved my pictures big time. Though no matter what I do or which settings I set, HDR+ won't work on front camera. It either collapses or can't access it. Any ideas?
 

flaviusbob

Member
Jul 7, 2011
25
16
I was as well disappointed of my g6 cam, after the g4 and g5. The G6 image processing is pushing over-sharpening to compensate for a smaller sensor. With the help of the Google cam, the results are now much better, but still is a beta product and I hope people get involve and offer feedback in settings to help optimize the gcam. The front cam hdr is not working to me either.
 

Gabbbbbbb

Senior Member
Oct 7, 2014
190
30
I was as well disappointed of my g6 cam, after the g4 and g5. The G6 image processing is pushing over-sharpening to compensate for a smaller sensor. With the help of the Google cam, the results are now much better, but still is a beta product and I hope people get involve and offer feedback in settings to help optimize the gcam. The front cam hdr is not working to me either.

Does video recording work? How is EIS?
 

Valeriuz

Senior Member
Apr 7, 2017
304
27
Catania
I don't know why, but since version 1.5 Hdr+ auto doesn't work. I've tried a moment ago also last version. I've tried many configs, but still auto mode doesn't turn on hdr when it should be required.

With version 1.5, no problem. Anyone facing the same issue?
 

vitoski

Senior Member
Mar 1, 2009
944
779
Poland
It works for me perfectly fine with the latest version and also previous ones.
Does the HDR+ On work for you or not?
Moreover check the first three options. They should be set like in this screenshot.
f8d0445cd54023972356a7b3a7b1bc3a.jpg
 

Valeriuz

Senior Member
Apr 7, 2017
304
27
Catania
After a reboot now it works! Thank you

In Miui I use Hdr+ Camera just for low light photos, indoor photos, in general every time I need HDR.
If I don't need hdr, for example daylight, I prefer stock camera.

In customs roms I always use Hdr camera.

What device libraries do you suggest to use?
Now I'm using Nexus 6P.
 

vitoski

Senior Member
Mar 1, 2009
944
779
Poland
I used to have Nexus6P set up along with Nexus 6 HDR+ Auto as the camera profile. That set up was giving me the most detailed pictures from all other profiles and settings.
However photos were quite dark, which ruined to whole idea of having a lot of details on the picture:(
Moreover there was that pink tint on white elements.

Now I'm using the same settings as the dev (unless he changed his mind:)

Model (libraries): Pixel XL (Corr)
Config camera: Pixel 2017 (DR Dogfood)
Buffer size: 5
Total imagereader image count: 14
HDR+ burst frame count: 7
Calculation HDR+ imagereader image count: Pixel/PixelXL

Not the perfect setup but for now it needs to work, before I find the time for some tests and pick up the best one for LG G6.
 

flaviusbob

Member
Jul 7, 2011
25
16
I use the following and they work without freezes and I find good balance between color, noise and detail.
Model: Pixel xl(cor)
Suport level override nexus 2015
config camera pixel 2017 zsl hdr#1
bufer size 15
total imagereder count: 14
HDR+ burst frame count:7
Calculation hdr+: pixel, pixel xl
 

dimm0k

Senior Member
Jan 25, 2014
1,542
598
Google Pixel 4 XL
I used to have Nexus6P set up along with Nexus 6 HDR+ Auto as the camera profile. That set up was giving me the most detailed pictures from all other profiles and settings.
However photos were quite dark, which ruined to whole idea of having a lot of details on the picture:(
Moreover there was that pink tint on white elements.

Now I'm using the same settings as the dev (unless he changed his mind:)

Model (libraries): Pixel XL (Corr)
Config camera: Pixel 2017 (DR Dogfood)
Buffer size: 5
Total imagereader image count: 14
HDR+ burst frame count: 7
Calculation HDR+ imagereader image count: Pixel/PixelXL

Not the perfect setup but for now it needs to work, before I find the time for some tests and pick up the best one for LG G6.

I also found the Nexus6P / Nexus 6 HDR+ Auto to give the most details, but also dark. I tried Pixel XL, but noticed it's not as detailed... faster though
 
  • Like
Reactions: vitoski

dimm0k

Senior Member
Jan 25, 2014
1,542
598
Google Pixel 4 XL
What is your setup? Do you have anything to recommend?
Thanks.

I have the LGV20 and my current settings, which seem to be to my liking so far is

Model: Pixel XL (corr)
Config camera: Nexus6 Hdr+ Auto
15 / 14 / 7
Pixel, PixelXL

everything else is on defaults, however I'm bouncing back and forth between the "Pixel, PixelXL" setting and the "Nexus6P", but not seeing much difference
 
  • Like
Reactions: vitoski

charliecantsurf

Senior Member
Sep 8, 2016
66
13
Hey guys,

Is there any way to force the hdr processing in the background like in the v3.8c on the latest version while snapping pictures in the hdr+ mode? It takes too much time to snap multiple photos one after the other since after every shutter button click, the button gets greyed out and a processing wheel comes up, in the 3.8c version the processing part was done in the background so you could snap multiple pictures in "quick" succession. Thank you !
 

Kisakuku

Senior Member
Oct 31, 2011
2,590
4,617
B-S-G's Modded Google Camera 4.4.020 with HDR+ for Android 7.0 / ARM64 v4.0 All-in-One Full Manual, no HDR+ on first launch

  • Download
  • Changelog:
    • Modded v4.0 All-in-One Full Manual to start with HDR+ disabled on first launch in order to avoid FCs on incompatible devices / ROMs
    • If the app FCs after selecting model (libraries) / camera module with HDR+, simply restart the app without clearing data
 
  • Like
Reactions: mirhl

andriman

Senior Member
Feb 11, 2013
195
169
B-S-G's Modded Google Camera 4.4.020 with HDR+ for Android 7.0 / ARM64v4.0 All-in-One Full Manual, no HDR+ on first launch

Download
Modded v4.0 All-in-One Full Manual to start with HDR+ disabled on first launch in order to avoid FCs on incompatible devices / ROMs
If the app FCs after selecting model (libraries) / camera module with HDR+, simply restart the app without clearing data
[/LIST]
Funny, this is actually the first build that really crashes upon install...
 

Top Liked Posts

  • There are no posts matching your filters.
  • 41
    Cstark27 v3

    cstark27_GCam_5.1.018_24_TAT_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

    @Vkboy I toyed with OIS but only ended up creating a crashing app at this time.

    @Mefiboshet I think that verison used the Nexus 6P model, not sure if that alters the overall values but nonetheless I can provide a version with the values you requested. cstark27_GCam_5.1.018_24_TAT_v3_bsg_colors

    I'm probably relatively done after this. This started out as a venture to get the front and rear still captures working on my V30 and achieved that relatively quickly. I don't have much time to continue for other devices I do not own. Plus @Arnova8G2's newest GCam is shaping up to work just fine and he is MUCH more capable than I. I believe it just needs front HDR+ for regular photos (my mod has this). Thanks @ArtZ and @Mefiboshet for extensive testing, their time, feedback and suggestions and thanks everyone else for their suggestions as well. Hopefully this version is pretty good for you guys for a while.
    22
    cstark27 v3 wide angle beta 1

    cstark27 v3 wide angle beta 1
    NOTE: This is built using info from the LG V30 which has 3 camera ID's:
    • Camera 0 (back)
    • Camera 1 (front)
    • Camera 2 (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).

    cstark27_GCam_5.1.018_24_TAT_v3_wide_beta1.apk
    -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_GCam_5.1.018_24_TAT_v3_wide_beta1_lineage.apk

    Changelog:
    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


    Code:
        const/4 v0, 0x0 <---- We count from 0 (front camera)
    
        :goto_0
        if-ge v0, v4, :cond_1
    
        aget-object v5, v2, v0
    
        new-instance v6, Ligc;
    
        invoke-static {v5}, Ligc;->a(Ljava/lang/String;)Ljava/lang/Integer;
    
        move-result-object v7
    
        invoke-direct {v6, v5, v7}, Ligc;-><init>(Ljava/lang/String;Ljava/lang/Integer;)V
    
        invoke-interface {v3, v6}, Ljava/util/List;->add(Ljava/lang/Object;)Z
    
        add-int/lit8 v0, v0, [B]0x1[/B] replace by [B]0x2[/B] <---- We stop at 2 (external camera)
    
        goto :goto_0  <--- If we are not yet at 2 we continue the camera count, we go back to [B]goto_0[/B]
    There must be another code to modify for more bug

    Thank you so much Arnova8G2! Your notes really helped me understand what I was looking at. I did try the suggestion but the phone did not like it. I ended up with

    Code:
    const/4 v0, 0x1 <---- [B]We count from 1 (front camera)[/B]
    
        :goto_0
        if-ge v0, v4, :cond_1
    
        aget-object v5, v2, v0
    
        new-instance v6, Ligc;
    
        invoke-static {v5}, Ligc;->a(Ljava/lang/String;)Ljava/lang/Integer;
    
        move-result-object v7
    
        invoke-direct {v6, v5, v7}, Ligc;-><init>(Ljava/lang/String;Ljava/lang/Integer;)V
    
        invoke-interface {v3, v6}, Ljava/util/List;->add(Ljava/lang/Object;)Z
    
        add-int/lit8 v0, v0, 0x1 <---- [B]Increase by 1, to end at ID 2 (wide angle camera)[/B]
    
        goto :goto_0

    This fixes it so the front cam and rear cam works. At the moment it's looking like a separate app is needed, and to me is much faster than digging in the settings to enable/disable wide angle anyway.

    @Mohsen_alinezhad Portrait Mode still works on my V30, so hopefully on the G6 too. The capture speed from the rear is MUCH slower so hold your phone still, longer than you normally do.




    Thanks for the kind words all, please remember without Arnova8G2, BSG, Scrubber, CameraNX developer, and of course Google, we would all not be here. I am akin to a script kiddy, those are the masters. :good:
    20
    cstark27 v3.1

    cstark27 v3.1
    -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
    -Normal Lens APK Config:
    -LG G5, G6, V20​
    -Rear Model: Nexus 6 (shamu), Front Model: Huawei Nexus 6P (angler), Config: Pixel 2 XL (taimen)​
    -LG V30 and any other device​
    -Rear Model: Pixel 2 XL (taimen), Front Model: Huawei Nexus 6P (angler), Config: Pixel 2 XL (taimen)​
    -Wide Lens APK Config (I recommend setting HDR+ to On since Auto will not always trigger HDR+):
    -LG G5, G6​
    -Rear Model: Nexus 6P (angler), Front Model: Huawei Nexus 6P (angler), Config: Huawei Nexus 6P (angler)​
    -LG V30, V20 and any other device​
    -Rear Model: Pixel 2 XL (taimen), Front Model: Huawei Nexus 6P (angler), Config: Huawei Nexus 6P (angler)​


    Download (normal lens): cstark27_GCam_5.1.018_24_v3.1.apk

    Download (wide angle v3.2):
    cstark27_GCam_5.1.018_24_v3.2_wide.apk

    -v3.2 changes the model for G5 and G6 to Nexus 6P to fix color dots in low light, and changes V20 to Taimen model

    LG G6 Lineage version:
    cstark27_GCam_5.1.018_24_v3.2_wide_G6Lineage.apk

    Outdated:
    Download (wide angle v3.1, separate APK): cstark27_GCam_5.1.018_24_v3.1_wide.apk

    Download (wide angle v3.1 with Nexus 6P model, if you have weird dot issues with the above):
    cstark27_GCam_5.1.018_24_v3.1_wide_n6p.apk



    NOTE: This is built using info from the LG V30 which has 3 camera ID's:
    • Camera 0 (back)
    • Camera 1 (front)
    • Camera 2 (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.


    Previous Versions:
    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


    As always, thanks to Scrubber (whose APK I started with), @Arnova8G2, BSG.
    20
    In the latest version ZSL works only with Pixel Camera Configs and only if HDR is set to Auto.

    A couple of facts and comments for those who are interested... in reading:)
    During the last couple of months I spent a lot of time on testing almost all of the Google Camera versions released by BSG. I have also been following the original thread on 4pda forum where BSG publishes new versions and people are discussing various settings, combinations and share photos.
    After all that time I came to the following conclusions:

    Camera Mode / Model
    # Pixel family (Pixel 2016, Pixel 2XL, Pixel, Pixel 2017 etc.) - it works quite well on our LG G6, BUT only in a good light conditions. If the scene you are shooting gets darker (equals less light for the sensor) it starts to show pink/purple/bluish tint. So if you take a picture in a room/building with bulbs turned on, the photos will have unnatural colors. This happens regardless of the selected Camera Profile.
    # Nexus family (Nexus 5X, Nexus 6, Nexus 6P) - all of these modes work fine with LG G6 in both good and bad light conditions - this means they give close to natural colors in both situations.

    Camera Profile / Config Camera HDR+
    # ZSL (Zero Shutter Lag) profiles - they are meant for quick shoots and work only in HDR+ Auto (HDR+ On - in those versions where we have HDR+ Enhanced settings). So in practice the GCam should snap the photo right after you press on the shutter button (without any delay). Profiles with ZSL worked fine mostly in older versions of GCam (prior to 5.1.016 - all variants). In the latest version (5.1.0.16), only Pixel profiles work with ZSL, but they suffer from autofocus after it was manually set on a specific element.
    # no ZSL (Zero Shutter Lag) profiles - there will be lag introduced between pressing the shutter and taking the photo regardless of the HDR+ settings (Auto/On, Enhanced).

    HDR+ parameters:
    # Default - this seems to be equal to 'Medium', at least by judging from the speed of taking photos when compared with 'Medium' level.
    # Medium - this is the fastest mode for taking pictures in low light, but gives an average level of details and noise.
    ...
    # Super High - the slowest mode, which introduce quite a significant delay before you can take another picture. However, this gives the best level of details and less noise comparing the other settings. Keep in mind that you need to hold your camera steady! Therefore, if you plan to shoot from hand it might not be the best HDR+ parameters level, especially in low light conditions.

    Developer Options
    # Burst mode - enable 'camera.diet_burst' (works both in ZSL and noZSL profiles, as well as with HDR+ Auto/On and Enhanced). Simply hold the shutter button for a little longer.
    # Face recognition - enable camera.faceboxes

    Combinations
    As you are aware, BSG allows to select 'Model', 'Config Camera' and 'HDR+parameters' in his version of Google Camera. This means you can mix how the final photo will be processed - i.e. choosing Nexus 6 (for good color reproduction) as Model and Pixel 2017 HDR+ ZSL for 'Config Camera' you tell GCam to mix the processing algorithms while finalizing the photo.
    In my opinion (very subjective) it is better to use the same "family" and in fact this is something that was giving me the best results so far. I used to use Nexus 6 (Model) with Nexus 2016 Tunning (Config Camera) and Very High (HDR+ parameters). Unfortunately the latest version of GCam broke the ZSL on Nexus like profiles... so if ZSL is something you are after, select one of the Pixel configs.

    To make the long story short, in my opinion, it is not worth to use any of the Pixel Models, as they simply break color reproduction. While it is not visible or barely visible in good light conditions, it is obvious and easily noticeable in low light conditions - especially if you shoot with the highest possible HDR+ option (On/Enhanced - depending on the GCam version).
    In terms of Camera Config - for me either the Nexus 6 or Nexus 6P were giving the best level of details comparing to any Pixel Config on the same level of HDR+ parameters (Very High and/or Super High).

    One more thing!
    From what I have observed and proved by tests, we cannot relay on comments and suggestions from the original thread (4pda). The original topic is focused on Xiaomi Mi5S, which has a different sensor than LG G6. A good example is the Camera Model, people with Xiaomi Mi5S recommend to use Pixel 2016/2017 models as this gives them the best results (in low light!). No purple/bluish tint, good level of details etc.
    That being said, we should come up with our own combinations for LG G6.

    Final ask!
    If there is anyone who speaks Russian and could let BSG know that ZSL doesn't work with none of the Nexus like configs that would be awesome. Personally, I do not speak Russian, hence I have no way of contacting the developer.