FORUMS
Remove All Ads from XDA
OnePlus 6 Development Program

[ALPHA] [WIP] OnePlus 6 Google Camera Port [Jun 21 2018]

588 posts
Thanks Meter: 1,323
 
By cstark27, Senior Member on 30th May 2018, 05:33 PM
Post Reply Email Thread
ALPHA test build for OnePlus 6. There will be issues. I cannot promise further updates.

June 21, 2018
OP6v0.5_GoogleCamera-Pixel2Mod-Arnova8G2-V8
-Added Nexus 6 HDR+ Config toggle (this is the old config with better focus)
-Added Reduce SD845 Tint toggle (same effect as v0.2 MGC)
-Added Manual AWB Gains toggle and 4 color choices below it
--Enable Manual AWB Gains and adjust the numbers until you see a decent color image. See if your settings look good in most lighting conditions. Mine are currently at Red 1.5 / Green 1 1.0 / Green 2 1.0 / Blue 2.0 but it has to be changed to 2.0/1.0/1.0/1.5 in different lighting conditions but I don't have a lot of time to tinker with it.

OR

OP6v0.3_MGC_5.1.018_FINAL_3.4A
-Open settings after installation and go back to Camera or force close app
-Added Reduce SD845 Tint toggle (same effect as v0.2 MGC)
-Added Manual AWB Gains toggle and 4 color choices below it
-Added camera reset option of Namok/SerJo87
--Enable Manual AWB Gains and adjust the numbers until you see a decent color image. See if your settings look good in most lighting conditions. Mine are currently at Red 1.5 / Green 1 1.0 / Green 2 1.0 / Blue 2.0 but it has to be changed to 2.0/1.0/1.0/1.5 in different lighting conditions but I don't have a lot of time to tinker with it.

June 20, 2018
You must clear app data after install
OP6v0.4GoogleCamera-Pixel2Mod-Arnova8G2-V8

Changelog:
-ZSL HDR+ working
-HDR+ on Front camera
-Changed config to "test fix 2017 Pixel ZSL" that Arnova put in there
-Tint issue still present but I added a toggle to "reduce" it like in the previously posted MGC version

June 19, 2018
GoogleCamera-Pixel2Mod-Arnova8G2-V8.apk (patched for OnePlus 6)
OR
OP6v0.2_MGC_5.1.018_FINAL_3.4A
Tint is removed in some scenarios, may be weird in other scenarios. Needs testing.
-Install OP6v0.2_MGC
-Clear Data
-Open app, accept permissions
-Open Camera settings>BSG Mod settings>enable Pixels auto-HDR+
-Force close

June 11, 2018
@Arnova8G2 will be receiving a OnePlus 6 courtesy of OnePlus. Promising development should ramp up when he receives it as he is much more capable than I! https://www.xda-developers.com/onepl...r-application/


June 7, 2018
OP6v0.1_MGC_5.1.018_FINAL_3.4A Still has the color tint issue but the Pixel profile toggle works and ZSL HDR+ mode works, but is VERY LAGGY. If you click the photo thumbnail then go back to camera you can usually take a photo with ZSL HDR+ before it lags again.
-Install OP6v0.2_MGC
-Clear Data
-Open app, accept permissions
-Open Camera settings>BSG Mod settings>enable Pixels auto-HDR+
-Force close

June 6, 2018
OnePlus6v0.2_GoogleCamera-Pixel2Mod-Arnova8G2-V7.9.7 Changed default frame count to 3 and added a "fix" for the viewfinder changing colors, but this doesn't fix the captured picture colors.

June 5, 2018

OP6-GoogleCamera-Pixel2Mod-Arnova8G2-V7.9.9
No HDR+ but you can try to play with the override settings.
OR
OnePlus6v0.1.5_GoogleCamera-Pixel2Mod-Arnova8G2-V7.9.7. Updated so other SD845 devices could try the same fixes.

June 4, 2018
OnePlus6v0.1_GoogleCamera-Pixel2Mod-Arnova8G2-V7.9.7. Front cam captures but no HDR+. No crash in settings. All other issues listed below are present.

