Invalid |Redmi Note 5 Pro / whyred) Service 'dpmd' fail to start


muhviehstarr

Members
Apr 22, 2018
7
13
Hi,

i'm using foxybot and i wondered that the dpmd service fails and restarts in a endless loop

i noticed this issue about 5-6 weeklys ago and have investigated it now

dmesg log is full of message like this :

init: starting service 'dpmd'...
init: Created socket '/dev/socket/dpmd', mode 660, user 0, group 1000
init: Created socket '/dev/socket/tcm', mode 660, user 0, group 3003
init: Created socket '/dev/socket/dpmwrapper', mode 660, user 0, group 3003
init: Service 'dpmd' (pid 15233) exited with status 1
init: Sending signal 9 to service 'dpmd' (pid 15233) process group...
libprocessgroup: Successfully killed process cgroup uid 0 pid 15233 in 0ms
init: starting service 'dpmd'...
init: Created socket '/dev/socket/dpmd', mode 660, user 0, group 1000
init: Created socket '/dev/socket/tcm', mode 660, user 0, group 3003
init: Created socket '/dev/socket/dpmwrapper', mode 660, user 0, group 3003
init: Service 'dpmd' (pid 15235) exited with status 1
init: Sending signal 9 to service 'dpmd' (pid 15235) process group...


the error is caused by a 32-bit library in /system/lib64

file libdpmframework.so
libdpmframework.so: ELF shared object, 32-bit LSB arm, for Android 28, BuildID=0d36e48e44a0e85ee21744dbb1677a79, stripped

starting dpmd via root results in

CANNOT LINK EXECUTABLE "dpmd": "/system/lib64/libdpmframework.so" is 32-bit instead of 64-bit


the 32 bit version is correct in /system/lib/libdpmframework.so: (ELF shared object, 32-bit LSB arm, for Android 28, BuildID=7a6df9a907c8fb4db77b91f8413e9aeb, stripped)


i believe there is something wrong in the build process
 
do you create the system.img inside the zip?

where can i report this to xiaomi?

to the devs of the china rom?
 
i believe there is something wrong in the build process
I noticed that issue today (yeah still exists until today!!) and found this thread while searching, it's not EU fault, the culprit is Xiaomi (as usual!!), go to system/lib & lib64 and you can easily notice that this lib (libdpmframework.so) is the same size, even on the latest global stable build which is out today the issue is there..Loool!, i extracted the true lib from 10.3.2.0 stable and the error is gone, just flash the zip here: https://drive.google.com/file/d/124APsiaU5x9VTXYToYiF_nTlBq9Bku5F/view

Hello Xiaomi!!!