What is script for Task Killer?

VingInMedina

Member
Joined
Jan 18, 2010
Messages
175
Reaction score
1
Location
Medina, Ohio
Does anyone know what the actual script is that is run from the ChevyNo1 Tools -> Options -> Task Killer?
 

rck76

Super Moderator
Premium Member
Joined
May 7, 2011
Messages
6,791
Reaction score
38
# 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:
OP
VingInMedina

VingInMedina

Member
Joined
Jan 18, 2010
Messages
175
Reaction score
1
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.
 

rck76

Super Moderator
Premium Member
Joined
May 7, 2011
Messages
6,791
Reaction score
38
Sorry, edited my post at the bottom

Sent from my Droid using DroidForums
 

rck76

Super Moderator
Premium Member
Joined
May 7, 2011
Messages
6,791
Reaction score
38
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
 
OP
VingInMedina

VingInMedina

Member
Joined
Jan 18, 2010
Messages
175
Reaction score
1
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.
 

rck76

Super Moderator
Premium Member
Joined
May 7, 2011
Messages
6,791
Reaction score
38
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
 
OP
VingInMedina

VingInMedina

Member
Joined
Jan 18, 2010
Messages
175
Reaction score
1
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.
 

rck76

Super Moderator
Premium Member
Joined
May 7, 2011
Messages
6,791
Reaction score
38
Well, I hope it works out for you, good luck!
Sent from my Droid using DroidForums
 

ChevyNo1

Premium Member
Premium Member
Developer
Joined
Dec 28, 2009
Messages
5,354
Reaction score
5
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.
 

rck76

Super Moderator
Premium Member
Joined
May 7, 2011
Messages
6,791
Reaction score
38
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.

Thanks, I thought maybe CTK stood for Chevy task killer

Sent from my Droid using DroidForums
 

ChevyNo1

Premium Member
Premium Member
Developer
Joined
Dec 28, 2009
Messages
5,354
Reaction score
5
Thanks, I thought maybe CTK stood for Chevy task killer

Sent from my Droid using DroidForums

Very good guess, and one would think eh!
 

RoyR80

Member
Joined
Jan 10, 2010
Messages
299
Reaction score
0
Location
Detroit, MI
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.
I'd like to know how that turns out for ya... :)
 
OP
VingInMedina

VingInMedina

Member
Joined
Jan 18, 2010
Messages
175
Reaction score
1
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.
 
Top