Need help with display- memalloc/gralloc - logcat provided and explanation - Android Q&A, Help & Troubleshooting

Hello
I've compiled CM10 rom with 3.4 kernel for my Xperia and everything works except one thing:
Display doesn't work at all. It has backlight (it stays grey) but doesn't display any pixels.
Here is part of logcat which includes the error:
Code:
E/memalloc( 173): /dev/pmem: Failed to open pmem device: No such file or directory
E/memalloc( 173): /dev/pmem: failed to initialize pmem area
E/gralloc ( 173): gralloc failed err=No such file or directory
W/GraphicBufferAllocator( 173): alloc(480, 854, 2, 00000b03, 0 ...) failed -2 (No such file or directory)
E/SurfaceFlinger( 173): GraphicBufferAlloc::createGraphicBuffer(w=480, h=854) failed (No such file or directory), handle=0x0
E/BufferQueue( 173): [<pid_369>] dequeueBuffer: SurfaceComposer::createGraphicBuffer failed
W/Adreno200-EGLSUB( 369): <DequeueBuffer:420>: dequeue native buffer fail: No such file or directory
E/gralloc ( 173): gralloc failed err=No such file or directory
W/GraphicBufferAllocator( 173): alloc(480, 854, 2, 00000b03, 0 ...) failed -2 (No such file or directory)
E/SurfaceFlinger( 173): GraphicBufferAlloc::createGraphicBuffer(w=480, h=854) failed (No such file or directory), handle=0x0
E/BufferQueue( 173): [<pid_369>] dequeueBuffer: SurfaceComposer::createGraphicBuffer failed
W/Adreno200-EGLSUB( 369): <DequeueBuffer:420>: dequeue native buffer fail: No such file or directory
E/gralloc ( 173): gralloc failed err=No such file or directory
W/GraphicBufferAllocator( 173): alloc(480, 854, 2, 00000b03, 0 ...) failed -2 (No such file or directory)
E/SurfaceFlinger( 173): GraphicBufferAlloc::createGraphicBuffer(w=480, h=854) failed (No such file or directory), handle=0x0
E/BufferQueue( 173): [<pid_369>] dequeueBuffer: SurfaceComposer::createGraphicBuffer failed
W/Adreno200-EGLSUB( 369): <DequeueBuffer:420>: dequeue native buffer fail: No such file or directory
W/Adreno200-EGL( 369): <qeglDrvAPI_eglMakeCurrent:2850>: EGL_BAD_ALLOC
E/libEGL ( 369): eglMakeCurrent:536 error 3003 (EGL_BAD_ALLOC)
I understand only basics of those things, can anyone help me?
I've made following patches in my qcom_display:
1
2
3
4
but it didn't help. Screen stays black also in CWM. When I flash 3.0.8 kernel everthing works normally.
I'm using stock kernel source.
Do you think I should compare my defconfig with one used by FXP team?

lozohcum said:
Hello
....
I'm using stock kernel source.
Do you think I should compare my defconfig with one used by FXP team?
Click to expand...
Click to collapse
I know it has been a while but this turned up on google and I had a similar error.. I think the cause may be further up in the logcat, looks like pmem failed to initialize...
Nz

How can i reuse or reset gralloc register buffer memory in android rooted or non root
0 down vote favorite
I am building a player in which I have to run flash content, after some time my application crashes and give gralloc register buffer error, below is the complete description of my error
E/Gralloc-3X-ERROR: int gralloc_register_buffer(const gralloc_module_t*, buffer_handle_t):135 Failed to create UMP handle 0x0 E/Gralloc-3X-ERROR: int gralloc_register_buffer(const gralloc_module_t*, buffer_handle_t):135 Failed to create UMP handle 0x0 W/GraphicBufferMapper(14231): registerBuffer(0x7233a148) failed -22 (Invalid argument) W/GraphicBufferMapper(14231): registerBuffer(0x7233a148) failed -22 (Invalid argument) E/GraphicBuffer(14231): unflatten: registerBuffer failed: Invalid argument (-22) E/GraphicBuffer(14231): unflatten: registerBuffer failed: Invalid argument (-22) F/libc (14231): Fatal signal 11 (SIGSEGV) at 0x4570e000 (code=2), thread 14385 (FP_DoPlay) F/libc (14231): Fatal signal 11 (SIGSEGV) at 0x4570e000 (code=2), thread 14385 (FP_DoPlay)
Please help me in removing this error or can my app reuses or reset the same gralloc buffer for rendering the flash content

