yashsingh1/xdaforums huggingface dataset:
[HTC 10 Guides, News, & Discussion] Kisakuku:
B-S-G's Modded Google Camera 4.4.020 with HDR+ for Android 7.0 / ARM64 v3.8 All-in-One Full Manual

Download

Changelog:

Fixed touch focus and flash for all camera configs, removed smart burst from these camera configs

Added camera configs with working smart burst but without the touch focus and flash fix

Added auto exposure correction to all camera configs except Nexus 6

Added 60fps video recording, still doesn't work without appropriate media profiles on some devices

Replaced Camera2 API from Android 7.1 with Camera2 API from Android 8.0

Fixed multi-window error for Android 6.0

Activated HDR+ for the front camera for all devices except Xiaomi Mi 5s

Requires Supported hardware level, front camera - Limited

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

New settings take effect after application is restarted

Must clear data / cache after installation and if the app force closes

B-S-G's Modded Google Camera 4.4.020 with HDR+ for Android 7.0 / ARM64 v3.8 All-in-One Full Manual with original Google configs v2.2

Download

Changelog:

Based on v3.8 All-in-One Full Manual

Modded to use Pixel 2 XL libraries instead of Nexus 6P libraries by [MENTION=5824094]doraev1977[/MENTION]

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

New settings take effect after application is restarted

Must clear data / cache after installation and if the app force closes
[HTC 10 Guides, News, & Discussion] krepsz:
Slow motion force close the application.
[HTC 10 Guides, News, & Discussion] starbase64:
works fine on resurrection remix
[HTC 10 Guides, News, & Discussion] andreymixmax:
Wich sensor cam you have?
[HTC 10 Guides, News, & Discussion] starbase64:
settings in gcam?
[HTC 10 Guides, News, & Discussion] andreymixmax:
No , sensor your device..
[HTC 10 Guides, News, & Discussion] starbase64:
imx377?
[HTC 10 Guides, News, & Discussion] andreymixmax:
Ya , means sony sensor
[HTC 10 Guides, News, & Discussion] thunder2132:
How do I find this out?
[HTC 10 Guides, News, & Discussion] sercos72:
All HTC 10's sensor same and Sony.
[HTC 10 Guides, News, & Discussion] thunder2132:
Findings in v3.8:

1. Full-manual AiO: Pink artifacts in full white areas of photos

2. Google Configs versions: Force Close when flash is on, otherwise works well.
[HTC 10 Guides, News, & Discussion] ali nz:
Can you record slo mo vids normally? For me app always runs slo mo but picture freezes at startup and can't use it....weird:rolleyes:
[HTC 10 Guides, News, & Discussion] starbase64:
No problems here...

https://youtu.be/l8sIgFrMwFE
[HTC 10 Guides, News, & Discussion] ali nz:
Which rom? Rom's media profiles or modded?
[HTC 10 Guides, News, & Discussion] starbase64:
Resurrection remix 23.08.2017 no modds
[HTC 10 Guides, News, & Discussion] ali nz:
Really strange....donno...i can only record 30 & 60FPS vids
[HTC 10 Guides, News, & Discussion] thunder2132:
I'm on PureFusion with Nebula 10.1, slow motion and lens blur crash for me.

Lens blur works in Viper, didn't try slow motion. I'm back to 3.4b since it seems to be the most stable.
[HTC 10 Guides, News, & Discussion] ali nz:
Stock rooted rom and working lens blur...slo mo not needed because of stock camera app...but crashes...