May 30, 2018
OnePlus6_cstark27_GCam_5.1.018_24_v3.7 - Front cam captures but no HDR+. No crash in settings. All other issues listed below are present. May work on some other SD845 devices.
OR
OnePlus6_GoogleCamera-Pixel2Mod-Arnova8G2-V7.9.5 - Settings crashes and no front capture. May work better in bright light and colors may not come out as wrong. All other issues listed below are present. May work on some other SD845 devices.

Working:
Rear HDR+ Capture
Front HDR+ Capture

Issues:
-Sometimes won't capture in bright light (Arnova version sometimes better)
-No Pixel/ZSL HDR+
--Locks up when trying Pixel HDR+ configs and Portrait Mode
-No front camera capture
-Successive captures can either freeze the app or process/capture very slowly
-Colors may come out wrong after pressing the shutter button
-Crashes when opening Settings





Camera2 Test Report
Code:
Camera 0 (BACK)
android.flash.info: 
- available = true

android.info: 
- supportedHardwareLevel = HARDWARE_LEVEL_FULL

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

android.reprocess: 
- maxCaptureStall = 2

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

android.scaler: 
- availableMaxDigitalZoom = 8.0 
- croppingType = SCALER_CROPPING_TYPE_CENTER_ONLY 
- streamConfigurationMap = 
OutputFormats:
[4656x3496, RAW_SENSOR(32), min_dur:20000000, stall:0] 
[4608x2304, JPEG(256), min_dur:33333333, stall:69009408] 
[4608x2592, JPEG(256), min_dur:33333333, stall:77635584] 
[4608x2176, JPEG(256), min_dur:33333333, stall:65175552] 
[4096x2160, JPEG(256), min_dur:33333333, stall:57507840] 
[4096x1940, JPEG(256), min_dur:33333333, stall:51650560] 
[4000x3000, JPEG(256), min_dur:33333333, stall:78000000] 
[3840x2160, JPEG(256), min_dur:33333333, stall:53913600] 
[3456x3456, JPEG(256), min_dur:33333333, stall:77635584] 
[3264x2448, JPEG(256), min_dur:33333333, stall:51936768] 
[3200x2400, JPEG(256), min_dur:33333333, stall:49920000] 
[2976x2976, JPEG(256), min_dur:33333333, stall:57567744] 
[2688x1512, JPEG(256), min_dur:33333333, stall:26417664] 
[2592x1944, JPEG(256), min_dur:33333333, stall:32752512] 
[2592x1940, JPEG(256), min_dur:33333333, stall:32685120] 
[2304x1728, JPEG(256), min_dur:33333333, stall:25878528] 
[2280x1080, JPEG(256), min_dur:33333333, stall:16005600] 
[2160x1080, JPEG(256), min_dur:33333333, stall:15163200] 
[2048x1536, JPEG(256), min_dur:33333333, stall:20447232] 
[1920x1440, JPEG(256), min_dur:33333333, stall:17971200] 
[1920x1080, JPEG(256), min_dur:33333333, stall:13478400] 
[1440x1080, JPEG(256), min_dur:33333333, stall:10108800] 
[1280x960, JPEG(256), min_dur:33333333, stall:7987200] 
[1280x768, JPEG(256), min_dur:33333333, stall:6389760] 
[1280x720, JPEG(256), min_dur:33333333, stall:5990400] 
[1080x1080, JPEG(256), min_dur:33333333, stall:7581600] 
[1024x738, JPEG(256), min_dur:33333333, stall:4912128] 
[1024x768, JPEG(256), min_dur:33333333, stall:5111808] 
[800x600, JPEG(256), min_dur:33333333, stall:3120000] 
[800x480, JPEG(256), min_dur:33333333, stall:2496000] 
[720x480, JPEG(256), min_dur:33333333, stall:2246400] 
[640x480, JPEG(256), min_dur:33333333, stall:1996800] 
[352x288, JPEG(256), min_dur:33333333, stall:658944] 
[320x240, JPEG(256), min_dur:33333333, stall:499200] 
[4608x2304, PRIVATE(34), min_dur:33333333, stall:0] 
[4608x2592, PRIVATE(34), min_dur:33333333, stall:0] 
[4608x2176, PRIVATE(34), min_dur:33333333, stall:0] 
[4096x2160, PRIVATE(34), min_dur:33333333, stall:0] 
[4096x1940, PRIVATE(34), min_dur:33333333, stall:0] 
[4000x3000, PRIVATE(34), min_dur:33333333, stall:0] 
[3840x2160, PRIVATE(34), min_dur:33333333, stall:0] 
[3456x3456, PRIVATE(34), min_dur:33333333, stall:0] 
[3264x2448, PRIVATE(34), min_dur:33333333, stall:0] 
[3200x2400, PRIVATE(34), min_dur:33333333, stall:0] 
[2976x2976, PRIVATE(34), min_dur:33333333, stall:0] 
[2688x1512, PRIVATE(34), min_dur:33333333, stall:0] 
[2592x1944, PRIVATE(34), min_dur:33333333, stall:0] 
[2592x1940, PRIVATE(34), min_dur:33333333, stall:0] 
[2304x1728, PRIVATE(34), min_dur:33333333, stall:0] 
[2280x1080, PRIVATE(34), min_dur:33333333, stall:0] 
[2160x1080, PRIVATE(34), min_dur:33333333, stall:0] 
[2048x1536, PRIVATE(34), min_dur:33333333, stall:0] 
[1920x1440, PRIVATE(34), min_dur:33333333, stall:0] 
[1920x1080, 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] 
[1080x1080, PRIVATE(34), min_dur:33333333, stall:0] 
[1024x738, PRIVATE(34), min_dur:33333333, stall:0] 
[1024x768, PRIVATE(34), min_dur:33333333, stall:0] 
[800x600, PRIVATE(34), min_dur:33333333, stall:0] 
[800x480, PRIVATE(34), min_dur:33333333, stall:0] 
[720x480, PRIVATE(34), min_dur:33333333, stall:0] 
[640x480, 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] 
[4608x2304, YUV_420_888(35), min_dur:33333333, stall:0] 
[4608x2592, YUV_420_888(35), min_dur:33333333, stall:0] 
[4608x2176, YUV_420_888(35), min_dur:33333333, stall:0] 
[4096x2160, YUV_420_888(35), min_dur:33333333, stall:0] 
[4096x1940, YUV_420_888(35), min_dur:33333333, stall:0] 
[4000x3000, YUV_420_888(35), min_dur:33333333, stall:0] 
[3840x2160, YUV_420_888(35), min_dur:33333333, stall:0] 
[3456x3456, 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] 
[2976x2976, YUV_420_888(35), min_dur:33333333, stall:0] 
[2688x1512, YUV_420_888(35), min_dur:33333333, stall:0] 
[2592x1944, YUV_420_888(35), min_dur:33333333, stall:0] 
[2592x1940, YUV_420_888(35), min_dur:33333333, stall:0] 
[2304x1728, YUV_420_888(35), min_dur:33333333, stall:0] 
[2280x1080, YUV_420_888(35), min_dur:33333333, stall:0] 
[2160x1080, YUV_420_888(35), min_dur:33333333, stall:0] 
[2048x1536, YUV_420_888(35), min_dur:33333333, stall:0] 
[1920x1440, YUV_420_888(35), min_dur:33333333, stall:0] 
[1920x1080, 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] 
[1080x1080, YUV_420_888(35), min_dur:33333333, stall:0] 
[1024x738, 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] 
[800x480, YUV_420_888(35), min_dur:33333333, stall:0] 
[720x480, YUV_420_888(35), min_dur:33333333, stall:0] 
[640x480, 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] 
[4656x3496, RAW_PRIVATE(36), min_dur:20000000, stall:0] 
[4656x3496, RAW10(37), min_dur:20000000, stall:0] 
HighSpeedVideoConfigurations:
[1280x720, min_fps:60, max_fps:480], [1280x720, min_fps:480, max_fps:480], [1920x1080, min_fps:30, max_fps:240], [1920x1080, min_fps:240, max_fps:240]

