Last build wouldn't boot for me. Stuck on Cyanogenmod logo (screen brightness still bright - it didn't get to the bit where it goes to auto and dims a bit). Unfortunately, too soon in the boot process for a logcat.
I am assuming it is because I had ART enabled before trying to flash. So this latest build may not be ART friendly
Please don't take this post as a bug report, just a warning to others!
The build before - the one infected posted - does boot interestingly...
EDIT:
Also something about MP-DECISION on Infected's build, it looks like it attempts to start the MPDECISION daemon (in logcat) but fails due to "pm_qos file missing". This occurs weather the INIT.D script is present or NOT.
I managed to get the init.d script working by adding a sleep 60 statement to make it wait 60 seconds after bootup before trying to run mpdecision. It then works, and the pm_qos error is not present in logcat.
What I am saying is, I think mpdecision could work "out the box" without any init.d scripts on infected's build if it just tries to start it a few seconds later...
To clarify:
infected build + no init.d: logcat reports mp-decision tries to start but fails due to pm_qos file missing.
infected build + init.d: same again
infected build + my custom init.d instead of the provided one: mp-decision appears to attempt to start twice in the boot process. first early in the boot process but fails due to pm_qos and was not initiated by init.d. But when my script tries to start it after a 60 second wait it starts successfully.
EDIT again:
99mpdecision
Code:
#!/system/bin/sh
# Start the mp-decision daemon if it is not already running...
#
log -p i -t mpdecision "Waiting boot to complete... (60 seconds)"
sleep 60 > /dev/null
ps mpdecision | grep mpdecision > /dev/null
if [ $? -eq 0 ]; then
log -p i -t mpdecision "Process is already running!"
else
log -p i -t mpdecision "Process is not running, starting..."
su -c "/system/bin/mpdecision" &
fi