Gcam for HTC 10 Development (Optimization)

Search This thread

tsalta

Senior Member
Dec 25, 2008
2,459
721
London

UPDATE 2019​




Decide to update the thread with 2019 latest INFO and builds so far for HTC 10 Nougat and Oreo, however all builds that are for Nougat work properly on OREO as well. There are plenty more builds from different developers that i know the purpose of this threat is to post MOST stable fastest Builds that work fully or have minimal problems/bugs


For all OREO Users we have PIXEL 3 fully working build and i can say it is snappy as well, this very 1st version of the new 6 Base work perfectly for us, note that in the past year and more ive tested so far almost all combination posible from the very beggining of the Gcam porting.
Also some newer 6 version work too but they are more laggy and have more problems like i say will upload only the BEST out of the BEST regarding performance and quality:

MOST STABLE version till now for Nougat and Oreo for our HTC 10 is this Build: https://drive.google.com/open?id=1SRRtNcqzM6BPxjEYW4R1QklxH1-qKgGu

This is based on a BSG 5.1.018 edited by @arnova this is the very 1st Pixel2 Build unreleased i found out that only this the very 1st build before to be published as a PixelMod Arnova doesnt have the bug with force crash in low light when the flash have to be used, however the build has other problems like purple tint on the front camera because of the front camera values so i asked @fu24 if he can help us to fix this by adding the properly value of 64 for the front facing camera and in to add as an extra the option to be disabled the zoom in portrait, he did both of the things and till now this is the most working build so far all the camera works also portrait and also you can shoot pictures in the night using the flashlight without a problem the only one bug is the front Camera will not take picture with the flashlight ON ANYWAY this is really a minor problem because most important is you can shoot now and use one single camera app instead of 2 3 different versions in all scenarios so Kudos for all the Developers and Kudos to @fu24 because he just fix the problems i wrote him.

The best settings for this build are :

Model: Pixel 2 or Pixel 2XL Or Pixel is up to you
Config HDR+ have to be Pixel 2017 ZSL HDR+
Under Advanced if you wish enable HDR+ Control
HDR+ parameters are up to you
Capture Level ovveride for both cameras set it to ZSL reprocessing
Portrait Mode - ON
USE ZSL
Final JPG Quality is up to you
fix black level front camera has to be 64
Disable Portrait Mode ZOOM

that all everything else is up to you.

Arnova Fixes the problem in later builds i mean the problem with the front camera not working under low light condition but the problem transfer to the Back camera and in my opinion the back Camera is the BASE camera senzor so it is better that why.
I think the problem the front camera to dont take picture in low light is because is set by default to Huawei we always have problems with Huawei have to be Nexus 6P or even better PIXEL to be perfect but for now this is great Build.

Thank you Devs


---------------------------------


PIXEL 3 version 6 Gcam fully working build from BSG credits and thanks to him.
https://www.celsoazevedo.com/files/android/google-camera/f/changelog248/

