It constantly loads the processor by 6 - 8 percent and eats up the battery and freezes. The touchscreen freezes and stops responding to touches. Mobile Internet disappears.
Steps to Reproduce
adb shell
top -m 10
In my phone pid cdsprpcd = 993 On your phone =pidof cdsprpcd
strace -p 993 -o /sdcard/strace_cdsprpcd_5seconds.txt After 5 seconds, press Ctrl c.
cat /sdcard/strace_cdsprpcd_5seconds.txt Read the text.
stdaut:
1 openat(AT_FDCWD, "/dev/cdsprpc-smd", O_RDONLY|O_NONBLOCK) = -1 ENOENT (No such file or directory)
2 openat(AT_FDCWD, "/vendor/lib64/egl/libcutils.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3 openat(AT_FDCWD, "/vendor/lib64/hw/libcutils.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
4 openat(AT_FDCWD, "/vendor/lib64/libcutils.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
logcat -d --pid 993
stdaut 10 times per second:
01-03 01:54:23.080 993 993 I cdsprpcd: fastrpc_apps_user_init done
01-03 01:54:23.081 993 993 I cdsprpcd: remote_handle_open: Successfully opened handle 0x5d for '":;./\attachguestos on domain 3
01-03 01:54:23.086 993 993 E cdsprpcd: Error 0xffffffff: apps_dev_init failed for domain 3, errno Connection refused
01-03 01:54:23.086 993 993 E cdsprpcd: Error 0xffffffff: open_dev (-1) failed for domain 3
01-03 01:54:23.086 993 993 E cdsprpcd: Error 0xffffffff: remote_handle_open failed for adsp_default_listener
01-03 01:54:23.087 993 993 I cdsprpcd: fastrpc_apps_user_deinit done
01-03 01:54:23.087 993 993 E cdsprpcd: vendor/qcom/proprietary/commonsys-intf/adsprpc/src/cdsprpcd.c:47:cdsp daemon will restart after 100ms..
Expected Behavior
cdsprpcd does not find library vendor:
/vendor/lib64/egl/libcutils.so
/vendor/lib64/hw/libcutils.so
/vendor/lib64/libcutils.so
and device:
/dev/cdsprpc-smd
Build Date
PixelExperience_kunlun2-13.0-20231122-2030-OFFICIAL.zip
Device
kunlun2
Version
thirteen
Describe the Bug
It constantly loads the processor by 6 - 8 percent and eats up the battery and freezes. The touchscreen freezes and stops responding to touches. Mobile Internet disappears.
Steps to Reproduce
adb shell
top -m 10
In my phone pid cdsprpcd = 993 On your phone =
pidof cdsprpcd
strace -p 993 -o /sdcard/strace_cdsprpcd_5seconds.txt
After 5 seconds, press Ctrl c.cat /sdcard/strace_cdsprpcd_5seconds.txt
Read the text.grep 'No such file' /sdcard/strace_cdsprpcd_5seconds.txt |sort |uniq -d | nl >/sdcard/no_such_file_strace_cdsprpcd.txt
cat /sdcard/no_such_file_strace_cdsprpcd.txt
Read filtered text.stdaut: 1 openat(AT_FDCWD, "/dev/cdsprpc-smd", O_RDONLY|O_NONBLOCK) = -1 ENOENT (No such file or directory) 2 openat(AT_FDCWD, "/vendor/lib64/egl/libcutils.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 3 openat(AT_FDCWD, "/vendor/lib64/hw/libcutils.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 4 openat(AT_FDCWD, "/vendor/lib64/libcutils.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
logcat -d --pid 993
stdaut 10 times per second: 01-03 01:54:23.080 993 993 I cdsprpcd: fastrpc_apps_user_init done 01-03 01:54:23.081 993 993 I cdsprpcd: remote_handle_open: Successfully opened handle 0x5d for '":;./\attachguestos on domain 3 01-03 01:54:23.086 993 993 E cdsprpcd: Error 0xffffffff: apps_dev_init failed for domain 3, errno Connection refused 01-03 01:54:23.086 993 993 E cdsprpcd: Error 0xffffffff: open_dev (-1) failed for domain 3 01-03 01:54:23.086 993 993 E cdsprpcd: Error 0xffffffff: remote_handle_open failed for adsp_default_listener 01-03 01:54:23.087 993 993 I cdsprpcd: fastrpc_apps_user_deinit done 01-03 01:54:23.087 993 993 E cdsprpcd: vendor/qcom/proprietary/commonsys-intf/adsprpc/src/cdsprpcd.c:47:cdsp daemon will restart after 100ms..
Expected Behavior
cdsprpcd does not find library vendor: /vendor/lib64/egl/libcutils.so /vendor/lib64/hw/libcutils.so /vendor/lib64/libcutils.so and device: /dev/cdsprpc-smd
Possible Solution
Give cdsprpcd what it's looking for.