The problem is that the /dev filesystem hasn't been populated yet or never was populated.
I'm presuming udev or a non-functioning driver.
http://stackoverflow.com/questions/18175989/android-memalloc explains the predicament @lozohcum

Fixed it yet, @lozohcum?
Remember:
/dev/pmem => Physical Memory
BTW, is the M2 a good phone? I'm looking in to it.

Related

[Q] Netflix/HBO/DRM protected content not playing

Hi,
I've been struggling to get Netflix and HBO Nordic working on my Galaxy S2 running Cyanogenmod 10.1 nightlies. I've tried Netflix 2.1.1 and 1.8.1, and a modded HBO 1.0 app bypassing the root check.
Here are some logcat (*:W) excerpts from the different apps.
HBO Nordic app, force closes upon pressing play:
Code:
W/AudioService( 2198): RemoteControlClient died
F/libc (26548): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 26548 (drmserver)
W/DrmManagerClientImpl(Native)(26554): DrmManager server died!
E/WVMExtractor(28011): Drm manager failed to initialize.
E/MediaPlayer(26554): error (1, -2147483648)
E/MediaPlayer(26554): Error (1,-2147483648)
W/dalvikvm(26554): threadid=1: thread exiting with uncaught exception (group=0x40f2f930)
E/AndroidRuntime(26554): FATAL EXCEPTION: main
E/AndroidRuntime(26554): java.lang.NullPointerException
E/AndroidRuntime(26554): at com.hbo.android.app.activity.VideoActivity.finishWithError(VideoActivity.java:240)
E/AndroidRuntime(26554): at com.hbo.android.app.activity.VideoActivity.access$2(VideoActivity.java:236)
E/AndroidRuntime(26554): at com.hbo.android.app.activity.VideoActivity$2.onMediaPlayerError(VideoActivity.java:108)
E/AndroidRuntime(26554): at com.hbo.android.app.widget.video.player.PlayerBase.onError(PlayerBase.java:425)
E/AndroidRuntime(26554): at com.hbo.android.app.widget.video.player.internal.BaseVideoView$4.onError(BaseVideoView.java:372)
E/AndroidRuntime(26554): at android.media.MediaPlayer$EventHandler.handleMessage(MediaPlayer.java:2003)
E/AndroidRuntime(26554): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(26554): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(26554): at android.app.ActivityThread.main(ActivityThread.java:5191)
E/AndroidRuntime(26554): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(26554): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(26554): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
E/AndroidRuntime(26554): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
E/AndroidRuntime(26554): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 2198): Force finishing activity com.hbo.android.app/.activity.VideoActivity
W/ActivityManager( 2198): Activity pause timeout for ActivityRecord{41d77aa8 u0 com.hbo.android.app/.activity.VideoActivity}
W/InputDispatcher( 2198): channel '419febd8 com.hbo.android.app/com.hbo.android.app.activity.MainActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
E/InputDispatcher( 2198): channel '419febd8 com.hbo.android.app/com.hbo.android.app.activity.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
W/InputDispatcher( 2198): channel '41938168 com.hbo.android.app/com.hbo.android.app.activity.VideoActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
E/InputDispatcher( 2198): channel '41938168 com.hbo.android.app/com.hbo.android.app.activity.VideoActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
W/InputDispatcher( 2198): Attempted to unregister already unregistered input channel '419febd8 com.hbo.android.app/com.hbo.android.app.activity.MainActivity (server)'
W/InputDispatcher( 2198): Attempted to unregister already unregistered input channel '41938168 com.hbo.android.app/com.hbo.android.app.activity.VideoActivity (server)'
E/Trace (28321): error opening trace file: No such file or directory (2)
E/Trace (28356): error opening trace file: No such file or directory (2)
Netflix 1.8.1, plays sound and shows subtitles, but no video:
Code:
W/ActivityManager( 2198): Scheduling restart of crashed service com.teamhacksung.tvout/.TvOutService in 5000ms
W/libc (27869): pthread_create sched_setscheduler call failed: Operation not permitted
W/libc (27869): pthread_create sched_setscheduler call failed: Operation not permitted
W/libc (27869): pthread_create sched_setscheduler call failed: Operation not permitted
W/libc (27869): pthread_create sched_setscheduler call failed: Operation not permitted
W/libc (27869): pthread_create sched_setscheduler call failed: Operation not permitted
W/libc (27869): pthread_create sched_setscheduler call failed: Operation not permitted
E/Trace (28011): error opening trace file: No such file or directory (2)
E/SEC_COMP_REGS(28011): .
E/SEC_COMP_REGS(28011): ..
E/SEC_COMP_REGS(28011): libOMX.SEC.AVC.Decoder.so
E/SEC_COMP_REGS(28011): Path & libName : /system/lib/omx/libOMX.SEC.AVC.Decoder.so
E/SEC_COMP_REGS(28011): libOMX.SEC.AVC.Encoder.so
E/SEC_COMP_REGS(28011): Path & libName : /system/lib/omx/libOMX.SEC.AVC.Encoder.so
E/SEC_COMP_REGS(28011): libOMX.SEC.M4V.Decoder.so
E/SEC_COMP_REGS(28011): Path & libName : /system/lib/omx/libOMX.SEC.M4V.Decoder.so
E/SEC_COMP_REGS(28011): libOMX.SEC.M4V.Encoder.so
E/SEC_COMP_REGS(28011): Path & libName : /system/lib/omx/libOMX.SEC.M4V.Encoder.so
E/SEC_COMP_REGS(28011): libOMX.SEC.WMV.Decoder.so
E/SEC_COMP_REGS(28011): Path & libName : /system/lib/omx/libOMX.SEC.WMV.Decoder.so
E/OMXNodeInstance(28011): OMX_GetExtensionIndex failed
E/ ( 1864): egl_android_pixel_format* _egl_android_get_native_buffer_format(android_native_buffer_t*) unsupported native buffer format (0x13)
E/SurfaceTexture( 1864): [SurfaceView] error creating EGLImage: 0x3003
E/SurfaceTexture( 1864): [SurfaceView] updateTexImage: acquire failed: Unknown error 2147483648 (-2147483648)
E/ ( 1864): egl_android_pixel_format* _egl_android_get_native_buffer_format(android_native_buffer_t*) unsupported native buffer format (0x13)
E/SurfaceTexture( 1864): [SurfaceView] error creating EGLImage: 0x3003
E/SurfaceTexture( 1864): [SurfaceView] updateTexImage: acquire failed: Unknown error 2147483648 (-2147483648)
E/BufferQueue( 1864): [SurfaceView] acquireBuffer: max acquired buffer count reached: 2 (max=1)
E/SurfaceTexture( 1864): [SurfaceView] updateTexImage: acquire failed: Function not implemented (-38)
E/Trace (28196): error opening trace file: No such file or directory (2)
W/InputEventReceiver( 2198): Attempted to finish an input event but the input event receiver has already been disposed.
W/InputEventReceiver( 2198): Attempted to finish an input event but the input event receiver has already been disposed.
W/AudioFlinger(28011): session id 277 not found for pid 2198
E/BufferQueue( 1864): [SurfaceView] dequeueBuffer: SurfaceTexture has been abandoned!
E/ACodec (28011): dequeueBuffer failed.
E/BufferQueue( 1864): [SurfaceView] queueBuffer: SurfaceTexture has been abandoned!
E/SurfaceTextureClient(28011): queueBuffer: error queuing buffer to SurfaceTexture, -19
E/NuPlayer(28011): Received error from video decoder, aborting playback.
W/BufferQueue( 1864): [SurfaceView] cancelBuffer: BufferQueue has been abandoned!
W/AudioService( 2198): stream was not muted by this client
E/AudioService( 2198): Could not get client death handler for stream: 3
Netflix 2.1.1, stuck on loading screen:
Code:
W/dalvikvm(28732): method Lcom/netflix/mediaclient/android/widget/NetflixSeekBar;.onKeyChange incorrectly overrides package-private method with same name in Landroid/widget/AbsSeekBar;
E/SEC_COMP_REGS(28732): .
E/SEC_COMP_REGS(28732): ..
E/SEC_COMP_REGS(28732): libOMX.SEC.AVC.Decoder.so
E/SEC_COMP_REGS(28732): Path & libName : /system/lib/omx/libOMX.SEC.AVC.Decoder.so
E/SEC_COMP_REGS(28732): libOMX.SEC.AVC.Encoder.so
E/SEC_COMP_REGS(28732): Path & libName : /system/lib/omx/libOMX.SEC.AVC.Encoder.so
E/SEC_COMP_REGS(28732): libOMX.SEC.M4V.Decoder.so
E/SEC_COMP_REGS(28732): Path & libName : /system/lib/omx/libOMX.SEC.M4V.Decoder.so
E/SEC_COMP_REGS(28732): libOMX.SEC.M4V.Encoder.so
E/SEC_COMP_REGS(28732): Path & libName : /system/lib/omx/libOMX.SEC.M4V.Encoder.so
E/SEC_COMP_REGS(28732): libOMX.SEC.WMV.Decoder.so
E/SEC_COMP_REGS(28732): Path & libName : /system/lib/omx/libOMX.SEC.WMV.Decoder.so
E/OMXNodeInstance(28732): OMX_GetExtensionIndex failed
E/NetflixTransport-JNI(28732): Java_com_netflix_mediaclient_javabridge_transport_NativeTransport_native_1setVOapi systemAndroid set VO API
E/NetflixTransport-JNI(28732): Custom params sw analytics params set
E/Trace (28929): error opening trace file: No such file or directory (2)
E/Trace (28959): error opening trace file: No such file or directory (2)
E/Trace (28976): error opening trace file: No such file or directory (2)
E/nf_service(28732): Unable to get instance of PlayerActivity, only pass stateChnage event to MP
Anyone have a clue what might be wrong? Is it a DRM decrypting process that doesn't work, as I suspect?

