65

[OP3/3T] Modded Google Camera with HDR+, 60F… - Pg. 224 | OnePlus 3

 6 years ago
source link: https://forum.xda-developers.com/oneplus-3/how-to/modded-google-camera-hdr-60fps-video-t3658552/post75041102
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

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

soder

Senior Member
Mar 19, 2010 1,602
It's noisy too stock camera is better!

I would say it's pretty good pictures considering it's a pretty dark room and all that...

/Söder

Sent from my ONEPLUS A3003 using Tapatalk

kokesh

Senior Member
Jul 20, 2010 1,169 Xiaomi Mi 9
woww...i miss my nexus 6p now. :crying:... I wish for the new year only HDR + in front camera in oneplus 3..and thank you @Arnova8G2 for your work.

What is the point of HDR+ in the front camera? More detailed duckface?

Grander0

Senior Member
Oct 16, 2016 OnePlus 7 Pro
What is the point of HDR+ in the front camera? More detailed duckface?

OP3's front camera needs all the help it can get when it comes to detail.

666biker

Senior Member
Oct 2, 2014
LineageOS 14.1 from 29thDec stock kernel I had before
previously ure using what kernel?

Arnova8G2

Senior Member
Sep 22, 2012 1,848 17,801
Hello and happy new year to all
Portrait mode is not compatible with our devices.
As you could see here : https://android.googlesource.com/de...e/camera/QCamera2/HAL3/QCamera3VendorTags.cpp
NEXUS_EXPERIMENTAL_2016_HYBRID_AE_ENABLE does not exist on the sources of our device.
Here is a version force portrait mode and hdr +
https://drive.google.com/open?id=1PtSxFG8I36oBI5L3445g42UHqBSJ-tRU

As soon as I'm in front of my computer, I'll try to fill in these codes if it's possible
Hello and happy new year to all
Portrait mode is not compatible with our devices.
As you could see here : https://android.googlesource.com/de...e/camera/QCamera2/HAL3/QCamera3VendorTags.cpp
NEXUS_EXPERIMENTAL_2016_HYBRID_AE_ENABLE does not exist on the sources of our device.
Here is a version force portrait mode and hdr +
https://drive.google.com/open?id=1PtSxFG8I36oBI5L3445g42UHqBSJ-tRU

As soon as I'm in front of my computer, I'll try to fill in these codes if it's possible
Thanks man you're Santa for all of as
You can do it keep helping as

mweinbach

Portal Writer
Feb 13, 2016 1,342 Connecticut
Hello and happy new year to all
Portrait mode is not compatible with our devices.
As you could see here : https://android.googlesource.com/de...e/camera/QCamera2/HAL3/QCamera3VendorTags.cpp
NEXUS_EXPERIMENTAL_2016_HYBRID_AE_ENABLE does not exist on the sources of our device.
Here is a version force portrait mode and hdr +
https://drive.google.com/open?id=1PtSxFG8I36oBI5L3445g42UHqBSJ-tRU

As soon as I'm in front of my computer, I'll try to fill in these codes if it's possible

That apk results in a black screen

Arnova8G2

Senior Member
Sep 22, 2012 1,848 17,801
Fix the blur with the config Huawei-angler : https://drive.google.com/open?id=1bCzmOejYOfCBlT1GZWKpIWVTPgA7eXf5
If possible do the test of light of screen, if its force the closing.
Any code that might work to add in the build.prop file
# 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
That apk results in a black screen

Make a logcat I'm coming home soon

Last edited: Jan 1, 2018

mweinbach

Portal Writer
Feb 13, 2016 1,342 Connecticut
Fix the blur with the config Huawei-angler : https://drive.google.com/open?id=1bCzmOejYOfCBlT1GZWKpIWVTPgA7eXf5
If possible do the test of light of screen, if its force the closing.

Make a logcat I'm coming home soon
This one works with taking pictures. Cant take pictures in portrait mode though. I am also out and cant make a logcat. Also, ARStickers work on Note8 without calibration_cad.xml

xterminater07

Senior Member
Dec 4, 2010 1,581
Hello and happy new year to all
Portrait mode is not compatible with our devices.
As you could see here : https://android.googlesource.com/de...e/camera/QCamera2/HAL3/QCamera3VendorTags.cpp
NEXUS_EXPERIMENTAL_2016_HYBRID_AE_ENABLE does not exist on the sources of our device.
Here is a version force portrait mode and hdr +
https://drive.google.com/open?id=1PtSxFG8I36oBI5L3445g42UHqBSJ-tRU

As soon as I'm in front of my computer, I'll try to fill in these codes if it's possible
Tested on my essential phone, front camera do not work. It won't take picture at all, back camera work but extremely blurry.

---------- Post added at 05:04 PM ---------- Previous post was at 04:44 PM ----------
Fix the blur with the config Huawei-angler : https://drive.google.com/open?id=1bCzmOejYOfCBlT1GZWKpIWVTPgA7eXf5
If possible do the test of light of screen, if its force the closing.
Any code that might work to add in the build.prop file


Make a logcat I'm coming home soon
This version works great even in low light but only with back camera for the essential phone! Please show me how to do a logcat so I can submit data. Do I need to be rooted?

mweinbach

Portal Writer
Feb 13, 2016 1,342 Connecticut
Tested on my essential phone, front camera do not work. It won't take picture at all, back camera work but extremely blurry.

---------- Post added at 05:04 PM ---------- Previous post was at 04:44 PM ----------

This version works great even in low light but only with back camera for the essential phone! Please show me how to do a logcat so I can submit data. Do I need to be rooted?
Shouldn't need to be. I am not rooted and portrait mode only works with rear camera. Not front camera.

xterminater07

Senior Member
Dec 4, 2010 1,581
Shouldn't need to be. I am not rooted and portrait mode only works with rear camera. Not front camera.
I'm using Matlog but I don't see anything logging when I press the front camera. Can you show me how to take logcat properly?

lutyjj

Senior Member
Nov 25, 2013 Wrocław
Fix the blur with the config Huawei-angler : https://drive.google.com/open?id=1bCzmOejYOfCBlT1GZWKpIWVTPgA7eXf5
If possible do the test of light of screen, if its force the closing.
Any code that might work to add in the build.prop file


Make a logcat I'm coming home soon

Works perfectly with main rear camera!
Using on OOS OB29 without any build.prop modifications. Keep up good work!

Last edited: Jan 1, 2018

Reactions: Greo23 and user334

xterminater07

Senior Member
Dec 4, 2010 1,581
I'm on Oreo Beta 2 for the Essential, and tried both MatLog and just Logs and every time I tried to hit the share button the app crashes... can someone help me take logs not rooted?

rafa10pj

Member
May 25, 2014 Montevideo
Fix the blur with the config Huawei-angler : https://drive.google.com/open?id=1bCzmOejYOfCBlT1GZWKpIWVTPgA7eXf5
If possible do the test of light of screen, if its force the closing.
Any code that might work to add in the build.prop file


Make a logcat I'm coming home soon

This works great on OP3 running Omni 8.1 31-12. Results are amazing.

Reactions: djtnh and crian

djtnh

Senior Member
Mar 31, 2013 Skopje
This works great on OP3 running Omni 8.1 31-12. Results are amazing.
confirmed working portrait mode on the back camera on open beta 20 ... results are stunning....holly s**t!!! ?

Samples:
https://drive.google.com/file/d/1u5EjsRyPkG4077TE_BML-EyPHSyuY6tR/view?usp=drivesdk
Last edited: Jan 2, 2018
Tested on my essential phone, front camera do not work. It won't take picture at all, back camera work but extremely blurry.

---------- Post added at 05:04 PM ---------- Previous post was at 04:44 PM ----------

This version works great even in low light but only with back camera for the essential phone! Please show me how to do a logcat so I can submit data. Do I need to be rooted?
You dont need to be rooted. If you have adb, just run adb logcat in powershell or command prompt. I am playing with it now

xterminater07

Senior Member
Dec 4, 2010 1,581
You dont need to be rooted. If you have adb, just run adb logcat in powershell or command prompt. I am playing with it now
please submit some logcats to the dev to see if he can figure out what's wrong. Are you the one who fixed the sound issue for the essential arnova8g2's mod? If you are, did you see my message about applying your fix to the BSG ones?
please submit some logcats to the dev to see if he can figure out what's wrong. Are you the one who fixed the sound issue for the essential arnova8g2's mod? If you are, did you see my message about applying your fix to the BSG ones?
Yea, beats the crap outta me why it doesn't work right on bsg

---------- Post added at 02:28 AM ---------- Previous post was at 02:25 AM ----------

@Arnova8G2 here is a logcat from essential PH-1

https://drive.google.com/file/d/1AD62Brbqh4eIqJTpOatzrxg70fkJldFD/view?usp=drivesdk

xterminater07

Senior Member
Dec 4, 2010 1,581
You dont need to be rooted. If you have adb, just run adb logcat in powershell or command prompt. I am playing with it now
Yea, beats the crap outta me why it doesn't work right on bsg

---------- Post added at 02:28 AM ---------- Previous post was at 02:25 AM ----------

@Arnova8G2 here is a logcat from essential PH-1

https://drive.google.com/file/d/1AD62Brbqh4eIqJTpOatzrxg70fkJldFD/view?usp=drivesdk
can you do a logcat with bsg's version and compare it to the arnova8g2 to see why your patch is not working correctly with the BSG's?

Ok so I just found out the modded Camera NX of Arnova8G2 HDR+ works on the Essential, but it has to be set to HDR+ enhanced instead of auto. Sounds is lost as well. Can you take a logcat and submit to arnova8g2?
Last edited: Jan 2, 2018

Top Liked Posts

  • 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;]

    - BSG: MGC_8.1.101_A9_GV2b (2022-05-31, try these configs)
    - Arnova8G2: 6.1Beta.210709.0049build-8.1.101 (2021-07-08)
    - Wichaya: GCam_8.1.101_Wichaya_V1.5 (2021-12-12, configs // recommended 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.
    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:


    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.
    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.
    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 XDAevDB :
    https://forum.xda-developers.com/devdb/project/dl/?id=30658

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK