红米4X santoni 201802091827 版相机仍然出错。


#1

问题描述: 相机打不开(相机不存在)
当前版本: MK71.2-santoni-201802091827-NIGHTLY
复现步骤: 点击相机出现应用停止,QQ、微信也无法使用相机

02-10 00:34:16.485 523 698 E CameraService: getCameraVendorTagDescriptor: camera hardware module doesn’t exist
02-10 00:34:16.618 6511 6532 E WVMExtractor: Failed to open libwvm.so: dlopen failed: library “libwvm.so” not found
02-10 00:34:16.636 6511 6533 E ACodec : Unable to instantiate a decoder for type ‘audio/vorbis’ with err 0xfffffffe.
02-10 00:34:16.637 6511 6533 E ACodec : signalError(omxError 0xfffffffe, internalError -2)
02-10 00:34:16.637 6511 6533 E MediaCodec: Codec reported err 0xfffffffe, actionCode 0, while in state 1
02-10 00:34:16.639 6511 6532 E SoundPool: Unable to load sample
02-10 00:34:16.655 6511 6535 E ACodec : Unable to instantiate a decoder for type ‘audio/vorbis’ with err 0xfffffffe.
02-10 00:34:16.655 6511 6535 E ACodec : signalError(omxError 0xfffffffe, internalError -2)
02-10 00:34:16.655 6511 6535 E MediaCodec: Codec reported err 0xfffffffe, actionCode 0, while in state 1
02-10 00:34:16.656 6511 6532 E SoundPool: Unable to load sample
02-10 00:34:16.755 6511 6536 E CameraHolder: fail to connect Camera:-1, aborting.
02-10 00:34:16.755 6511 6536 E CAM_PhotoModule: Failed to open camera:0
02-10 00:34:16.948 6511 6511 E AndroidRuntime: FATAL EXCEPTION: main
02-10 00:34:16.948 6511 6511 E AndroidRuntime: Process: org.cyanogenmod.snap, PID: 6511
02-10 00:34:16.948 6511 6511 E AndroidRuntime: java.lang.RuntimeException: Unable to resume activity {org.cyanogenmod.snap/com.android.camera.CameraActivity}: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
02-10 00:34:16.948 6511 6511 E AndroidRuntime: at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3469)
02-10 00:34:16.948 6511 6511 E AndroidRuntime: at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3509)
02-10 00:34:16.948 6511 6511 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2772)
02-10 00:34:16.948 6511 6511 E AndroidRuntime: at android.app.ActivityThread.-wrap12(ActivityThread.java)
02-10 00:34:16.948 6511 6511 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1507)
02-10 00:34:16.948 6511 6511 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
02-10 00:34:16.948 6511 6511 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154)
02-10 00:34:16.948 6511 6511 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6236)
02-10 00:34:16.948 6511 6511 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
02-10 00:34:16.948 6511 6511 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:891)
02-10 00:34:16.948 6511 6511 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:781)
02-10 00:34:16.948 6511 6511 E AndroidRuntime: Caused by: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
02-10 00:34:16.948 6511 6511 E AndroidRuntime: at com.android.camera.PhotoModule.initializeFocusManager(PhotoModule.java:2732)
02-10 00:34:16.948 6511 6511 E AndroidRuntime: at com.android.camera.PhotoModule.onResumeBeforeSuper(PhotoModule.java:2505)
02-10 00:34:16.948 6511 6511 E AndroidRuntime: at com.android.camera.CameraActivity.onResume(CameraActivity.java:1760)
02-10 00:34:16.948 6511 6511 E AndroidRuntime: at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1270)
02-10 00:34:16.948 6511 6511 E AndroidRuntime: at android.app.Activity.performResume(Activity.java:6788)
02-10 00:34:16.948 6511 6511 E AndroidRuntime: at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3446)
02-10 00:34:16.948 6511 6511 E AndroidRuntime: … 10 more


#2

刷8.2.1開發版的底包試試


#3

我今天刷了更新了,也还是这样,相机更本用不了,而且电信卡也无信号


#4

MK71.2-santoni-201802111829-NIGHTLY 解决了相机问题,应该是前几天的那些包精简了一些 vendor/lib下的文件引发的。
但此包有LOG中有较多的E出现。
此包解决了电信卡 4G 的问题(也许在前些天的包中就解决了,我没更新)。

02-11 21:33:53.274 4363 4363 E OMXNodeInstance: getExtensionIndex(110b0001:ffmpeg.divx.decoder, OMX.google.android.index.configureVideoTunnelMode) ERROR: UnsupportedIndex(0x8000101a)
02-11 21:33:53.276 4363 4363 F libc : Fatal signal 11 (SIGSEGV), code 2, fault addr 0xeebbb000 in tid 4363 (mediacodec)
02-11 21:33:53.338 4368 4368 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
02-11 21:33:53.338 4368 4368 F DEBUG : MK Version: 'MK71.2-santoni-201802111829-NIGHTLY’
02-11 21:33:53.338 4368 4368 F DEBUG : Build fingerprint: 'Xiaomi/santoni/santoni:6.0.1/MMB29M/V8.5.4.0.MAMCNED:user/release-keys’
02-11 21:33:53.338 4368 4368 F DEBUG : Revision: '0’
02-11 21:33:53.338 4368 4368 F DEBUG : ABI: 'arm’
02-11 21:33:53.339 4368 4368 F DEBUG : pid: 4363, tid: 4363, name: mediacodec >>> media.codec <<<
02-11 21:33:53.339 4368 4368 F DEBUG : signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0xeebbb000
02-11 21:33:53.339 4368 4368 F DEBUG : r0 eebbb000 r1 7fffefe7 r2 00000001 r3 00000000
02-11 21:33:53.339 4368 4368 F DEBUG : r4 eebbb000 r5 00000000 r6 00000000 r7 eeec9625
02-11 21:33:53.339 4368 4368 F DEBUG : r8 eebbb00c r9 00000000 sl eeb9fa20 fp ffc7d82c
02-11 21:33:53.339 4368 4368 F DEBUG : ip eed45744 sp ffc7d540 lr eed2e323 pc ef0471e6 cpsr 600b0030
02-11 21:33:53.347 4368 4368 F DEBUG :
02-11 21:33:53.347 4368 4368 F DEBUG : backtrace:
02-11 21:33:53.348 4368 4368 F DEBUG : #00 pc 000481e6 /system/lib/libc.so (pthread_mutex_unlock+9)
02-11 21:33:53.348 4368 4368 F DEBUG : #01 pc 0001c31f /system/lib/libstagefright_omx.so (_ZN7android15OMXNodeInstance8freeNodeEPNS_9OMXMasterE+630)
02-11 21:33:53.348 4368 4368 F DEBUG : #02 pc 0001a171 /system/lib/libstagefright_omx.so (_ZN7android3OMX8freeNodeEj+352)
02-11 21:33:53.348 4368 4368 F DEBUG : #03 pc 0009db33 /system/lib/libmedia.so (_ZN7android5BnOMX10onTransactEjRKNS_6ParcelEPS1_j+2082)
02-11 21:33:53.348 4368 4368 F DEBUG : #04 pc 00035933 /system/lib/libbinder.so (_ZN7android7BBinder8transactEjRKNS_6ParcelEPS1_j+70)
02-11 21:33:53.348 4368 4368 F DEBUG : #05 pc 0003d0ab /system/lib/libbinder.so (_ZN7android14IPCThreadState14executeCommandEi+578)
02-11 21:33:53.348 4368 4368 F DEBUG : #06 pc 0003cd7b /system/lib/libbinder.so (_ZN7android14IPCThreadState20getAndExecuteCommandEv+114)
02-11 21:33:53.349 4368 4368 F DEBUG : #07 pc 0003d24b /system/lib/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb+38)
02-11 21:33:53.349 4368 4368 F DEBUG : #08 pc 00000e81 /system/bin/mediacodec
02-11 21:33:53.349 4368 4368 F DEBUG : #09 pc 00016d51 /system/lib/libc.so (__libc_init+48)
02-11 21:33:53.349 4368 4368 F DEBUG : #10 pc 00000d30 /system/bin/mediacodec
02-11 21:33:57.515 536 691 E OMXClient: Cannot obtain IMediaCodecService
02-11 21:33:58.645 4378 4379 E OMXNodeInstance: getExtensionIndex(111a0001:ffmpeg.mpeg2.decoder, OMX.google.android.index.configureVideoTunnelMode) ERROR: UnsupportedIndex(0x8000101a)
02-11 21:33:58.648 4378 4379 F libc : Fatal signal 11 (SIGSEGV), code 2, fault addr 0xf003b000 in tid 4379 (Binder:4378_1)
02-11 21:33:58.708 4382 4382 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

亮屏后除以上的还大量出现下面内容:
02-11 21:43:05.598 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:05.681 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:05.748 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:05.832 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:05.899 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:05.982 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:06.049 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:06.133 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:06.199 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:06.283 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:06.366 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:06.450 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:06.517 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:06.600 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:06.667 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:06.751 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:06.818 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:06.901 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:06.968 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:07.052 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:07.118 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:07.202 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:07.269 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:07.352 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:07.419 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:07.503 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:07.570 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:07.653 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:07.719 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:07.786 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:07.870 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:07.936 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:08.020 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:08.087 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:08.170 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:08.237 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:08.321 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:08.388 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:08.471 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:08.538 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:08.621 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:08.691 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:08.705 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied
02-11 21:43:08.791 488 488 E SDM : HWPrimary::SetIdleTimeoutMs: Unable to open /sys/devices/virtual/graphics/fb0/idle_time, node Permission denied


#5

我看了下,0206是目前唯一能在官网找到的最稳定的版本,明天12版推出后06就没了,赶快去下载。


#6

实际上,之前的机友更新到此版本后已经无法使用相机。


#7

改刷到0201版了,相机和电信4G都好用。幸好下载保留了0201版。虽然还是LOG中会有些严重的E出现,但算可以了吧。等再有稳定的再说,0201可以留着用一段时间了。


#8

0211版开始已修,SDM的报错不影响正常使用


#9

11日和13日版相机问题修复,但其它问题仍存在,不知道是不是我的机器其它问题引发的。目前好使的是去年的1203版。继续等修复。

前面写错了,13日版触屏失效。


#10

触控失效?能提供下dmesg吗


#11

对,我也触控失灵了


#12

预计明天每夜版修复,如果还是不能用的话没麻烦提供下dmesg


#13

今天的包还没修复,如何提供dmesg?


#14

该主题在最后一个回复创建后30天后自动关闭。不再允许新的回复。