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)
Related
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.
On an AT&T Samsung SGH-I747, UCDLK3.
I upgraded from the most recent Slimbean 6.7 weekly to the new official 6.8 yesterday (format system/cache/dalvik formats). Now I'm having download and update trouble with new and installed apps. This is an error I've never seen before, not the usual "720 or 719 unknown reason" errors which can usually be fixed by clearing the Play Store cache & data. See the screen shot for the Play Store error I'm getting on SB 6.8.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Here's everything I've tried so far:
(Screen shot of Play Store error, and a logcat taken while I was attempting a download attached.)
1. Cleared Play Store cache & data.
2. Formatted cache & dalvik cache in CWM recovery.
3. Fixed permissions in CWM recovery.
4. Rebooted
5. Deleted 6 or 7 apps, repeated steps 1 - 4.
6. Repeated step 2, then re-installed the Slimbean 6.8 AIO add-ons, which include the latest gapps for Slimbean and Android 4.2.2.
7. Restored my Slimbean 6.7 NAND backup.
8. Play Store still works fine in 6.7.
9. Did a completely clean factory wipe, dalvik wipe, sdcard wipe SB 6.8 and 6.8 AIO add-ons install.
10. Same Play Store download error.
LOGCAT:
---- Aug 6, 2013 9:59:15 AM ----
accelHandler 0.296982 6.666537 7.206614
UP Ld:80 Nw:1.990000 Tw:140 rq:1.000000 seq:147.000000
showStatusIcon on inactive InputConnection
dataChanged but no participant pkg='com.android.providers.settings' uid=10032
DOWN Ld:15 Ns:1.100000 Ts:190 rq:0.400000 seq:224.000000
accelHandler -0.008383 6.459368 7.951465
UP Ld:100 Nw:1.990000 Tw:140 rq:7.500000 seq:147.000000
<s3dReadConfigFile:75>: Can't open file for reading
<s3dReadConfigFile:75>: Can't open file for reading
<s3dReadConfigFile:75>: Can't open file for reading
dataChanged but no participant pkg='com.android.providers.settings' uid=10032
accelHandler -0.614322 6.680907 7.289242
VFY: unable to resolve virtual method 3650: Landroid/os/UserManager;.getApplicationRestrictions (Ljava/lang/StringLandroid/os/Bundle;
VFY: unable to resolve virtual method 2336: Landroid/accounts/AccountManager;.getAccountsByTypeForPackage (Ljava/lang/String;Ljava/lang/String[Landroid/accounts/Account;
untagSocket(47) failed with errno -22
untagSocket(77) failed with errno -22
untagSocket(78) failed with errno -22
untagSocket(77) failed with errno -22
untagSocket(81) failed with errno -22
DOWN Ld:21 Ns:1.100000 Ts:190 rq:0.000000 seq:236.000000
accelHandler -1.983076 5.524113 7.056925
UP Ld:76 Nw:1.990000 Tw:140 rq:2.200000 seq:147.000000
untagSocket(47) failed with errno -22
untagSocket(77) failed with errno -22
Window already focused, ignoring focus gain of: [email protected] attribute=null, token = android.os.Bind[email protected]
untagSocket(47) failed with errno -22
untagSocket(79) failed with errno -22
untagSocket(73) failed with errno -22
untagSocket(80) failed with errno -22
untagSocket(47) failed with errno -22
accelHandler -4.823569 9.944121 8.584948
untagSocket(79) failed with errno -22
untagSocket(77) failed with errno -22
untagSocket(81) failed with errno -22
untagSocket(88) failed with errno -22
untagSocket(73) failed with errno -22
untagSocket(78) failed with errno -22
untagSocket(79) failed with errno -22
untagSocket(90) failed with errno -22
untagSocket(80) failed with errno -22
untagSocket(81) failed with errno -22
DOWN Ld:11 Ns:1.100000 Ts:190 rq:0.100000 seq:236.000000
UP Ld:42 Nw:1.990000 Tw:140 rq:2.200000 seq:147.000000
DOWN Ld:23 Ns:1.100000 Ts:190 rq:0.200000 seq:196.000000
unable to find stats for iface rmnet0
UP Ld:60 Nw:1.990000 Tw:140 rq:3.700000 seq:145.000000
ringerMode = 2
ringerMode = 2
ringerMode = 2
ringerMode = 2
ringerMode = 2
shared quota unsupported; generating rule for each iface
accelHandler -0.668210 6.968309 6.987470
untagSocket(83) failed with errno -22
[535] BasicNetwork.performRequest: Unexpected response code 500 for https://android.clients.google.com/...er.ad&ot=1&st=EPalv5uFKA==
&vc=56&bvc=55&pf=1
ringerMode = 2
untagSocket(83) failed with errno -22
[534] BasicNetwork.performRequest: Unexpected response code 500 for https://android.clients.google.com/...ot=1&st=EPalv5uFKA==
&vc=53500&bvc=53300&pf=1
untagSocket(83) failed with errno -22
untagSocket(47) failed with errno -22
[534] BasicNetwork.performRequest: Unexpected response code 500 for https://android.clients.google.com/...ngs&ot=1&st=EPalv5uFKA==
&vc=203&bvc=202&pf=1
accelHandler -0.784369 6.558761 7.483239
untagSocket(47) failed with errno -22
untagSocket(79) failed with errno -22
untagSocket(83) failed with errno -22
untagSocket(47) failed with errno -22
untagSocket(80) failed with errno -22
untagSocket(77) failed with errno -22
untagSocket(81) failed with errno -22
untagSocket(73) failed with errno -22
untagSocket(100) failed with errno -22
untagSocket(90) failed with errno -22
untagSocket(78) failed with errno -22
untagSocket(80) failed with errno -22
untagSocket(79) failed with errno -22
untagSocket(81) failed with errno -22
untagSocket(77) failed with errno -22
untagSocket(73) failed with errno -22
untagSocket(90) failed with errno -22
untagSocket(78) failed with errno -22
untagSocket(81) failed with errno -22
DOWN Ld:23 Ns:1.100000 Ts:190 rq:1.000000 seq:228.000000
accelHandler -1.420247 7.006629 6.866521
UP Ld:89 Nw:1.990000 Tw:140 rq:3.300000 seq:147.000000
DOWN Ld:19 Ns:1.100000 Ts:190 rq:0.300000 seq:207.000000
UP Ld:93 Nw:1.990000 Tw:140 rq:2.700000 seq:147.000000
untagSocket(83) failed with errno -22
untagSocket(47) failed with errno -22
[535] BasicNetwork.performRequest: Unexpected response code 500 for https://android.clients.google.com/...er.ad&ot=1&st=EPalv5uFKA==
&vc=56&bvc=55&pf=1
accelHandler -0.602347 6.450985 7.676038
DOWN Ld:20 Ns:1.100000 Ts:190 rq:1.000000 seq:227.000000
Window already focused, ignoring focus gain of: [email protected] attribute=null, token = [email protected]
UP Ld:17 Nw:1.990000 Tw:140 rq:3.800000 seq:147.000000
DOWN Ld:13 Ns:1.100000 Ts:190 rq:1.000000 seq:222.000000
UP Ld:100 Nw:1.990000 Tw:140 rq:4.000000 seq:146.000000
dataChanged but no participant pkg='com.android.providers.settings' uid=10032
accelHandler -0.961600 6.785090 7.164701
DOWN Ld:38 Ns:1.100000 Ts:190 rq:0.000000 seq:226.000000
UP Ld:100 Nw:1.990000 Tw:140 rq:3.300000 seq:148.000000
dataChanged but no participant pkg='com.android.providers.settings' uid=10032
DOWN Ld:5 Ns:1.100000 Ts:190 rq:0.000000 seq:226.000000
UP Ld:89 Nw:1.990000 Tw:140 rq:3.500000 seq:147.000000
SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
DOWN Ld:32 Ns:1.100000 Ts:190 rq:0.400000 seq:217.000000
accelHandler -1.174757 5.979166 8.193362
---- Aug 6, 2013 9:59:51 AM ----
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.
Somehow last night my phone (Galaxy S4 running AOSP 4.4.2) crashed and now it wont reboot. It just sticks on the screen with the four colours animation for ever. I tried deleting the Cache, and Davilik Cache but it has not fixed the problem .. after this is went through the Upgrading Android process for all the apps but then stuck on "Starting Apps" .. so pretty clearly some application is starting and has a problem and so my phone wont boot .. but is there anyway of finding out which application it is?? Im aware I can wipe data and start again but would like to solve the problem without this if its possible. I also tried re-flashing my ROM but it didnt help.
Thanks for any help in advance.
If it helps anybody help me, I plugged my phone into usb while it is stuck in the bootloop and ran
adb logcat *:E .. here is the result
--------- beginning of /dev/log/system
--------- beginning of /dev/log/main
E/DataRouter( 198): USB Interface is open with 0x9
E/kickstart-qcks( 226): Couldn't find "/dev/mdm", 1 of 10
E/macloader( 210): CID info file will be created!!!
E/wcnss_service( 221): CAL file not found
E/wcnss_service( 221): Failed to open wcnss device : No such file or directory
E/mm-camera( 211): qcamsvr_start: old_mode = 3f
E/INSTHK ( 249): Checked...
E/PPDaemon( 217): Failed to open the config file!
E/PPDaemon( 217): Panel type: 8
E/rmt_storage( 223): Remote storage service is not supported on mdm target
E/AT_Distributor( 212): Failed to init ATD
E/mm-camera( 211): qcamsvr_load_gesture_lib Error opening gesture library
E/mm-camera( 211): Cannot init Gesture library
E/mm-camera( 211): camera_plugin_create_func: handle = 0xb6c10008, client_open_fn = 0xb6c0d565, destroy_fn = 0xb6c0db99
E/QC-time-services( 220): Daemon:genoff_boot_tod_init: Unable to set TOD at boot up
E/QC-time-services( 220): Daemon: Unable to set TOD at boot up
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QC-time-services( 220): Daemon:genoff_modem_qmi_init: qmi_client_get_service_list returned -2num_services 0
E/Diag_Lib( 195): Diag_LSM_Init: Failed to open handle to diag driver, error = 13
E/QCNEA ( 214): CnE Standard Version 4.01
E/QCNEA ( 214): CnE Pro Version 1.01
E/QCNEA ( 214): Cne WQE Version 0.1
E/QCNEA ( 214): Cne NSRM Version 1.01
E/Sensorhubs( 207): couldn't find 'ssp_context' input device
E/Sensorhubs( 207): SSPContext: open sensorhub device failed(-1)
E/PRDrmPlugIn( 202): PRDrmPlugin:RDrmPlugin
E/PRDrmPlugInImp( 202): PRDRMPluginAPI::create
E/PRDrmPlugInImp( 202): PRDRMPluginAPI::SetEventHandler
E/kickstart-qcks( 226): Couldn't find "/dev/mdm", 2 of 10
E/PRDrmPlugIn( 202): PRDrmPlugin:nGetSupportInfo, uniqueId = 0
E/Sensorhubs( 207): couldn't find 'gesture_sensor' input device
E/MediaPlayerFactory( 203): calling dlopen on FACTORY_LIB
E/MediaPlayerFactory( 203): calling dlsym on pFactoryLib for FACTORY_CREATE_FN
E/MediaPlayerFactory( 203): registering DASH Player factory...
E/QualcommCamera( 203): Qint android::get_number_of_cameras(): E
E/alsa_mixer( 203): Control open failed
E/ ( 203): [ACDB RTC]->rtc init done!->result [0]
E/Diag_Lib( 203): actp_diag_init: call diag init function with B50181DD
E/ ( 203): [ACDB ACPH]->actp diag init done!
E/ACDB-LOADER( 203): done with conversion, anc config size is 148
E/ACDB-LOADER( 203): done with conversion, anc config size is 148
E/ACDB-LOADER( 203): done with conversion, anc config size is 148
E/ACDB-LOADER( 203): done with conversion, anc config size is 148
E/ACDB-LOADER( 203): done with conversion, anc config size is 74
E/ACDB-LOADER( 203): done with conversion, anc config size is 74
E/AndroidRuntime( 201): cannot open customer xml file
E/AndroidRuntime( 201): /system/csc/customer.xml can't open file
E/kickstart-qcks( 226): Couldn't find "/dev/mdm", 3 of 10
E/ICD ( 194): There is no file or permission.
E/BootAnimation( 613): Could not open '/sys/devices/w1_bus_master1/w1_master_check_id'
E/kickstart-qcks( 226): Couldn't find "/dev/mdm", 4 of 10
E/EmojiFactory_jni( 201): Failed to load libemoji.so: dlopen failed: library "libemoji.so" not found
E/kickstart-qcks( 226): Couldn't find "/dev/mdm", 5 of 10
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QC-time-services( 220): Daemon:genoff_modem_qmi_init: qmi_client_get_service_list returned -2num_services 0
E/kickstart-qcks( 226): Couldn't find "/dev/mdm", 6 of 10
E/kickstart-qcks( 226): Couldn't find "/dev/mdm", 7 of 10
E/Sensors ( 768): getName gyro_sensor name file open error.
E/GyroSensor( 768): GyroSensor : getName of gyro_sensor failed.
E/TemperatureHumiditySensor( 768): Failed to open send_accuracy sysfs
E/Sensors ( 768): sensors__get_sensors_list gyro_sensor name file open error.
E/MagneticSensor( 768): enable, 122, data_fd = -1
E/GyroSensor( 768): enable, 148, data_fd = -1
E/TemperatureHumiditySensor( 768): enable, 216, data_fd = -1
E/TemperatureHumiditySensor( 768): enable, 216, data_fd = -1
E/Sensors ( 768): sensors__get_sensors_list gyro_sensor name file open error.
E/Sensors ( 768): sensors__get_sensors_list gyro_sensor name file open error.
E/kickstart-qcks( 226): Couldn't find "/dev/mdm", 8 of 10
E/kickstart-qcks( 226): Couldn't find "/dev/mdm", 9 of 10
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QC-time-services( 220): Daemon:genoff_modem_qmi_init: qmi_client_get_service_list returned -2num_services 0
E/kickstart-qcks( 226): Couldn't find "/dev/mdm", 10 of 10
E/kickstart-qcks( 226): '/dev/mdm' was not found
E/kickstart-qcks( 226): ERROR: Can't bring MDM9K out of reset
E/alsa_ucm( 203): EC_REF_RX mixer ctl: SLIM_RX
E/alsa_ucm( 203): EC_REF_RX mixer ctl: SLIM_RX
E/alsa_ucm( 203): EC_REF_RX mixer ctl: SLIM_RX
E/alsa_ucm( 203): EC_REF_RX mixer ctl: SLIM_RX
E/alsa_mixer( 203): Control open failed
E/ ( 203): csd_client_service_init: Invalid rx device 0, setting to handset
E/ ( 203): csd_client_service_init: Invalid tx device 0, setting to handset
E/alsa_ucm( 203): Invalid current verb value: Inactive - -1
E/alsa_ucm( 203): No valid device Speaker found
E/alsa_ucm( 203): Control device not initialized
E/alsa_ucm( 203): Control device not initialized
E/alsa_pcm( 203): cannot open device '/dev/snd/pcmC0D0p', errno 2
E/ALSADevice( 203): open: Failed to initialize ALSA device 'hw:0,0'
E/AudioHardwareALSA( 203): Device open failed
E/QMI_FW ( 203): xport_open: socket creation failed - 1
E/AudioPolicyManagerBase( 203): Not output found for attached devices 00000003
E/AudioPolicyManagerBase( 203): Failed to open primary output
E/AudioPolicyManagerBase( 203): getDeviceForStrategy() speaker device not found for STRATEGY_SONIFICATION
E/AudioPolicyManagerBase( 203): getDeviceForStrategy() speaker device not found for STRATEGY_SONIFICATION
E/Audio_Control_CSC( 203): /system/csc/sales_code.dat ==> cannot open file
E/AudioPolicyService( 203): couldn't init_check the audio policy (No such device)
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QC-time-services( 220): Daemon:genoff_modem_qmi_init: qmi_client_get_service_list returned -2num_services 0
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QC-time-services( 220): Daemon:genoff_modem_qmi_init: qmi_client_get_service_list returned -2num_services 0
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QC-time-services( 220): Daemon:genoff_modem_qmi_init: qmi_client_get_service_list returned -2num_services 0
E/QC-time-services( 220): Daemon:genoff_modem_qmi_init:retry count exceeds limitQMI init failed continuing withoutserver
E/QC-time-services( 220): Daemon: QMI init failed, QMI calls inactive
E/QC-time-services( 220): Daemon: Time-services: Waiting to acceptconnection
E/QMI_FW ( 203): QMUXD: Service_id=20 not found over conn_id=0
E/QMI_FW ( 203): QMUXD: Service_id=20 not found over conn_id=18
E/QMI_FW ( 203): QMUXD: Service_id=20 not found over conn_id=37
E/QMI_FW ( 203): open_lookup_sock_fd: Lookup sock fd creation failed
E/QMI_FW ( 203): QMUXD: Service_id=20 not found over conn_id=0
E/QMI_FW ( 203): QMUXD: Service_id=20 not found over conn_id=18
E/QMI_FW ( 203): QMUXD: Service_id=20 not found over conn_id=37
E/SensorHubManager( 768): JNI: sensorhubs_get_next_module: getSensorHubList: count= 2
E/SensorHubManager( 768): JNI: sensorhubs_get_next_module: getSensorHubList: count= 2
E/SensorHubManager( 768): JNI: sensorhubs_enabledisable: delay= 0
E/EventHub( 768): could not get driver version for /dev/input/mice, Not a typewriter
E/ConnectivityService( 768): Error in networkAttributes - ignoring attempt to define type 17
E/ConnectivityService( 768): Ignoring protectedNetwork 14
E/MobileDataStateTracker( 768): default: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 768): default: Could not enable APN type "default"
F/SystemServer( 768): BOOT FAILURE Creating Connectivity Engine Service
F/SystemServer( 768): java.lang.ClassNotFoundException: Didn't find class "com.quicinc.cne.CNE" on path: DexPathList[[],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
F/SystemServer( 768): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
F/SystemServer( 768): at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
F/SystemServer( 768): at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
F/SystemServer( 768): at com.android.server.ServerThread.initAndLoop(SystemServer.java:572)
F/SystemServer( 768): at com.android.server.SystemServer.main(SystemServer.java:1263)
F/SystemServer( 768): at java.lang.reflect.Method.invokeNative(Native Method)
F/SystemServer( 768): at java.lang.reflect.Method.invoke(Method.java:515)
F/SystemServer( 768): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1264)
F/SystemServer( 768): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1080)
F/SystemServer( 768): at dalvik.system.NativeStart.main(Native Method)
E/SystemServer( 768): Failed to load CNE class
E/SystemServer( 768): java.lang.ClassNotFoundException: Didn't find class "com.quicinc.cne.CNE" on path: DexPathList[[],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
E/SystemServer( 768): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
E/SystemServer( 768): at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
E/SystemServer( 768): at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
E/SystemServer( 768): at com.android.server.ServerThread.initAndLoop(SystemServer.java:572)
E/SystemServer( 768): at com.android.server.SystemServer.main(SystemServer.java:1263)
E/SystemServer( 768): at java.lang.reflect.Method.invokeNative(Native Method)
E/SystemServer( 768): at java.lang.reflect.Method.invoke(Method.java:515)
E/SystemServer( 768): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1264)
E/SystemServer( 768): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1080)
E/SystemServer( 768): at dalvik.system.NativeStart.main(Native Method)
E/wpa_supplicant( 1981): wpa_driver_nl80211_driver_cmd: failed to issue private commands
E/WifiStateMachine( 768): Unexpected BatchedScanResults :null
E/wpa_supplicant( 1981): wpa_driver_nl80211_driver_cmd: failed to issue private commands
E/ActivityManager( 768): Attempt to launch receivers of broadcast intent Intent { act=android.net.ConnectivityService.action.PKT_CNT_SAMPLE_INTERVAL_ELAPSED flg=0x4 (has extras) } before boot completion
[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]