HighResOutputs:
[w:4608, h:3456, format:JPEG(256), min_duration:66666666, stall:103514112], [w:4160, h:3120, format:JPEG(256), min_duration:66666666, stall:84364800], [w:4608, h:3456, format:PRIVATE(34), min_duration:66666666, stall:0], [w:4160, h:3120, format:PRIVATE(34), min_duration:66666666, stall:0], [w:4608, h:3456, format:YUV_420_888(35), min_duration:66666666, stall:0], [w:4160, h:3120, format:YUV_420_888(35), min_duration:66666666, stall:0],

InputsString:
4608x3456, PRIVATE(34), 
4608x2304, PRIVATE(34), 
4608x2592, PRIVATE(34), 
4608x2176, PRIVATE(34), 
4160x3120, PRIVATE(34), 
4096x2160, PRIVATE(34), 
4096x1940, PRIVATE(34), 
4000x3000, PRIVATE(34), 
3840x2160, PRIVATE(34), 
3456x3456, PRIVATE(34), 
3264x2448, PRIVATE(34), 
3200x2400, PRIVATE(34), 
2976x2976, PRIVATE(34), 
2592x1944, PRIVATE(34), 
4608x3456, YUV_420_888(35), 
4608x2304, YUV_420_888(35), 
4608x2592, YUV_420_888(35), 
4608x2176, YUV_420_888(35), 
4160x3120, YUV_420_888(35), 
4096x2160, YUV_420_888(35), 
4096x1940, YUV_420_888(35), 
4000x3000, YUV_420_888(35), 
3840x2160, YUV_420_888(35), 
3456x3456, YUV_420_888(35), 
3264x2448, YUV_420_888(35), 
3200x2400, YUV_420_888(35), 
2976x2976, YUV_420_888(35), 
2592x1944, YUV_420_888(35), 