Always wanted to have slo mo in custom roms but not working at least for me!
[HTC 10 Guides, News, & Discussion] thunder2132:
I love PureFusion, but keep going back to Viper for working cameras and BoomSound. It makes me sad, and is my least favorite thing about this phone (that I actually lose something by going to AOSP, I've been spoiled by Nexus and Moto products in that aspect).
[HTC 10 Guides, News, & Discussion] wetxxx:
Last version works great. I don't see pink tint on photos. Which configuration is the best to make hdr+ photos? I try Nexus6 Hdr+ auto

"Live long and prosper"
[HTC 10 Guides, News, & Discussion] symy17:
Best configs for last update?

Enviado do meu HTC 10 através de Tapatalk
[HTC 10 Guides, News, & Discussion] JamesKinds:
Apologies for the noob question, but what is the difference between the two posted versions? Thanks in advance.
[HTC 10 Guides, News, & Discussion] Kisakuku:
Like the changelog says, the second apk is modded to use Pixel 2 XL libraries instead of Nexus 6P libraries.
[HTC 10 Guides, News, & Discussion] JamesKinds:
Thanks. That makes sense
[HTC 10 Guides, News, & Discussion] andreymixmax:
Only one issue for me , slow mo keep stopping.
[HTC 10 Guides, News, & Discussion] VortexTNT:
Why is my aperture show 1.69? Isn't it supposed to be 1.8
[HTC 10 Guides, News, & Discussion] Haldi4803:
It shows 1.69 for me on Stock Camera and on Purefusion Snap.
[HTC 10 Guides, News, & Discussion] ali nz:
Boomshakalaga!
[HTC 10 Guides, News, & Discussion] Kisakuku:
B-S-G's Modded Google Camera 4.4.020 with HDR+ for Android 7.0 / ARM64 v3.8c All-in-One Full Manual

Download

Changelog:

Test version of v3.8 All-in-One Full Manual modded for maximum low light image quality with HDR+ On

Unlike previous versions including v3.8b All-in-One Full Manual this one uses Pixel 2 XL libraries instead of Nexus 6P libraries

Analogous to v3.8b All-in-One Full Manual with Pixel 2 XL libraries v2.2b

Compared to v3.8b All-in-One Full Manual, color balance in the shadows is shifted from green to neutral or slightly red, detail level is slightly lower

Image processing takes up to 30 sec in very low light

No HDR+ Auto

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

Recommended settings for maximum low light image quality with HDR+ On:

Camera module config - Nexus Experimental 2016 Tuning

Buffers size - 54

Total imagereader image count - 52

HDR+ burst frame count - 54

Calculation algorithm for HDR+ imagereader image count - AllExpConfig

New settings take effect after application is restarted

Must clear data / cache after installation and if the app force closes
[HTC 10 Guides, News, & Discussion] thunder2132:
I've noticed with every version 3.5+ that photos taken with major highlights or low lights in HDR+ mode (or flash on) result in an FC. I've tried using both Sense and AOSP roms, and with version 3.4b everything works as expected. Has anyone seen this or found a workaround?

EDIT

3.8 versions all seems to lag behind, like it's taking a shot from a few seconds ago on the viewfinder. Even shots with relatively still subjects turn out blurry:
[HTC 10 Guides, News, & Discussion] thunder2132:
100% zoom comparisons with GCam 3.4b, settings included: https://imgur.com/a/SBnSG HDR+ Auto is by far the best of the three with this lighting condition (slightly overcast, blinds closed, 2 PM)

Edit

I added three more photos (of my dog), slightly less light, in this case HDR off is the best.
[HTC 10 Guides, News, & Discussion] l4n6u573:
Just a short comment of someone how's is trying to dig deeper into that gcam for htc 10 port:

Right now there's no version that fixes the 3/4 not working / banding / noise pattern issue. All HDR+ settings (HDR+ auto or HDR+ on) affect only the 1/4 of the image. If there's someone who thinks it's working please post some images as I am only testing on stock firmware.

These (blurry) Pictures without the distict noise line are happening when only one frame is merged (so no HDR+). See my post about getting those infos in "summary.txt"

I managed to optimise some settings by modifying the smali code but right now I haven't found the strange processing issue that stops at about a quarter of the frame.

Cheers.

BTW, all non HDR+ features are working as expected, so thumbs up to BSG
[HTC 10 Guides, News, & Discussion] thunder2132:
I found your directions on the Summary.txt and dmg outputs, the folders exist, but nothing is in them (I changed build.prop, rebooted, then confirmed that the entries stuck). Is there another step I need to take?

Setting 3.4b to the attached settings, the way I'm reading it, wouldn't it be merging 4 images? I can see a marked difference in both noise and lighting in high range shots (person outside, etc). If there's not another step to getting the raw files, can you try this version and these settings on yours and see if it helps?

I'm running Lineage, latest release.
[HTC 10 Guides, News, & Discussion] l4n6u573:
make sure the added entry looks like this:

persist.gcam.save_text=1

and the getprop output after reboot should be:

[persist.gcam.save_text]: [1]

to enable all gcam debug output (including hdr payload dng files) you can add the following line to your build.prop:

persist.gcam.debug=1

You can't rely on these settings because those images can be discarded by the processing algorithm. summary.txt will then show you entries like this:

Discarded (blurry) frame 8 out of 9 total frames (7 valid).

Actually the merged raw output files you get if you enable them in "Experimental" -> "HDR+ RAW+JPEG" are valid dng files with wrong metadata: lightroom can handle them and they are full sized. And btw "Nexus5X" as "Calculation hdr+ magereader count" is probably causing those blurry frames.
[HTC 10 Guides, News, & Discussion] thunder2132:
Summary.txt output for auto with my settings, looks like it has one base frame and 3 merged frames. The Nexus5x setting allows for 4 frames vs the 6p only allowing 3 without noise. It's quite a bit clearer with the 5x setting than the 6p setting.

Gcam version: 1.0.163413028

Build timestamp: Built on Jul 27 2017 17:30:07 (1501201807)

AE training fingerprint: 0xf14d1312

ZSL shot: Yes

Orig. payload aspect ratio: 1.347

Desired final aspect ratio: 1.347

Digital zoom: No (1.00x)

Smart Metering disabled: No

Weighted metering area count: 1

max_payload_frames: 4

Set zsl_rough_base_frame_index_ to 0.

Payload burst: 3 ZSL frames provided; 3 valid.

WARNING: Payload frame 0 of 3 had unexpected duration. Exposure time was 0.4 ms with 33.3 ms readout; expected 33.3 ms frame duration, but actual duration was 333.3 ms.

WARNING: Payload frame 1 of 3 had unexpected duration. Exposure time was 0.4 ms with 33.3 ms readout; expected 33.3 ms frame duration, but actual duration was 366.7 ms.

ZSL base frame candidate count: 1

Base frame index: 0

Base frame underexposure (post-raw gain): 1.00

Faces detected: No

base frame current TET: 0.591

base frame exposure time: 0.406 ms

base frame analog gain: 1.456

base frame digital gain: 1.000 (so far)

shot_min_tet: 0.591 (from base frame)

shot_max_tet: 15.141 (from max_post_capture_gain)

AE results (from base frame):

scene_is_hdr = 1

run_hdr = 1

ideal HDR ratio = 1.30

final HDR ratio = 1.24

AE(single): conf -999.0, original tet 0.00, final tet 0.00

AE(short): conf 14.0, original tet 0.56, final tet 0.59

AE(long): conf 9.0, original tet 0.73, final tet 0.73

predicted_image_brightness: 153.1

log_scene_brightness: 5.75

fraction_of_pixels_from_long_exposure: 0.72

Further global digital gain of 1.000x will be applied.

short TET from AE had to be boosted by 5.3%; highlights in the final image will be over-exposed.

Finish will use 2 synthetic exposures.

Time-to-postview: 1.044 seconds.

ERROR: Wanted to discard 2 blurry frames, including 5 extras, but only 3 frames are valid; discarding all but one frame.

Discarded (blurry) frame 2 out of 3 total frames (3 valid).

Discarded (blurry) frame 1 out of 3 total frames (2 valid).

Found 18 potential hot pixels

Merge frame count: 1

Base frame SNR: 23.1585

Merging 1 frames of 4000 x 3000 resolution, tile size 16, gain 4

Merged frame SNR (estimate): 23.1585

Merged 1 frames.

Estimated black level adjustments: 0 0 0 0

Using Hexagon...

Finish will use 2 synthetic exposures.

Success.

---------- Post added at 03:15 PM ---------- Previous post was at 02:29 PM ----------

@l4n6u573

I've put together a quick gallery of several test shots. If you look at the difference between my HDR+ Auto settings and no HDR it really does look like it's doing something. The wood of the window and the text are both better exposed, and the sky is a more natural blue. I've included 3 shots taken with my G6 for comparison: https://imgur.com/a/YKgaN
[HTC 10 Guides, News, & Discussion] Kisakuku:
B-S-G's Modded Google Camera 4.4.020 with HDR+ for Android 7.0 / ARM64 v3.8d All-in-One Full Manual

Download

Changelog:

Test version of v3.8 All-in-One Full Manual modded for neutral color balance (not too red, not too green)

Uses Pixel 2 XL libraries instead of Nexus 6P libraries

Added Android 8.0 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

Recommended universal settings for both HDR+ Auto and HDR+ On:

Camera module config - Pixel 2017 (DR Dogfood)

Buffers size - 3 (or 15 for better image quality in low light)

Total imagereader image count - 14

HDR+ burst frame count - 7

Calculation algorithm for HDR+ imagereader image count - Pixel, Pixel XL

New settings take effect after application is restarted

Must clear data / cache after installation and if the app force closes
[HTC 10 Guides, News, & Discussion] l4n6u573:
Means there is no HDR+ processing involved as there's only one Frame "merged"
[HTC 10 Guides, News, & Discussion] thunder2132:
I'm reading that as one frame merged with the base frame, so 2 image HDR. It took 4 frames, selected one as the base, threw out two for being blurry, and merged one into the base. Otherwise how would it pull the extra detail in the photos I linked?
[HTC 10 Guides, News, & Discussion] l4n6u573:
I did some further testing with your settings and it seems you are right. There is some improved dynamic range even if there's just one frame merged. The processed merged image does not show the usual 3/4 banding / noise pattern artifacts. This is good news! In first comparisons it seems to be at least on par with the already good HTC stock camera.

I might try to patch gcam to limit the merged frames count to only one frame so you can try different settings apart from Nexus5X for hdr+ imagereader image count.

p.s. V.4.0 is now available on 4PDA. In this version you can select the pulled libraries in settings which is nice. But sadly I didn't find a combination that fixes the noise pattern.
[HTC 10 Guides, News, & Discussion] Kisakuku:
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
[HTC 10 Guides, News, & Discussion] wetxxx:
Which pictures config did you prefer?

"Live long and prosper"
[HTC 10 Guides, News, & Discussion] thunder2132:
My settings with the Pixel orig device selection still seem to work. Attached for people not familiar with them.

No crashes in my test shots, no noise on auto.

EDIT

Low light photos are still dark with Auto, and have red color banding with HDR+ on. For this low of light I'm using no HDR and getting decent results.

EDIT 2

I just took a ton of test photos. The dark auto pictures happen with all device selection options, the pink artifacting only happens with the Nexus 6P setting. My favorite was the Pixel 2XL setting, which seemed to have clearer ultra low light HDR+ on photos, with no real change in color in the noise pattern (others were either too green or too red). I've attached two photos, one without HDR and one with HDR on auto. In the one with auto the siding is better lit, the tree has more contrast/range, and the sky is a deeper more realistic color. I also took some more pictures of my gel in the window, one without HDR and one with auto, the one with auto is much brighter while maintaining the color of the sky.
[HTC 10 Guides, News, & Discussion] chinke:
Please delete
[HTC 10 Guides, News, & Discussion] thunder2132:
Test outdoor shots, the first one with the Google camera HDR+ Auto and the other with the stock HTC camera with HDR
[HTC 10 Guides, News, & Discussion] Kisakuku:
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
[HTC 10 Guides, News, & Discussion] thunder2132:
Thanks for continuing to mirror/redistribute these!
[HTC 10 Guides, News, & Discussion] symy17:
We love u hihihi

Enviado do meu HTC 10 através de Tapatalk
[HTC 10 Guides, News, & Discussion] thunder2132:
Bad news on the GCam front. From BSG on the 4pda forums:

"No, rather, it's time to finish me "picking" with apk files in general, and with the camera in particular - I'm fed up with this already ... In 4.0 I did everything I wanted - brought to the menu all the settings that can be displayed, nothing more I can not do it ... I did not manage to correct the processing algorithm, by type I added sharpness, saturation, etc. .... at the output, all the same, the default photo is obtained ... I even tried to increase the number (multiply by 2) in the method "set_sharpness", and at the output all too ... In general, 4.0 it turned out the final version, I even called
[HTC 10 Guides, News, & Discussion] foxy4270:
This is a modified version of hdr+ specific for long exposure.

you may need a tripod with this

https://androidfilehost.com/?fid=962021903579481078
[HTC 10 Guides, News, & Discussion] rowihel2012:
I'm using this one

It is amazing in low light

Graves me picture

Makes my friends shocked from the huge deference in stock cam and google hdr+
[HTC 10 Guides, News, & Discussion] symy17:
Can u put here this camera app with different name?
[HTC 10 Guides, News, & Discussion] Der_Meister01:
Can you share your settings, please?

---------- Post added at 07:57 AM ---------- Previous post was at 07:56 AM ----------

It already has a different name
[HTC 10 Guides, News, & Discussion] rowihel2012:
I can't upload any photo here

??
[HTC 10 Guides, News, & Discussion] Der_Meister01:
Strange

You could upload it to google+ and share the link.

You can upload some of your shots too.
[HTC 10 Guides, News, & Discussion] rajkatiyar07:
Need help guys. Just messed up with libs and broke my camera functionality. Please share libmmcamera2_mct.so & libmmcamera_imx377_htc.so from sys/vendor/lib folder on your device. I need stock files.
[HTC 10 Guides, News, & Discussion] Der_Meister01:
There you go
[HTC 10 Guides, News, & Discussion] rajkatiyar07:
Thanks a lot mate :D
[HTC 10 Guides, News, & Discussion] mk1t:
Will there be new versions?
[HTC 10 Guides, News, & Discussion] rajkatiyar07:
i don't think so. May be after google release source code for pixel 2 then developer may release new version.
[HTC 10 Guides, News, & Discussion] symy17:
Do u think it's on htc's agenda, launch some update for the htc 10 camera. Now that the Google code is public and sometimes takes better photos

Enviado do meu HTC 10 através de Tapatalk
[HTC 10 Guides, News, & Discussion] rajkatiyar07:
Nope , HTC is going to give Oreo taste and then abandon. And Pictures are pretty good ,it's too late to release an update. I wish they could have integrated 1080p at 60 fps . That's it.
[HTC 10 Guides, News, & Discussion] TotallyAnxious:
How did you mess with the libs? Like edit them? I was never able to find a software that could do that that wasn't expensive lol
[HTC 10 Guides, News, & Discussion] rajkatiyar07:
lol , no way. Was trying to replace them with another libs.
[HTC 10 Guides, News, & Discussion] Pantumaca:
Yeah, 1080p at 60fps would be a very nice update... And some effects like bokeh or multiple exposure would be nice too.

I think they should update the interface.
[HTC 10 Guides, News, & Discussion] sasajovicic:
M8 has bokeh effects and other effects but small group of people like that (dual) camera.
[HTC 10 Guides, News, & Discussion] Haldi4803:
uh yeah... you demand feature updates on an OLD phone? i wish you good luck with that!

U11 is the new Flaggship that gets all the attention. All other phones get promised mandatory updates, and some easy to add useless stuff. that's it.

Without Backups? Good Job ^^
[HTC 10 Guides, News, & Discussion] rajkatiyar07:
As the legends said " there is a thin line between bravery and stupidity" ! :p
[HTC 10 Guides, News, & Discussion] Pantumaca:
The 10 is only one year and still has official support so of course we, as clients of a product that is "alive", can demand updates.

I do not know what is your problem and I do not care.
[HTC 10 Guides, News, & Discussion] rumpelst:
We could easly also assume that as HTC sold half od theirs staff to Google there will not be substantial support to HTC U11 also.

Wysłane z mojego HTC 10 przy użyciu Tapatalka
[HTC 10 Guides, News, & Discussion] bigvictor93:
have a look

have a look
[HTC 10 Guides, News, & Discussion] eTaurus:
At what?!
[HTC 10 Guides, News, & Discussion] symy17:
So no more update for htc 10.. The work was great

Original

https://photos.app.goo.gl/SQY5dnrCRBtExd1H2

Enviado do meu HTC 10 através de Tapatalk
[HTC 10 Guides, News, & Discussion] thunder2132:
I don't have an original source, I got it from this post on Reddit, but someone has hacked the latest version of the Google Camera to work with 7.0+ and with working HDR+! Not only that, but there's no noise pattern!!

Pick it up from Google Drive

Note, touch to focus doesn't work reliably. It will auto-focus if given a chance. If you try to touch to focus you may not be able to take a photo after and will need to leave the viewfinder and return to get it working again.

EDIT

This was modified by BSG and posted by [MENTION=3001941]titooo7[/MENTION] Thanks titooo7!

Edit 2

This is definitely a bit buggy. After playing with it a bit more I couldn't get it to capture anymore, so I just systemized the app and rebooted. I'll let you guys know if that helped. [MENTION=4321403]Kisakuku[/MENTION] will you still be hosting new versions of this app as BSG releases them?

Edit 3

After rebooting and systemizing the app I still can't get auto HDR+ to work again, but forcing HDR+ has worked every time. Nice.

Final edit

Non-HDR photos also don't work. Make sure you have another camera app installed, I wouldn't use this version as my only app, just for lens blur (which works) and HDR photos. Samples: https://imgur.com/a/fdfW5

Later today I might try my gel in the window sample that I've done before, we'll see how it turns out!
[HTC 10 Guides, News, & Discussion] starbase64:
http://4pda.ru/forum/index.php?showtopic=782469&view=findpost&p=65944730
[HTC 10 Guides, News, & Discussion] ali nz:
this is the original post: https://xdaforums.com/showpost.php?p=74140570&postcount=807
[HTC 10 Guides, News, & Discussion] thunder2132:
Thanks! I should have updated my post when I found that one. I don't feel too horrible though, as my reddit link was actually the same user ;)

FYI, photos without HDR enabled do not work, Auto-HDR will work if it detects that it should be HDR (checkmark next to HDR) if you want the camera to work 100% of the time, force close, open it again, then force HDR and it should work consistently. Touch auto-focus should work in this mode too.