Menu

#879 Functionality on Xiaomi Redmi Note 10 Pro is limited

1.0
open
nobody
None
2023-04-06
2021-08-28
No

Functionality on Xiaomi Redmi Note 10 Pro is limited.

It is not recognized as multiple camera phone. User can choose only front or single back camera. Photo resolutions are limited to max 12Mp. This phone has 108 Mp camera.

Also some other options are not available when using this phone.

Here are camera details copied from OpenCamera:

Open Camera v1.48.3
Code: 80
Package: net.sourceforge.opencamera
Android API version: 30
Device manufacturer: Xiaomi
Device model: M2101K6G
Device code-name: qcom
Device variant: sweet
Language: en
Standard max heap?: 256
Large max heap?: 512
Display size: 1080x2177
Display metrics: 1080x2177
Current camera ID: 0
No. of cameras: 2
Multi-camera?: false
Camera API: Camera
Camera orientation: 90
Photo mode: Standard
Preview resolutions: 1920x1080, 1600x1200, 1600x720, 1440x1080, 1280x960, 1560x720, 1440x720, 1280x720, 800x600, 720x480, 640x480, 352x288, 320x240, 176x144
Preview resolution: 1440x1080
Photo resolutions: 4000x3000, 4000x2252, 3840x2160, 3280x2464, 2592x1944, 2320x1744, 2400x1080, 1920x1080, 1600x1200, 1440x1080, 1280x960, 1600x720, 1560x720, 1440x720, 1280x720, 800x600, 720x480, 640x480, 352x288, 320x240, 176x144
Photo resolution: 4000x3000
Video qualities: 1, 6_r2592x1944, 6_r2320x1744, 6_r2400x1080, 6, 5_r1600x1200, 5_r1440x1080, 5_r1280x960, 5_r1600x720, 5_r1560x720, 5_r1440x720, 5, 4_r800x600, 4, 3_r640x480, 3, 7, 2
Video resolutions: 3840x2160, 2592x1944, 2320x1744, 2400x1080, 1920x1080, 1600x1200, 1440x1080, 1280x960, 1600x720, 1560x720, 1440x720, 1280x720, 800x600, 720x480, 640x480, 352x288, 320x240, 176x144
Video quality: 6
Video frame width: 1920
Video frame height: 1080
Video bit rate: 20000000
Video frame rate: 30
Video capture rate: 30.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: -24 to 24
Manual ISO?: Not available
Manual exposure?: Not available
Manual WB?: Not available
Optical stabilization?: Not available
Optical stabilization enabled?: false
Video stabilization?: Available
Video stabilization enabled?: false
Tonemap curve?: Not available
Tonemap max curve points: 0
Can disable shutter sound?: Not available
Camera view angle: 69.6267 , 52.614502
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, aqua, blackboard, whiteboard
Scene modes: None
White balances: auto, incandescent, fluorescent, warm-fluorescent, daylight, cloudy-daylight, twilight, shade
ISOs: None
Magnetic accuracy?: -1
Using SAF?: true
Save Location: OpenCamera
Save Location SAF: content://com.android.externalstorage.documents/tree/0123-4567%3ADCIM
Prameters: video-size=1920x1080;preferred-preview-size-for-video=1920x1080;preview-size-values=1920x1080,1600x1200,1600x720,1440x1080,1280x960,1560x720,1440x720,1280x720,800x600,720x480,640x480,352x288,320x240,176x144;video-size-values=3840x2160,2592x1944,2400x1080,2320x1744,1920x1080,1600x1200,1600x720,1440x1080,1280x960,1560x720,1440x720,1280x720,800x600,720x480,640x480,352x288,320x240,176x144;preview-format=yuv420sp;preview-format-values=yuv420p,yuv420sp,;preview-fps-range-values=(15000,15000),(8000,30000),(30000,30000);preview-frame-rate-values=15,30;picture-size-values=4000x3000,4000x2252,3840x2160,3280x2464,2592x1944,2400x1080,2320x1744,1920x1080,1600x1200,1600x720,1440x1080,1280x960,1560x720,1440x720,1280x720,800x600,720x480,640x480,352x288,320x240,176x144;picture-format=jpeg;picture-format-values=jpeg;jpeg-thumbnail-width=320;jpeg-thumbnail-height=240;jpeg-thumbnail-size-values=0x0,176x144,205x154,240x144,256x144,240x160,256x154,246x184,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,sepia,posterize,aqua,blackboard,whiteboard;antibanding=auto;antibanding-values=off,50hz,60hz,auto;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=6.04;exposure-compensation=0;max-exposure-compensation=24;min-exposure-compensation=-24;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,109,118,127,136,145,154,163,172,181,190,200,209,218,227,236,245,254,263,272,281,290,299,309,318,327,336,345,354,363,372,381,390,399,409,418,427,436,445,454,463,472,481,490,499,509,518,527,536,545,554,563,572,581,590,599,609,618,627,636,645,654,663,672,681,690,699,709,718,727,736,745,754,763,772,781,790,799,809,818,827,836,845,854,863,872,881,890,899,909,918,927,936,945,954,963,972,981,990,999;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;jpeg-quality=100;focus-mode=auto;focus-areas=(0,0,0,0,0);metering-areas=(0,0,0,0,0);picture-size=4000x3000;preview-size=1440x1080;recording-hint=false;preview-frame-rate=30;preview-fps-range=8000,30000;horizontal-view-angle=69.6267;vertical-view-angle=55.0862