Tested under Android OREO Everything works AR stickers, Night Sight, Portrait on both cameras, video recording.
THE ONLY one problem this build is missing is the option to DISABLE the initial ZOOM from the portrait mode (If some developer add only this extra to this exact build we gona have really nice Gcamera version 6. the only prolem is the FRONT facing camera doesnt do good quality HDR+ photos.
----------------------------------------------------------------------

For Nougat the situation is much more complicated we have alot of Builds but none of them is fully working for example all PIXEL 2 ports from Arnova and all other builds that use his Pixel 2 base have the same problem with the flashlight crash in the dark.

However all other is working perfectly fine!

If you wish most stable PIXEL 2 port that has everything works expect night shoots with flashlight i recommend you : https://drive.google.com/file/d/14KCf-mzKZYAH5U-CQsVU8W13CMd2OJXX/view

Thanks Arnova for that build! @Arnova8G2


The 3 new BUILDS are tested from me Using OREO LeeDroid and Viper Nougat ! AR stickers Work, Night Sight in Version 6 as well front portrait back and so on.


If somebody from the developers want to add edit the missing puzzle they are welcome!


----------------------------------------------------


THANKS TO ALL Developers like

@Arnova8G2
@B-S-G from 4PDA
@ivanich
@scrubber
@cstark27
@SKULSHADY
@miniuser123
@urikill - 4PDA
@ArtZ
 
Last edited:

Bareq

Senior Member
Mar 13, 2010
205
14
Unfortunately seems no one intersting in developement for our great phone, it is really have great hardware, but it lacks a developement, I hope that I have the ability or guides To do the modifications for GCam
 

tsalta

Senior Member
Dec 25, 2008
2,459
721
London
Unfortunately seems no one intersting in developement for our great phone, it is really have great hardware, but it lacks a developement, I hope that I have the ability or guides To do the modifications for GCam

unfortunately the situation is worse than i was thinking.
I didnt ask ANYONE to develope for us just INFO for example there are thousend of smali libs and other files. Also important XML files so the point it like this.

When you use your back camera you use specific setup when you switch to Portrait you use other setup when you use front you use another setup all this is well writen down in the XMLs present in the apps what what trigger.

I asked for help such an info what are the respondable files for the Portrait mode and so on for example.

In one Build that have everything working expect the portrait give you back screen is very simple that just the settings for the portrait are "BAD" not correct for our device so my idea was to take one Stable base that has everything working and to see in another one the Portrait the working to us and to marge this settings and files. In order to have one build that all is working!

Thats why i give an examples above with few builds.

For example in v 1.2 we have ZSL and the Pixel config working for the regulr Photos and Back photos but there is no portrait mode at all.

Later in 1.6 build there is Portrait working but not Pixel settings anymore

so both are based on the same build 5.1.018 so if i marge the working "files" from the v 1.2 for the regular photos in v 1.6 or 1.7 for example we gona have eveyrhting working like it shold be.

for now the best base for doing so this is the Urikil port based on BSG because has also HDR+ on front Plus another HDR+ extra on front that works for example in good light when u use my front facing camera i take superb images about 5 mb in size with crystal quality all other builds suffer from this.

Im talking just for the front Camera, In many version the back camera Pixel settings are same.
 

tsalta

Senior Member
Dec 25, 2008
2,459
721
London
Test from the Camera2 app
@Arnova8G2 if you can Help us PLEASE!

Camera 0 (BACK)
android.sync:
- maxLatency = SYNC_MAX_LATENCY_PER_FRAME_CONTROL

android.lens:
- facing = LENS_FACING_BACK

android.request:
- availableCapabilities = [0,1,2,5,6,4,7,9,3]
- maxNumInputStreams = 1
- maxNumOutputProc = 3
- maxNumOutputProcStalling = 1
- maxNumOutputRaw = 1
- partialResultCount = 2
- pipelineMaxDepth = 8

android.statistics.info:
- availableFaceDetectModes = [0,1]
- availableHotPixelMapModes = [false]
- availableLensShadingMapModes = [0,1]
- maxFaceCount = 10

android.shading:
- availableModes = [0,1,2]

android.control:
- aeAvailableAntibandingModes = [0,2,1,3]
- aeAvailableModes = [0,1,2,3]
- aeAvailableTargetFpsRanges = [[15, 15],[20, 20],[24, 24],[7, 30],[30, 30]]
- aeCompensationRange = [-50, 50]
- aeCompensationStep = 1/10
- aeLockAvailable = true
- afAvailableModes = [1,0,2,3,4]
- availableEffects = [0,1,2,3,4,5,6,7,8]
- availableModes = [0,1,2]
- availableSceneModes = [4,9,8,10,5,3,13,11,15,12,14,6,7,2,1]
- availableVideoStabilizationModes = [0]
- awbAvailableModes = [1,2,3,4,5,6,7,8,0]
- awbLockAvailable = true
- maxRegionsAe = 1
- maxRegionsAf = 1
- maxRegionsAwb = 0
- postRawSensitivityBoostRange = [100, 3199]

android.sensor:
- availableTestPatternModes = [0,1,2,3,4,256]
- blackLevelPattern = BlackLevelPattern([202, 202], [202, 202])
- calibrationTransform1 = ColorSpaceTransform([128/128, 0/128, 0/128], [0/128, 128/128, 0/128], [0/128, 0/128, 128/128])
- calibrationTransform2 = ColorSpaceTransform([128/128, 0/128, 0/128], [0/128, 128/128, 0/128], [0/128, 0/128, 128/128])
- colorTransform1 = ColorSpaceTransform([93/128, -1/128, -21/128], [-60/128, 175/128, 9/128], [-23/128, 51/128, 61/128])
- colorTransform2 = ColorSpaceTransform([136/128, -17/128, -55/128], [-73/128, 199/128, 28/128], [-11/128, 27/128, 101/128])
- forwardMatrix1 = ColorSpaceTransform([95/128, -12/128, 41/128], [33/128, 92/128, 3/128], [6/128, -61/128, 161/128])
- forwardMatrix2 = ColorSpaceTransform([95/128, -12/128, 41/128], [33/128, 92/128, 3/128], [6/128, -61/128, 161/128])
- maxAnalogSensitivity = 1531
- orientation = 90
- referenceIlluminant1 = 21
- referenceIlluminant2 = 17

android.info:
- supportedHardwareLevel = HARDWARE_LEVEL_3

android.jpeg:
- availableThumbnailSizes = [0x0,176x144,240x144,256x144,240x160,256x154,240x240,320x240]

android.lens.info:
- availableApertures = [1.8]
- availableFilterDensities = [0.0]
- availableFocalLengths = [4.58]
- availableOpticalStabilization = [0,0]
- focusDistanceCalibration = 1
- hyperfocalDistance = 0.26601323
- minimumFocusDistance = 10.0

android.scaler:
- availableMaxDigitalZoom = 4.0
- croppingType = SCALER_CROPPING_TYPE_CENTER_ONLY
- streamConfigurationMap =
OutputFormats:
[4104x3046, RAW_SENSOR(32), min_dur:33333333, stall:200000000]
[4000x3000, JPEG(256), min_dur:33333333, stall:345000000]
[4000x2240, JPEG(256), min_dur:33333333, stall:258000000]
[3840x2160, JPEG(256), min_dur:33333333, stall:253000000]
[3264x2448, JPEG(256), min_dur:33333333, stall:243000000]
[3200x2400, JPEG(256), min_dur:33333333, stall:179000000]
[3000x3000, JPEG(256), min_dur:33333333, stall:161000000]
[2592x1944, JPEG(256), min_dur:33333333, stall:144000000]
[2688x1512, JPEG(256), min_dur:33333333, stall:133000000]
[2592x1458, JPEG(256), min_dur:33333333, stall:116000000]
[1944x1944, JPEG(256), min_dur:33333333, stall:108000000]
[2048x1536, JPEG(256), min_dur:33333333, stall:103000000]
[1920x1080, JPEG(256), min_dur:33333333, stall:99000000]
[1600x1200, JPEG(256), min_dur:33333333, stall:91000000]
[1440x1080, JPEG(256), min_dur:33333333, stall:80000000]
[1280x960, JPEG(256), min_dur:33333333, stall:75000000]
[1280x768, JPEG(256), min_dur:33333333, stall:68000000]
[1280x720, JPEG(256), min_dur:33333333, stall:67000000]
[1024x768, JPEG(256), min_dur:33333333, stall:66000000]
[800x600, JPEG(256), min_dur:33333333, stall:65000000]
[864x480, JPEG(256), min_dur:33333333, stall:61000000]
[800x480, JPEG(256), min_dur:33333333, stall:59000000]
[720x480, JPEG(256), min_dur:33333333, stall:55000000]
[640x640, JPEG(256), min_dur:33333333, stall:49000000]
[640x480, JPEG(256), min_dur:33333333, stall:49000000]
[640x360, JPEG(256), min_dur:33333333, stall:48000000]
[480x360, JPEG(256), min_dur:33333333, stall:45000000]
[480x320, JPEG(256), min_dur:33333333, stall:35000000]
[352x288, JPEG(256), min_dur:33333333, stall:30000000]
[320x240, JPEG(256), min_dur:33333333, stall:25000000]
[176x144, JPEG(256), min_dur:33333333, stall:18000000]
[4000x3000, PRIVATE(34), min_dur:33333333, stall:0]
[4000x2240, PRIVATE(34), min_dur:33333333, stall:0]
[3840x2160, PRIVATE(34), min_dur:33333333, stall:0]
[3264x2448, PRIVATE(34), min_dur:33333333, stall:0]
[3200x2400, PRIVATE(34), min_dur:33333333, stall:0]
[3000x3000, PRIVATE(34), min_dur:33333333, stall:0]
[2592x1944, PRIVATE(34), min_dur:33333333, stall:0]
[2688x1512, PRIVATE(34), min_dur:33333333, stall:0]
[2592x1458, PRIVATE(34), min_dur:33333333, stall:0]
[1944x1944, PRIVATE(34), min_dur:33333333, stall:0]
[2048x1536, PRIVATE(34), min_dur:33333333, stall:0]
[1920x1080, PRIVATE(34), min_dur:33333333, stall:0]
[1600x1200, PRIVATE(34), min_dur:33333333, stall:0]
[1440x1080, PRIVATE(34), min_dur:33333333, stall:0]
[1280x960, PRIVATE(34), min_dur:33333333, stall:0]
[1280x768, PRIVATE(34), min_dur:33333333, stall:0]
[1280x720, PRIVATE(34), min_dur:33333333, stall:0]
[1024x768, PRIVATE(34), min_dur:33333333, stall:0]
[800x600, PRIVATE(34), min_dur:33333333, stall:0]
[864x480, PRIVATE(34), min_dur:33333333, stall:0]
[800x480, PRIVATE(34), min_dur:33333333, stall:0]
[720x480, PRIVATE(34), min_dur:33333333, stall:0]
[640x640, PRIVATE(34), min_dur:33333333, stall:0]
[640x480, PRIVATE(34), min_dur:33333333, stall:0]
[640x360, PRIVATE(34), min_dur:33333333, stall:0]
[480x360, PRIVATE(34), min_dur:33333333, stall:0]
[480x320, PRIVATE(34), min_dur:33333333, stall:0]
[352x288, PRIVATE(34), min_dur:33333333, stall:0]
[320x240, PRIVATE(34), min_dur:33333333, stall:0]
[176x144, PRIVATE(34), min_dur:33333333, stall:0]
[4000x3000, YUV_420_888(35), min_dur:33333333, stall:0]
[4000x2240, YUV_420_888(35), min_dur:33333333, stall:0]
[3840x2160, YUV_420_888(35), min_dur:33333333, stall:0]
[3264x2448, YUV_420_888(35), min_dur:33333333, stall:0]
[3200x2400, YUV_420_888(35), min_dur:33333333, stall:0]
[3000x3000, YUV_420_888(35), min_dur:33333333, stall:0]
[2592x1944, YUV_420_888(35), min_dur:33333333, stall:0]
[2688x1512, YUV_420_888(35), min_dur:33333333, stall:0]
[2592x1458, YUV_420_888(35), min_dur:33333333, stall:0]
[1944x1944, YUV_420_888(35), min_dur:33333333, stall:0]
[2048x1536, YUV_420_888(35), min_dur:33333333, stall:0]
[1920x1080, YUV_420_888(35), min_dur:33333333, stall:0]
[1600x1200, YUV_420_888(35), min_dur:33333333, stall:0]
[1440x1080, YUV_420_888(35), min_dur:33333333, stall:0]
[1280x960, YUV_420_888(35), min_dur:33333333, stall:0]
[1280x768, YUV_420_888(35), min_dur:33333333, stall:0]
[1280x720, YUV_420_888(35), min_dur:33333333, stall:0]
[1024x768, YUV_420_888(35), min_dur:33333333, stall:0]
[800x600, YUV_420_888(35), min_dur:33333333, stall:0]
[864x480, YUV_420_888(35), min_dur:33333333, stall:0]
[800x480, YUV_420_888(35), min_dur:33333333, stall:0]
[720x480, YUV_420_888(35), min_dur:33333333, stall:0]
[640x640, YUV_420_888(35), min_dur:33333333, stall:0]
[640x480, YUV_420_888(35), min_dur:33333333, stall:0]
[640x360, YUV_420_888(35), min_dur:33333333, stall:0]
[480x360, YUV_420_888(35), min_dur:33333333, stall:0]
[480x320, YUV_420_888(35), min_dur:33333333, stall:0]
[352x288, YUV_420_888(35), min_dur:33333333, stall:0]
[320x240, YUV_420_888(35), min_dur:33333333, stall:0]
[176x144, YUV_420_888(35), min_dur:33333333, stall:0]
[4104x3046, RAW_PRIVATE(36), min_dur:33333333, stall:0]
HighSpeedVideoConfigurations:
[480x320, min_fps:30, max_fps:120], [480x320, min_fps:120, max_fps:120], [1280x720, min_fps:30, max_fps:120], [1280x720, min_fps:120, max_fps:120], [480x360, min_fps:30, max_fps:120], [480x360, min_fps:120, max_fps:120], [720x480, min_fps:30, max_fps:120], [720x480, min_fps:120, max_fps:120]

InputsString:
4000x3000, PRIVATE(34),
4000x3000, YUV_420_888(35),

ValidOutputFormatsForInputString:

PRIVATE(34), out:JPEG(256), YUV_420_888(35)
YUV_420_888(35), out:JPEG(256), YUV_420_888(35)

android.colorCorrection:
- availableAberrationModes = [0,1,2]

android.sensor.info:
- activeArraySize = Rect(74, 24 - 4074, 3024)
- colorFilterArrangement = 0
- exposureTimeRange = [10417, 5631012660]
- maxFrameDuration = 5631041988
- physicalSize = 6.3612x4.7212996
- pixelArraySize = 4104x3046
- preCorrectionActiveArraySize = Rect(74, 24 - 4074, 3024)
- sensitivityRange = [68, 1531]
- timestampSource = SOURCE_REALTIME
- whiteLevel = 4095

android.tonemap:
- availableToneMapModes = [0,1,2]
- maxCurvePoints = 512

android.flash.info:
- available = true

android.edge:
- availableEdgeModes = [0,1,2,3]

android.noiseReduction:
- availableNoiseReductionModes = [0,1,2,3,4]

com.htc.qcamera3.pro_mode:
- custom_key = [1]

android.hotPixel:
- availableHotPixelModes = [1,2]

Camera 1 (FRONT)
android.sync:
- maxLatency = SYNC_MAX_LATENCY_PER_FRAME_CONTROL

android.lens:
- facing = LENS_FACING_FRONT

android.request:
- availableCapabilities = [0,1,2,5,6,4,7,3]
- maxNumInputStreams = 1
- maxNumOutputProc = 3
- maxNumOutputProcStalling = 1
- maxNumOutputRaw = 1
- partialResultCount = 2
- pipelineMaxDepth = 8

android.statistics.info:
- availableFaceDetectModes = [0,1]
- availableHotPixelMapModes = [false]
- availableLensShadingMapModes = [0,1]
- maxFaceCount = 10

android.shading:
- availableModes = [0,1,2]

android.control:
- aeAvailableAntibandingModes = [0,2,1,3]
- aeAvailableModes = [0,1]
- aeAvailableTargetFpsRanges = [[15, 15],[20, 20],[24, 24],[7, 30],[30, 30]]
- aeCompensationRange = [-50, 50]
- aeCompensationStep = 1/10
- aeLockAvailable = true
- afAvailableModes = [1,0,2,3,4]
- availableEffects = [0,1,2,3,4,5,6,7,8]
- availableModes = [0,1,2]
- availableSceneModes = [4,9,8,10,5,3,13,11,15,12,14,6,7,2,1]
- availableVideoStabilizationModes = [0]
- awbAvailableModes = [1,2,3,4,5,6,7,8,0]
- awbLockAvailable = true
- maxRegionsAe = 1
- maxRegionsAf = 1
- maxRegionsAwb = 0
- postRawSensitivityBoostRange = [100, 3199]

android.sensor:
- availableTestPatternModes = [0,1,2,4]
- blackLevelPattern = BlackLevelPattern([64, 64], [64, 64])
- calibrationTransform1 = ColorSpaceTransform([128/128, 0/128, 0/128], [0/128, 128/128, 0/128], [0/128, 0/128, 128/128])
- calibrationTransform2 = ColorSpaceTransform([128/128, 0/128, 0/128], [0/128, 128/128, 0/128], [0/128, 0/128, 128/128])
- colorTransform1 = ColorSpaceTransform([184/128, -87/128, -28/128], [-124/128, 240/128, 5/128], [5/128, -17/128, 88/128])
- colorTransform2 = ColorSpaceTransform([273/128, -189/128, -48/128], [-137/128, 279/128, -1/128], [7/128, -16/128, 148/128])
- forwardMatrix1 = ColorSpaceTransform([56/128, 49/128, 18/128], [28/128, 92/128, 8/128], [2/128, 12/128, 91/128])
- forwardMatrix2 = ColorSpaceTransform([56/128, 49/128, 18/128], [28/128, 92/128, 8/128], [2/128, 12/128, 91/128])
- maxAnalogSensitivity = 1066
- orientation = 270
- referenceIlluminant1 = 21
- referenceIlluminant2 = 17

android.info:
- supportedHardwareLevel = HARDWARE_LEVEL_3

android.jpeg:
- availableThumbnailSizes = [0x0,176x144,240x144,256x144,240x160,256x154,240x240,320x240]

android.lens.info:
- availableApertures = [1.8]
- availableFilterDensities = [0.0]
- availableFocalLengths = [2.35]
- availableOpticalStabilization = [0,0]
- focusDistanceCalibration = 1
- hyperfocalDistance = 0.87351745
- minimumFocusDistance = 7.142857

android.scaler:
- availableMaxDigitalZoom = 4.0
- croppingType = SCALER_CROPPING_TYPE_CENTER_ONLY
- streamConfigurationMap =
OutputFormats:
[2592x1944, RAW_SENSOR(32), min_dur:33093334, stall:60000000]
[2592x1944, JPEG(256), min_dur:33333333, stall:144000000]
[2592x1458, JPEG(256), min_dur:33333333, stall:116000000]
[1944x1944, JPEG(256), min_dur:33333333, stall:108000000]
[2048x1536, JPEG(256), min_dur:33333333, stall:103000000]
[1920x1080, JPEG(256), min_dur:33333333, stall:99000000]
[1600x1200, JPEG(256), min_dur:33333333, stall:91000000]
[1440x1080, JPEG(256), min_dur:33333333, stall:80000000]
[1280x960, JPEG(256), min_dur:33333333, stall:75000000]
[1280x768, JPEG(256), min_dur:33333333, stall:68000000]
[1280x720, JPEG(256), min_dur:33333333, stall:67000000]
[1024x768, JPEG(256), min_dur:33333333, stall:66000000]
[800x600, JPEG(256), min_dur:33333333, stall:65000000]
[864x480, JPEG(256), min_dur:33333333, stall:61000000]
[800x480, JPEG(256), min_dur:33333333, stall:59000000]
[720x480, JPEG(256), min_dur:33333333, stall:55000000]
[640x640, JPEG(256), min_dur:33333333, stall:49000000]
[640x480, JPEG(256), min_dur:33333333, stall:49000000]
[640x360, JPEG(256), min_dur:33333333, stall:48000000]
[480x360, JPEG(256), min_dur:33333333, stall:45000000]
[480x320, JPEG(256), min_dur:33333333, stall:35000000]
[352x288, JPEG(256), min_dur:33333333, stall:30000000]
[320x240, JPEG(256), min_dur:33333333, stall:25000000]
[176x144, JPEG(256), min_dur:33333333, stall:18000000]
[2592x1944, PRIVATE(34), min_dur:33333333, stall:0]
[2592x1458, PRIVATE(34), min_dur:33333333, stall:0]
[1944x1944, PRIVATE(34), min_dur:33333333, stall:0]
[2048x1536, PRIVATE(34), min_dur:33333333, stall:0]
[1920x1080, PRIVATE(34), min_dur:33333333, stall:0]
[1600x1200, PRIVATE(34), min_dur:33333333, stall:0]
[1440x1080, PRIVATE(34), min_dur:33333333, stall:0]
[1280x960, PRIVATE(34), min_dur:33333333, stall:0]
[1280x768, PRIVATE(34), min_dur:33333333, stall:0]
[1280x720, PRIVATE(34), min_dur:33333333, stall:0]
[1024x768, PRIVATE(34), min_dur:33333333, stall:0]
[800x600, PRIVATE(34), min_dur:33333333, stall:0]
[864x480, PRIVATE(34), min_dur:33333333, stall:0]
[800x480, PRIVATE(34), min_dur:33333333, stall:0]
[720x480, PRIVATE(34), min_dur:33333333, stall:0]
[640x640, PRIVATE(34), min_dur:33333333, stall:0]
[640x480, PRIVATE(34), min_dur:33333333, stall:0]
[640x360, PRIVATE(34), min_dur:33333333, stall:0]
[480x360, PRIVATE(34), min_dur:33333333, stall:0]
[480x320, PRIVATE(34), min_dur:33333333, stall:0]
[352x288, PRIVATE(34), min_dur:33333333, stall:0]
[320x240, PRIVATE(34), min_dur:33333333, stall:0]
[176x144, PRIVATE(34), min_dur:33333333, stall:0]
[2592x1944, YUV_420_888(35), min_dur:33333333, stall:0]
[2592x1458, YUV_420_888(35), min_dur:33333333, stall:0]
[1944x1944, YUV_420_888(35), min_dur:33333333, stall:0]
[2048x1536, YUV_420_888(35), min_dur:33333333, stall:0]
[1920x1080, YUV_420_888(35), min_dur:33333333, stall:0]
[1600x1200, YUV_420_888(35), min_dur:33333333, stall:0]
[1440x1080, YUV_420_888(35), min_dur:33333333, stall:0]
[1280x960, YUV_420_888(35), min_dur:33333333, stall:0]
[1280x768, YUV_420_888(35), min_dur:33333333, stall:0]
[1280x720, YUV_420_888(35), min_dur:33333333, stall:0]
[1024x768, YUV_420_888(35), min_dur:33333333, stall:0]
[800x600, YUV_420_888(35), min_dur:33333333, stall:0]
[864x480, YUV_420_888(35), min_dur:33333333, stall:0]
[800x480, YUV_420_888(35), min_dur:33333333, stall:0]
[720x480, YUV_420_888(35), min_dur:33333333, stall:0]
[640x640, YUV_420_888(35), min_dur:33333333, stall:0]
[640x480, YUV_420_888(35), min_dur:33333333, stall:0]
[640x360, YUV_420_888(35), min_dur:33333333, stall:0]
[480x360, YUV_420_888(35), min_dur:33333333, stall:0]
[480x320, YUV_420_888(35), min_dur:33333333, stall:0]
[352x288, YUV_420_888(35), min_dur:33333333, stall:0]
[320x240, YUV_420_888(35), min_dur:33333333, stall:0]
[176x144, YUV_420_888(35), min_dur:33333333, stall:0]
[2592x1944, RAW_PRIVATE(36), min_dur:33093334, stall:0]
InputsString:
2592x1944, PRIVATE(34),
2592x1944, YUV_420_888(35),

ValidOutputFormatsForInputString:

PRIVATE(34), out:JPEG(256), YUV_420_888(35)
YUV_420_888(35), out:JPEG(256), YUV_420_888(35)

android.colorCorrection:
- availableAberrationModes = [0,1,2]

android.sensor.info:
- activeArraySize = Rect(0, 0 - 2592, 1944)
- colorFilterArrangement = 2
- exposureTimeRange = [31333, 531546274]
- maxFrameDuration = 531611162
- physicalSize = 3.47328x2.60496
- pixelArraySize = 2592x1944
- preCorrectionActiveArraySize = Rect(0, 0 - 2592, 1944)
- sensitivityRange = [66, 1066]
- timestampSource = SOURCE_REALTIME
- whiteLevel = 1023

android.tonemap:
- availableToneMapModes = [0,1,2]
- maxCurvePoints = 512

android.flash.info:
- available = false

android.edge:
- availableEdgeModes = [0,1,2,3]

android.noiseReduction:
- availableNoiseReductionModes = [0,1,2,3,4]

com.htc.qcamera3.pro_mode:
- custom_key = [1]

android.hotPixel:
- availableHotPixelModes = [1,2]
 

tsalta

Senior Member
Dec 25, 2008
2,459
721
London
Hi @tsalta,
I'm sending you the latest version
GoogleCamera-Pixel2Mod-Arnova8G2-V6-Beta9.apk
- Describe me the bug
- A logcat would be useful
- Capture or screenshot

I have a lot of device so I do not remember the bug of your device

Hello @Arnova8G2

I testet almost all your Version. I just tested this and will explain in details about the Bugs with a Pictures.

Just a Note: The most stable Build for as was GoogleCamera-PixelMod-Arnova8G2-5.1.018-v1 (Arnova8G2, 2018-01-16, changelog)

The Only Bug that i found is taking picture in the NIGHT when the Flashlight goes ON its seems like the camera is trying to Focus but it cant and force crash this is present in ALL PixelMods. If i switch the HDR+ Off No problem i can take pictures so i think the problem is the WOrking of HDR+ together with the Flashlight because in Day photos never have a crash or a problem.



Now about the New builds, i show you our device Camera2 parameters to be as easy as posible.

In all new Builds Pixel2Modes we have Purple TINT.

The latest you just send me now

From the Configs only the Pixel 2017 ZSL HDR+ works,

We got POrtrait Mode working in Both Cameras, but when i take picture with the back camera i have Purple TINT Only in the Back camera in Both Portrait and Regular Photos the same tint.

See pictue 1. This is Pixel 2017 SZL HDR+ Back camera.

https://ibb.co/enTvBS

From the FRONT Camera all is working fine NO PINK TINT in regular mode and Portrait Mode.

Also the Bug with shooting in the Dark is same like in all PIXELMODs

-----------------------------------------------------------------------
HOWEVER

What im suggesting is this, the Most stable and Fast Build based on BSG that work perfectly fine on HTC 10 i mean all the Pixel Configs the Zero Shutter Lag and the imporved HDR+ front camera is this: https://drive.google.com/open?id=1CPVacKN8zp8yRD0AN0YS_6HZD07HOZhm



The only thing that doesnt work under HTC 10 is the Portrait Mode it is there enabled but with the wrong configs for us because is working on other devices like mi5s
What im suggesting is i think this way wlll be easyer to repair,

You have already a Build that has working Portrait for Both cameras for example Arnova Build 1.7beta 2 work perfectly fine Portrait for us.

So instead to thinking how and why something is not working fine if you can marge Only the Portrait MODE functions settings from your 1.7beta2 Build with this one : BASE_5.1.018.apk

The BASE_5.1.018.apk

Has all the Models if you wish Remove all the Nexus Models because we use Only the 3 Pixels Models anyway.
the Models that work best in this base are:
Pixel XL Marlen and Taimen
Pixel 2 XL Taimen
Pixel 2 Walley
All others are unnesesery.

For HDR+ configuration we use only PIXEL 2017 ZSL HDR+ so all other Presets are not needed if you wish remove them.

The Manual Black Level ofset we dont use it because we dont have need from any adjusments if you wish remove it as well.

Minimal HDR+ Smoothing - doesnt work for us as well so if you wish remove it.


In this case we will have one Clean Build Working HDR+ with ZSL
PortraitMode, Blur Lens and also HDR+ on front Camera for regular photos with Improved HDR+ details for front in good light!

All in one!
 
  • Like
Reactions: romixer

aer0zer0

Recognized Contributor
I'm playing with it now in magisk. Going to get logcats and screenshots to help out....good work @tsalta

Also, I'm quite happy with the v6 as a base, everything turns on. It's rooting out the bugs for @Arnova8G2 that's important

---------- Post added at 10:01 PM ---------- Previous post was at 09:06 PM ----------

@Arnova8G2 the hot pink hue using hdr+ or enhanced goes away when you toggle improve sharpness on the v6b9. Any thoughts? without improve sharpness toggled (6p or 2017 zsl hdr+) its a bright pink hue, once toggled, it goes away
 
Last edited:
  • Like
Reactions: Arnova8G2

aer0zer0

Recognized Contributor
@Arnova8G2 i have a crash log for 240fps slo-mo. I have properly modified the media_profile.xml to allow slo-mo to work, its working on 120, if i select 240, it crashes the screen, but doesnt actually crash the GCAM. It appears as though its missing frame buffers. Its not entirely important however. But here is a log anyways
 

aer0zer0

Recognized Contributor
@Arnova8G2 there is also some odd artifacting when taking HDR pictures in bright lighting (not natural, aka laptop, tv, or lamps) it turns hot pink. screenshots upped for you to reference
 

Attachments

  • Screenshot_20180211-202329.jpg
    Screenshot_20180211-202329.jpg
    243.9 KB · Views: 1,221
  • Screenshot_20180211-223022.jpg
    Screenshot_20180211-223022.jpg
    186.6 KB · Views: 1,211
  • Screenshot_20180211-223027.jpg
    Screenshot_20180211-223027.jpg
    237.5 KB · Views: 1,205

tsalta

Senior Member
Dec 25, 2008
2,459
721
London
@Arnova8G2
@aer0zer0

For me the Base i upload is the Best 5.1.018 Port to be used as a Start Base will explain why!

Im using it everyday and the Image quality is outstanding also the View Finder is snappy fast.

With Model PIxel 2 XL and for HDR+ Pixel 2017 ZSL HDR+ you gona get outstanding quality images without lag in all scenarios Day and Night.
Also most important is the Front facing camera Instead of just HDR+ the front facing camera in this Base have some real improvements and you can take killer crystal clear front camera pictures this is not present in another builds.

Now when we have enought info and we know our senzor and the Camer2Api information if this version is optimazed for Us we gona get incredible results.
------------------------------------------------------------------------------------

All the Pixel2Mod Ports have the same bug for Us and this is often when you shoot pictures with Flashlight in dark scenario in front and back camera the APP force crash!

------------------------------------------------------------------------------------

Just for the record we have exact the same Camera Sensor like Nexus 5x and Nexus 6P

Sony IMX377 1/2.3" sensor that is 12.3 MP with 1.55 micron square pixels
the difference is only the aperture

Nexus have 2.0 aperture

HTC 10 F1.8 aperture
 

aer0zer0

Recognized Contributor
@Arnova8G2

@aer0zer0

For me the Base i upload is the Best 5.1.018 Port to be used as a Start Base will explain why!

Im using it everyday and the Image quality is outstanding also the View Finder is snappy fast.

With Model PIxel 2 XL and for HDR+ Pixel 2017 ZSL HDR+ you gona get outstanding quality images without lag in all scenarios Day and Night.
Also most important is the Front facing camera Instead of just HDR+ the front facing camera in this Base have some real improvements and you can take killer crystal clear front camera pictures this is not present in another builds.

Now when we have enought info and we know our senzor and the Camer2Api information if this version is optimazed for Us we gona get incredible results.
------------------------------------------------------------------------------------

All the Pixel2Mod Ports have the same bug for Us and this is often when you shoot pictures with Flashlight in dark scenario in front and back camera the APP force crash!

------------------------------------------------------------------------------------

Just for the record we have exact the same Camera Sensor like Nexus 5x and Nexus 6P

Sony IMX377 1/2.3" sensor that is 12.3 MP with 1.55 micron square pixels
the difference is only the aperture

Nexus have 2.0 aperture

HTC 10 F1.8 aperture

Sure, but I doubt he is going to work backwards. Instead of explaining why a base is better than another. Let's gets some logs so he can nail down what's going on.
 

tsalta

Senior Member
Dec 25, 2008
2,459
721
London
Sure, but I doubt he is going to work backwards. Instead of explaining why a base is better than another. Let's gets some logs so he can nail down what's going on.


Sure what im saying is since we have the same IMX senzor in theory this mean that the Original Color Settings Calibration for this Senzor can be found in the Original 65 or Nexus 5 Google Camera App because anyway google have writen them down in order to optimaze the APP to work properly for them so the calibration and colors of the senzor can be taken from the Original 6P Nexus 5 App.
 

aer0zer0

Recognized Contributor
Sure what im saying is since we have the same IMX senzor in theory this mean that the Original Color Settings Calibration for this Senzor can be found in the Original 65 or Nexus 5 Google Camera App because anyway google have writen them down in order to optimaze the APP to work properly for them so the calibration and colors of the senzor can be taken from the Original 6P Nexus 5 App.

Then why not use 6p setting :confused:
 

tsalta

Senior Member
Dec 25, 2008
2,459
721
London
@Arnova8G2 when taking a front facing portrait or regular shot in low/no light with the flash on, the camera fc's. Attached is a logcat

Rear camera seems to be fine.

Amazing JOB i was hoping to catch this FC Problem!
NOTE: Both cameras the REAR also have exact same problem! But sometimes work something doesnt. Im sure.

If there is an object in front of the cam to focus will take the picture if not just will crash like the front facing camera so the same bug is present in both cameras!


Now what we got it! ( This crash heppans on both cameras when you use it in very low light scenario and the flash have to be used)

@Arnova8G2 The only one problem with the 1st version of your PixelMod

GoogleCamera-PixelMod-Arnova8G2-5.1.018-v1 (Arnova8G2, 2018-01-16, changelog)


Was this force crash in Low light when you have to use the flashlight!

Now we got a log of the crash what i mean is no need a new version of Gcam because on the 1st already everything working fine on HTC 10! If the force crash is fixed thats it we gona have a Super Version Stable and Crash free!

Just let me know what you think what have to be edited in the 1st Version. to fix this issue with the Flashlight!

THANK you in advance
 
Last edited:

aer0zer0

Recognized Contributor
Amazing JOB i was hoping to catch this FC Problem!
NOTE: Both cameras the REAR also have exact same problem! But sometimes work something doesnt. Im sure.

If there is an object in front of the cam to focus will take the picture if not just will crash like the front facing camera so the same bug is present in both cameras!


Now what we got it! ( This crash heppans on both cameras when you use it in very low light scenario and the flash have to be used)

@Arnova8G2 The only one problem with the 1st version of your PixelMod

GoogleCamera-PixelMod-Arnova8G2-5.1.018-v1 (Arnova8G2, 2018-01-16, changelog)


Was this force crash in Low light when you have to use the flashlight!

Now we got a log of the crash what i mean is no need a new version of Gcam because on the 1st already everything working fine on HTC 10! If the force crash is fixed thats it we gona have a Super Version Stable and Crash free!

Just let me know what you think what have to be edited in the 1st Version. to fix this issue with the Flashlight!

THANK you in advance

I still don't think he is going to modify a old version....you can take logcats too, y'know. You don't need to be a cheerleader....lol
 

tsalta

Senior Member
Dec 25, 2008
2,459
721
London
I still don't think he is going to modify a old version....you can take logcats too, y'know. You don't need to be a cheerleader....lol

Yes i know but the Bug force crash when using flashlight on dark night photos is present in every PixelMod

I know i can take a logcat but i will be able to do it tomorow since im traveling from work, thats why ive asked you if you can.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 25

    UPDATE 2019​




    Decide to update the thread with 2019 latest INFO and builds so far for HTC 10 Nougat and Oreo, however all builds that are for Nougat work properly on OREO as well. There are plenty more builds from different developers that i know the purpose of this threat is to post MOST stable fastest Builds that work fully or have minimal problems/bugs


    For all OREO Users we have PIXEL 3 fully working build and i can say it is snappy as well, this very 1st version of the new 6 Base work perfectly for us, note that in the past year and more ive tested so far almost all combination posible from the very beggining of the Gcam porting.
    Also some newer 6 version work too but they are more laggy and have more problems like i say will upload only the BEST out of the BEST regarding performance and quality:

    MOST STABLE version till now for Nougat and Oreo for our HTC 10 is this Build: https://drive.google.com/open?id=1SRRtNcqzM6BPxjEYW4R1QklxH1-qKgGu

    This is based on a BSG 5.1.018 edited by @arnova this is the very 1st Pixel2 Build unreleased i found out that only this the very 1st build before to be published as a PixelMod Arnova doesnt have the bug with force crash in low light when the flash have to be used, however the build has other problems like purple tint on the front camera because of the front camera values so i asked @fu24 if he can help us to fix this by adding the properly value of 64 for the front facing camera and in to add as an extra the option to be disabled the zoom in portrait, he did both of the things and till now this is the most working build so far all the camera works also portrait and also you can shoot pictures in the night using the flashlight without a problem the only one bug is the front Camera will not take picture with the flashlight ON ANYWAY this is really a minor problem because most important is you can shoot now and use one single camera app instead of 2 3 different versions in all scenarios so Kudos for all the Developers and Kudos to @fu24 because he just fix the problems i wrote him.

    The best settings for this build are :

    Model: Pixel 2 or Pixel 2XL Or Pixel is up to you
    Config HDR+ have to be Pixel 2017 ZSL HDR+
    Under Advanced if you wish enable HDR+ Control
    HDR+ parameters are up to you
    Capture Level ovveride for both cameras set it to ZSL reprocessing
    Portrait Mode - ON
    USE ZSL
    Final JPG Quality is up to you
    fix black level front camera has to be 64
    Disable Portrait Mode ZOOM

    that all everything else is up to you.

    Arnova Fixes the problem in later builds i mean the problem with the front camera not working under low light condition but the problem transfer to the Back camera and in my opinion the back Camera is the BASE camera senzor so it is better that why.
    I think the problem the front camera to dont take picture in low light is because is set by default to Huawei we always have problems with Huawei have to be Nexus 6P or even better PIXEL to be perfect but for now this is great Build.

    Thank you Devs


    ---------------------------------


    PIXEL 3 version 6 Gcam fully working build from BSG credits and thanks to him.
    https://www.celsoazevedo.com/files/android/google-camera/f/changelog248/

    Tested under Android OREO Everything works AR stickers, Night Sight, Portrait on both cameras, video recording.
    THE ONLY one problem this build is missing is the option to DISABLE the initial ZOOM from the portrait mode (If some developer add only this extra to this exact build we gona have really nice Gcamera version 6. the only prolem is the FRONT facing camera doesnt do good quality HDR+ photos.
    ----------------------------------------------------------------------

    For Nougat the situation is much more complicated we have alot of Builds but none of them is fully working for example all PIXEL 2 ports from Arnova and all other builds that use his Pixel 2 base have the same problem with the flashlight crash in the dark.

    However all other is working perfectly fine!

    If you wish most stable PIXEL 2 port that has everything works expect night shoots with flashlight i recommend you : https://drive.google.com/file/d/14KCf-mzKZYAH5U-CQsVU8W13CMd2OJXX/view

    Thanks Arnova for that build! @Arnova8G2


    The 3 new BUILDS are tested from me Using OREO LeeDroid and Viper Nougat ! AR stickers Work, Night Sight in Version 6 as well front portrait back and so on.


    If somebody from the developers want to add edit the missing puzzle they are welcome!


    ----------------------------------------------------


    THANKS TO ALL Developers like

    @Arnova8G2
    @B-S-G from 4PDA
    @ivanich
    @scrubber
    @cstark27
    @SKULSHADY
    @miniuser123
    @urikill - 4PDA
    @ArtZ
    16
    Guys Guys Guys im happy to present you the 1st Gcam Port that everything works under Nougat. Stable and Fast.

    @aer0zer0 im back in the GAME so Crazy like always :D

    The port has Blur and Portrait Mode together work in all conditions also have almost all availible settings you may ask for.

    Including SAVE portraits in the sam Folder few different Pixel ZSL configs super fast shooting. Awesome shoots in low light, Removing the ZOOM in portrait MODE, adjust the color levels for each camera lens and model and so on and so on. Well have so many options once you sett it up properly you are ready to go in all scenarios.


    The Port is made by the Russian guy Sergio

    Enjoy like i sayd this is the 1st Working Gcam bugs free with all posible setting you can ask for.

    https://drive.google.com/open?id=1dhELup3zw-yG3Wgch4BCSEfezu36LGuR
    14
    ASTRO-PHOTOGRAPHY ... yes our 'almost' 4 years old HTC 10 has a Gcam port with working astrophotogratphy and SuperRes zoom features from Pixel 4.
    I have tried this apk on LOS 17 ( Nov 3rd ) build . And all features are working fine including night site and portrait. Turning of feature like framing hints .. motion capture and lens suggestions result in faster view finder . ( After install clear cache/storage of Gcam before starting the app ) . During first run / shifting modes between astro/night site/portrait the app might crash once. if that happens just restart the app and it will run fine.
    For turning Astrophotography on you have to go to settings > advanced . it gives exposure of around 1 min 40 sec . Astrophotography produces best results in darker/ pitch black scenarios. Oh and did i mention 12x Super Res zoom !!!
    If you are concerned about picture quality at finer level, BSG 7.009 still produces the finest pictures (this Apk has a little bit more noise but pics still turn out looking very good)

    Id like to thank the devs especially @fagyi @andybones and the modder @Urnyx05
    (and any that i missed) who work selflessly and make these experiences possible for us.

    PS i am attaching samples taken in pitch black room comparing regular night site vs Astro mode ..

    Link for the apk : https://f.celsoazevedo.com/file/cfiles/gcm1/GCam_7.2.010_Urnyx05-v1.1.apk

    if this post helps you hit thanks so other might find it useful as well :)
    13
    Hello HTC ppl . I have stumbled upon a new apk for Pie roms .. and it might be the best apk yet .... video capture is working perfectly ( no stutter ) . Best of all the viewfinder is really smooth . Night Sight is also working perfectly and so is portrait mode . this apk has manual settings for saturation so u can adjust it according to your liking . I have tested this on Pixel Experience Rom by @fagyi . You can test it on other PIE roms (DOES NOT work on OREO) and if it is working for you, hit thanks button so others can know its helpful . :)
    HERE IS THE APK LINK : https://f.celsoazevedo.com/file/cfiles/gcm1/MGC_6.2.030_MI9SE_V0c.apk

    PS: remember to uninstall previous Gcam apk before installing the new one .
    9
    *Links at end*
    hello guys .. once again back with working BSG gcam, this time latest 7.3.018.. so far BSG and Parrot Gcam have been best for our HTC 10 if you are looking for best Pic quality .. Arnova, Dise and Cstark work too but their pic quality not on the level of these 2 specially when u compare front cam and portrait mode .. plus the colors really pop out .
    as of yet 7.3.018 from BSG is really the most simplest and out of the box solution .. (this i am saying after trying lots of apks ..which need lots of settings to get pic quality right). As 7.3.018 is latest apk and bsg is first one to put it out, Astro mode is non functional (their is a toggle indicating future it will be added in future releases) .. everything else works as intended including 24ps recording. As a heads up turn off google AWB when using night mode ... (now a switch in drop down menu).

    If you are an avid Astro mode user and cant live without it use Parrot apk 7.2.014_V3 ... its got tons of customization if you want that .. and best pic quality .. also it supports xml config (i will attach my config file so u can load it up and get going immediately).
    PS: v7.3 is strictly Android 10 only. parrot gcam also runs on Pie .. Unfortunately these goodies not for Oreo.

    BSG 7.3 : https://f.celsoazevedo.com/file/cfiles/gcm1/MGC_7.3.018_RPII_v0.apk
    Parrot 7.2 : https://f.celsoazevedo.com/file/cfiles/gcm1/MGC_7.2.014_Parrot043-v3.apk