There’s a small bug when running Cyanogenmod 9 (Android 4.0.4) on the Droid Incredible 2 — every time you reboot, you have to run the command “killall drmserver” as root, or you won’t be able to install or upgrade any applications.
Now, why this isn’t baked into the OS, I don’t know, but in lieu of having to start a terminal every time you start up your phone and run this command, you can actually create a startup script.
It’s never that easy on linux (seems to be different on every distro), but the way it seems to be done on CM9 is:
1) First, create the directory ‘/data/local/userinit.d’ with the following command:
mkdir -p /data/local/userinit.d
2) Then, create your script in this directory and make sure and make it executable (chmod 755, at least) — I had something like:
#!/system/bin/sh killall drmserver