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

Search This thread

patruns

Senior Member
May 30, 2011
1,027
101
For anyone that also uses Norton, there is a conflict and Norton will flag it as maleware. You can't "trust" it and you can't dismiss the Norton notification.
 

urushiol

Senior Member
Mar 18, 2010
552
76
Everything works for me except photosphere. It will capture a photosphere image, but it's distorted and stretched.

Despite that, the HDR+ function works so good, and I think it looks better than the LG camera.
 

dkimmortal

Senior Member
Aug 16, 2011
347
109
thanks for this post! wouldn't know otherwise, i did test it and its pretty awesome!
Especially more realistic colours in low light if you can keep the camera stable. Not to be used for moving subjects.
In Daylight, the G6's camera is great by itself so i probably won't use it in those scenarios.
zpF7BRT.png


Left is LG Camera, Right is Google camera w/ HDR+

Real life looked very close to how the Google camera processed the image.
 

Mistaken

Member
Feb 13, 2011
10
1
Sounds great, but can't even get it to install on my G6 (european).
I Download the apk, click ist to install, but just can't hit the "install" button, just "cancel".
Of course "other sources" are allowed in settings. Does anyone have any ideas?
Thanks!
 

kulvertti

Senior Member
Dec 28, 2012
696
596
Sounds great, but can't even get it to install on my G6 (european).
I Download the apk, click ist to install, but just can't hit the "install" button, just "cancel".
Of course "other sources" are allowed in settings. Does anyone have any ideas?
Thanks!
You may have some app that have screen overlay on (draw over other apps) like screen rotation or f.lux. Find it and disable that permission when install this.
 
  • Like
Reactions: Mistaken

globiboulga

Senior Member
Mar 19, 2009
161
16
Tried it today in low light and its a significant improvement. Not sure about daylight so will look at that as well. Obvioulsy only works with one lens.
 

tweedie

Senior Member
Dec 28, 2007
164
10
Mine keeps crashing sometimes when I take a photo - I think it might be due to setting the resolution at 16:9 (9.7mp) resolution. Missed a great shot as well!
 

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.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone