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

[OFFICIAL] Google Camera Mod Thread for OnePlus 5/T

Search This thread

oraned

Senior Member
Apr 3, 2010
325
36
i want to now if there is diffrence between hight to super high in photo ?
Because i cant to put in super high "black screen" what i need to do pls?
 

titooo7

Senior Member
Sep 29, 2010
1,687
4,466
London
@Arnova8G2 with your v1.3 test4 we still have the same issue on OP5 stock rom

Touch to focus stop working randomly and you need to try switching between HDR modes, reselect the HDR settings or just close the app and re-open it to get it fixed. You never know which one of those 3 straps will be he one making touch to focus again and you also don't know when it will stop working again.

From what I can see enabling the developer settings on your last comment when touch to focus works the screen shows the following:
AF Mode:Auto State: Active_Scan FOCUSED_LOCKED

I suppose that this is what is suppose to show when touch to focus it's working right?

Please let me know if you need any other logcats capturing one particular action and I will upload it or if so far it's enough with the logcats I uploaded previously
 

dqniel

Member
Nov 13, 2012
17
1
Do any of the versions have working touch to focus functionality?

There are 121 pages of comments here, which I'm guessing means a lot of people have tried this app. So, anybody actually get it working to a degree that's useful?

(this is not a rhetorical question or meant to be passive aggressive. I'm genuinely curious to know if people have gotten this working after tinkering with settings or modifications.)
 

reawo

Senior Member
Sep 30, 2012
153
29
Do any of the versions have working touch to focus functionality?

There are 121 pages of comments here, which I'm guessing means a lot of people have tried this app. So, anybody actually get it working to a degree that's useful?

(this is not a rhetorical question or meant to be passive aggressive. I'm genuinely curious to know if people have gotten this working after tinkering with settings or modifications.)

if you are on oneplus 5, no there is currently no reliably working version. hope this helps
 

oraned

Senior Member
Apr 3, 2010
325
36
Come on... Seriously? Please stop spamming the thread with stuff like this. It's difficult enough to read through everything for anybody interested already. It's a port that has a lot of flaws on the OP5 for reasons explained over and over again.

Sorry, you're right You're doing amazing work:good: thank you all.
 

Rickyloc

Member
Jun 8, 2017
24
2
Does anybody know why the camera keeps closing when I open? both bsg and arnova latest versions as well as the past three. I cleared data after each install. I am, however, able to install and open GC_5.0.009, but no hdr+. Im on purefusion os.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Update from Nikita:

    - NGCam_8.2.300-v1.5 (2021-11-13, configs)

    Changes:

    • Added AUX buttons for front camera (Hide/Show and separated Camera ID)
    • Added manual Color Transform and AWB
    • Added Hexagon DSP (Thanks DsisD)
    • Added manual focus buttons and slider
    • Added formats for resolution without Pixel Binning
    • Added Image Format (HDR)
    • Added more Viewfinder Formats
    • Added LDR for Lib Patcher in Shadow Settings
    • Added Pixel 5a, 6 and 6 Pro models for HDR+ and Interface Style
    • Added config for RN9P
    • Fixed freezes on some SD888 devices
    • Fixed Gamma Curve values
    • Imporved Lib Patcher
    • Optimized some visual things
    • Some fixes and additional changes

    Plus the changes made on v1.3 and v1.4 which I haven't shared here.
    2
    Hi everyone, releasing DotFix v6.2. Download links are in the second post (try the mirrors if the direct download link doesn't work). :)

    Changelog for DotFix v6.2:
    • Fixed a mistake in the installation script
    1
    Thank you! Does this provide any benefit to A11 ROMs?
    No, the libraries are the same. They've been the same since A10 since OOS 10 was the last official release for OP5/T. The zip now allows the installation if A12 is detected (since we have A12 custom ROMs now) and doesn't error out, like the older version did.
  • 191
    EDIT: Updated information is now maintained in the first post.
    154
    google-camera-small.png

    Google Camera Mod for OnePlus 5 (cheeseburger) and 5T (dumpling)

    1. Camera HAL Confusion
    a. Camera HAL Basics
    • First, let's understand what a camera HAL is. A camera HAL is what allows a ROM to "talk to" the camera hardware; without it, the camera would be non-functional. Think of the camera HAL as the steering wheel and pedals of a car. The steering wheel/pedals allow for control of the internal components of the vehicle by providing an external interface for the driver (the ROM) to make use of the internal components.
    • At present, the source code of the camera HAL included in OxygenOS has not been released by OnePlus. Instead, OnePlus has compiled that source code and shipped it on the OnePlus 5/5T as a BLOB (Binary Large OBject). This has been a major setback for custom ROM developers because having access to the camera HAL source would make porting the stock OnePlus Camera to a custom ROM a much easier endeavour.
    b. Camera HAL, Google Camera Mod and Root Requirements
    • The latest releases of the mod require you to be rooted (as you mandatorily need to install DotFix, which contains a modified camera HAL compatible with the latest releases) or the pictures that you click will come out with pink/purple/green tint on them, or will have a dotted pattern on them, or the camera might not work at all. So if you're rooted, then you're good to go. However, if you're unrooted (and prefer staying that way), then you can still use an specific version of the mod which works fine (with a few issues/restrictions, of course). All the downloads for rooted as well as non-rooted users are in the next post in the thread (post # 2).
    2. Known Bugs and Workarounds
    [Unrooted Only] Dotted Pattern Overlay
    • Issue - A dotted pattern overlay is visible in the HDR+ pictures (when completely zoomed in)
    • Resolution - You have to root, install DotFix as well as the recommended version for rooted users from point 3
    [Unrooted Only] Front Camera HDR+/Portrait Mode Non Operational/Captures Distorted Pink/Purple/Green Lines
    • Issue - Front camera captures distorted pink/purple/green lines while using HDR+ or Portrait Mode
    • Resolution - You have to root, install DotFix as well as the recommended version for rooted users from point 3
    [Rooted Only] HDR+ Front Camera Pictures Restricted to 4.0 Megapixels
    • Issue - HDR+ pictures that are clicked with the front camera are restricted to 4.0 megapixels, even though the maximum resolution of 15.9 megapixels is selected for the front camera under settings
    • Resolution - None available yet; details of why this is the case are mentioned in this post
    [Both] Zero Shutter Lag (ZSL) Non Operational
    • Issue - Zero Shutter Lag (ZSL) doesn't work
    • Resolution - None available yet
    [Both] DotFix Magisk Module Incompatible with Audio Mods
    • Issue - Some audio mods interfere with the DotFix Magisk module due to which they don't work as intended
    • Resolution - Uninstall the audio mods or try setting SELinux to permissive using SELinux Switch from this post of mine.
    More troubleshooting tips and tricks are present here and here. You can also read the Telegram channel's FAQ here.
    3. Important Notes and Links
    a. Important Notes
    • Everytime you change a settings, make sure you force-close and swipe it away from recents, and then restart the app so that the new settings are applied correctly. A sure shot way to make sure the settings have applied is to restart your phone.
    b. Links
    • Complete list of all Google Camera Mod ports: Link
    • Capturing a logcat if you're facing a crash when opening/using the Google Camera Mod: Link
    • Useful files and tools: Link
    • Photo comparison samples: Link
    4. Post Update Information and Credits
    a. Post Update Information
    • Last Updated: 23rd June 2021
    b. Credits
    • @B-S-G, for doing the initial port and bring us Google Camera's HDR+ to multiple devices
    • @Arnova8G2, for all the work he's done and still continues to do to bring us these ports
    • @defcomg, for the front camera Portrait Mode fix
    • @MrAimenify, for fixing viewfinder lag and updating libraries
    • @Urnyx05, for creating his own versions of the mod for everyone on OP5/T
    • @Nikita, for creating his own versions of the mod for everyone on OP5/T
    • @S4turno, for unknowingly inspiring me to make this post, hosting all the Google Camera Mod ports on his server, and for helping the community with updated information regarding the mod
    • @Zackptg5, for the MMT-Ex Template
    • @Adam Conway, for this great XDA article on how cameras work in custom ROMs
    • @Rohit jat, for originally creating the thread and Telegram discussion group
    • All of you guys for viewing this post
    59
    New version of GCam 6.1.021 is out!

    Changelog:
    - Fixed front crash in NS on Mi8
    - Added an option to change the folder where to save portrait photos
    - Replaced Savitar lib with sRGB b2
    - Replaced XLib v2 with v2S

    Here is the link:
    https://mega.nz/#!0noREACT!lQBXD-mINnlCjtlEI_MKb8xBLIIBLdqpLoItrir50vo

    I'm working on GCam 6.2 based on BSG, too. But, at the moment, it's still pretty buggy and unstable. So, I'm trying to fix most of the bugs.
    56
    New update of GCam 6.2.024 is out!

    Changelog:
    - Changed base; now, it's based on cstark27
    - Added the option to change model; on front camera, only Nexus 5X hasn't got any issues on OP devices (thanks Arnova8G2)
    - Fixed portrait mode on OP5/5T
    - Fixed slow motion on OP5/5T and on devices with Snapdragon 845 and 855 (thanks to back.rider and Arnova)
    - Removed Pixel Visual Core Config
    - Removed some specific code for Pixel devices
    - Fixed black spot on OP5/5T
    - Fixed Night Sight on OP5/5T
    - Changed package name (it can be installed side by side with my GCam 6.1)
    - Removed Google Play Services dependance; now it works also without them (thanks Arnova8G2)
    - Fixed front green tint
    - Disabled Sabre (aka Super Resolution) on front camera to fix crashes on Mi9 and Mi8
    - Changed resolution of motion photos to fix some crashes on Mi9 and other devices

    Here is the link:
    https://mega.nz/#!1nYBiSoT!eoHmomdHQ73REF4OnyRd_e7-ZoUlspC6pFVpgflu5Lo

    KNOWN BUGS:
    - Sometimes, slow motion doesn't work
    - Photobooth doesn't work
    - It may crash on different devices from OP5/5T
    - Viewfinder lags on OP5/5T
    56
    I realized this was never posted in this thread, so for those of you who might be wondering why Arnova8G2 has been missing in action for sometime now, it's because he met with a motorcycle accident and he's in the hospital, where smartphones and other portable electronic devices are forbidden. The accident was a major one and he's started to use the wheelchair now and hopefully with rehabilitation/physiotherapy, he'll be able to walk soon. Let's keep him in our thoughts and pray for his speedy recovery.