So, downloaded pTerminal from the market.
YAY! ps and kill aren't blocked!
If you want to manage tasks enter command "ps" view the tasks.
If you want to kill a task type "kill <pid>"
Fun times... Finally, I can kill the tasks that are syncing and using gps etc in the background.
Edit: If you are interested in killing tasks to preserve memory, you should know by now that the memory management is automatic. There is no need to kill tasks to free up memory. If a task is doing something you don't want it to do though (i.e. eating up battery by doing unnecessary **** in the background) then by all means use this method to kill it for now.
I would like to see a comprehensive task manager in the future with not memory usage, but awake time for the app listed, network usage and a combined "Battery Usage" figure using all the other data...
That's good news. I wonder if "killall <appname>" works as well?
Har, looking at the process list there's a few on here running as root... buffers? Yes I do think so.
Good find! I'm sure a real task manager is in the works.
i can`t find it in Market
felicita said:
i can`t find it in Market
Click to expand...
Click to collapse
I think your phone is defective... please box it and return it.
--M
(hehe)
felicita said:
i can`t find it in Market
Click to expand...
Click to collapse
In the market, hit menu->search and then type the name "pterminal"
xavier6303 said:
In the market, hit menu->search and then type the name "pterminal"
Click to expand...
Click to collapse
There is no pterminal in market on my g1
felicita said:
There is no pterminal in market on my g1
Click to expand...
Click to collapse
I just downloaded the application... It is there...
Other pTerminal finds..
Not sure if this has been posted in the forum before but if you're connected via wifi (at least...?) you can run system/bin/telnetd in pTerminal then telnet to the IP of the phone... It'll drop you to what appears to be a root shell...
felicita said:
There is no pterminal in market on my g1
Click to expand...
Click to collapse
If they are working on it or updating it, the app will dissapear from the store for a short time. At the moment I cant even connect to the market.
Wait a few hours and check back
im using wireless and market is working with full acces
GlobalM3 said:
If they are working on it or updating it, the app will dissapear from the store for a short time. At the moment I cant even connect to the market.
Wait a few hours and check back
Click to expand...
Click to collapse
satru said:
im using wireless and market is working with full acces
Click to expand...
Click to collapse
I had to restart my device and it worked. tnx
SplasPood said:
Not sure if this has been posted in the forum before but if you're connected via wifi (at least...?) you can run system/bin/telnetd in pTerminal then telnet to the IP of the phone... It'll drop you to what appears to be a root shell...
Click to expand...
Click to collapse
Thank you for the tip. It doesn't appear to be a root shell, BUT the process runs as root, which should be just as good as soon as I drop my own sshd in there... just have to compile for the right processor hehe...
telnet?
SplasPood said:
Not sure if this has been posted in the forum before but if you're connected via wifi (at least...?) you can run system/bin/telnetd in pTerminal then telnet to the IP of the phone... It'll drop you to what appears to be a root shell...
Click to expand...
Click to collapse
What did you type in exactly to get telnetd to run? Any flags you passed?
I'm trying /system/bin/telnetd from pterminal, but it never runs.
satadru said:
What did you type in exactly to get telnetd to run? Any flags you passed?
I'm trying /system/bin/telnetd from pterminal, but it never runs.
Click to expand...
Click to collapse
I had to run it twice before it ran, then once it started it's like a watchdog process killed it after a few minutes.
do...
Code:
# cd system
# cd bin
# telnetd
# ps
Then scroll to the bottom to see if it's running. THEN connect really quick, because it seems to die off fast .
It seems that unless you first cd to system/bin running telnetd doesn't work. It also seems t-mobile does inbound filtering so I cannot root my phone remotely... :-/
SplasPood said:
It also seems t-mobile does inbound filtering so I cannot root my phone remotely... :-/
Click to expand...
Click to collapse
What if... you recompiled a VPN client for ARM and ran it on the phone, having it connected to your home network?
It would be a battery drainer for sure... Perhaps activate it with an SMS message? Or maybe a flag it checks for on a static html page every 10 minutes?
W00t. I figured everyone gave up on trying to root this thing. Now it seems the excitement has just begun.
That's reeeealy great!
Does anybody know how one can copy the files there? Regular 'cp' does not work there.
Related
Hey guys,I really don't know how to use P terminal but i read in some threads that u can kill apps with it and do other things so i though i would start this htread for everyone to post all the tips and trick they learned using this program. Thanks in advance to anyone who posts.
found this in battery thread
jkiller122 said:
Hey guys,I really don't know how to use P terminal but i read in some threads that u can kill apps with it and do other things so i though i would start this htread for everyone to post all the tips and trick they learned using this program. Thanks in advance to anyone who posts.
Click to expand...
Click to collapse
--------------------------------------------------------------------------------
Quote:
Originally Posted by neoobs
when in iSafe hit the menu button and hit exit... BAM the program is not running in background mode and isn't using the GPS and 3G to find out if the area is safe. I have to play around some more because other programs are similar. I think Joyity is similar too. Anything that would run in the background for me had a way to exit and turn off the program. I am not saying it isn't loaded but it can't use the GPS, 3G or anything else on the phone.
To check which programs are running in the background use pTerminal.
Run "ps" for a list of processes
Run "kill <pid>" to terminate a process
timace said:
--------------------------------------------------------------------------------
Quote:
Originally Posted by neoobs
when in iSafe hit the menu button and hit exit... BAM the program is not running in background mode and isn't using the GPS and 3G to find out if the area is safe. I have to play around some more because other programs are similar. I think Joyity is similar too. Anything that would run in the background for me had a way to exit and turn off the program. I am not saying it isn't loaded but it can't use the GPS, 3G or anything else on the phone.
To check which programs are running in the background use pTerminal.
Run "ps" for a list of processes
Run "kill <pid>" to terminate a process
Click to expand...
Click to collapse
Lol silly that wasn't neoobs, that was me.
syrusfrost said:
Lol silly that wasn't neoobs, that was me.
Click to expand...
Click to collapse
That was you quoting me LOL funny LOL... I give you all credit syrusfrost.
neoobs said:
That was you quoting me LOL funny LOL... I give you all credit syrusfrost.
Click to expand...
Click to collapse
You know when you put them together it does seem like a coherent thought... haha, I'm lacking in that department sometimes...
syrusfrost said:
You know when you put them together it does seem like a coherent thought... haha, I'm lacking in that department sometimes...
Click to expand...
Click to collapse
We do make a good team LOL... I was thinking the same thing when I saw it... but I couldn't remember where I posted how to use pTerminal since everytime I try to kill a process it tells me I am not allowed LOL
What kind of processes you trying to kill? I didn't have any problems with the apps I launched... hrm
That's ODD, I just tried it and it threw an error, and it killed the app too. Wow interesting, i could have sworn it didn't throw that error before, but it killed the app. What about for you, does it kill the app anyway?
syrusfrost said:
What kind of processes you trying to kill? I didn't have any problems with the apps I launched... hrm
That's ODD, I just tried it and it threw an error, and it killed the app too. Wow interesting, i could have sworn it didn't throw that error before, but it killed the app. What about for you, does it kill the app anyway?
Click to expand...
Click to collapse
well I have tried to kill apps I have started and some I haven't Both give errors... both still run. I just wish I could kill away the myfaves LOL
I just wish I could kill away the myfaves LOL[/QUOTE]
Do you use myfaves cuz if you don't then you can just uninstall it.
When I type in Run "ps" it doesn't show nothing.
jkiller122 said:
Do you use myfaves cuz if you don't then you can just uninstall it.
Click to expand...
Click to collapse
You can't uninstall it
your right,you can only clear data. My fault.
jkiller122 said:
your right,you can only clear data. My fault.
Click to expand...
Click to collapse
It is ok... I thought the same thing and even cleared the data and still have issues.
Can anyone give an example of what the <pid>'s look like ?? Thanx
The PID is the number after the user that is running the file or service.
The first one in the line should look like this.
root 1 0 264 136 c00a5cd0 0000c36c S /Init
So root is the user and the PID is 1, they go in numeric order and on my phone go up to 3716
so if i wanted to kill /Init(which you can't) i would type in kill 1
which right now will throw me an Operation not permitted.
damnitpud said:
The PID is the number after the user that is running the file or service.
The first one in the line should look like this.
root 1 0 264 136 c00a5cd0 0000c36c S /Init
So root is the user and the PID is 1, they go in numeric order and on my phone go up to 3716
so if i wanted to kill /Init(which you can't) i would type in kill 1
which right now will throw me an Operation not permitted.
Click to expand...
Click to collapse
Thank u. U were very helpful and didn't take the "know it all" approach I am a technician more on the harware aspect of things so software sometimes gets tricky for me . Thanks alot
How do i close a program in the magic, i dont want it running in the background. Is there a prog like a taskmanager or something..??
Hi ,
Download "advance task manager lite" off the Market. This is a very very helpful app which can close all your programs running and very simple to use. And it is Free.
If you need anymore help feel free to post back
CLLC
There is no such app in my market. Can anyone share a free version? Thanks
parrot5 said:
There is no such app in my market. Can anyone share a free version? Thanks
Click to expand...
Click to collapse
It's a free version. The actual name is "Advanced Task Manager Lite" so do a search on "Advanced".
I did do a search and can't find it. Anyone else managed to find it under Rogers in Canada?
I can easy find it. I use it every day, but i find it a bit strange that you cant close apps in any other way! And alot of programs doesnt have a "Quit/Exit" function.
Does anyone have any explanation to why its not possible to close programs without download extra programs?
you know,
I think i heard Something about when you leave the app , it does actually sort of close.
It saves the state you left it in (freezes) and unfreezes when you enter it again. So really the App is not running or using any comsumption at all until you are in the app.
CLLC said:
you know,
I think i heard Something about when you leave the app , it does actually sort of close.
It saves the state you left it in (freezes) and unfreezes when you enter it again. So really the App is not running or using any comsumption at all until you are in the app.
Click to expand...
Click to collapse
This is true.
It is because android is awesome at app management. There is no real need for closing apps. It leaves apps kinda open (saves their state in ram) but not running. That`s why most apps open so fast. And even though more ram is "in use" it doesn`t cost you battery life.
Thanks for confirming ,
What a fantatic way , The OS is fantastic and I can guarantee that Android has alot of potential and Can only get better and come up with more technological breaking idea's!!
CLLC
CLLC said:
you know,
I think i heard Something about when you leave the app , it does actually sort of close.
It saves the state you left it in (freezes) and unfreezes when you enter it again. So really the App is not running or using any comsumption at all until you are in the app.
Click to expand...
Click to collapse
Oh i didnt know that!! Sounds really fantastic. I have to get used to a whole new way of thinking then, i think im too used to windows
Anyway. I love Android more and more. But i was shocked when i found out that you cant send or receive files via bluetooth. I hope this is their number 1. priority in the next released. I mean, comon .. phones have been able to do this for 10 years now!
parrot5 said:
I did do a search and can't find it. Anyone else managed to find it under Rogers in Canada?
Click to expand...
Click to collapse
i did not find it either. i m using rogers too
but you can download Close Everything at Market for free.
i think those apps are similar. the only difference is you have to close EVERYTHING instead of choosing an app to end it.
anyway, the system is not getting slower even i open lots apps.
maybe, the "freeze" thing is true
yesterday I had my phone fully charged before i got to sleep, in the morning 8 hours later the battery was almost empty. GPS and WIFI was disabeld, so I think all the programs in the "background" ( a lot ) killed the battery.
Or what do you think killed the batt?
nevil said:
i did not find it either. i m using rogers too
but you can download Close Everything at Market for free.
i think those apps are similar. the only difference is you have to close EVERYTHING instead of choosing an app to end it.
anyway, the system is not getting slower even i open lots apps.
maybe, the "freeze" thing is true
Click to expand...
Click to collapse
But I thought if you close EVERYTHING the alarm will not work?
foxman01 said:
yesterday I had my phone fully charged before i got to sleep, in the morning 8 hours later the battery was almost empty. GPS and WIFI was disabeld, so I think all the programs in the "background" ( a lot ) killed the battery.
Or what do you think killed the batt?
Click to expand...
Click to collapse
that did not happen to me yet
if you disable background data usage in data sync that will save batt life and lower data usage too.
do not know if that helps at all
parrot5 said:
But I thought if you close EVERYTHING the alarm will not work?
Click to expand...
Click to collapse
alarms still work (tested just now)
i do not know how that app works ~oops~
maybe it does not work at all hahaha
not all programs stop running. some are designed to run in the background
the only real way to check what is running is to use a task manager
I paid $0.99 for advanced task manager. Its a good, but basic app. And hardly breaks the bank at that price!
The other issue I get is "go slows" sometimes on the phone. It doesn't seem to crash, just response times go into the seconds. I switch off and on to soft reset and its fine.
nevil said:
that did not happen to me yet
if you disable background data usage in data sync that will save batt life and lower data usage too.
do not know if that helps at all
Click to expand...
Click to collapse
Why should I disable data usage? If i have an app that use data, then I only need to close the app. Please correct me if I´m wrong.
I was wondering if there is a way to keep all of these damn stock programs from auto starting and running in the background? I downloaded Advance task killer and I always seem tons of crap running I did not start.
Would the only fix be to flash a new ROM on it?
I dont mess too much with task killers, but I believe some can autokill apps that you specify when they start running. You can also remove apps completely via command line if you don't use them at all.
autostarts. it's .99 in the market.
Alright. But nothing free huh? haha. Even after I kill it, some of the programs will still start up in an hour or so.
mroneeyedboh said:
Alright. But nothing free huh? haha. Even after I kill it, some of the programs will still start up in an hour or so.
Click to expand...
Click to collapse
are the programs that keep popping up necessary?
If not, remove via command line or be willing to taskkill it, if it bothers you.
also, autostarts has different environment variables (start up, connection changed, usb plugged in, etc.) to specify when to kill what apps (I'm not pimpin it, I'm just sayin its a good program)
Oh. Maybe I'll get it, I mean its only 99 cents I have to figure out how to buy apps. Thanks though.
autostarts I can not find
obededom said:
autostarts. it's .99 in the market.
Click to expand...
Click to collapse
I looked on the net, but I can not find the program. Can you link it?
I now use "ProcessKiller alias HTCDlg_killer" on my HTC TP2, but I do not see any killing.
Thanx in advance.
mroneeyedboh said:
I was wondering if there is a way to keep all of these damn stock programs from auto starting and running in the background?
Click to expand...
Click to collapse
Some applications are SUPPOSED to be running all the time. Others the phone starts up so that their response time is better.
Arbitrarily killing applications is a sure-fire way to crash the phone. If you can be bothered to provide a list of what you see, someone can advise you what to leave alone.
Jamboman said:
I looked on the net, but I can not find the program. Can you link it?
I now use "ProcessKiller alias HTCDlg_killer" on my HTC TP2, but I do not see any killing.
Thanx in advance.
Click to expand...
Click to collapse
http://www.androlib.com/android.application.com-elsdoerfer-android-autostarts-jppi.aspx
no prob
I know that phone works simillar to computer.
In task manager you can close unneeded applications, and there is also tab with services.
The most of services on the computer are useless, on notebook it only eats battery. With disabling thee unnecessary services on the notebook you can get cca. 25min of battery time.
I guess that with the phone is the same. The most of running serveices are not needed, my only problem is: on the computer these services have descriptions and information about themselfs, on the phone there is only the name of the service
So my question is: which services can be shut down?
For example, I never use wlan, but I am very sure there are things like wlan client, dns client...running for nothing....
Bence said:
dns client...running for nothing....
Click to expand...
Click to collapse
Uhh...
...haha...
...okay dude.
Spike15 said:
Uhh...
...haha...
...okay dude.
Click to expand...
Click to collapse
What is so funny about that?
I am running DarchLegend 4.1, and my phone gets abnormally hot when it's just sitting in my pocket, receiving a text every couple hours. I would like to know why this is, if it's normal, and should I do anything about it? Thanks in advance
HeroMeng said:
I am running DarchLegend 4.1, and my phone gets abnormally hot when it's just sitting in my pocket, receiving a text every couple hours. I would like to know why this is, if it's normal, and should I do anything about it? Thanks in advance
Click to expand...
Click to collapse
Sounds like a program is running in the background. I would get a task manager open and frequently check to see what app is staying open the most.
ro_bro said:
Sounds like a program is running in the background. I would get a task manager open and frequently check to see what app is staying open the most.
Click to expand...
Click to collapse
The only external apps I have installed are Battle.net Authenticator, Twicca, and Facebook. I also have them set to manual update only.
HeroMeng said:
The only external apps I have installed are Battle.net Authenticator, Twicca, and Facebook. I also have them set to manual update only.
Click to expand...
Click to collapse
if its hot where your at with alot of sun and no air all phones would sweat in your pockets.
I could put a case on my phone n it would get hot regardless
I think its a 2.1 issue. I have it happen ocassioanly on damagecontrol. Going into *#*#4636#*#* and going into phone settings and hitting menu> change radio. Then change to CDMA auto prl.
abcdfv said:
I think its a 2.1 issue. I have it happen ocassioanly on damagecontrol. Going into *#*#4636#*#* and going into phone settings and hitting menu> change radio. Then change to CDMA auto prl.
Click to expand...
Click to collapse
I'll try that now...
EDIT: Worked great! Thanks!
No problem.
abcdfv said:
No problem.
Click to expand...
Click to collapse
I forgot how to get to the change radio dialogue dang it .
It's Menu Settings Phone Phone Settings then what?
chococrazy said:
I forgot how to get to the change radio dialogue dang it .
It's Menu Settings Phone Phone Settings then what?
Click to expand...
Click to collapse
I'm not quite sure what you're asking
abcdfv said:
I'm not quite sure what you're asking
Click to expand...
Click to collapse
How to get to the change radio dialouge.
I just posted how to get it.
abcdfv said:
I just posted how to get it.
Click to expand...
Click to collapse
Got it thanks.