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

[OP3/3T] Modded Google Camera with HDR+, 60FPS video and Slow Motion

Search This thread

miksi

Senior Member
Dec 8, 2009
120
6
What I notice that Model Nexus 6 gives me a slightly better dynamic range. Probably in this model lower exposure has been used than usual. OP3, v11.1, latest unrooted oxygen os.
 

Arnova8G2

Senior Member
Sep 22, 2012
1,847
17,797
hello @bsg19071979 (B-S-G),
For a little help, I added two new HDR + camera config, but I have a black screen.
Pixel 2017 Zsl Hdr PD (Phase Detection Autofocus)
The code dil.smali:
Code:
    :cond_a
    iget-object v0, p0, Ldil;->d:Lbhn;
    invoke-virtual {v0}, Lbhn;->cgc()I
    move-result v0
    const/16 v6, 0x9
    if-ne v0, v6, :cond_b
    sget-object v0, Ldil;->a:Ljava/lang/String;
    const-string v2, "Selected Pixel 2017 Zsl Hdr PD OneCamera configuration."
    invoke-static {v0, v2}, Lbhz;->c(Ljava/lang/String;Ljava/lang/String;)V
    invoke-static {p4, p2}, Ldil;->a(Ldii;Lgdq;)Ldql;
    move-result-object v2
    const/4 v0, 0x1
    new-array v0, v0, [I
    const/4 v3, 0x0
    const/16 v4, 0x101
    aput v4, v0, v3
    invoke-static {p2, v0}, Ldil;->a(Lgdq;[I)Ligq;
    move-result-object v0
    invoke-static {v0}, Liya;->b(Ljava/lang/Object;)Ljava/lang/Object;
    new-instance v3, Ldqf;
    invoke-static {p4}, Ldil;->a(Ldii;)I
    move-result v4
    iget-object v0, v0, Ligq;->b:Lici;
    invoke-direct {v3, v4, v0}, Ldqf;-><init>(ILici;)V
    invoke-direct {p0}, Ldil;->a()Legu;
    move-result-object v4
    new-instance v0, Ldog;
    invoke-direct {v0, v1, v2, v3, v4}, Ldog;-><init>(Ldoc;Ldql;Ldqf;Legu;)V

    :cond_b
    sget-object v0, Ldil;->a:Ljava/lang/String;
    const-string v2, "Selected Pixel 2017 Zsl Hdr No PD OneCamera configuration."
    invoke-static {v0, v2}, Lbhz;->c(Ljava/lang/String;Ljava/lang/String;)V
    invoke-static {p4, p2}, Ldil;->a(Ldii;Lgdq;)Ldql;
    move-result-object v2
    invoke-direct {p0}, Ldil;->a()Legu;
    move-result-object v3
    new-instance v0, Ldof;
    invoke-direct {v0, v1, v2, v3}, Ldof;-><init>(Ldoc;Ldql;Legu;)V
    goto :goto_0
Video example of the Phase Detection Autofocus mode
https://www.youtube.com/embed/_KkV_h5xv8g
 

tfae

Senior Member
Feb 14, 2015
971
643
HTC Wildfire S
Xiaomi Mi 4C
I'm on Arnova's 5.1.016_v1.1 but can't find the option "camera.use_photos" under "Debugging and tools".
The slow motion breaks too.

I'm currently on OxygenOS 5.0 on OP3T and using Magisk module "HEVC+SM GC OP3&3T and OP5"
 

S4turno

Senior Member
Feb 10, 2012
1,836
9,950
London, UK
OnePlus One
OnePlus 2

Attachments

  • front-camera-test.jpg
    front-camera-test.jpg
    266.6 KB · Views: 930

S4turno

Senior Member
Feb 10, 2012
1,836
9,950
London, UK
OnePlus One
OnePlus 2
I'm on Arnova's 5.1.016_v1.1 but can't find the option "camera.use_photos" under "Debugging and tools".
The slow motion breaks too.

I'm currently on OxygenOS 5.0 on OP3T and using Magisk module "HEVC+SM GC OP3&3T and OP5"

Install Google Photos and see if it works:

Can't open photos from inside the app:
Fix 1:
Go to "Debugging and tools", uncheck "camera.use_photos" and restart the app.

Fix 2:
Install the Google Photos app and try again.
 

tfae

Senior Member
Feb 14, 2015
971
643
HTC Wildfire S
Xiaomi Mi 4C

S4turno

Senior Member
Feb 10, 2012
1,836
9,950
London, UK
OnePlus One
OnePlus 2

tfae

Senior Member
Feb 14, 2015
971
643
HTC Wildfire S
Xiaomi Mi 4C
Try using "default" for your "hdr+ parameters" and see if it's faster. I can't test it myself as I don't use OOS.

It was already on default.
The app is configured with the suggested settings, but it sometimes crashes when taking photos of bright things (such the PC screen), so I think the suggested settings are not stable for OOS 5.0.

I think that the lag when opening the taken photo is because it is still being processed (but no "processing" message is shown) and because I have RAW enabled.

EDIT: each photo ends up on a separated folder and not on the default Camera folder
 

Attachments

  • Screenshot_20171119-170622.jpg
    Screenshot_20171119-170622.jpg
    153 KB · Views: 2,050
  • Screenshot_20171119-170640.jpg
    Screenshot_20171119-170640.jpg
    76.2 KB · Views: 2,028
  • Screenshot_20171119-170647.jpg
    Screenshot_20171119-170647.jpg
    243.5 KB · Views: 2,012
Last edited:

tfae

Senior Member
Feb 14, 2015
971
643
HTC Wildfire S
Xiaomi Mi 4C

ProudRed

Senior Member
Nov 16, 2015
1,381
167
OnePlus 3T
OnePlus 6T
Stable settings for Arnova8G2's apks based on GCam 5.1.014, v10 or above. Tested on a OP3 running LOS 14.1.

Settings:
Config camera HDR+:
Nexus 6 Auto (or something with "Nexus 6" in the name. Nexus 6P and Pixel settings are not stable)
Model:
Pixel 2XL (or Nexus 6P if you want more detailed images)
HDR+ parameters:
Default (or higher)

- Check the "Advanced" menu for some useful settings/features.
- Android Oreo users: you may need to go to "Debugging and tools" and uncheck "camera.use_photos" so you can see your photos from inside the app.
- The rest (video resolution, camera sounds, etc) is up to you.

Warning: You need to restart the app so the new settings are applied.

Screenshots:
Screenshot_20171118-160814.png
Screenshot_20171118-160819.png


Why these settings?
Model:
It's up to you. I use the "Nexus 6P" option because it produces more detailed/crisp photos (downside: more noise) when compared to the Pixel settings. Because most users seem to prefer the "Pixel" quality (less noise and smaller file size, but also less detail), if you are one of them, use the "Pixel 2XL" option.

Config camera HDR+:
On the OP3/3T we are forced to choose one of the "Nexus 6" settings (Nexus 6 Auto, Nexus 6 ZLS, etc). All the other configs crash the app or work partially (but end up crashing under certain conditions... eg: when taking pictures of bright things).

HDR+ parameters:
tl;dr: higher settings = better quality, but it takes more time to process the image.

Others have shared their tests here and the difference is not huge, so start with the "default" setting (the lower available) and go higher if needed.

I am using Pixel ZSL HDR+ as config camera to experiement if I can get the ZSL thing to work and Nexus 6p as camera model to get more detailed images.... the app hasnt crashed as yet. Anything I can change to get the ZSL thing to work perfectly ?
 

Larsush

Senior Member
Feb 20, 2015
78
13
Everyone who is complaining about slow motion, why not use OnePlus own camera app for slow motion? Isn't that the [email protected]? (It can't be 240fps?)

I have slow motion on OnePlus 3 w/ OOS Oreo beta and works just fine. You can find it from APK mirror as "OnePlus Camera 2.4.17".
 

AcmE85

Senior Member
Jan 19, 2012
2,930
3,691
Everyone who is complaining about slow motion, why not use OnePlus own camera app for slow motion? Isn't that the [email protected]? (It can't be 240fps?)

