DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: SS 4.x - CSM - What Is It?

  1. Developer
    ChevyNo1's Avatar
    Member #
    20299
    Join Date
    Dec 2009
    Posts
    5,355
    Liked
    26 times
    Phone
    Enter Current Phone Here
    DroidForums.net Developer
    Premium Member
    #1

    Cool 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
    D1 GB (10/17/2011) - Simply Stunning Gingerbread v5.6 (2.3.7) - from Source - 10/17/2011
    DX GB (10/17/2011) - Simply Stunning X Gingerbread v2.2 (2.3.7, GB Kernel) - from Source - 10/17/2011

    Follow me on Twitter @ http://twitter.com/ChevyNo1Droid

    If you enjoy my ROM's, feel free to help support my efforts by donating. I spend quite a few hours making sure you get the best ROM out there Your support is much appreciated! Paypal
  2.  
     
     
     
  3. Master Droid
    Aixelsyd's Avatar
    Member #
    9397
    Join Date
    Nov 2009
    Location
    Windy City
    Posts
    487
    Liked
    7 times
    Phone
    Moto Droid
    #2
    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
  4. Master Droid
    mcsinfl's Avatar
    Member #
    45113
    Join Date
    Mar 2010
    Posts
    372
    Phone
    Motorola Droid
    #3
    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)
  5. Developer
    ChevyNo1's Avatar
    Member #
    20299
    Join Date
    Dec 2009
    Posts
    5,355
    Liked
    26 times
    Phone
    Enter Current Phone Here
    DroidForums.net Developer
    Premium Member
    #4
    Quote Originally Posted by Aixelsyd View Post
    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
    D1 GB (10/17/2011) - Simply Stunning Gingerbread v5.6 (2.3.7) - from Source - 10/17/2011
    DX GB (10/17/2011) - Simply Stunning X Gingerbread v2.2 (2.3.7, GB Kernel) - from Source - 10/17/2011

    Follow me on Twitter @ http://twitter.com/ChevyNo1Droid

    If you enjoy my ROM's, feel free to help support my efforts by donating. I spend quite a few hours making sure you get the best ROM out there Your support is much appreciated! Paypal
  6. Master Droid
    Aixelsyd's Avatar
    Member #
    9397
    Join Date
    Nov 2009
    Location
    Windy City
    Posts
    487
    Liked
    7 times
    Phone
    Moto Droid
    #5
    Quote Originally Posted by ChevyNo1 View Post
    Quote Originally Posted by Aixelsyd View Post
    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.
  7. Droid
    roll3r's Avatar
    Member #
    27139
    Join Date
    Jan 2010
    Posts
    84
    Phone
    Droid
    #6
    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.
  8. Developer
    ChevyNo1's Avatar
    Member #
    20299
    Join Date
    Dec 2009
    Posts
    5,355
    Liked
    26 times
    Phone
    Enter Current Phone Here
    DroidForums.net Developer
    Premium Member
    #7
    Quote Originally Posted by roll3r View Post
    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
    D1 GB (10/17/2011) - Simply Stunning Gingerbread v5.6 (2.3.7) - from Source - 10/17/2011
    DX GB (10/17/2011) - Simply Stunning X Gingerbread v2.2 (2.3.7, GB Kernel) - from Source - 10/17/2011

    Follow me on Twitter @ http://twitter.com/ChevyNo1Droid

    If you enjoy my ROM's, feel free to help support my efforts by donating. I spend quite a few hours making sure you get the best ROM out there Your support is much appreciated! Paypal
  9. Droid
    roll3r's Avatar
    Member #
    27139
    Join Date
    Jan 2010
    Posts
    84
    Phone
    Droid
    #8
    Quote Originally Posted by ChevyNo1 View Post
    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.
  10. Junior Droid
    shaggy3131's Avatar
    Member #
    39598
    Join Date
    Feb 2010
    Posts
    23
    Phone
    Enter Current Phone Model Here
    #9
    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?
  11. Droid
    dbindock's Avatar
    Member #
    53403
    Join Date
    Mar 2010
    Posts
    48
    Phone
    Enter Current Phone Model Here
    #10
    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!
Page 1 of 2 12 LastLast

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Search tags for this page

com.android.apps.uploader
,

csm android

,

csm phone

,
droid x csm
,
process.com android bluetooth.com
,
turn off csm
,
what is a csm phone
,
what is the csm on phone
Click on a term to search our site for related topics.

Tags for this Thread

Find us on Google+