[Q] Video Initialization Failure (CM10)

Any ideas what this is telling me?
Code:
E/OMX-VDEC-1080P( 9791):
E/OMX-VDEC-1080P( 9791): Omx_vdec::Comp Init Returning failure, errno 14
E/OMXCodec( 9791): failed to allocate node OMX.qcom.video.decoder.mpeg4
W/OMXCodec( 9791): Failed to set frame packing format on component
E/memalloc( 9791): /dev/pmem: Failed to map buffer size:10485760 offset:10444800 fd:46 Error: Invalid argument
E/gralloc ( 9791): Could not mmap handle 0xeffdb0, fd=46 (Invalid argument)
E/gralloc ( 9791): gralloc_register_buffer: gralloc_map failed
W/GraphicBufferMapper( 9791): registerBuffer(0xeffdb0) failed -22 (Invalid argument)
E/memalloc( 9791): /dev/pmem: Failed to map buffer size:10485760 offset:10444800 fd:46 Error: Invalid argument
E/gralloc ( 9791): Could not mmap handle 0xeffdb0, fd=46 (Invalid argument)
E/libgenlock( 9791): perform_lock_unlock_operation: GENLOCK_IOC_LOCK failed (lockType0x1, err=Bad file number fd=46)
E/gralloc ( 9791): gralloc_lock: genlock_lock_buffer (lockType=0x2) failed
W/GraphicBufferMapper( 9791): lock(...) failed -22 (Invalid argument)
F/SoftwareRenderer( 9791): frameworks/av/media/libstagefright/colorconversion/SoftwareRenderer.cpp:166 CHECK_EQ( 0,mapper.lock( buf->handle, GRALLOC_USAGE_SW_WRITE_OFTEN, bounds, &dst)) failed: 0 vs. -22
F/libc ( 9791): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 9864 (TimedEventQueue)
I think there is a failure to map the necessary memory in order to process the video. This is a logcat from an app that uses embedded YouTube videos. YouTube app plays the video, but this particular app does not. The app worked fine in other ROM's, but not so in CM10.
On the edge of my knowledge. Perhaps a dev can shed some light for me. Thanks in advance.
not sure but fix should be coming soon
If you follow the dev post about cm 10, someone recently mentioned a bluetooth fix coming soon that would take care of the issue. I believe the last bt fix wiped some of the lib files associated with video, browser and a few other functions. of course, i could be wrong and the last bt fix has nothing to do with your issue.

Camera error in codefireX compiled JB rom

Hello XDA.
I am trying, together with Lexmazter and Zasuk to compile codefireX, android 4.2.2 for Runnymede also known as Htc sensation xl.
Now i am so close on having everything working but for the last week i have used so much time to fix one error i keep having, when starting up the camera.
So now i am going to ask everyone here on xda for hopefully finding a way to fix that error.
The repo i am using is this :
codefireX source
Runnymede device tree
Runnymede vendor files
Runnymede msm7x30-common files
Booting up looks fine in logcat, and it does load the camera.default.so from stock runnymede ICS rom and if i install a Tourch app or flashlight app, i can use the Flashlight from camera without errors.
But if i starts the camera app, it camera stops working in same sec as i start it. No picture or anything.
The same kernel/boot.img is used in evervolv for runnymede, and it has working camera So the error should be somewhere in the rom.
Here is a part of a logcat with the camera error :
Code:
3718: E/memalloc( 107): /dev/pmem: Failed to map buffer size:4300800 offset:3072000 fd:53 Error: Invalid argument
3719: E/gralloc ( 107): Could not mmap handle 0x2a0c1d30, fd=53 (Invalid argument)
3720: E/gralloc ( 107): gralloc_register_buffer: gralloc_map failed
3721: W/GraphicBufferMapper( 107): registerBuffer(0x2a0c1d30) failed -22 (Invalid argument)
3722: E/GraphicBuffer( 107): unflatten: registerBuffer failed: Invalid argument (-22)
3723: E/libgenlock( 107): perform_lock_unlock_operation: GENLOCK_IOC_LOCK failed (lockType0x1, err=Invalid argument fd=53)
3724: E/QualcommCameraHardware( 107): getBuffersAndStartPreview: genlock_lock_buffer(WRITE) failed
3725: E/MemoryHeapBase( 107): mmap(fd=51, size=462848) failed (Invalid argument)
3726: I/QualcommCameraHardware( 107): getBuffersAndStartPreview: Mapped Preview buffer 0
3727: I/QualcommCameraHardware( 107): getBuffersAndStartPreview: Got the following from get_mem data: 0xffffffff, handle :705435080, release : 0x40664ec5, size: 460800
3728: E/QualcommCameraHardware( 107): getBuffersAndStartPreview: Couldnt map preview buffers
3729: I/mm-camera( 107): int android::set_preview_window(camera_device*, preview_stream_ops*): X
3730: I/mm-camera( 107): int android::start_preview(camera_device*): E
3731: D/QualcommCameraHardware( 107): startPreview E
3732: I/QualcommCameraHardware( 107): getBuffersAndStartPreview : E
3733: D/QualcommCameraHardware( 107): getBuffersAndStartPreview: NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS(0)
3734: E/BufferQueue( 1512): [unnamed-1512-0] setBufferCount: client owns some buffers
3735: E/SurfaceTextureClient( 107): ISurfaceTexture::setBufferCount(5) returned Invalid argument
3736: D/QualcommCameraHardware( 107): getBuffersAndStartPreview: setPreviewWindow(640 x 480), mTotalPreviewBufferCount 5
My main problem with camera as i reads the log is this 3 lines :
3737: E/memalloc( 107): /dev/pmem: Failed to map buffer size:4300800 offset:3072000 fd:55 Error: Invalid argument
3738: E/gralloc ( 107): Could not mmap handle 0x2a0c02e0, fd=55 (Invalid argument)
3739: E/gralloc ( 107): gralloc_register_buffer: gralloc_map failed
3740: W/GraphicBufferMapper( 107): registerBuffer(0x2a0c02e0) failed -22 (Invalid argument)
3741: E/GraphicBuffer( 107): unflatten: registerBuffer failed: Invalid argument (-22)
3742: E/libgenlock( 107): perform_lock_unlock_operation: GENLOCK_IOC_LOCK failed (lockType0x1, err=Bad file number fd=55)
3743: E/QualcommCameraHardware( 107): getBuffersAndStartPreview: genlock_lock_buffer(WRITE) failed
3744: E/MemoryHeapBase( 107): mmap(fd=51, size=462848) failed (Invalid argument)
3745: I/QualcommCameraHardware( 107): getBuffersAndStartPreview: Mapped Preview buffer 0
3746: I/QualcommCameraHardware( 107): getBuffersAndStartPreview: Got the following from get_mem data: 0xffffffff, handle :705444912, release : 0x40664ec5, size: 460800
3747: E/QualcommCameraHardware( 107): getBuffersAndStartPreview: Couldnt map preview buffers
3748: I/mm-camera( 107): int android::start_preview(camera_device*): X
3749: I/mm-camera( 107): void android::stop_preview(camera_device*): E
3750: D/QualcommCameraHardware( 107): stopPreview: E
The full log can be found here : Full logcat
i have also made a last_kmsg but it looks fine to me :last_kmsg
I will be very happy if someone will come with idears or anything about that issue.
here is an update on this :
when compiling kernel inline , the logcat error is a little bit diffrent :
2324: E/memalloc( 108): /dev/pmem: Failed to map buffer size:1228800 offset:0 fd:57 Error: Invalid argument <---- offset before was : 3072000 now 0 ??? hmmm
2325: E/gralloc ( 108): Could not mmap handle 0x2a0db9a8, fd=57 (Invalid argument)
2326: E/gralloc ( 108): gralloc_register_buffer: gralloc_map failed
2327: W/GraphicBufferMapper( 108): registerBuffer(0x2a0db9a8) failed -22 (Invalid argument)
2328: E/GraphicBuffer( 108): unflatten: registerBuffer failed: Invalid argument (-22)
2329: E/libgenlock( 108): perform_lock_unlock_operation: GENLOCK_IOC_LOCK failed (lockType0x1, err=Invalid argument fd=57)
2330: E/QualcommCameraHardware( 108): getBuffersAndStartPreview: genlock_lock_buffer(WRITE) failed
2331: E/MemoryHeapBase( 108): mmap(fd=55, size=462848) failed (Invalid argument)
we still have the error, still no one knows about it ?
Hello, did you find a solution for this problem? I'm maintaining all 9 sony xperia phones from 2011 and I have the same problem.
Code:
E/memalloc( 218): /dev/pmem: Failed to map buffer size:4009984 offset:3891200 fd:75 Error: Invalid argument
E/gralloc ( 218): Could not mmap handle 0x1674228, fd=75 (Invalid argument)
E/gralloc ( 218): gralloc_register_buffer: gralloc_map failed
E/libgenlock( 218): perform_lock_unlock_operation: GENLOCK_IOC_DREADLOCK failed (lockType0x1,err=Not a typewriter fd=75)
W/GraphicBufferMapper( 218): registerBuffer(0x1674228) failed -22 (Invalid argument)
E/GraphicBuffer( 218): unflatten: registerBuffer failed: Invalid argument (-22)

[Q] [DEV] CM10.1 boot issue

I'm trying to port CM10.1 to a new device. Currently I got a successful buld with fully working recovery. The rom actually doesn/t boot/ As far as I can see from the log it fails on SurfaceFlinger.
Could someone experinced in porting please take a look at my boot log here https://gist.github.com/AlexBokhankovich/6224190 and suggest what should I try.
All device specific repos can be found there https://github.com/AlexBokhankovich?tab=repositories
P.S. the device is MSM8960 board, pretty similar to HTC Evita.
rebuilt with
BOARD_HAVE_OLD_ION_API := true
BOARD_EGL_NEEDS_LEGACY_FB := true
and got the following errors.
Does anyone ever faced these?
Code:
D/libEGL ( 646): loaded /system/lib/egl/libEGL_adreno200.so
D/libEGL ( 646): loaded /system/lib/egl/libGLESv1_CM_adreno200.so
D/libEGL ( 646): loaded /system/lib/egl/libGLESv2_adreno200.so
I/Adreno200-EGL( 646): <qeglDrvAPI_eglInitialize:269>: EGL 1.4 QUALCOMM build: (CL3357771)
I/Adreno200-EGL( 646): Build Date: 03/07/13 Thu
I/Adreno200-EGL( 646): Local Branch: JB_REL_RB4.04.01.02.16.114
I/Adreno200-EGL( 646): Remote Branch:
I/Adreno200-EGL( 646): Local Patches:
I/Adreno200-EGL( 646): Reconstruct Branch:
W/Trace ( 646): error opening trace file: No such file or directory (2)
E/qdmemalloc( 327): ION_IOC_ALLOC failed with error - No such device
W/qdmemalloc( 327): Falling back to system heap
E/qdmemalloc( 327): ION_IOC_ALLOC failed with error - No such device
E/gralloc ( 327): gralloc failed err=No such device
W/GraphicBufferAllocator( 327): WOW! gralloc alloc failed, waiting for pending frees!
E/qdmemalloc( 327): ION_IOC_ALLOC failed with error - No such device
W/qdmemalloc( 327): Falling back to system heap
E/qdmemalloc( 327): ION_IOC_ALLOC failed with error - No such device
E/gralloc ( 327): gralloc failed err=No such device
W/GraphicBufferAllocator( 327): alloc(720, 1280, 2, 00000b03, ...) failed -19 (No such device)
E/SurfaceFlinger( 327): GraphicBufferAlloc::createGraphicBuffer(w=720, h=1280) failed (No such device), handle=0x0
E/BufferQueue( 327): [BootAnimation] dequeueBuffer: SurfaceComposer::createGraphicBuffer failed

[msm8939][meizu][camera]dlopen failed: could not load library "libcam.meiyan.so" need

[msm8939][meizu][camera]dlopen failed: could not load library "libcam.meiyan.so" need
Hello,
Could you please help me?
Platform:meizu m1note msm8939
I ported from flyme to miui.
The camera has problem.
I got the error:
dlopen failed: could not load library "libcam.meiyan.so" needed by "camera.msm8916.so";
caused by cannot locate symbol "_ZN11CBeautyShot18SetSkinBrightLevelEl" referenced by "libcam.meiyan.so"...
About symbol "_ZN11CBeautyShot18SetSkinBrightLevelEl",
I found it at:
m463c/rom/update/system $ g CBeautyShot
Binary file ./lib/libarcsoft_beauty_shot.so matches
Binary file ./lib/libcam.meiyan.so matches
And I push them to my phone.
But I still get the error.
Who can help me? Thank you very much.
I have been debugging for several days.
01-02 08:17:52.901 I/libmdmdetect( 351): Found internal modem: modem
01-02 08:17:52.901 E/QC-QMI ( 272): qmi_client [272]: unable to connect to server, errno=[2:No such file or directory], attempt=1
01-02 08:17:52.901 E/QC-QMI ( 351): qmi_client [351]: unable to connect to server, errno=[2:No such file or directory], attempt=1
01-02 08:17:52.901 I/ThermalEngine( 288): Sensor:tsens_tz_sensor3:80000 mC
01-02 08:17:52.941 E/HAL ( 276): load: module=/system/lib/hw/camera.msm8916.so
01-02 08:17:52.941 E/HAL ( 276): dlopen failed: could not load library "libcam.meiyan.so" needed by "camera.msm8916.so"; caused by cannot locate symbol "_ZN11CBeautyShot18SetSkinBrightLevelEl" referenced by "libcam.meiyan.so"...
01-02 08:17:52.941 E/CameraService( 276): Could not load camera HAL module
01-02 08:17:52.941 I/mediaserver( 276): ListenService instantiated
01-02 08:17:52.941 V/ListenService( 276): instantiate entered
01-02 08:17:52.941 V/ListenService( 276): getInstance entered, mNumInstances currently 0
my-mail:[email protected]

Categories

Resources