Seeing as almost every new phone is turning to dual camera setups these days, it realls needs to start being baked into Open Camera. On LG devices, they have a wide angle and normal angle lens. On some Huawei devices, it's a normal sensor and a monochrome sensor.
Regardless of the setup, these configurations really should be supported. I know each one does it a little differently, but can it be flagged as a priority? This is a great app, but if it doesn't support dual sensor setups on virtually every high end phone going forward, nobody will use it anymore.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The latest version of Open Camera has some debug info under Settings/About - for people with dual camera phones, what does it report under "No. of cameras"? And can you test this with and without Camera2 API?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the info. First try to see if the same is true if Settings/"Camera API" is set to "Camera2 API".
If so, it's a limitation of the device that it isn't making the extra cameras available to third party applications. Maybe try reporting/requesting this at https://forums.oneplus.com/feedback/ .
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the info - so presumably it's just showing the front and back camera, and not supporting access to the dual cameras through the Android camera API for 3rd party applications.
I suspect this needs Google to add support for dual cameras - part of the issue is that there are different ways that different manufacturers are using dual cameras, which makes it hard to standardise...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have the Huawei P9 . With and without api2 it shows two cameras
Open Camera v1.38.1
Code: 48
(c) 2013-2017 Mark Harman
Released under the GPL v3 or later
Package: net.sourceforge.opencamera
Android API version: 24
Device manufacturer: HUAWEI
Device model: EVA-L09
Device code-name: hi3650
Device variant: HWEVA
Language: nl
Standard max heap?: 384
Large max heap?: 512
Display size: 1080x1812
Current camera ID: 0
No. of cameras: 2
Camera API: Camera2 (Android L)
Preview resolutions: 1920x1080, 1440x1080, 1536x864, 1280x960, 1280x720, 960x720, 720x720, 640x480, 736x414, 544x408, 400x400, 352x288, 320x240, 208x144, 176x144
Preview resolution: 1440x1080
Photo resolutions: 320x240, 640x480, 1280x720, 1920x1080, 3264x1840, 3264x2448, 3968x2976, 2048x1536, 2976x2976, 3968x2240
Photo resolution: 3968x2976
Video qualities: 1_r3264x1840, 1_r2592x1952, 1, 5_r1440x1080, 5_r1536x864, 5_r1280x960, 5, 4_r960x720, 4_r720x720, 4, 3_r736x414, 3_r544x408, 3_r400x400, 3, 7, 2_r208x144, 2
Video resolutions: 3264x1840, 2592x1952, 1920x1080, 1440x1080, 1536x864, 1280x960, 1280x720, 960x720, 720x720, 640x480, 736x414, 544x408, 400x400, 352x288, 320x240, 208x144, 176x144
Video quality: 1
Video frame width: 1920
Video frame height: 1080
Video bit rate: 17000000
Video frame rate: 30
Auto-stabilise?: Available
Auto-stabilise enabled?: false
Face detection?: Available
RAW?: Available
HDR?: Available
Expo?: Available
Expo compensation?: Available
Manual ISO?: Available
Manual exposure?: Available
Manual WB?: Available
Video stabilization?: Available
Can disable shutter sound?: Yes
Flash modes: flash_off, flash_auto, flash_on, flash_torch, flash_red_eye
Focus modes: focus_mode_auto, focus_mode_macro, focus_mode_locked, focus_mode_infinity, focus_mode_manual2, focus_mode_continuous_picture, focus_mode_continuous_video
Color effects: None
Scene modes: auto, action, portrait, landscape, night, night-portrait, theatre, beach, snow, fireworks, candlelight
White balances: auto, manual, incandescent, fluorescent, daylight, cloudy-daylight
ISOs: None
ISO key:
Using SAF?: false
Save Location: OpenCamera
Save Location SAF:
Parameters: None
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
With the OnePlus5 it can only cycle between the primary rear camera (wide ~28mm) and the front camera, it appears unable to find the second rear camera (tele ~35mm).
Open Camera v1.39
Code: 50
(c) 2013-2017 Mark Harman
Released under the GPL v3 or later
Package: net.sourceforge.opencamera
Android API version: 25
Device manufacturer: OnePlus
Device model: ONEPLUS A5000
Device code-name: qcom
Device variant: OnePlus5
Language: en
Standard max heap?: 256
Large max heap?: 512
Display size: 1080x1920
Current camera ID: 0
No. of cameras: 2
Camera API: Camera2 (Android L)
Preview resolutions: 1920x1080, 1440x1080, 1280x960, 1280x720, 720x480, 640x480, 480x360, 480x320, 352x288, 320x240, 176x144
Preview resolution: 1440x1080
Photo resolutions: 4608x3456, 4608x2592, 4160x3120, 3840x2160, 3456x3456, 3264x2448, 2560x1920, 2304x1728, 2304x1296, 1920x1080, 1728x1728, 1440x1080, 1280x960, 1280x720, 720x480, 640x480, 480x360, 480x320, 352x288, 320x240, 176x144
Photo resolution: 4608x3456
Video qualities: 1, 6_r2560x1920, 6_r2304x1728, 6_r2304x1296, 6_r1728x1728, 6, 5_r1440x1080, 5_r1280x960, 5, 4, 3_r640x480, 3_r480x360, 3_r480x320, 3, 7, 2
Video resolutions: 3840x2160, 2560x1920, 2304x1728, 2304x1296, 1728x1728, 1920x1080, 1440x1080, 1280x960, 1280x720, 720x480, 640x480, 480x360, 480x320, 352x288, 320x240, 176x144
Video quality: 6_r2304x1296
Video frame width: 2304
Video frame height: 1296
Video bit rate: 20000000
Video frame rate: 30
Auto-stabilise?: Available
Auto-stabilise enabled?: false
Face detection?: Available
RAW?: Available
HDR?: Available
Expo?: Available
Expo compensation?: Available
Manual ISO?: Available
Manual exposure?: Available
Manual WB?: Available
Video stabilization?: Available
Can disable shutter sound?: Yes
Flash modes: flash_off, flash_auto, flash_on, flash_torch, flash_red_eye
Focus modes: focus_mode_auto, focus_mode_macro, focus_mode_locked, focus_mode_infinity, focus_mode_manual2, focus_mode_continuous_picture, focus_mode_continuous_video
Color effects: none, mono, negative, solarize, sepia, posterize, whiteboard, blackboard, aqua
Scene modes: auto, landscape, snow, beach, sunset, night, portrait, sports, steadyphoto, candlelight, fireworks, party, night-portrait, theatre, action
White balances: auto, manual, incandescent, fluorescent, warm-fluorescent, daylight, cloudy-daylight, twilight, shade
ISOs: None
ISO key:
Using SAF?: false
Save Location: OpenCamera
Save Location SAF:
Parameters: None
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Regarding P9, it'sinteresting to see, that it shows only two cameras even though it has3. Any idea if the camera API 2 has the ability to use only the black and white sensor?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Regarding P9, it'sinteresting to see, that it shows only two cameras even though it has3. Any idea if the camera API 2 has the ability to use only the black and white sensor?
huawei use hidden parameters on cam2.
also they did not add it as third cam.
com.huawei.device.capabilities.availbaleDualPrimary
com.huawei.capture.metadata.dualSensorMode
on cam 1
hw-dual-primary-supported=primary,secondary,dual //primary =color, secondary = mono
hw-dual-primary-mode=primary
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So is it possible to access the camera somehow? I would like to use it in CamAPI2 (if not possible via openCamera though). What steps are necessary to implement the "hidden" parameter in CamAPI2? Quick hint? :)
All the Best!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "Feature suggestions" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Seeing as almost every new phone is turning to dual camera setups these days, it realls needs to start being baked into Open Camera. On LG devices, they have a wide angle and normal angle lens. On some Huawei devices, it's a normal sensor and a monochrome sensor.
Regardless of the setup, these configurations really should be supported. I know each one does it a little differently, but can it be flagged as a priority? This is a great app, but if it doesn't support dual sensor setups on virtually every high end phone going forward, nobody will use it anymore.
I'd like to - http://mobile.developer.lge.com/develop/dev-guides/lg-dual-camera-developer-guide/development#AccessingCameras claims that on LG, the different cameras should be accessible by their IDs, so it should be the case that pressing the "switch camera" rotates through the available cameras. Does this happen? I've had reports that this doesn't happen, not sure why this is yet though.
The latest version of Open Camera has some debug info under Settings/About - for people with dual camera phones, what does it report under "No. of cameras"? And can you test this with and without Camera2 API?
I have a OnePlus 5 which has two cameras on the back and one on the front. Only two are detected by OpenCamera.
Open Camera v1.48.1
Code: 77
Package: net.sourceforge.opencamera
Android API version: 28
Device manufacturer: OnePlus
Device model: ONEPLUS A5000
Device code-name: qcom
Device variant: OnePlus5
Language: en
Standard max heap?: 256
Large max heap?: 512
Display size: 1080x1920
Display metrics: 1080x1920
Current camera ID: 0
No. of cameras: 2
Multi-camera?: false
Camera API: Camera
Photo mode: DRO
Preview resolutions: 1920x1080, 1440x1080, 1280x720, 1088x1088, 720x480, 640x480, 352x288, 320x240, 176x144
Preview resolution: 1088x1088
Photo resolutions: 4608x3456, 4160x3120, 4608x2592, 3456x3456, 3840x2160, 3264x2448, 2592x1944, 2592x1940, 2560x1920, 2304x1728, 2304x1296, 1728x1728, 1840x1380, 1920x1080, 1440x1080, 1280x960, 1280x720, 1024x768, 720x480, 640x480, 480x360, 480x320, 352x288, 320x240, 176x144
Photo resolution: 3456x3456
Video qualities: 1, 6, 5, 4, 3_r640x480, 3, 7, 2
Video resolutions: 3840x2160, 1920x1080, 1280x720, 720x480, 640x480, 352x288, 320x240, 176x144
Video quality: 6
Video frame width: 1920
Video frame height: 1080
Video bit rate: 20000000
Video frame rate: 96
Video capture rate: 96.0
Video high speed: false
Video capture rate factor: 1.0
Auto-level?: Available
Auto-level enabled?: false
Face detection?: Available
RAW?: Not available
HDR?: Available
Panorama?: Available
Gyro sensors?: Available
Expo?: Available
Expo compensation?: Available
Exposure compensation range: -12 to 12
Manual ISO?: Not available
Manual exposure?: Not available
Manual WB?: Not available
Optical stabilization?: Not available
Optical stabilization enabled?: false
Video stabilization?: Not available
Video stabilization enabled?: false
Tonemap curve?: Not available
Tonemap max curve points: 0
Can disable shutter sound?: Available
Camera view angle: 51.792427 , 49.8
Flash modes: flash_off, flash_on, flash_torch
Focus modes: focus_mode_auto, focus_mode_infinity, focus_mode_macro, focus_mode_locked, focus_mode_fixed, focus_mode_continuous_picture, focus_mode_continuous_video
Color effects: none, mono, negative, solarize, sepia, posterize, whiteboard, blackboard, aqua, emboss, sketch, neon
Scene modes: auto, asd, landscape, snow, beach, sunset, night, portrait, backlight, sports, steadyphoto, flowers, candlelight, fireworks, party, night-portrait, theatre, action, AR, manual, bokeh, hdr-auto, thirdparty, hdr, hdr-auto
White balances: auto, incandescent, fluorescent, warm-fluorescent, daylight, cloudy-daylight, twilight, shade
ISOs: auto, ISO_HJR, ISO100, ISO200, ISO400, ISO800, ISO1600, ISO3200
ISO key: iso
Magnetic accuracy?: -1
Using SAF?: true
Save Location: OpenCamera
Save Location SAF: content://com.android.externalstorage.documents/tree/primary%3AOpenCamera
Parameters: ae-bracket-hdr=Off;ae-bracket-hdr-values=Off,AE-Bracket;alternative-picture-sizes=3888x3888;antibanding=50hz;antibanding-values=off,60hz,50hz,auto;auto-exposure=center-weighted;auto-exposure-lock=false;auto-exposure-lock-supported=true;auto-exposure-values=frame-average,center-weighted,spot-metering,center-weighted,spot-metering-adv,center-weighted-adv;auto-hdr-enable=disable;auto-hdr-supported=true;auto-whitebalance-lock=false;auto-whitebalance-lock-supported=true;avtimer=disable;bokeh-blur-value=0;bokeh-face-beauty-current-value=4;bokeh-face-beauty-values=4;bokeh-mode=0;bokeh-mpo-mode=0;bokeh-original-picture=0;bokeh-setting-mode=0;bokeh-two-mode-supported=0;brightness-step=1;cache-video-buffers=disable;camera-mode=0;capture-burst-interval=1;capture-burst-queue-depth=4;capture-burst-retroactive=4;cds-mode=on;cds-mode-values=off,on,auto;contrast=5;contrast-step=1;cur-exposure-time=60.000058;cur-focus-diopter=0.47619;cur-focus-scale=84;cur-iso=2000;denoise=denoise-on;denoise-values=denoise-off,denoise-on;dis=disable;dis-values=enable,disable;dual-camera-lens=wide;effect=none;effect-values=none,mono,negative,solarize,sepia,posterize,whiteboard,blackboard,aqua,emboss,sketch,neon;exposure-compensation=0;exposure-compensation-step=0.166667;face-beauty-current-value=4;face-beauty-values=0,1,2,3,4,5,6,7,8;face-detection=off;face-detection-values=off,on;flash-mode=on;flash-mode-values=off,auto,on,torch;flip-mode-values=off,flip-v,flip-h,flip-vh;focal-length=4.103;focus-areas=(0,0,0,0,0);focus-distances=2.018668,3.711600,23.001756;focus-mode=auto;focus-mode-values=auto,infinity,fixed,macro,continuous-video,continuous-picture,manual;hdr-mode=hdr-mode-multiframe;hdr-mode-values=hdr-mode-sensor,hdr-mode-multiframe;hdr-need-1x=false;hdr-need-1x-values=false,true;hfr-size-values=1920x1080,1280x720;histogram=disable;histogram-values=enable,disable;horizontal-view-angle=49.8787;instant-aec=0;instant-aec-values=0,1,2;instant-capture=0;instant-capture-values=0,1,2;internal-restart=true;is-bokeh-face-beauty-enabled=0;is-bokeh-face-beauty-supported=1;is-bokeh-mpo-supported=0;is-bokeh-original-supported=1;is-bokeh-supported=0;is-face-beauty-enabled=0;is-front-single-bokeh-enabled=0;is-front-single-bokeh-supported=1;is-watermark-supported=1;iso=ISO100;iso-values=auto,ISO_HJR,ISO100,ISO200,ISO400,ISO800,ISO1600,ISO3200,auto,auto,auto,auto,auto,auto,auto,auto,auto,auto;jpeg-quality=100;jpeg-thumbnail-height=154;jpeg-thumbnail-quality=85;jpeg-thumbnail-size-values=256x154,240x160,320x320,320x240,256x144,240x144,176x144,240x320,144x176,0x0;jpeg-thumbnail-width=256;lensshade=enable;lensshade-values=enable,disable;long-shot=off;longshot-supported=true;luma-adaptation=3;manual-exposure-modes=off,exp-time-priority,iso-priority,user-setting;manual-focus-modes=off,scale-mode,diopter-mode;manual-wb-gains=1.694643,1.000000,2.061324;manual-wb-modes=off,color-temperature,rbgb-gains;max-brightness=6;max-contrast=10;max-exposure-compensation=12;max-exposure-time=48369.980540;max-focus-pos-dac=1023;max-focus-pos-diopter=10;max-focus-pos-index=690;max-focus-pos-ratio=100;max-iso=3200;max-num-detected-faces-hw=10;max-num-detected-faces-sw=10;max-num-focus-areas=1;max-num-metering-areas=10;max-saturation=10;max-sce-factor=100;max-sharpness=36;max-wb-cct=8000;max-wb-gain=4;max-zoom=90;mce=enable;mce-values=enable,disable;metadata-types=metadata-asd,metadata-fd,metadata-hdr,metadata-led-calib,metadata-rtb;metering-areas=(0,0,0,0,0);min-brightness=0;min-contrast=0;min-exposure-compensation=-12;min-exposure-time=0.013899;min-focus-pos-dac=0;min-focus-pos-diopter=0;min-focus-pos-index=0;min-focus-pos-ratio=0;min-iso=100;min-saturation=0;min-sce-factor=-100;min-sharpness=0;min-wb-cct=2000;min-wb-gain=1;num-retro-burst-per-shutter=0;num-snaps-per-shutter=1;picture-format=jpeg;picture-format-values=jpeg,bayer-mipi-10rggb;picture-size=3456x3456;picture-size-values=4608x3456,4608x2592,4160x3120,3840x2160,3456x3456,3264x2448,2592x1940,2592x1944,2560x1920,2304x1728,2304x1296,1840x1380,1920x1080,1728x1728,1440x1080,1280x960,1280x720,1024x768,720x480,640x480,480x360,480x320,352x288,320x240,176x144;preferred-preview-size-for-video=1920x1080;preview-flip=off;preview-format=yuv420sp;preview-format-values=yuv420sp,yuv420p,nv12-venus;preview-fps-range=10000,30000;preview-fps-range-values=(10000,15000),(10000,20000),(10000,24000),(10000,30000),(30000,30000),(60000,60000);preview-frame-rate=30;preview-frame-rate-values=10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30;preview-size=1088x1088;preview-size-values=1920x1080,1440x1080,1280x720,1088x1088,720x480,640x480,352x288,320x240,176x144;qc-max-num-requested-faces=10;raw-size=4656x3496;rdi-mode=disable;rdi-mode-values=enable,disable;recording-hint=false;redeye-reduction=disable;redeye-reduction-values=enable,disable;saturation=5;saturation-step=1;sce-factor-step=10;scene-detect=off;scene-detect-values=off,on;scene-mode=auto;scene-mode-values=auto,asd,landscape,snow,beach,sunset,night,portrait,backlight,sports,steadyphoto,flowers,candlelight,fireworks,party,night-portrait,theatre,action,AR,manual,bokeh,hdr-auto,thirdparty,hdr,hdr-auto;scene-selection=disable;secure-mode-queue-depth=2;secure-mode-values=enable,disable;selectable-zone-af=auto;selectable-zone-af-values=auto,spot-metering,center-weighted,frame-average;sensor-active-size=4656x3496;sensor-hdr=off;sensor-hdr-values=off,on;sharpness=12;sharpness-step=6;skinToneEnhancement=0;skinToneEnhancement-values=enable,disable;smile-detection=true;smooth-zoom-supported=false;snapshot-burst-num=0;snapshot-fd-data-enable=0;snapshot-picture-flip=off;supported-blur-degrees=0,0,0;supported-live-snapshot-sizes=3840x2160,1920x1080,1280x720;tintless=enable;tnr-mode=off;tnr-mode-values=off,on;touch-af-aec=touch-off;touch-af-aec-values=touch-off,touch-on;vertical-view-angle=38.3899;video-batch-size=0;video-cds-mode-values=off,on,auto;video-flip=off;video-frame-format=android-opaque;video-hdr=off;video-hdr-values=off,on;video-hfr=off;video-hfr-values=60,120,off;video-hsr=off;video-rotation=0;video-rotation-values=0;video-size=3840x2160;video-size-values=3840x2160,1920x1080,1280x720,720x480,640x480,352x288,320x240,176x144;video-snapshot-supported=true;video-stabilization-supported=false;video-tnr-mode-values=off,on;wb-manual-cct=4100;whitebalance=auto;whitebalance-values=auto,incandescent,fluorescent,warm-fluorescent,daylight,cloudy-daylight,twilight,shade,manual;zoom=0;zoom-ratios=100,102,104,107,109,112,114,117,120,123,125,128,131,135,138,141,144,148,151,155,158,162,166,170,174,178,182,186,190,195,200,204,209,214,219,224,229,235,240,246,251,257,263,270,276,282,289,296,303,310,317,324,332,340,348,356,364,373,381,390,400,409,418,428,438,448,459,470,481,492,503,515,527,540,552,565,578,592,606,620,634,649,664,680,696,712,729,746,763,781,800;zoom-supported=true;zsl=on;zsl-burst-led-on-period=300;zsl-hdr-supported=true;zsl-values=off,on
Last edit: username132 2020-06-06
Thanks for the info. First try to see if the same is true if Settings/"Camera API" is set to "Camera2 API".
If so, it's a limitation of the device that it isn't making the extra cameras available to third party applications. Maybe try reporting/requesting this at https://forums.oneplus.com/feedback/ .
View and moderate all "Feature suggestions" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Open Camera v1.38
Code: 47
(c) 2013-2017 Mark Harman
Released under the GPL v3 or later
Package: net.sourceforge.opencamera
Android API version: 23
Device manufacturer: Xiaomi
Device model: MI 5s Plus
Device code-name: qcom
Device variant: natrium
Language: ru
Standard max heap?: 256
Large max heap?: 512
Display size: 1080x1920
Current camera ID: 0
No. of cameras: 2
Camera API: Camera
Preview resolutions: 1920x1080, 1600x1200, 1440x1080, 1280x960, 1280x768, 1280x720, 1024x768, 800x600, 864x480, 800x480, 720x480, 640x480, 640x360, 480x360, 480x320, 352x288, 320x240, 176x144
Preview resolution: 1440x1080
Photo resolutions: 4160x3120, 4000x3000, 3840x2160, 3264x2448, 3200x2400, 2976x2976, 2592x1944, 2688x1512, 2016x1512, 2048x1536, 1920x1080, 1600x1200, 1440x1080, 1280x960, 1280x768, 1280x720, 1024x768, 800x600, 864x480, 800x480, 720x480, 640x480, 640x360, 480x360, 480x320, 352x288, 320x240, 176x144
Photo resolution: 4160x3120
Video qualities: 1, 6_r2592x1944, 6_r2688x1512, 6_r2048x1536, 6_r2016x1512, 6, 5_r1600x1200, 5_r1440x1080, 5_r1280x960, 5_r1280x768, 5, 4_r1024x768, 4_r800x600, 4_r864x480, 4_r800x480, 4, 3_r640x480, 3_r640x360, 3_r480x360, 3_r480x320, 3, 7, 2
Video resolutions: 3840x2160, 2592x1944, 2688x1512, 2048x1536, 2016x1512, 1920x1080, 1600x1200, 1440x1080, 1280x960, 1280x768, 1280x720, 1024x768, 800x600, 864x480, 800x480, 720x480, 640x480, 640x360, 480x360, 480x320, 352x288, 320x240, 176x144
Video quality: 6
Video frame width: 1920
Video frame height: 1080
Video bit rate: 90000000
Video frame rate: 30
Auto-stabilise?: Доступно
Auto-stabilise enabled?: false
Face detection?: Доступно
RAW?: Не доступно
HDR?: Доступно
Expo?: Доступно
Expo compensation?: Доступно
Manual ISO?: Не доступно
Manual exposure?: Не доступно
Manual WB?: Не доступно
Video stabilization?: Не доступно
Can disable shutter sound?: Нет
Flash modes: flash_off, flash_auto, flash_on, flash_torch
Focus modes: focus_mode_auto, focus_mode_infinity, focus_mode_macro, focus_mode_locked, focus_mode_continuous_picture, focus_mode_continuous_video
Color effects: none, mono, negative, solarize, posterize
Scene modes: auto, landscape, snow, beach, sunset, night, portrait, sports, steadyphoto, candlelight, fireworks, party, night-portrait, theatre, action
White balances: auto, incandescent, fluorescent, warm-fluorescent, daylight, cloudy-daylight, twilight, shade
ISOs: None
Using SAF?: false
Save Location: OpenCamera
Save Location SAF:
Parameters: video-size=1920x1080;preferred-preview-size-for-video=1920x1080;preview-size-values=1920x1080,1600x1200,1440x1080,1280x960,1280x768,1280x720,1024x768,800x600,864x480,800x480,720x480,640x480,640x360,480x360,480x320,352x288,320x240,176x144;video-size-values=3840x2160,2592x1944,2688x1512,2016x1512,2048x1536,1920x1080,1600x1200,1440x1080,1280x960,1280x768,1280x720,1024x768,800x600,864x480,800x480,720x480,640x480,640x360,480x360,480x320,352x288,320x240,176x144;preview-format=yuv420sp;preview-format-values=yuv420p,yuv420sp,;preview-fps-range-values=(7000,27000),(27000,27000),(7000,30000),(30000,30000),(8000,30000);preview-frame-rate-values=27,30;picture-size-values=4160x3120,4000x3000,3840x2160,3264x2448,3200x2400,2976x2976,2592x1944,2688x1512,2016x1512,2048x1536,1920x1080,1600x1200,1440x1080,1280x960,1280x768,1280x720,1024x768,800x600,864x480,800x480,720x480,640x480,640x360,480x360,480x320,352x288,320x240,176x144;picture-format=jpeg;picture-format-values=jpeg;jpeg-thumbnail-width=320;jpeg-thumbnail-height=240;jpeg-thumbnail-size-values=0x0,176x144,240x144,256x144,240x160,256x154,240x240,320x240;jpeg-thumbnail-quality=90;rotation=0;whitebalance=auto;whitebalance-values=auto,incandescent,fluorescent,warm-fluorescent,daylight,cloudy-daylight,twilight,shade,;effect=none;effect-values=none,mono,negative,solarize,posterize;antibanding=auto;antibanding-values=off,60hz,50hz,auto;scene-mode=auto;scene-mode-values=auto,landscape,snow,beach,sunset,night,portrait,sports,steadyphoto,candlelight,fireworks,party,night-portrait,theatre,action,;flash-mode-values=off,auto,on,torch;focus-mode-values=infinity,auto,macro,continuous-video,continuous-picture;max-num-focus-areas=1;focal-length=4.73;exposure-compensation=0;max-exposure-compensation=12;min-exposure-compensation=-12;exposure-compensation-step=0.166667;auto-exposure-lock=false;auto-exposure-lock-supported=true;auto-whitebalance-lock=false;auto-whitebalance-lock-supported=true;max-num-metering-areas=1;zoom=0;max-zoom=99;zoom-ratios=100,103,106,109,112,115,118,121,124,127,130,133,136,139,142,145,148,151,154,157,160,163,166,169,172,175,178,181,184,187,190,193,196,199,203,206,209,212,215,218,221,224,227,230,233,236,239,242,245,248,251,254,257,260,263,266,269,272,275,278,281,284,287,290,293,296,299,303,306,309,312,315,318,321,324,327,330,333,336,339,342,345,348,351,354,357,360,363,366,369,372,375,378,381,384,387,390,393,396,399;zoom-supported=true;smooth-zoom-supported=false;focus-distances=Infinity,Infinity,Infinity;max-num-detected-faces-hw=10;max-num-detected-faces-sw=0;video-frame-format=android-opaque;video-stabilization=false;video-stabilization-supported=false;video-snapshot-supported=false;jpeg-quality=97;flash-mode=auto;focus-mode=continuous-picture;focus-areas=(0,0,0,0,0);metering-areas=
Thanks for the info - so presumably it's just showing the front and back camera, and not supporting access to the dual cameras through the Android camera API for 3rd party applications.
I suspect this needs Google to add support for dual cameras - part of the issue is that there are different ways that different manufacturers are using dual cameras, which makes it hard to standardise...
View and moderate all "Feature suggestions" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Mi 5S Plus have two camera, color and b&w sensor. Switching to the B&W camera does not work at all.
View and moderate all "Feature suggestions" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
I have the Huawei P9 . With and without api2 it shows two cameras
Open Camera v1.38.1
Code: 48
(c) 2013-2017 Mark Harman
Released under the GPL v3 or later
Package: net.sourceforge.opencamera
Android API version: 24
Device manufacturer: HUAWEI
Device model: EVA-L09
Device code-name: hi3650
Device variant: HWEVA
Language: nl
Standard max heap?: 384
Large max heap?: 512
Display size: 1080x1812
Current camera ID: 0
No. of cameras: 2
Camera API: Camera2 (Android L)
Preview resolutions: 1920x1080, 1440x1080, 1536x864, 1280x960, 1280x720, 960x720, 720x720, 640x480, 736x414, 544x408, 400x400, 352x288, 320x240, 208x144, 176x144
Preview resolution: 1440x1080
Photo resolutions: 320x240, 640x480, 1280x720, 1920x1080, 3264x1840, 3264x2448, 3968x2976, 2048x1536, 2976x2976, 3968x2240
Photo resolution: 3968x2976
Video qualities: 1_r3264x1840, 1_r2592x1952, 1, 5_r1440x1080, 5_r1536x864, 5_r1280x960, 5, 4_r960x720, 4_r720x720, 4, 3_r736x414, 3_r544x408, 3_r400x400, 3, 7, 2_r208x144, 2
Video resolutions: 3264x1840, 2592x1952, 1920x1080, 1440x1080, 1536x864, 1280x960, 1280x720, 960x720, 720x720, 640x480, 736x414, 544x408, 400x400, 352x288, 320x240, 208x144, 176x144
Video quality: 1
Video frame width: 1920
Video frame height: 1080
Video bit rate: 17000000
Video frame rate: 30
Auto-stabilise?: Available
Auto-stabilise enabled?: false
Face detection?: Available
RAW?: Available
HDR?: Available
Expo?: Available
Expo compensation?: Available
Manual ISO?: Available
Manual exposure?: Available
Manual WB?: Available
Video stabilization?: Available
Can disable shutter sound?: Yes
Flash modes: flash_off, flash_auto, flash_on, flash_torch, flash_red_eye
Focus modes: focus_mode_auto, focus_mode_macro, focus_mode_locked, focus_mode_infinity, focus_mode_manual2, focus_mode_continuous_picture, focus_mode_continuous_video
Color effects: None
Scene modes: auto, action, portrait, landscape, night, night-portrait, theatre, beach, snow, fireworks, candlelight
White balances: auto, manual, incandescent, fluorescent, daylight, cloudy-daylight
ISOs: None
ISO key:
Using SAF?: false
Save Location: OpenCamera
Save Location SAF:
Parameters: None
View and moderate all "Feature suggestions" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
I can confirm that on LGV10 switch camera rotates correctly between the 2 front and one back cameras. (and the debug shows 3 cameras)
Last edit: Anonymous 2017-05-30
View and moderate all "Feature suggestions" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
With the OnePlus5 it can only cycle between the primary rear camera (wide ~28mm) and the front camera, it appears unable to find the second rear camera (tele ~35mm).
Open Camera v1.39
Code: 50
(c) 2013-2017 Mark Harman
Released under the GPL v3 or later
Package: net.sourceforge.opencamera
Android API version: 25
Device manufacturer: OnePlus
Device model: ONEPLUS A5000
Device code-name: qcom
Device variant: OnePlus5
Language: en
Standard max heap?: 256
Large max heap?: 512
Display size: 1080x1920
Current camera ID: 0
No. of cameras: 2
Camera API: Camera2 (Android L)
Preview resolutions: 1920x1080, 1440x1080, 1280x960, 1280x720, 720x480, 640x480, 480x360, 480x320, 352x288, 320x240, 176x144
Preview resolution: 1440x1080
Photo resolutions: 4608x3456, 4608x2592, 4160x3120, 3840x2160, 3456x3456, 3264x2448, 2560x1920, 2304x1728, 2304x1296, 1920x1080, 1728x1728, 1440x1080, 1280x960, 1280x720, 720x480, 640x480, 480x360, 480x320, 352x288, 320x240, 176x144
Photo resolution: 4608x3456
Video qualities: 1, 6_r2560x1920, 6_r2304x1728, 6_r2304x1296, 6_r1728x1728, 6, 5_r1440x1080, 5_r1280x960, 5, 4, 3_r640x480, 3_r480x360, 3_r480x320, 3, 7, 2
Video resolutions: 3840x2160, 2560x1920, 2304x1728, 2304x1296, 1728x1728, 1920x1080, 1440x1080, 1280x960, 1280x720, 720x480, 640x480, 480x360, 480x320, 352x288, 320x240, 176x144
Video quality: 6_r2304x1296
Video frame width: 2304
Video frame height: 1296
Video bit rate: 20000000
Video frame rate: 30
Auto-stabilise?: Available
Auto-stabilise enabled?: false
Face detection?: Available
RAW?: Available
HDR?: Available
Expo?: Available
Expo compensation?: Available
Manual ISO?: Available
Manual exposure?: Available
Manual WB?: Available
Video stabilization?: Available
Can disable shutter sound?: Yes
Flash modes: flash_off, flash_auto, flash_on, flash_torch, flash_red_eye
Focus modes: focus_mode_auto, focus_mode_macro, focus_mode_locked, focus_mode_infinity, focus_mode_manual2, focus_mode_continuous_picture, focus_mode_continuous_video
Color effects: none, mono, negative, solarize, sepia, posterize, whiteboard, blackboard, aqua
Scene modes: auto, landscape, snow, beach, sunset, night, portrait, sports, steadyphoto, candlelight, fireworks, party, night-portrait, theatre, action
White balances: auto, manual, incandescent, fluorescent, warm-fluorescent, daylight, cloudy-daylight, twilight, shade
ISOs: None
ISO key:
Using SAF?: false
Save Location: OpenCamera
Save Location SAF:
Parameters: None
View and moderate all "Feature suggestions" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Regarding P9, it'sinteresting to see, that it shows only two cameras even though it has3. Any idea if the camera API 2 has the ability to use only the black and white sensor?
View and moderate all "Feature suggestions" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
huawei use hidden parameters on cam2.
also they did not add it as third cam.
com.huawei.device.capabilities.availbaleDualPrimary
com.huawei.capture.metadata.dualSensorMode
on cam 1
hw-dual-primary-supported=primary,secondary,dual //primary =color, secondary = mono
hw-dual-primary-mode=primary
View and moderate all "Feature suggestions" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Can you explain that? Do you maybe know how to change that on the Huawei phone? I want to be able to use the monochrome camera with OpenCamera...
View and moderate all "Feature suggestions" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
So is it possible to access the camera somehow? I would like to use it in CamAPI2 (if not possible via openCamera though). What steps are necessary to implement the "hidden" parameter in CamAPI2? Quick hint? :)
All the Best!
View and moderate all "Feature suggestions" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
f u
LGG5
Open Camera v1.40
Code: 51
(c) 2013-2017 Mark Harman
Released under the GPL v3 or later
Package: net.sourceforge.opencamera
Android API version: 24
Device manufacturer: LGE
Device model: LG-H850
Device code-name: h1
Device variaf u
nt: h1
Language: en
Standard max heap?: 256
Large max heap?: 512
Display size: 1440x2392
Current camera ID: 0
No. of cameras: 3
Camera API: Camera2 (Android L)
Preview resolutions: 2560x1440, 1920x1080, 1600x1200, 1280x960, 1280x768, 1280x720, 1024x768, 800x600, 800x480, 720x480, 640x480, 480x640, 352x288, 320x240, 240x320, 176x144, 144x176
Preview resolution: 2560x1440
Photo resolutions: 5312x2988, 3984x2988, 3840x2160, 3264x2448, 3264x1836, 2880x2160, 2560x1440, 2048x1536, 1920x1080, 1600x1200, 1280x960, 1280x768, 1280x720, 1024x768, 800x600, 800x480, 720x480, 640x480, 480x640, 352x288, 320x240, 240x320
Photo resolution: 5312x2988
Video qualities: 1_r3840x2160, 1_r2880x2160, 1_r3264x1836, 1_r2560x1440, 1_r2048x1536, 1, 5_r1600x1200, 5_r1280x960, 5_r1280x768, 5, 4_r1024x768, 4_r800x600, 4_r800x480, 4, 3_r640x480, 3_r480x640, 3, 7, 7_r240x320, 0_r176x144, 0_r144x176
Video resolutions: 3840x2160, 2880x2160, 3264x1836, 2560x1440, 2048x1536, 1920x1080, 1600x1200, 1280x960, 1280x768, 1280x720, 1024x768, 800x600, 800x480, 720x480, 640x480, 480x640, 352x288, 320x240, 240x320, 176x144, 144x176
Video quality: 1
Video frame width: 1920
Video frame height: 1080
Video bit rate: 17000000
Video frame rate: 30
Auto-stabilise?: Available
Auto-stabilise enabled?: false
Face detection?: Available
RAW?: Available
HDR?: Available
Expo?: Available
Expo compensation?: Available
Exposure compensation range: -12 to 12
Manual ISO?: Available
ISO range: 50 to 3200
Manual exposure?: Available
Exposure range: 34142 to 29377348000
Manual WB?: Available
WB temperature: 1000 to 15000
Video stabilization?: Available
Can disable shutter sound?: Yes
Flash modes: flash_off, flash_auto, flash_on, flash_torch, flash_red_eye
Focus modes: focus_mode_auto, focus_mode_macro, focus_mode_locked, focus_mode_infinity, focus_mode_manual2, focus_mode_continuous_picture, focus_mode_continuous_video
Color effects: none, mono, negative, solarize, sepia, posterize, whiteboard, blackboard, aqua
Scene modes: auto, landscape, snow, beach, sunset, night, portrait, sports, steadyphoto, candlelight, fireworks, party, night-portrait, theatre, action
White balances: auto, manual, incandescent, fluorescent, warm-fluorescent, daylight, cloudy-daylight, twilight, shade
Using SAF?: false
Save Location: OpenCamera
Save Location SAF:
Parameters: None
Last edit: Anonymous 2021-06-16
View and moderate all "Feature suggestions" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Open Camera v1.40
Code: 51
(c) 2013-2017 Mark Harman
Released under the GPL v3 or later
Package: net.sourceforge.opencamera
Android API version: 25
Device manufacturer: Xiaomi
Device model: MI 5X
Device code-name: qcom
Device variant: tiffany
Language: en
Standard max heap?: 192
Large max heap?: 512
Display size: 1920x1080
Current camera ID: 0
No. of cameras: 2
Camera API: Camera
Preview resolutions: 1920x1080, 1440x1080, 1280x960, 1280x720, 864x480, 800x480, 768x432, 720x480, 640x640, 640x480, 480x640, 640x360, 576x432, 480x360, 480x320, 384x288, 352x288, 320x240, 240x320, 240x160, 176x144, 144x176, 160x120
Preview resolution: 1440x1080
Photo resolutions: 4000x3000, 4000x2250, 3840x2160, 3264x2448, 3200x2400, 2976x2976, 2592x1944, 2688x1512, 2592x1458, 2048x1536, 1920x1080, 1600x1200, 1440x1080, 1280x960, 1280x768, 1280x720, 1200x1200, 1024x768, 800x600, 864x480, 800x480, 720x480, 640x480, 640x360, 480x640, 480x360, 480x320, 352x288, 320x240, 240x320, 176x144, 160x120, 144x176
Photo resolution: 4000x3000
Video qualities: 1_r4096x2160, 1, 6, 5_r1280x960, 5, 4_r864x480, 4_r800x480, 4, 3_r640x480, 3_r480x640, 3_r640x360, 3_r480x360, 3_r480x320, 3, 7, 7_r240x320, 2, 2_r144x176, 0_r160x120
Video resolutions: 4096x2160, 3840x2160, 1920x1080, 1280x960, 1280x720, 864x480, 800x480, 720x480, 640x480, 480x640, 640x360, 480x360, 480x320, 352x288, 320x240, 240x320, 176x144, 144x176, 160x120
Video quality: 1_r4096x2160
Video frame width: 4096
Video frame height: 2160
Video bit rate: 42000000
Video frame rate: 30
Auto-stabilise?: Available
Auto-stabilise enabled?: false
Face detection?: Available
RAW?: Not available
HDR?: Available
Expo?: Available
Expo compensation?: Available
Exposure compensation range: -12 to 12
Manual ISO?: Not available
Manual exposure?: Not available
Manual WB?: Not available
Video stabilization?: Not available
Can disable shutter sound?: No
Flash modes: flash_off, flash_auto, flash_on, flash_torch
Focus modes: focus_mode_auto, focus_mode_infinity, focus_mode_macro, focus_mode_locked, focus_mode_fixed, focus_mode_continuous_picture, focus_mode_continuous_video
Color effects: none, mono, negative, solarize, sepia, posterize, whiteboard, blackboard, aqua, emboss, sketch, neon
Scene modes: auto, asd, landscape, snow, beach, sunset, night, portrait, backlight, sports, steadyphoto, flowers, candlelight, fireworks, party, night-portrait, theatre, action, AR, hdr
White balances: auto, incandescent, fluorescent, warm-fluorescent, daylight, cloudy-daylight, twilight, shade
ISOs: auto, ISO_HJR, ISO100, ISO200, ISO400, ISO800, ISO1600, ISO3200
ISO key: iso
Using SAF?: false
Save Location: OpenCamera
Save Location SAF:
Parameters: ae-bracket-hdr=Off;ae-bracket-hdr-values=Off,AE-Bracket;af-bracket=af-bracket-off;af-bracket-values=af-bracket-off,af-bracket-on;antibanding=off;antibanding-values=off,60hz,50hz,auto;auto-exposure=frame-average;auto-exposure-lock=false;auto-exposure-lock-supported=true;auto-exposure-values=frame-average,center-weighted,spot-metering,center-weighted,spot-metering-adv,center-weighted-adv;auto-hdr-enable=disable;auto-hdr-supported=true;auto-whitebalance-lock=false;auto-whitebalance-lock-supported=true;avtimer=disable;brightness-step=1;cache-video-buffers=disable;camera-mode=0;capture-burst-interval=1;capture-burst-queue-depth=2;capture-burst-retroactive=2;cds-mode=on;cds-mode-values=off,on,auto;chroma-flash=chroma-flash-off;chroma-flash-values=chroma-flash-off,chroma-flash-on;contrast=5;contrast-step=1;cur-exposure-time=72.950512;cur-focus-diopter=0.536398;cur-focus-scale=80;cur-iso=3200;denoise=denoise-on;denoise-values=denoise-off,denoise-on;dis=disable;dis-values=enable,disable;dual-camera-id=0;dual-camera-main-camera=false;dual-camera-mode=off;effect=none;effect-values=none,mono,negative,solarize,sepia,posterize,whiteboard,blackboard,aqua,emboss,sketch,neon;exposure-compensation=0;exposure-compensation-step=0.166667;face-detection=off;face-detection-values=off,on;flash-mode=off;flash-mode-values=off,auto,on,torch;flash-on=false;flip-mode-values=off,flip-v,flip-h,flip-vh;focal-length=3.81;focus-areas=(0,0,0,0,0);focus-distances=Infinity,Infinity,Infinity;focus-mode=infinity;focus-mode-values=auto,infinity,fixed,macro,continuous-video,continuous-picture,manual;hdr-mode=hdr-mode-multiframe;hdr-mode-values=hdr-mode-multiframe;hdr-need-1x=false;hdr-need-1x-values=false,true;hfr-size-values=1280x720;histogram=disable;histogram-values=enable,disable;horizontal-view-angle=66;instant-aec=0;instant-aec-values=;instant-capture=0;instant-capture-values=;internal-restart=true;iso=ISO3200;iso-values=auto,ISO_HJR,ISO100,ISO200,ISO400,ISO800,ISO1600,ISO3200;jpeg-quality=100;jpeg-thumbnail-height=154;jpeg-thumbnail-quality=85;jpeg-thumbnail-size-values=256x154,240x160,320x320,320x240,256x144,240x144,176x144,240x320,144x176,0x0;jpeg-thumbnail-width=256;led-calibration-mode=0;lensshade=enable;lensshade-values=enable,disable;long-shot=off;longshot-supported=true;luma-adaptation=3;manual-exposure-modes=off,exp-time-priority,iso-priority,user-setting;manual-focus-modes=off,scale-mode,diopter-mode;manual-wb-gains=1.910212,1.000000,1.440883;manual-wb-modes=off,color-temperature,rbgb-gains;max-brightness=6;max-contrast=10;max-exposure-compensation=12;max-exposure-time=121.561475;max-focus-pos-dac=1023;max-focus-pos-diopter=10;max-focus-pos-index=1023;max-focus-pos-ratio=100;max-iso=1550;max-num-detected-faces-hw=10;max-num-detected-faces-sw=10;max-num-focus-areas=1;max-num-metering-areas=10;max-saturation=10;max-sce-factor=100;max-sharpness=36;max-wb-cct=8000;max-wb-gain=4;max-zoom=100;mce=enable;mce-values=enable,disable;metering-areas=(0,0,0,0,0);mi-hdr=false;min-brightness=0;min-contrast=0;min-exposure-compensation=-12;min-exposure-time=0.010823;min-focus-pos-dac=0;min-focus-pos-diopter=0;min-focus-pos-index=0;min-focus-pos-ratio=0;min-iso=100;min-saturation=0;min-sce-factor=-100;min-sharpness=0;min-wb-cct=2000;min-wb-gain=1;morpho-hht=false;night-anti-motion=false;night-shot=false;num-retro-burst-per-shutter=0;num-snaps-per-shutter=1;opti-zoom=opti-zoom-off;opti-zoom-values=opti-zoom-off,opti-zoom-on;picture-format=jpeg;picture-format-values=jpeg,bayer-mipi-10bggr;picture-size=4000x3000;picture-size-values=4000x3000,4000x2250,3840x2160,3264x2448,3200x2400,2976x2976,2592x1944,2688x1512,2592x1458,2048x1536,1920x1080,1600x1200,1440x1080,1280x960,1280x768,1280x720,1200x1200,1024x768,800x600,864x480,800x480,720x480,640x480,640x360,480x640,480x360,480x320,352x288,320x240,240x320,176x144,160x120,144x176;preferred-preview-size-for-video=1920x1080;preview-flip=off;preview-format=yuv420sp;preview-format-values=yuv420sp,yuv420p,nv12-venus;preview-fps-range=7000,30000;preview-fps-range-values=(15000,15000),(20000,20000),(24000,24000),(7000,25000),(25000,25000),(7000,30000),(30000,30000);preview-frame-rate=30;preview-frame-rate-values=7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30;preview-size=1440x1080;preview-size-values=1920x1080,1440x1080,1280x960,1280x720,864x480,800x480,768x432,720x480,640x640,640x480,480x640,640x360,576x432,480x360,480x320,384x288,352x288,320x240,240x320,240x160,176x144,144x176,160x120;qc-max-num-requested-faces=10;raw-size=4096x3072;rdi-mode=disable;rdi-mode-values=enable,disable;re-focus=re-focus-off;re-focus-values=re-focus-off,re-focus-on;recording-hint=false;redeye-reduction=disable;redeye-reduction-values=enable,disable;saturation=5;saturation-step=1;sce-factor-step=10;scene-detect=off;scene-detect-values=off,on;scene-mode=auto;scene-mode-values=auto,asd,landscape,snow,beach,sunset,night,portrait,backlight,sports,steadyphoto,flowers,candlelight,fireworks,party,night-portrait,theatre,action,AR,hdr;scene-selection=disable;secure-mode=disable;secure-mode-values=enable,disable;see-more=off;see-more-values=off,on;selectable-zone-af=auto;selectable-zone-af-values=auto,spot-metering,center-weighted,frame-average;sharpness=12;sharpness-step=6;skinToneEnhancement=0;skinToneEnhancement-values=enable,disable;smooth-zoom-supported=false;snapshot-burst-num=0;snapshot-fd-data-enable=0;snapshot-picture-flip=off;still-more=still-more-off;still-more-values=still-more-off,still-more-on;supported-live-snapshot-sizes=4096x2160,3840x2160,2592x1944,2048x1536,2048x1080,1920x1080,1600x1200,1440x1080,1280x960,1280x768,1280x720,1024x768,800x600,864x480,800x480,720x480,640x480,640x360,352x288,320x240,176x144,160x120;tintless=enable;tnr-mode-values=off,on;touch-af-aec=touch-off;touch-af-aec-values=touch-off,touch-on;true-portrait-values=true-portrait-off,true-portrait-on;vertical-view-angle=52;video-batch-size=0;video-cds-mode-values=off,on,auto;video-flip=off;video-frame-format=android-opaque;video-hfr=off;video-hfr-values=120,off;video-hsr=off;video-rotation=0;video-rotation-values=0,90,180,270;video-size=4096x2160;video-size-values=4096x2160,3840x2160,1920x1080,1280x960,1280x720,864x480,800x480,720x480,640x480,480x640,640x360,480x360,480x320,352x288,320x240,240x320,176x144,144x176,160x120;video-snapshot-supported=true;video-stabilization-supported=false;video-tnr-mode-values=off,on;wb-manual-cct=5000;whitebalance=auto;whitebalance-values=auto,incandescent,fluorescent,warm-fluorescent,daylight,cloudy-daylight,twilight,shade,manual;zoom=0;zoom-ratios=100,102,104,107,109,112,114,117,120,123,125,128,131,135,138,141,144,148,151,155,158,162,166,170,174,178,182,186,190,195,200,204,209,214,219,224,229,235,240,246,251,257,263,270,276,282,289,296,303,310,317,324,332,340,348,356,364,373,381,390,400,409,418,428,438,448,459,470,481,492,503,515,527,540,552,565,578,592,606,620,634,649,664,680,696,712,729,746,763,781,800,818,837,857,877,897,918,940,962,984,1007;zoom-supported=true;zsl=off;zsl-burst-led-on-period=300;zsl-hdr-supported=true;zsl-values=off,on
View and moderate all "Feature suggestions" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
You have to add any program you want to have access to the extra camera to this line in build.prop.
camera.aux.packagelist=org.codeaurora.snapcam,com.android.camera,com.miui.cit,net.sourceforge.opencamera
At least for the Xiamoi MI6
View and moderate all "Feature suggestions" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
This looks promising. I have the ProjectFi Moto X4, and my build.prop has that entry. Trying to decide if it's worth it to root my phone over.
iiii have added that line in build.prop still i can't able to access secondary camera. let me know the exact step to access after adding that code.
View and moderate all "Feature suggestions" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
where I can add above the instruction for access another rear lense?
View and moderate all "Feature suggestions" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
In adition to support for switch betw the different lens it would be really nice to be able to shoot with multiple cameras at the same time.
View and moderate all "Feature suggestions" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
I can confirm this works on the LG V30 with API2.
That is, using the swap camera button cycles through all three cameras.
Open Camera v1.42.2
Code: 57
(c) 2013-2017 Mark Harman
Released under the GPL v3 or later (Open Camera also uses additional third party files, see online help for full licences and attributions.)
Package: net.sourceforge.opencamera
Android API version: 25
Device manufacturer: LGE
Device model: LG-AS998
Device code-name: joan
Device variant: joan
Language: en
Standard max heap?: 256
Large max heap?: 512
Display size: 1440x2712
Current camera ID: 0
No. of cameras: 3
Camera API: Camera2 (Android L)
Preview resolutions: 2560x1440, 2560x1080, 2560x1280, 1920x1080, 1680x720, 1280x960, 1280x720, 1280x688, 960x720, 880x720, 800x480, 720x480, 640x480, 480x640, 480x360, 480x320, 352x288, 320x240, 176x144, 144x176
Preview resolution: 1280x960
Photo resolutions: 4656x3492, 4656x2620, 4656x2328, 4160x3120, 4160x2340, 4160x2080, 4000x3000, 3840x2160, 3360x1680, 3264x2448, 3264x1836, 2880x2160, 2560x1920, 2560x1440, 2560x1080, 2560x1280, 1920x1080, 1680x720, 1280x960, 1280x720, 1280x688, 960x720, 880x720, 800x480, 720x480, 640x480, 480x640, 480x360, 480x320, 352x288, 320x240
Photo resolution: 4656x3492
Video qualities: 1_r3840x2160, 1_r2880x2160, 1_r3264x1836, 1_r3360x1680, 1_r2560x1920, 1_r2560x1440, 1_r2560x1280, 1_r2560x1080, 1, 5_r1280x960, 5_r1680x720, 5, 4_r1280x688, 4_r960x720, 4_r880x720, 4_r800x480, 4, 3_r640x480, 3_r480x640, 3_r480x360, 3_r480x320, 3, 7, 0_r176x144, 0_r144x176
Video resolutions: 3840x2160, 2880x2160, 3264x1836, 3360x1680, 2560x1920, 2560x1440, 2560x1280, 2560x1080, 1920x1080, 1280x960, 1680x720, 1280x720, 1280x688, 960x720, 880x720, 800x480, 720x480, 640x480, 480x640, 480x360, 480x320, 352x288, 320x240, 176x144, 144x176
Video quality: 1
Video frame width: 1920
Video frame height: 1080
Video bit rate: 17000000
Video frame rate: 30
Auto-stabilise?: Available
Auto-stabilise enabled?: false
Face detection?: Available
RAW?: Available
HDR?: Available
Expo?: Available
Expo compensation?: Available
Exposure compensation range: -12 to 12
Manual ISO?: Available
ISO range: 50 to 12000
Manual exposure?: Available
Exposure range: 11970 to 30004370410
Manual WB?: Available
WB temperature: 1000 to 15000
Video stabilization?: Available
Can disable shutter sound?: Yes
Flash modes: flash_off, flash_auto, flash_on, flash_torch, flash_red_eye
Focus modes: focus_mode_auto, focus_mode_macro, focus_mode_locked, focus_mode_infinity, focus_mode_manual2, focus_mode_continuous_picture, focus_mode_continuous_video
Color effects: none, mono, negative, solarize, sepia, posterize, whiteboard, blackboard, aqua
Scene modes: auto, landscape, snow, beach, sunset, night, portrait, sports, steadyphoto, candlelight, fireworks, party, night-portrait, theatre, action
White balances: auto, manual, incandescent, fluorescent, warm-fluorescent, daylight, cloudy-daylight, twilight, shade
Using SAF?: false
Save Location: OpenCamera
Save Location SAF:
Parameters: None
View and moderate all "Feature suggestions" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Mi A1 can't access the telephoto camera. Wide angle and selfie work though.
Open Camera v1.42.2
Code: 57
(c) 2013-2017 Mark Harman
Released under the GPL v3 or later (Open Camera also uses additional third party files, see online help for full licences and attributions.)
Package: net.sourceforge.opencamera
Android API version: 26
Device manufacturer: Xiaomi
Device model: Mi A1
Device code-name: qcom
Device variant: tissot_sprout
Language: en
Standard max heap?: 192
Large max heap?: 512
Display size: 1080x1920
Current camera ID: 0
No. of cameras: 2
Camera API: Camera2 (Android L)
Preview resolutions: 1920x1080, 1920x960, 1440x1080, 1280x960, 1280x768, 1280x720, 1280x640, 1024x768, 800x600, 864x480, 800x480, 720x480, 640x480, 640x360, 480x640, 480x360, 480x320, 352x288, 320x240, 240x320
Preview resolution: 1440x1080
Photo resolutions: 4000x3000, 4000x2250, 4000x2000, 3840x2160, 3264x2448, 3200x2400, 2976x2976, 2592x1944, 2688x1512, 2592x1458, 2592x1296, 2048x1536, 1920x1080, 1920x960, 1600x1200, 1440x1080, 1280x960, 1280x768, 1280x720, 1280x640, 1200x1200, 1024x768, 800x600, 864x480, 800x480, 720x480, 640x480, 640x360, 480x640, 480x360, 480x320, 352x288, 320x240, 240x320
Photo resolution: 4000x3000
Video qualities: 1, 6_r4000x2000, 6_r2592x1944, 6_r2688x1512, 6_r2592x1458, 6_r2592x1296, 6_r2048x1536, 6, 5_r1600x1200, 5_r1920x960, 5_r1440x1080, 5_r1200x1200, 5_r1280x960, 5_r1280x768, 5, 4_r1280x640, 4_r1024x768, 4_r800x600, 4_r864x480, 4_r800x480, 4, 3_r640x480, 3_r480x640, 3_r640x360, 3_r480x360, 3_r480x320, 3, 7, 7_r240x320
Video resolutions: 3840x2160, 4000x2000, 2592x1944, 2688x1512, 2592x1458, 2592x1296, 2048x1536, 1920x1080, 1600x1200, 1920x960, 1440x1080, 1200x1200, 1280x960, 1280x768, 1280x720, 1280x640, 1024x768, 800x600, 864x480, 800x480, 720x480, 640x480, 480x640, 640x360, 480x360, 480x320, 352x288, 320x240, 240x320
Video quality: 1
Video frame width: 3840
Video frame height: 2160
Video bit rate: 40000000
Video frame rate: 30
Auto-stabilise?: Available
Auto-stabilise enabled?: false
Face detection?: Available
RAW?: Available
HDR?: Available
Expo?: Available
Expo compensation?: Available
Exposure compensation range: -12 to 12
Manual ISO?: Available
ISO range: 100 to 1550
Manual exposure?: Available
Exposure range: 10823 to 121561475
Manual WB?: Available
WB temperature: 1000 to 15000
Video stabilization?: Available
Can disable shutter sound?: Yes
Flash modes: None
Focus modes: focus_mode_auto, focus_mode_macro, focus_mode_locked, focus_mode_infinity, focus_mode_manual2, focus_mode_continuous_picture, focus_mode_continuous_video
Color effects: none, mono, negative, solarize, sepia, posterize, whiteboard, blackboard, aqua
Scene modes: auto, landscape, snow, beach, sunset, night, portrait, sports, steadyphoto, candlelight, fireworks, party, night-portrait, theatre, action
White balances: auto, manual, incandescent, fluorescent, warm-fluorescent, daylight, cloudy-daylight, twilight, shade
Using SAF?: true
Save Location: OpenCamera
Save Location SAF: content://com.android.externalstorage.documents/tree/07FD-1AE4%3ADCIM%2FCamera
Parameters: None
Open Camera v1.42.2
Code: 57
(c) 2013-2017 Mark Harman
Released under the GPL v3 or later (Open Camera also uses additional third party files, see online help for full licences and attributions.)
Package: net.sourceforge.opencamera
Android API version: 25
Device manufacturer: Razer
Device model: Phone
Device code-name: qcom
Device variant: cheryl
Language: en
Standard max heap?: 256
Large max heap?: 512
Display size: 1440x2416
Current camera ID: 0
No. of cameras: 2
Camera API: Camera
Preview resolutions: 1920x1080, 1600x1200, 1440x1080, 1280x960, 1280x768, 1280x720, 1200x1200, 1280x480, 1024x768, 800x600, 864x480, 800x480, 720x480, 640x480, 640x360, 480x640, 480x360, 480x320, 352x288, 320x240, 240x320, 256x192
Preview resolution: 1600x1200
Photo resolutions: 4032x3024, 4000x3000, 3840x2160, 3264x2448, 3200x2400, 2976x2976, 2592x1944, 2688x1512, 2048x1536, 1920x1080, 1600x1200, 1440x1080, 1280x960, 1280x768, 1280x720, 1200x1200, 1280x480, 1024x768, 800x600, 864x480, 800x480, 720x480, 640x480, 640x360, 480x640, 480x360, 480x320, 352x288, 320x240, 240x320, 256x192
Photo resolution: 4032x3024
Video qualities: 1, 6_r2592x1944, 6_r2688x1512, 6_r2048x1536, 6, 5_r1600x1200, 5_r1440x1080, 5_r1200x1200, 5_r1280x960, 5_r1280x768, 5, 4_r1024x768, 4_r1280x480, 4_r800x600, 4_r864x480, 4_r800x480, 4, 7_r640x480, 7_r480x640, 7_r640x360, 7_r480x360, 7_r480x320, 7_r352x288, 7, 7_r240x320, 0_r256x192
Video resolutions: 3840x2160, 2592x1944, 2688x1512, 2048x1536, 1920x1080, 1600x1200, 1440x1080, 1200x1200, 1280x960, 1280x768, 1280x720, 1024x768, 1280x480, 800x600, 864x480, 800x480, 720x480, 640x480, 480x640, 640x360, 480x360, 480x320, 352x288, 320x240, 240x320, 256x192
Video quality: 6
Video frame width: 1920
Video frame height: 1080
Video bit rate: 20000000
Video frame rate: 30
Auto-stabilise?: Available
Auto-stabilise enabled?: true
Face detection?: Available
RAW?: Not available
HDR?: Available
Expo?: Available
Expo compensation?: Available
Exposure compensation range: -12 to 12
Manual ISO?: Not available
Manual exposure?: Not available
Manual WB?: Not available
Video stabilization?: Available
Can disable shutter sound?: Yes
Flash modes: flash_off, flash_auto, flash_on, flash_torch, flash_red_eye
Focus modes: focus_mode_auto, focus_mode_infinity, focus_mode_macro, focus_mode_locked, focus_mode_continuous_picture, focus_mode_continuous_video
Color effects: none, mono, negative, solarize, sepia, posterize, whiteboard, blackboard, aqua
Scene modes: auto, landscape, snow, beach, sunset, night, portrait, sports, steadyphoto, candlelight, fireworks, party, night-portrait, theatre, action, hdr
White balances: auto, incandescent, fluorescent, warm-fluorescent, daylight, cloudy-daylight, twilight, shade
ISOs: None
Using SAF?: false
Save Location: OpenCamera
Save Location SAF:
Parameters: video-size=1920x1080;preferred-preview-size-for-video=1920x1080;preview-size-values=1920x1080,1600x1200,1440x1080,1280x960,1280x768,1280x720,1200x1200,1280x480,1024x768,800x600,864x480,800x480,720x480,640x480,640x360,480x640,480x360,480x320,352x288,320x240,240x320,256x192;video-size-values=3840x2160,2592x1944,2688x1512,2048x1536,1920x1080,1600x1200,1440x1080,1280x960,1280x768,1280x720,1200x1200,1280x480,1024x768,800x600,864x480,800x480,720x480,640x480,640x360,480x640,480x360,480x320,352x288,320x240,240x320,256x192;preview-format=yuv420sp;preview-format-values=yuv420p,yuv420sp,;preview-fps-range-values=(15000,15000),(20000,20000),(24000,24000),(7000,30000),(30000,30000);preview-frame-rate-values=15,20,24,30;picture-size-values=4032x3024,4000x3000,3840x2160,3264x2448,3200x2400,2976x2976,2592x1944,2688x1512,2048x1536,1920x1080,1600x1200,1440x1080,1280x960,1280x768,1280x720,1200x1200,1280x480,1024x768,800x600,864x480,800x480,720x480,640x480,640x360,480x640,480x360,480x320,352x288,320x240,240x320,256x192;picture-format=jpeg;picture-format-values=jpeg;jpeg-thumbnail-width=320;jpeg-thumbnail-height=240;jpeg-thumbnail-size-values=0x0,176x144,240x144,256x144,240x160,256x154,240x240,320x240;jpeg-thumbnail-quality=90;rotation=0;whitebalance-values=auto,incandescent,fluorescent,warm-fluorescent,daylight,cloudy-daylight,twilight,shade,;effect=none;effect-values=none,mono,negative,solarize,sepia,posterize,whiteboard,blackboard,aqua;antibanding=auto;antibanding-values=off,60hz,50hz,auto;scene-mode=auto;scene-mode-values=auto,landscape,snow,beach,sunset,night,portrait,sports,steadyphoto,candlelight,fireworks,party,night-portrait,theatre,action,hdr;flash-mode=off;flash-mode-values=off,auto,on,torch,red-eye;focus-mode-values=infinity,auto,macro,continuous-video,continuous-picture;max-num-focus-areas=1;focal-length=4.28;max-exposure-compensation=12;min-exposure-compensation=-12;exposure-compensation-step=0.166667;auto-exposure-lock=false;auto-exposure-lock-supported=true;auto-whitebalance-lock-supported=true;max-num-metering-areas=1;zoom=0;max-zoom=99;zoom-ratios=100,107,114,121,128,135,142,149,156,163,170,177,184,191,198,206,213,220,227,234,241,248,255,262,269,276,283,290,297,305,312,319,326,333,340,347,354,361,368,375,382,389,396,404,411,418,425,432,439,446,453,460,467,474,481,488,495,503,510,517,524,531,538,545,552,559,566,573,580,587,594,602,609,616,623,630,637,644,651,658,665,672,679,686,693,701,708,715,722,729,736,743,750,757,764,771,778,785,792,799;zoom-supported=true;smooth-zoom-supported=false;focus-distances=Infinity,Infinity,Infinity;max-num-detected-faces-hw=10;max-num-detected-faces-sw=0;video-frame-format=android-opaque;video-snapshot-supported=true;video-stabilization-supported=true;video-stabilization=false;auto-whitebalance-lock=false;whitebalance=daylight;exposure-compensation=-7;jpeg-quality=90;focus-mode=auto;picture-size=4032x3024;preview-size=1600x1200;recording-hint=false;focus-areas=(900,-963,1000,-863,1000);metering-areas=(900,-963,1000,-863,1000);preview-frame-rate=30;preview-fps-range=7000,30000;horizontal-view-angle=66.8048;vertical-view-angle=52.6321