I have slow motion on OnePlus 3 w/ OOS Oreo beta and works just fine. You can find it from APK mirror as "OnePlus Camera 2.4.17".

The problem isn't slowmotion not working with the stock camera app, it's that Google Camera offers slowmotion WITH audiorecording when you modify the media_profiles.xml.
You can additionally edit the recorded video with Google Photos to get that nice slowmotion+audio distortion kicking in at a specific point in your video, just like on the Pixels or iPhones for example.

The main problem: the location of the xml changed in Oreo, but @theduke7 already figured that one out. Now it's to find out why it crashes for some and not for others.
 
Last edited:
  • Like
Reactions: theduke7

tfae

Senior Member
Feb 14, 2015
971
643
HTC Wildfire S
Xiaomi Mi 4C
Everyone who is complaining about slow motion, why not use OnePlus own camera app for slow motion? Isn't that the [email protected]? (It can't be 240fps?)

I have slow motion on OnePlus 3 w/ OOS Oreo beta and works just fine. You can find it from APK mirror as "OnePlus Camera 2.4.17".

It's not complaining, it's sharing information that a feature doesn't work so it can be fixed. ;)
 
  • Like
Reactions: theduke7

Top Liked Posts

  • There are no posts matching your filters.
  • 433
    google-camera.png

    Google Camera Port
    Stable versions and configs for the OnePlus 3/3T.


    [ FAQ's/Troubleshooting | Front camera fix | ARCore & Playground ]​

    Features:
    Features depend on the GCam and Android version used, but overall:

    - HDR+ Enhanced, Night Mode, Portrait Mode, Timelapse, Motion Photos, Lens Blur, Panorama, Photo Sphere, Photobooth, Motion tracking.
    - Video (30/60FPS at 1080p, 30FPS at 4K), Timelapse, Slow motion (with a fix, check the FAQs for more info).
    - ARCore and Playground (follow this guide);


    How to use:
    1. Download and open/install the apk file (how to).
    2. Unless there's a "configs" or "suggested settings" link next to the download link or some settings posted with the apk, the app is ready for use.

    - Some *old* versions require the front camera fix. 3T users also need this fix in order to take 16MP photos with the front camera.
    - Feel free to explore the settings, but keep in mind that enabling the wrong options will cause problems.
    - Issues? Check the troubleshooting post.


    Downloads:
    GCam 6 or 7 are probably the best for this phone, but newer versions are also available.

    Google Camera 8:
    [Google Photos recommended; For Android 10 and higher;]

    - Arnova8G2: 6.1Beta.210709.0049build-8.1.101 (2021-07-08)
    - Wichaya: GCam_8.1.101_Wichaya_V1.4 (2021-08-03, configs // recommended changes)
    - BSG: Use the latest apk, then make these changes.


    Google Camera 7.3 & 7.4:
    [Google Photos recommended; Users on Android 9/OOS 9 may not see recorded videos. Use older versions or move to Android 10;]

    - Wichaya: GCam_7.3.018_Urnyx05-v2.1_Wichaya_V3.1.1.apk (2020-12-15, configs, Android 9+)
    - Nikita: NGCam_7.4.104-v2.0 (2020-12-06, configs)
    - Tolyan009: MGC_7.4_v1.0h_TlnNeun.apk (2020-09-13, Android 9+)
    - Arnova8G2: GCam_5.200604.2138build-7.3.021.apk (2020-06-05, configs, Android 9+)


    Google Camera 7.2 (Android 9+):
    [Not the best base for the OP3/3T, but it's the last GCam with a built-in gallery/photo viewer.]

    - Tolyan009: MGC_7.2_v0.4_TlnNeun.apk (Tolyan009, 2020-02-27) (Android 9+)


    Google Camera 6.2 (Android 9+):
    - Tolyan009: 6.2.030_TlnNeun_v.0.6d.apk (Tolyan009, 2019-11-19) (Android 9+)
    - Urnyx05: GCam-6.2.030_Arnova8G2_Urnyx05-v2.5.apk (2019-10-20) (Android 9+)
    - Arnova8G2: Gcam_6.2.030_Advanced_V2.2.2beta2.190910.1840.apk (2019-09-10) (Android 9+)
    - MarcAnt01: GCam-6.2.024-cstark27-Urnyx05-MarcAnt01Minimalv2.1.apk (2019-06-29) (Android 9+)


    Google Camera 6.1 (Android 8+):
    - Arnova8G2: Gcam_6.1.021_Advanced_V1.7.190716.1800.apk (2019-07-16)
    - Tolyan009: MGC_6.1.021_BSG_Arnova-based_v.1.4a_TlnNeun.apk (2019-02-28)


    Google Camera 5.x (Android 8+):
    - Arnova's v8.3b1 (2018-08-25):
    - Download | Google Drive | Suggested Settings | Changelog

    - Tolyan's v1.0.15_final_fix (2018-11-02):
    - Download | Google Drive | Suggested Settings | Changelog


    Legacy versions (Android 7+):
    - Arnova's 5.1.018_v1.2 (GCam 5, 2017-12-11):
    - Download | Google Drive | Suggested Settings | Changelog

    - BSG v4.0 (GCam 4, 2017-09-27):
    - Download | Google Drive | Suggested Settings | Changelog


    Credits:
    Arnova8G2, BSG, defcomg, ivanich, Tolyan009, skulshady, Urnyx05, and many others.
    138
    Stable settings for Arnova8G2's apks based on GCam 5.1.014, v10 or above. Tested on a OP3 running LOS 14.1.

    Settings:
    Config camera HDR+:
    Nexus 6 Auto (or something with "Nexus 6" in the name. Nexus 6P and Pixel settings are not stable)
    Model:
    Pixel 2XL (or Nexus 6P if you want more detailed images)
    HDR+ parameters:
    Default (or higher)

    - Check the "Advanced" menu for some useful settings/features:
    -- Portrait mode, RAW, etc (check the main post for a list of working features)
    - Android Oreo users: you may need to go to "Debugging and tools" and uncheck "camera.use_photos" so you can see your photos from inside the app.
    - The rest (video resolution, camera sounds, etc) is up to you.

    Notes/Warnings:
    - Some of the options mentioned here are not available on older apks.
    - You need to restart the app so the new settings are applied.

    Motion Photos:
    - You need to be running Android 8+ (doesn't work on Android 7 or older);
    - Not as stable as the settings above;
    - You need to have Google Photos installed;

    Config camera HDR+:
    One of the Pixel 2017 settings
    Model:
    Pixel 2XL
    HDR+ parameters:
    Default (or higher)
    Photo Resolution (important):
    (16:9) 12.1 megapixels (4:3 don't work with motion photos)

    Warning: You need to restart the app so the new settings are applied.

    Screenshots:
    Screenshot_20171118-160814.png
    Screenshot_20171118-160819.png


    Why these settings?
    Model:
    It's up to you. I use the "Nexus 6P" option because it produces more detailed/crisp photos (downside: more noise) when compared to the Pixel settings. Because most users seem to prefer the "Pixel" quality (less noise and smaller file size, but also less detail), if you are one of them, use the "Pixel 2XL" option.

    Config camera HDR+:
    On the OP3/3T we are forced to choose one of the "Nexus 6" settings (Nexus 6 Auto, Nexus 6 ZLS, etc). All the other configs crash the app or work partially (but end up crashing under certain conditions... eg: when taking pictures of bright things).

    HDR+ parameters:
    tl;dr: higher settings = better quality, but it takes more time to process the image.

    Others have shared their tests here and the difference is not huge, so start with the "default" setting (the lower available) and go higher if needed.
    115
    For those who are waiting for a reply, fixes, etc, from Arnova8G2:

    I'm told that he was in a motorcycle accident and spent a few days in the hospital. According to his friend, he's using a wheelchair, but will be able to walk again with physiotherapy. For this reason, he will be away from development for a while.

    I wish him a full and speedy recovery.
    112
    GoogleCamera_6.1.009.215420794-beta2

    To do a test on OP3/OP3t

    Works on Android 8.1
    - Add fix from B-S-G mod
    - Fix all devices with a green hue on the front camera
    - Fix pink tint for some device Samsung
    - Some fix for OP5t

    Works on OP5t OOS 8.1 B18, OP6 OOS 9.0.1, Mi5 Lineage OS 15.1, Mi5s Lineage OS 16.

    All works except Slow motion, Photobooth and Zoom for OP5t/OP6.

    Drive google :
    https://drive.google.com/open?id=1dK6rVJNGYYxK2rcRd8M6MXImYQa6MN3g

    Mirror XDA:DevDB :
    https://forum.xda-developers.com/devdb/project/dl/?id=30658
    108
    Fixes moved to this page:

    » Front Camera Fix and Slow Motion Fix the OnePlus 3 and 3T

    Feel free to use this thread for support.