Discussion

  • EiQuo7ji

    EiQuo7ji - 2021-09-01

    I don't know what ROM you are using. If you are using Lineage OS or its descendants, you could look at https://gitlab.com/LineageOS/issues/android/-/issues/3848, and the same setting works for MIUI if you have rooted. Roughly speaking it is the ROM that forbids the access of Open Camera to aux cameras.
    For the second, look at my previous ticket https://sourceforge.net/p/opencamera/tickets/873/

     

    Last edit: EiQuo7ji 2021-09-01
    • Anonymous

      Anonymous - 2021-09-02

      Thanks. Patched APK is no more available for download so I cannot try, but it seems it can be done.

      I run Xiamo Redmi Note 10 Pro all official. I do not play with custom ROMs.

      I hope some time soon, OpenCamera will have this sorted out. I used it on all my previous phones. Now I got this one and met this issue.

       
      • EiQuo7ji

        EiQuo7ji - 2021-09-02

        It is impossible to fix if you don't have root. Essentially, there is a whitelist of camera apps to access the aux camera and Open Camera is not in that list. Some phones don't have this list and therefore the aux camera is accessible for all camera apps, therefore it varies from phones to phones. That patch would work only when the Open Camera is whitelisted.

        By the way, it's recommended to avoid downloading random unauthorized patches. If possible, apply the patch to the source code then compile it instead.

         

        Last edit: EiQuo7ji 2021-09-02
  • Anonymous

    Anonymous - 2021-10-09

    The 108 Mp is purely a marketing scam. It has 12 MP output (108/9). The "AI mode" is part of the scam.

     
    • Predrag Supurovic

      What was the point of your comment? Trolling?

      You are wrong. It does have 108 MP camera and it produces 108 MP images.

      Thing is official camera application is not that good. OpenCamera produces significantly better photographs, but it can access main camera only, not 180 MP one.

       
      • EiQuo7ji

        EiQuo7ji - 2021-10-09

        If I understand correctly, the main camera is 180MP. It is just that the standard code could not recognize that it is, and thus produces suboptimal photos.

        One of the most important deficit of the stock Camera app is that it is proprietary and closed source. I would not trust such for camera apps.

        The patch is already there. I hope that the developer of Open Camera could find time to study that patch and integrate it into the master branch.

         
  • Anonymous

    Anonymous - 2021-10-28

    For multi-camera functionality, you can see if my patched version of open camera work (https://github.com/Adriankhl/opencameraR)

     
    • Predrag Supurovic

      It seems not to recognize multiple cameras.

      [ Thursday, 28. October 2021. 09:28 ] ⁨Pedja⁩: Open Camera v1.49.1
      Code: 82
      Package: net.sourceforge.opencamera
      Android API version: 30
      Device manufacturer: Xiaomi
      Device model: M2101K6G
      Device code-name: qcom
      Device variant: sweet
      Language: en
      Standard max heap?: 256
      Large max heap?: 512
      Display size: 1080x2177
      Display metrics: 1080x2177
      Current camera ID: 0
      No. of cameras: 2
      Multi-camera?: false
      Camera API: Camera2 (Android L)
      Camera orientation: 90
      Photo mode: Standard
      Preview resolutions: 2400x1080, 1920x1080, 1600x720, 1440x1080, 1280x960, 1560x720, 1440x720, 1280x720, 800x600, 720x480, 640x480, 352x288, 320x240, 176x144
      Preview resolution: 1920x1080
      Photo resolutions: 4000x3000, 4000x2252, 3840x2160, 3280x2464, 2592x1944, 2320x1744, 2400x1080, 1920x1080, 1600x1200, 1440x1080, 1280x960, 1600x720, 1560x720, 1440x720, 1280x720, 800x600, 720x480, 640x480, 352x288, 320x240, 176x144
      Photo resolution: 4000x3000
      Video qualities: 1, 6_r2592x1944, 6_r2320x1744, 6_r2400x1080, 6, 5_r1600x1200, 5_r1440x1080, 5_r1280x960, 5_r1600x720, 5_r1560x720, 5_r1440x720, 5, 4_r800x600, 4, 3_r640x480, 3, 7, 2
      Video resolutions: 3840x2160, 2592x1944, 2320x1744, 2400x1080, 1920x1080, 1600x1200, 1440x1080, 1280x960, 1600x720, 1560x720, 1440x720, 1280x720, 800x600, 720x480, 640x480, 352x288, 320x240, 176x144
      Video quality: 6
      Video frame width: 1920
      Video frame height: 1080
      Video bit rate: 20000000
      Video frame rate: 30
      Video capture rate: 30.0
      Video high speed: false
      Video capture rate factor: 1.0
      Auto-level?: Available
      Auto-level enabled?: false
      Face detection?: Available
      RAW?: Available
      HDR?: Available
      Panorama?: Available
      Gyro sensors?: Available
      Expo?: Available
      Expo compensation?: Available
      Exposure compensation range: -24 to 24
      Manual ISO?: Available
      ISO range: 50 to 2000
      Manual exposure?: Available
      Exposure range: 41580 to 39078949140
      Manual WB?: Available
      WB temperature: 1000 to 15000
      Optical stabilization?: Not available
      Optical stabilization enabled?: false
      Video stabilization?: Available
      Video stabilization enabled?: true
      Tonemap curve?: Available
      Tonemap max curve points: 64
      Can disable shutter sound?: Available
      Camera view angle: 69.62674 , 52.614525
      Flash modes: flash_off, flash_on, flash_torch
      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, aqua, blackboard, whiteboard
      Scene modes: auto, action, portrait, landscape, night, night-portrait, theatre, beach, snow, sunset, fireworks, sports, party, candlelight
      White balances: auto, manual, incandescent, fluorescent, warm-fluorescent, daylight, cloudy-daylight, twilight, shade
      Magnetic accuracy?: -1
      Using SAF?: false
      Save Location: OpenCamera
      Save Location SAF:
      Parameters: None

       
      • Anonymous

        Anonymous - 2021-10-28

        It is correct that it detects only two cameras, since google advice (or enforce) phone manufacturer to expose logical camera then physical camera (https://developer.android.com/training/camera2/multi-camera#logical).

        Can you zoom out to get the view that you weren't able to do so before? Or can you zoom in without losing resolution?

         
        • EiQuo7ji

          EiQuo7ji - 2021-10-28

          In this fork version, as in the original version, Zooming in will lead to loss of resolution. Neither is wide lens camera "automatically" accessible.

           
        • Predrag Supurovic

          I see no difference in resolution regarding setting zoom. It is always 3000x4000 pixels.

           
  • Anonymous

    Anonymous - 2023-04-06

    any advancement?
    i want to use Open Camera to do focus bracketing with the macro camera note 10 pro :(

     

Anonymous
Anonymous

Add attachments
Cancel