SS 4.x - CSM - What Is It?
CSM - Custom Startup Manager
csm allows you to have greater control over what starts up on a system reboot, as well as what runs during the course of the phone's uptime.
To see the default settings of csm, type 'csm settings':
ON=true
DELAY=5
PERSIST=off
BACKUPS=5
To set csm back to default settings, type 'csm defaults'
To turn all csm processing off, type 'csm off'
To turn all csm processing on, type 'csm on'
DELAY - Upon system startup, a list of processes is scanned, and killed if present. There is a sleep of DELAY seconds before that list is checked again. This loop continues until no more of these processes are seen to be running. This means that it is possible that some of your listed processes could still end up running (cooliris.media is notorious). By adjusting the # higher, you are more likely to catch these processes, but you might find it interferes with normal processes (ie listening to music). Adjust accordingly. Change by typing 'csm delay 10' for example.
PERSIST - There is another list, separate from the above, that is constantly checked, and killed as found. You may or may not find a use for this. Type 'csm persist on' to turn on, and 'csm persist off' to turn off. This also uses the DELAY setting to determine how long to sleep between checking again.
BACKUPS - future functionality
Data Files used by CSM (anything you want to 'ignore' preface with a '#')
# cat /data/chevyno1/csm.am - Activities to start upon bootup
#android.tether/android.tether.MainActivity
# cat /data/chevyno1/csm.sh - Apps/scripts to start upon bootup
#insmod /system/lib/modules/cifs.ko
# cat /data/chevyno1/stop-once.lst - Apps to be stopped only once
#com.android.alarmclock
# cat /data/chevyno1/stop-persist.lst - Persistent kill of apps
#com.android.alarmclock
# cat /data/chevyno1/stop.lst - Apps to kill at startup.
com.cooliris.media
android.process.media
com.android.email
com.motorola.calendar
com.android.deskclock
com.android.bluetooth
com.google.android.apps.uploader
com.android.voicedialer
com.google.android.voicesearch
com.android.calendar
com.amazon.mp3
com.android.im
android.process.im
#com.android.music
com.biggu.shopsavvy
#com.google.android.gm