ValidOutputFormatsForInputString:

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

android.sensor: 
- availableTestPatternModes = [0] 
- 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([78/128, -37/128, -12/128], [-124/128, 240/128, 5/128], [7/128, -24/128, 127/128]) 
- colorTransform2 = ColorSpaceTransform([187/128, -89/128, -29/128], [-124/128, 240/128, 5/128], [5/128, -17/128, 87/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 = 1600 
- orientation = 90 
- referenceIlluminant1 = 20 
- referenceIlluminant2 = 17

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

android.sync: 
- maxLatency = SYNC_MAX_LATENCY_PER_FRAME_CONTROL

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

android.lens.info: 
- availableApertures = [1.7] 
- availableFilterDensities = [0.0] 
- availableFocalLengths = [4.25] 
- availableOpticalStabilization = [0,1] 
- focusDistanceCalibration = 1 
- hyperfocalDistance = 0.21082354 
- minimumFocusDistance = 14.285714

android.lens: 
- facing = LENS_FACING_BACK

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

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

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

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

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

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

android.sensor.info: 
- activeArraySize = Rect(0, 0 - 4656, 3496) 
- colorFilterArrangement = 0 
- exposureTimeRange = [9384, 15062000000] 
- lensShadingApplied = true 
- maxFrameDuration = 15062017720 
- physicalSize = 5.21472x3.91552 
- pixelArraySize = 4656x3496 
- preCorrectionActiveArraySize = Rect(0, 0 - 4656, 3496) 
- sensitivityRange = [100, 1600] 
- timestampSource = SOURCE_REALTIME 
- whiteLevel = 1023

Camera 1 (FRONT)
android.flash.info: 
- available = false

android.info: 
- supportedHardwareLevel = HARDWARE_LEVEL_LIMITED

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

android.reprocess: 
- maxCaptureStall = 2

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

android.scaler: 
- availableMaxDigitalZoom = 8.0 
- croppingType = SCALER_CROPPING_TYPE_CENTER_ONLY 
- streamConfigurationMap = 
OutputFormats:
[2304x1728, RAW_SENSOR(32), min_dur:33308906, stall:0] 
[4608x2304, JPEG(256), min_dur:33333333, stall:69009408] 
[4608x2592, JPEG(256), min_dur:33333333, stall:77635584] 
[4608x2176, JPEG(256), min_dur:33333333, stall:65175552] 
[4096x1940, JPEG(256), min_dur:33333333, stall:51650560] 
[4000x3000, JPEG(256), min_dur:33333333, stall:78000000] 
[3456x3456, JPEG(256), min_dur:33333333, stall:77635584] 
[3264x2448, JPEG(256), min_dur:33333333, stall:51936768] 
[3200x2400, JPEG(256), min_dur:33333333, stall:49920000] 
[2976x2976, JPEG(256), min_dur:33333333, stall:57567744] 
[2688x1512, JPEG(256), min_dur:33333333, stall:26417664] 
[2592x1944, JPEG(256), min_dur:33333333, stall:32752512] 
[2592x1940, JPEG(256), min_dur:33333333, stall:32685120] 
[2304x1728, JPEG(256), min_dur:33333333, stall:25878528] 
[2280x1080, JPEG(256), min_dur:33333333, stall:16005600] 
[2160x1080, JPEG(256), min_dur:33333333, stall:15163200] 
[2048x1536, JPEG(256), min_dur:33333333, stall:20447232] 
[1920x1440, JPEG(256), min_dur:33333333, stall:17971200] 
[1920x1080, JPEG(256), min_dur:33333333, stall:13478400] 
[1440x1080, JPEG(256), min_dur:33333333, stall:10108800] 
[1280x960, JPEG(256), min_dur:33333333, stall:7987200] 
[1280x768, JPEG(256), min_dur:33333333, stall:6389760] 
[1280x720, JPEG(256), min_dur:33333333, stall:5990400] 
[1080x1080, JPEG(256), min_dur:33333333, stall:7581600] 
[1024x738, JPEG(256), min_dur:33333333, stall:4912128] 
[1024x768, JPEG(256), min_dur:33333333, stall:5111808] 
[800x600, JPEG(256), min_dur:33333333, stall:3120000] 
[800x480, JPEG(256), min_dur:33333333, stall:2496000] 
[720x480, JPEG(256), min_dur:33333333, stall:2246400] 
[640x480, JPEG(256), min_dur:33333333, stall:1996800] 
[352x288, JPEG(256), min_dur:33333333, stall:658944] 
[320x240, JPEG(256), min_dur:33333333, stall:499200] 
[4608x2304, PRIVATE(34), min_dur:33333333, stall:0] 
[4608x2592, PRIVATE(34), min_dur:33333333, stall:0] 
[4608x2176, PRIVATE(34), min_dur:33333333, stall:0] 
[4096x1940, PRIVATE(34), min_dur:33333333, stall:0] 
[4000x3000, PRIVATE(34), min_dur:33333333, stall:0] 
[3456x3456, PRIVATE(34), min_dur:33333333, stall:0] 
[3264x2448, PRIVATE(34), min_dur:33333333, stall:0] 
[3200x2400, PRIVATE(34), min_dur:33333333, stall:0] 
[2976x2976, PRIVATE(34), min_dur:33333333, stall:0] 
[2688x1512, PRIVATE(34), min_dur:33333333, stall:0] 
[2592x1944, PRIVATE(34), min_dur:33333333, stall:0] 
[2592x1940, PRIVATE(34), min_dur:33333333, stall:0] 
[2304x1728, PRIVATE(34), min_dur:33333333, stall:0] 
[2280x1080, PRIVATE(34), min_dur:33333333, stall:0] 
[2160x1080, PRIVATE(34), min_dur:33333333, stall:0] 
[2048x1536, PRIVATE(34), min_dur:33333333, stall:0] 
[1920x1440, PRIVATE(34), min_dur:33333333, stall:0] 
[1920x1080, 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] 
[1080x1080, PRIVATE(34), min_dur:33333333, stall:0] 
[1024x738, PRIVATE(34), min_dur:33333333, stall:0] 
[1024x768, PRIVATE(34), min_dur:33333333, stall:0] 
[800x600, PRIVATE(34), min_dur:33333333, stall:0] 
[800x480, PRIVATE(34), min_dur:33333333, stall:0] 
[720x480, PRIVATE(34), min_dur:33333333, stall:0] 
[640x480, 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] 
[4608x2304, YUV_420_888(35), min_dur:33333333, stall:0] 
[4608x2592, YUV_420_888(35), min_dur:33333333, stall:0] 
[4608x2176, YUV_420_888(35), min_dur:33333333, stall:0] 
[4096x1940, YUV_420_888(35), min_dur:33333333, stall:0] 
[4000x3000, YUV_420_888(35), min_dur:33333333, stall:0] 
[3456x3456, 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] 
[2976x2976, YUV_420_888(35), min_dur:33333333, stall:0] 
[2688x1512, YUV_420_888(35), min_dur:33333333, stall:0] 
[2592x1944, YUV_420_888(35), min_dur:33333333, stall:0] 
[2592x1940, YUV_420_888(35), min_dur:33333333, stall:0] 
[2304x1728, YUV_420_888(35), min_dur:33333333, stall:0] 
[2280x1080, YUV_420_888(35), min_dur:33333333, stall:0] 
[2160x1080, YUV_420_888(35), min_dur:33333333, stall:0] 
[2048x1536, YUV_420_888(35), min_dur:33333333, stall:0] 
[1920x1440, YUV_420_888(35), min_dur:33333333, stall:0] 
[1920x1080, 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] 
[1080x1080, YUV_420_888(35), min_dur:33333333, stall:0] 
[1024x738, 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] 
[800x480, YUV_420_888(35), min_dur:33333333, stall:0] 
[720x480, YUV_420_888(35), min_dur:33333333, stall:0] 
[640x480, 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] 
[2304x1728, RAW_PRIVATE(36), min_dur:33308906, stall:0] 
[2304x1728, RAW10(37), min_dur:33308906, stall:0] 
HighResOutputs:
[w:4608, h:3456, format:JPEG(256), min_duration:66666666, stall:103514112], [w:4160, h:3120, format:JPEG(256), min_duration:66666666, stall:84364800], [w:4608, h:3456, format:PRIVATE(34), min_duration:66666666, stall:0], [w:4160, h:3120, format:PRIVATE(34), min_duration:66666666, stall:0], [w:4608, h:3456, format:YUV_420_888(35), min_duration:66666666, stall:0], [w:4160, h:3120, format:YUV_420_888(35), min_duration:66666666, stall:0],

android.sensor: 
- availableTestPatternModes = [0] 
- 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([80/128, -38/128, -12/128], [-124/128, 240/128, 5/128], [8/128, -30/128, 155/128]) 
- colorTransform2 = ColorSpaceTransform([162/128, -77/128, -25/128], [-124/128, 240/128, 5/128], [6/128, -21/128, 108/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 = 1600 
- orientation = 270 
- referenceIlluminant1 = 20 
- referenceIlluminant2 = 17

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

android.sync: 
- maxLatency = SYNC_MAX_LATENCY_PER_FRAME_CONTROL

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

android.lens.info: 
- availableApertures = [2.0] 
- availableFilterDensities = [0.0] 
- availableFocalLengths = [3.48] 
- availableOpticalStabilization = [0] 
- focusDistanceCalibration = 1 
- hyperfocalDistance = 0.36992997 
- minimumFocusDistance = 0.0

android.lens: 
- facing = LENS_FACING_FRONT

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

android.colorCorrection: 
- availableAberrationModes = [0]

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

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

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

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

android.sensor.info: 
- activeArraySize = Rect(0, 0 - 4608, 3456) 
- colorFilterArrangement = 0 
- exposureTimeRange = [13103, 49035740046] 
- lensShadingApplied = true 
- maxFrameDuration = 49035908400 
- physicalSize = 5.16096x3.87072 
- pixelArraySize = 4608x3456 
- preCorrectionActiveArraySize = Rect(0, 0 - 2304, 1728) 
- sensitivityRange = [100, 1600] 
- timestampSource = SOURCE_REALTIME 
- whiteLevel = 1023
The Following 56 Users Say Thank You to cstark27 For This Useful Post: [ View ] Gift cstark27 Ad-Free
 
 
30th May 2018, 05:57 PM |#2  
Junior Member
Thanks Meter: 2
 
More
Thanks for this - it's really encouraging. I am seeing an odd colour cast, green or at least cooler colour hue after hitting the shutter.
The Following User Says Thank You to jdhewitt For This Useful Post: [ View ] Gift jdhewitt Ad-Free
30th May 2018, 06:02 PM |#3  
Senior Member
Flag Budapest
Thanks Meter: 307
 
More
Thank you very much!
30th May 2018, 06:05 PM |#4  
alxioa's Avatar
Senior Member
Flag salonika BY night
Thanks Meter: 9
 
More
Τhank you very very mutch
30th May 2018, 06:23 PM |#5  
=dave='s Avatar
Senior Member
Thanks Meter: 132
 
More
woah, looks promising! thank you very much
30th May 2018, 07:28 PM |#6  
Junior Member
Thanks Meter: 1
 
More
Great , will test it tomorrow after receiving my OP6
30th May 2018, 08:35 PM |#7  
cstark27's Avatar
OP Senior Member
Thanks Meter: 1,323
 
Donate to Me
More
Updated OP with a new build, based off my latest version I was building for the LG V30. Borrowed some code from @Arnova8G2 to fix the back camera. Settings should work now and front camera will capture, but no HDR+. Portrait Mode still broke. Need to test capture in sunlight.

Download OnePlus6_cstark27_GCam_5.1.018_24_v3.7
The Following 12 Users Say Thank You to cstark27 For This Useful Post: [ View ] Gift cstark27 Ad-Free
30th May 2018, 08:44 PM |#8  
Member
Thanks Meter: 41
 
More
Wink
Quote:
Originally Posted by cstark27

Updated OP with a new build, based off my latest version I was building for the LG V30. Borrowed some code from @Arnova8G2 to fix the back camera. Settings should work now and front camera will capture, but no HDR+. Portrait Mode still broke. Need to test capture in sunlight.

Download OnePlus6_cstark27_GCam_5.1.018_24_v3.7

Thanks a billion for getting this to run on OP6.

No dots on this device in processed images, which is awesome.

New release gives quite pinkish results, but hey I know its a work in progress, great progress!
30th May 2018, 08:50 PM |#9  
cstark27's Avatar
OP Senior Member
Thanks Meter: 1,323
 
Donate to Me
More
Quote:
Originally Posted by CareDood

Thanks a billion for getting this to run on OP6.

No dots on this device in processed images, which is awesome.

New release gives quite pinkish results, but hey I know its a work in progress, great progress!

Try to play around with Settings>Advanced>Model (force close after change) and let me know if there is a better result with a different model.

Another bug: successive captures can either freeze the app or process/capture very slowly.
The Following 3 Users Say Thank You to cstark27 For This Useful Post: [ View ] Gift cstark27 Ad-Free
30th May 2018, 09:48 PM |#10  
Senior Member
Thanks Meter: 8,499
 
Donate to Me
More
Quote:
Originally Posted by cstark27

Updated OP with a new build, based off my latest version I was building for the LG V30. Borrowed some code from @Arnova8G2 to fix the back camera. Settings should work now and front camera will capture, but no HDR+. Portrait Mode still broke. Need to test capture in sunlight.

Download OnePlus6_cstark27_GCam_5.1.018_24_v3.7

For the use of the frontal hdr + you have to modify the libs like Op3T / Op5 / Op5t
Code:
android.sensor.info: 
- activeArraySize = Rect(0, 0 - 4608, 3456)  <------- replace by Rect(0, 0 - 2304, 1728)
- colorFilterArrangement = 0 
- exposureTimeRange = [13103, 49035740046] 
- lensShadingApplied = true 
- maxFrameDuration = 49035908400 
- physicalSize = 5.16096x3.87072 
- pixelArraySize = 4608x3456   <------- replace by 2304x1728
- preCorrectionActiveArraySize = Rect(0, 0 - 2304, 1728) 
- sensitivityRange = [100, 1600] 
- timestampSource = SOURCE_REALTIME 
- whiteLevel = 1023
I will do a test with your version with these raw resolution.
The Following 15 Users Say Thank You to Arnova8G2 For This Useful Post: [ View ] Gift Arnova8G2 Ad-Free
30th May 2018, 10:21 PM |#11  
Member
Thanks Meter: 4
 
More
Thanks a lot for this. Will try it too. Do we have to.enable camera 2 api or is it enabled by default?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes