SS 4.x - CSM - What Is It?
This is a discussion on SS 4.x - CSM - What Is It? within the ChevyNo1 forums, part of the Custom Roms category; CSM - Custom Startup Manager
csm allows you to have greater control over what starts up on a system reboot, as well as what runs ...
-
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
-
-
Sweetness and nice writeup so we all understand how it works even your other thread you started.
Oh yea dropped you a quick PM you may want to check out. Info on apps2sd I got passed along to me
-
Aixelsyd, you understand this??? I'm thinking I need a translation...lol
actually, i understand the purpose, but a little fuzzy on how to implement
Last edited by mcsinfl; 06-15-2010 at 06:45 PM.
Reason: drinking tequila...this post probably still doesn't make sense
Droid X SSX1.1 (me)
Droid 1 SS5.4 1ghz lv Incinerated (son #1)
Droid 1 SS5.4 1ghz lv (son #2)
-

Originally Posted by
Aixelsyd
Sweetness and nice writeup so we all understand how it works even your other thread you started.
Oh yea dropped you a quick PM you may want to check out. Info on apps2sd I got passed along to me
Got it - and yep, saw that info already and scripts are coded/tested, and probably released tonite in 4.1. APPS2SD is only a command away
-

Originally Posted by
ChevyNo1

Originally Posted by
Aixelsyd
Sweetness and nice writeup so we all understand how it works even your other thread you started.
Oh yea dropped you a quick PM you may want to check out. Info on apps2sd I got passed along to me
Got it - and yep, saw that info already and scripts are coded/tested, and probably released tonite in 4.1. APPS2SD is only a command away

Lol... how fast things travel on the web. gotta luv it....lol. And WOOT!!! can't wait for the release.
-
Any chance of this working on another ROM (Froyo leak 2 stock)? I use Startup Auditor, which doesn't have a delay option to catch things like Gallery (plus runs all the time...). I flashed your ROM just for this feature, but having never run a theme, my brain just couldn't handle the change 
Love your kernels tho! Probably used them from the day you released them, til I switched to CM.
-

Originally Posted by
roll3r
Any chance of this working on another ROM (Froyo leak 2 stock)? I use Startup Auditor, which doesn't have a delay option to catch things like Gallery (plus runs all the time...). I flashed your ROM just for this feature, but having never run a theme, my brain just couldn't handle the change
Love your kernels tho! Probably used them from the day you released them, til I switched to CM.
You mean have csm work on another ROM? At this point it is designed only for my ROMS - obviously it drew you to mine 
This is also my first release of this - it will continue to improve. Right now most of my effort is going into bkapps/rstapps
-

Originally Posted by
ChevyNo1
You mean have csm work on another ROM? At this point it is designed only for my ROMS - obviously it drew you to mine
This is also my first release of this - it will continue to improve. Right now most of my effort is going into bkapps/rstapps
Like I said, it's just your theme I can't handle! But, CSM seems like such a great idea I have to give it a shot. Just gonna put the framework and APKs from stock back on and test it out.
-
Yea this looks very usefull but i caint figure out how to use it. Do all these commands
# 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
need to be entered at the command line?
-
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[/QUOTE]
So I'm not new to your work chevy, but I am new to things like this. When you say "anything you want to ignore preface with a # ", where do you go in to edit this? Do you have to edit stop.lst? How do you do that through the command line?
Also, on the stop-persist list, how do you add programs?
Sorry if this is something I could find by searching how to use android command line. If it is, you can always tell me to go do my research!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Search tags for this page
com.android.apps.uploader
,
csm android
,
csm phone
,
droid x csm
,
process.com android bluetooth.com
,
what is the csm on phone
Click on a term to search our site for related topics.
Tags for this Thread