Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Camera not working after last /e/ update in Redmi Note 9

  • /e/OS version: 3.3-t-20251215557759-community-merlinx
  • Device model(s): Redmi Note 9
  • Impacted Application: ~ All apps using the camera
  • Affected application/URL: All apps using the camera
  • Browser/client and version: --

The problem

  1. Camera won't work, not with camera apps, qr or any app.

It worked just before the last update I made today.

Screenshot_20251218-165334_Cámara.png Screenshot_20251218-165426_Simple QR.png Screenshot_20251218-165525_Escáner QR.png

  1. The light won't work either.

Steps to reproduce

Open any app using the camera.

Solution

I fixed it all installing an older version of /e/ OS (e-3.2-t-20251026540684-community-merlinx), but the issue is not solved in the last version (3.3-t-20251215557759-community-merlinx).

Technical details

Paste any relevant logs (adb logcat) in the codeblock below if you have any

12-18 16:58:31.474  8178  8227 I CCodecConfig: query failed after returning 7 values (BAD_INDEX)
12-18 16:58:31.475  8178  8227 W Codec2Client: query -- param skipped: index = 1342179345.
12-18 16:58:31.475  8178  8227 W Codec2Client: query -- param skipped: index = 2415921170.
12-18 16:58:31.476  8178  8227 D CCodecBufferChannel: [c2.android.vorbis.decoder#302] Created input block pool with allocatorID 16 => poolID 18 - OK (0)
12-18 16:58:31.476  8178  8227 I CCodecBufferChannel: [c2.android.vorbis.decoder#302] Created output block pool with allocatorID 16 => poolID 67 - OK
12-18 16:58:31.477  8178  8227 D CCodecBufferChannel: [c2.android.vorbis.decoder#302] Configured output block pool ids 67 => OK
12-18 16:58:31.478   917  8240 D SimpleC2Component: Using output block pool with poolID 67 => got 67 - 0
12-18 16:58:31.352     0     0 I [GPU/DVFS][INFO]@__mt_gpufreq_update_max_limited_idx: g_max_limited_idx = 3, g_limiter = 4
12-18 16:58:31.483  8178  8178 E SurfaceSyncer: Failed to find sync for id=0
12-18 16:58:31.487  8178  8218 W System.err: java.lang.RuntimeException: Unknown camera ID
12-18 16:58:31.488  8178  8218 W System.err:    at android.hardware.Camera.<init>(Camera.java:555)
12-18 16:58:31.488  8178  8218 W System.err:    at android.hardware.Camera.open(Camera.java:443)
12-18 16:58:31.488  8178  8218 W System.err:    at net.sourceforge.opencamera.cameracontroller.CameraController1.<init>(CameraController1.java:75)
12-18 16:58:31.488  8178  8218 W System.err:    at net.sourceforge.opencamera.preview.Preview.openCameraCore(Preview.java:1892)
12-18 16:58:31.488  8178  8218 W System.err:    at net.sourceforge.opencamera.preview.Preview.-$$Nest$mopenCameraCore(Unknown Source:0)
12-18 16:58:31.488  8178  8218 W System.err:    at net.sourceforge.opencamera.preview.Preview$1.doInBackground(Preview.java:1788)
12-18 16:58:31.488  8178  8218 W System.err:    at net.sourceforge.opencamera.preview.Preview$1.doInBackground(Preview.java:1781)
12-18 16:58:31.488  8178  8218 W System.err:    at android.os.AsyncTask$3.call(AsyncTask.java:394)
12-18 16:58:31.488  8178  8218 W System.err:    at java.util.concurrent.FutureTask.run(FutureTask.java:264)
12-18 16:58:31.488  8178  8218 W System.err:    at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)
12-18 16:58:31.488  8178  8218 W System.err:    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
12-18 16:58:31.488  8178  8218 W System.err:    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
12-18 16:58:31.488  8178  8218 W System.err:    at java.lang.Thread.run(Thread.java:1012)
12-18 16:58:31.488  1289  6653 D CompatibilityChangeReporter: Compat change id reported: 161145287; UID 10116; state: DISABLED
12-18 16:58:31.488  8178  8218 W System.err: net.sourceforge.opencamera.cameracontroller.CameraControllerException
12-18 16:58:31.488  8178  8218 W System.err:    at net.sourceforge.opencamera.cameracontroller.CameraController1.<init>(CameraController1.java:80)
12-18 16:58:31.488  8178  8218 W System.err:    at net.sourceforge.opencamera.preview.Preview.openCameraCore(Preview.java:1892)
12-18 16:58:31.488  8178  8218 W System.err:    at net.sourceforge.opencamera.preview.Preview.-$$Nest$mopenCameraCore(Unknown Source:0)
12-18 16:58:31.489  8178  8218 W System.err:    at net.sourceforge.opencamera.preview.Preview$1.doInBackground(Preview.java:1788)
12-18 16:58:31.489  8178  8218 W System.err:    at net.sourceforge.opencamera.preview.Preview$1.doInBackground(Preview.java:1781)
12-18 16:58:31.489  8178  8218 W System.err:    at android.os.AsyncTask$3.call(AsyncTask.java:394)
12-18 16:58:31.489  8178  8218 W System.err:    at java.util.concurrent.FutureTask.run(FutureTask.java:264)
12-18 16:58:31.489  8178  8218 W System.err:    at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)
12-18 16:58:31.489  8178  8218 W System.err:    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
12-18 16:58:31.489  8178  8218 W System.err:    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
12-18 16:58:31.489  8178  8218 W System.err:    at java.lang.Thread.run(Thread.java:1012)
12-18 16:58:31.496   411   411 I servicemanager: Could not find android.hardware.graphics.allocator.IAllocator/default in the VINTF manifest.
12-18 16:58:31.497  8178  8196 I Gralloc4: Adding additional valid usage bits: 0x2000
12-18 16:58:31.499  8178  8196 E ion     : ioctl c0044901 failed with code -1: Invalid argument
12-18 16:58:31.372     0     0 I binder  : 8178:8196 ioctl 40046210 74e7373ff4 returned -22
12-18 16:58:31.502  8178  8227 D CCodecBufferChannel: [c2.android.vorbis.decoder#302] MediaCodec discarded an unknown buffer
12-18 16:58:31.502  8178  8227 D CCodecBufferChannel: [c2.android.vorbis.decoder#302] MediaCodec discarded an unknown buffer
12-18 16:58:31.504  8178  8227 I hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients
12-18 16:58:31.504   917  6405 I hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients
12-18 16:58:31.504   917  6405 I hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients
12-18 16:58:31.504   917  6405 V C2Store : in ~ComponentModule
12-18 16:58:31.504   917  6405 V C2Store : unloading dll
12-18 16:58:31.505  8178  8210 D MediaCodec: flushMediametrics
12-18 16:58:31.394     0     0 I [GPU/DVFS][INFO]@__mt_gpufreq_update_max_limited_idx: g_max_limited_idx = 0, g_limiter = -1
12-18 16:58:31.546  2195  4658 I MediaProvider: Open with lower FS for /storage/emulated/0/DCIM/Camera/IMG_20251218_134852.jpg. Uid: 10116
12-18 16:58:31.559  1289  1316 I ActivityTaskManager: Displayed foundation.e.camera/net.sourceforge.opencamera.MainActivity: +697ms
12-18 16:58:31.461     0     0 W mtk_axi_interrupt: 15 callbacks suppressed
12-18 16:58:31.461     0     0 I         : [wlan] In HIF ISR.
12-18 16:58:31.594  8178  8178 E SurfaceSyncer: Failed to find sync for id=0
12-18 16:58:31.628  1289  3835 D CompatibilityChangeReporter: Compat change id reported: 214016041; UID 10116; state: ENABLED
12-18 16:58:31.516     0     0 D         : [Power/PPM] (0xa0)(19868)(0)(0-7)(6)(0)(6)(6) (0)(0)(2)(2)
12-18 16:58:31.516     0     0 D         : [Power/PPM] (0xa0)(15200)(0)(0-7)(6)(0)(6)(6) (8)(0)(2)(2)
12-18 16:58:31.519     0     0 D         : [Power/PPM] (0xa0)(15066)(0)(0-7)(6)(1)(6)(6) (8)(0)(2)(2)
12-18 16:58:31.564     0     0 I         : alarmtimer_enqueue, 9117512000000
12-18 16:58:31.564     0     0 I         : alarmtimer_enqueue, 8760637000000
12-18 16:58:31.696   864   988 E Accelerometer: Acceleration: x:0.098000, y:-0.021000, z:9.936000]
12-18 16:58:31.794  1289  1438 E WifiVendorHal: getWifiLinkLayerStats_1_6_Internal(l.1199) failed {.code = ERROR_NOT_SUPPORTED, .description = }
12-18 16:58:31.663     0     0 I mtk_charger_alarm_timer_func: not suspend, wake up charger
12-18 16:58:31.664     0     0 I         : mt635x-auxadc mt635x-auxadc: name:VCDT, channel=2, adc_out=0x4b2, adc_result=528
12-18 16:58:31.665     0     0 I         : vbat_out_old=43280, vthr=700, T_curr=294, vbat_out=43291
12-18 16:58:31.665     0     0 I         : mt635x-auxadc mt635x-auxadc: name:BATADC, channel=0, adc_out=0x669a, adc_result=4329
12-18 16:58:31.797   864   988 E Light   : AmbienteLight: 57.000000
12-18 16:58:31.667     0     0 I         : mt635x-auxadc mt635x-auxadc: name:VCDT, channel=2, adc_out=0x4b4, adc_result=529
12-18 16:58:31.667     0     0 I         : [CH3_DBG] bat_cur = 1748
12-18 16:58:31.668     0     0 I Vbat=4329,Ibat=2654,I=0,VChr=5005,T=23,Soc=90: 92,CT:1:1 hv:1 pd:0:0
12-18 16:58:31.668     0     0 I mtk_charger_start_timer: alarm timer start:0, 8608 164792741
12-18 16:58:31.668     0     0 I         : alarmtimer_enqueue, 8608164792741
12-18 16:58:31.669     0     0 I         : [CH3_DBG] bat_cur = 1748
12-18 16:58:31.671     0     0 I         : vbat_out_old=43220, vthr=700, T_curr=294, vbat_out=43231
12-18 16:58:31.671     0     0 I         : [SW_JEITA] Battery Normal Temperature between 10 and 45 !!
12-18 16:58:31.671     0     0 I [SW_JEITA]preState: 3 newState:3 tmp:23 cv:0 cc:3000000
12-18 16:58:31.672     0     0 I tmp     : 23 (jeita:1 sm:3 cv:0 en:1) (sm:1) en:1 c:0 s:0 ov:0 sc:0 1 1
12-18 16:58:31.672     0     0 I         : mtk_switch_charging_run [1 0], timer=80
12-18 16:58:31.672     0     0 I         : [CH3_DBG] bat_cur = -468
12-18 16:58:31.672     0     0 I pe40_ready: 0 hv:1 thermal:-1,-1 tmp:23,39,16 pps:0 en:0 ibus:0 80
12-18 16:58:31.672     0     0 E dhx---jeita_cc: 3000000
Edited by santiago go