1. You want that $100.00 in your pocket or an Amazon Fire TV don't you? Well here's the deal. With our new updated look we are in desperate need of an updated logo. The 'old' one has certainly served us well, but it's time. Find all the details here: bit.ly/1q0k6Wa
  2. DroidForums.net is currently undergoing a major software upgrade. If you are experiencing any problems logging in please: Contact Us

What is script for Task Killer?

Discussion in 'ChevyNo1' started by VingInMedina, Sep 8, 2011.

  1. VingInMedina
    Offline

    VingInMedina New Member

    Joined:
    Jan 18, 2010
    Messages:
    172
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    Medina, Ohio
    Does anyone know what the actual script is that is run from the ChevyNo1 Tools -> Options -> Task Killer?
  2. rck76
    Offline

    rck76 Super Moderator Premium Member

    Joined:
    May 7, 2011
    Messages:
    6,841
    Likes Received:
    38
    Trophy Points:
    0
    # LOOP DELAY - Try LOOP times, sleep DELAY seconds between loops
    # So '8 5' means it will be active for 40 seconds - keep this in mind
    # 20 3
    #android.process.media
    #com.android.deskclock
    com.android.email
    #com.android.music
    com.android.protips
    #com.android.providers.calendar
    com.android.providers.media
    com.android.quicksearchbox
    com.android.voicedialer
    com.bel.android.dspmanager
    #com.cooliris.media
    #com.google.android.apps.maps:FriendService
    #com.google.android.apps.maps:NetworkLocationService
    com.google.android.partnersetup
    com.google.android.voicesearch
    com.google.android.youtube
    com.koushikdutta.rommanager
    com.koushikdutta.rommanager.license
    com.tmobile.thememanager
    com.vzw.vvm.androidclient
    net.cactii.flash2

    That's what is in the cm.lst but I'm not sure what the actual script is.

    Sent from my Droid using DroidForums
    Last edited: Sep 8, 2011
  3. VingInMedina
    Offline

    VingInMedina New Member

    Joined:
    Jan 18, 2010
    Messages:
    172
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    Medina, Ohio
    I believe that is the data file that the script reads in order to know what should be killed, but that isn't the actual script that is being run.
  4. rck76
    Offline

    rck76 Super Moderator Premium Member

    Joined:
    May 7, 2011
    Messages:
    6,841
    Likes Received:
    38
    Trophy Points:
    0
    Sorry, edited my post at the bottom

    Sent from my Droid using DroidForums
  5. rck76
    Offline

    rck76 Super Moderator Premium Member

    Joined:
    May 7, 2011
    Messages:
    6,841
    Likes Received:
    38
    Trophy Points:
    0
    I turned logging on and ran the task killer the only thing it showed was that it ran the ctk file from /system/xbin. I looked at that file but it was undecipherable, mostly just symbols and some text. Not sure what Chevy's been up to lately but hopefully he is ok. Hopefully someone else or Chevy himself can give you some more info. I think I might Google android terminal emulator commands and see if I can figure this out.

    Sent from my Droid using DroidForums
  6. rck76
    Offline

    rck76 Super Moderator Premium Member

    Joined:
    May 7, 2011
    Messages:
    6,841
    Likes Received:
    38
    Trophy Points:
    0
  7. VingInMedina
    Offline

    VingInMedina New Member

    Joined:
    Jan 18, 2010
    Messages:
    172
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    Medina, Ohio
    Thanks! The ctk program is the one. So, it isn't a script, but an actual compiled program, but that's ok. I ran it from the adb shell and it reported the free memory before and after.
  8. rck76
    Offline

    rck76 Super Moderator Premium Member

    Joined:
    May 7, 2011
    Messages:
    6,841
    Likes Received:
    38
    Trophy Points:
    0
    That's cool, glad I could help.:) Now I have to ask a question, why use adb when you can run the script straight from your phone?

    Sent from my Droid using DroidForums
  9. VingInMedina
    Offline

    VingInMedina New Member

    Joined:
    Jan 18, 2010
    Messages:
    172
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    Medina, Ohio
    Ahh, because I am old and it is much easier for me to hook up the phone to the computer and use adb. :)

    I am trying out using an app called ScriptScheduler2 which will run a script at a specified interval. I've put the ctk program in that script. I want to see if keeping the memory lower helps my phone perform better. I think I am pushing my poor old droid beyond what it is able to handle.
  10. rck76
    Offline

    rck76 Super Moderator Premium Member

    Joined:
    May 7, 2011
    Messages:
    6,841
    Likes Received:
    38
    Trophy Points:
    0
    Well, I hope it works out for you, good luck!
    Sent from my Droid using DroidForums
  11. ChevyNo1
    Offline

    ChevyNo1 Premium Member Premium Member Developer

    Joined:
    Dec 28, 2009
    Messages:
    5,354
    Likes Received:
    5
    Trophy Points:
    0
    Actually guys - ctk is a 'frontend' binary that runs any given app. What you are looking for in this case is csm ... you don't want to use ctk as it can change what it runs, depending on what you are doing within Tools.
  12. rck76
    Offline

    rck76 Super Moderator Premium Member

    Joined:
    May 7, 2011
    Messages:
    6,841
    Likes Received:
    38
    Trophy Points:
    0
    Thanks, I thought maybe CTK stood for Chevy task killer

    Sent from my Droid using DroidForums
  13. ChevyNo1
    Offline

    ChevyNo1 Premium Member Premium Member Developer

    Joined:
    Dec 28, 2009
    Messages:
    5,354
    Likes Received:
    5
    Trophy Points:
    0
    Very good guess, and one would think eh!
  14. RoyR80
    Offline

    RoyR80 New Member

    Joined:
    Jan 10, 2010
    Messages:
    299
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Detroit, MI
    I'd like to know how that turns out for ya... :)
  15. VingInMedina
    Offline

    VingInMedina New Member

    Joined:
    Jan 18, 2010
    Messages:
    172
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    Medina, Ohio
    Well, here is a little report on what I have done.

    I have installed an app called Phone Prioritizer, which allows me to schedule a script to run (as root) at a regular interval. It's called Phone Prioritizer because the initial intent of the script was to adjust the priority of the phone app. I am not using it to do that, but I am having it run Chevy's task killer, /system/xbin/csm, every two hours. I also turned off Compcache and installed the Swapper 2 app to give me a 32Mb swap file (Swappiness set to 20). Finally, the Phone Prioritizer app can reboot the phone once a day, so I have it do that each morning just before I have to get up.

    So far, my experience has been good. I have not had the phone do a hot boot on me (it used to do that about once a day) and I am now able to use the Map and Navigation, which I wasn't able to use before (it would cause the phone to crash after a few minutes -- a full reboot). The camera app still gives me problems, but I overall the phone is better now.
Search tags for this page

advanced task killer script

,

android kill app script

,
android process kill script
,
android script kill process
,
kill all tasks android script
,

script task killer

,
scripts android task killer
,

task killer script

,
task killer script codes
,
task+killer+script android