Related
Okay, digging deep into Android's source.... not for the feint of heart, and not for those whose coding skills are somewhere just above, "Hello, world!" (Me)
Here's the deal. We all know, with Froyo, Google disabled task killers. No app can kill another app. I for one am happy, because killing all apps when your screen goes off is stupid, pointless, and all kinds of harmful. Well, happy but for one little thing....
Killing other apps still does have a purpose! Specifically, in my case, I want to replace my long-press home option with a cool app switcher that also gives me the ability to kill a running app if I know I am done with it for the day and it refuses to die naturally. I'm sure there are other legitimate uses for it, such as killing everything before a benchmark. Sure, these are very specific, uncommon uses, but a thousand apps on the Market exist for specific, uncommon uses, and I think that most hackers/modders with su here would know better than to let a task killer run rampant. Anyone wanna discuss re-enabling this on 2.2?
Edit: I should correct myself. I keep saying "app," what I mean is "service." I know you can still stop (most) apps, but not services. Which keeps a lot of apps running, despite your best efforts. Forgive me for misusing the words
wait task managers dont actually kill in 2.2? This is news to me, as one I have downloaded seems to work fine..
stuff said:
wait task managers dont actually kill in 2.2? This is news to me, as one I have downloaded seems to work fine..
Click to expand...
Click to collapse
^ditto.......
stuff said:
wait task managers dont actually kill in 2.2? This is news to me, as one I have downloaded seems to work fine..
Click to expand...
Click to collapse
Taskiller will show the app was killed. I'm sure many others will too. But kill an app, then go to Settings>Applications>Manage Applications>Running, and you'll see that it's still running.
Edit: I should correct myself. I keep saying "app," what I mean is "service." I know you can still stop (most) apps, but not services. Which keeps a lot of apps running, despite your best efforts. Forgive me for misusing the words.
Forgive the obvious question but can't the services just be killed by a root request/process? If so, creating an interface for this should be easy as pants.
Of course, root is required but that shouldn't be a constraint.
djmcnz said:
Forgive the obvious question but can't the services just be killed by a root request/process? If so, creating an interface for this should be easy as pants.
Of course, root is required but that shouldn't be a constraint.
Click to expand...
Click to collapse
True. But wouldn't it make more sense to allow the dozens of non-root apps that already exist to do this, rather than have to re-write an app that does the exact same thing, but has to use su? It would be safer, too. Running everything as root all the time runs contrary to the whole idea of Linux. It's better to give apps the permissions they need, rather than give everything unlimited power.
carnegie0107 said:
True. But wouldn't it make more sense to allow the dozens of non-root apps that already exist to do this, rather than have to re-write an app that does the exact same thing, but has to use su? It would be safer, too. Running everything as root all the time runs contrary to the whole idea of Linux. It's better to give apps the permissions they need, rather than give everything unlimited power.
Click to expand...
Click to collapse
Oh, I see. It might be useful but that's the essence of the Froyo changes... it can't be done now without root. You've have to compromise the security model... probably not a feasible route...
I think you are mistaken, maybe in Manage Applications it still shows it as "stoppable", however... I just did a test.
1. Opened DDMS on my PC.
2. Took note of an app to test with (speedtest) that was currently running.
3. Opened Advanced Task Manager.
4. Killed speedtest with task manager and watched it disappear from the running process list in DDMS.
Obviously ATM was able to kill the task. And, just so you know, it did not start running again. Also, it was removed from the "Running" tab in Manage Applications, so you are double wrong.
And, in case you were going to further the argument that you meant to say "Services", I just killed the PhoneFusion VM service with ATM, and it was removed from the running process list in DDMS.
djmcnz said:
Oh, I see. It might be useful but that's the essence of the Froyo changes... it can't be done now without root. You've have to compromise the security model... probably not a feasible route...
Click to expand...
Click to collapse
Or create something that uses su to kill these processes for third-party apps, without the need for them to have su. Similar to superuser apk, but on a more specific level. Or, we could make it even better, and have superuser hand out specific, user-approved permissions, rather than permit root access as a whole to any app.
Apparently there's not a lot of interest in this, but I thought it would make an interesting discussion.
My built in task killer is being super aggressive recently. When I first had the phone, pressing the "Clear RAM" closed around 5-10 applications and left me with ~350-400MB of used RAM. I installed system tuner pro (which is now uninstalled), but ever since I had installed it, my task killer is now closing 20+ applications, and my used RAM is getting down to 200-250MB. I can never get it down to "0 applications closed" anymore and the lowest I got was "3 applications closed" over and over again.
Normally, I wouldn't really care so much, but what I'm getting annoyed with is that doing that seems to disable NoLED and I suspect it's messing with SetCPU. SetCPU shows 702/192 on the widget, which is what I had it set to, but if I open SetCPU, I see 1836/192 at the top, but the scrollers are still 702/192. Anyone know what the heck is going on?
jjc5891 said:
My built in task killer is being super aggressive recently. When I first had the phone, pressing the "Clear RAM" closed around 5-10 applications and left me with ~350-400MB of used RAM. I installed system tuner pro (which is now uninstalled), but ever since I had installed it, my task killer is now closing 20+ applications, and my used RAM is getting down to 200-250MB. I can never get it down to "0 applications closed" anymore and the lowest I got was "3 applications closed" over and over again.
Normally, I wouldn't really care so much, but what I'm getting annoyed with is that doing that seems to disable NoLED and I suspect it's messing with SetCPU. SetCPU shows 702/192 on the widget, which is what I had it set to, but if I open SetCPU, I see 1836/192 at the top, but the scrollers are still 702/192. Anyone know what the heck is going on?
Click to expand...
Click to collapse
Did you set System Tuner Pro back to default before uninstalling?
How would i do that? I just reinstalled it and i dont see any options like that...
Sent from my SAMSUNG-SGH-I717 using xda premium
Seriously, how many times do people have to reiterate that task killers are NOT NEEDED?
khaytsus said:
Seriously, how many times do people have to reiterate that task killers are NOT NEEDED?
Click to expand...
Click to collapse
he's talking about the built in one
The built in one doesn't auto kill. Or does it ?!
lowspeed said:
The built in one doesn't auto kill. Or does it ?!
Click to expand...
Click to collapse
No, it doesn't.
My problem is that the stock task manger kills my alarm clock & battery widget. Which I really need....
Ever since I have swtiched to Advanced Task Manger and I honestly love it over the stock one. I even set it to auto kill when I turn off the screen.
DRamer77 said:
he's talking about the built in one
Click to expand...
Click to collapse
I read the OP. My statement stands. Auto, built-in, or third party, task killers are more harm than good.
khaytsus said:
I read the OP. My statement stands. Auto, built-in, or third party, task killers are more harm than good.
Click to expand...
Click to collapse
And yet still remain necessary for malfunctioning apps or those that stay running even when you back out of them and consume way too many resources, harming your battery life. C:Geo is my example. It doesn't always shut down properly and likes to drain my battery when I'm not using it unless I force quit it.
Another good example: Voxer likes to get "stuck" almost constantly. Only way to fix it is by force quitting and starting it up again.
While I agree that users shutting down apps constantly with a task manager to clear RAM does more harm than good, they still have their purpose and are a handy thing to have on any phone OS.
johnus said:
And yet still remain necessary for malfunctioning apps or those that stay running even when you back out of them and consume way too many resources, harming your battery life. C:Geo is my example. It doesn't always shut down properly and likes to drain my battery when I'm not using it unless I force quit it.
Another good example: Voxer likes to get "stuck" almost constantly. Only way to fix it is by force quitting and starting it up again.
While I agree that users shutting down apps constantly with a task manager to clear RAM does more harm than good, they still have their purpose and are a handy thing to have on any phone OS.
Click to expand...
Click to collapse
So the answer to OP is then to stop hitting the "Clear Ram" button.
Honestly, What is the point of a phone having this much ram, if you aren't going to let apps use it?
When you hit the home button, what android does is save the current state of that app and lays it to rest in the ram. When you go back to that app, it will pull it from the ram and bring it back from that state.
The app is not running in the background unless it's intended too.
So johnus is right. If an app gets stuck, or it is using your cpu and there is no real way to close it, that's what an app killer is really meant for.
Case closed now?
FlukiestEmperor said:
So the answer to OP is then to stop hitting the "Clear Ram" button.
Honestly, What is the point of a phone having this much ram, if you aren't going to let apps use it?
When you hit the home button, what android does is save the current state of that app and lays it to rest in the ram. When you go back to that app, it will pull it from the ram and bring it back from that state.
The app is not running in the background unless it's intended too.
So johnus is right. If an app gets stuck, or it is using your cpu and there is no real way to close it, that's what an app killer is really meant for.
Case closed now?
Click to expand...
Click to collapse
So I notice an issue with the task manager and you're basically suggesting I ignore it by not using very function I want to use?? That makes no sense and offers no solution to the problem whatsoever. I understand the concept of RAM and how it's used; I'm not new to this. The answer to my question is NOT to simply not use it
jjc5891 said:
So I notice an issue with the task manager and you're basically suggesting I ignore it by not using very function I want to use?? That makes no sense and offers no solution to the problem whatsoever. I understand the concept of RAM and how it's used; I'm not new to this. The answer to my question is NOT to simply not use it
Click to expand...
Click to collapse
Well it is... Samsung goofed up by not letting you select items to ignore.
Just use something else if you must.
jjc5891 said:
So I notice an issue with the task manager and you're basically suggesting I ignore it by not using very function I want to use?? That makes no sense and offers no solution to the problem whatsoever. I understand the concept of RAM and how it's used; I'm not new to this. The answer to my question is NOT to simply not use it
Click to expand...
Click to collapse
Some people just think their logic is law and their needs are the same as everybody. I use task manager for several things. Many that the previous poster mentioned and others. I'm sorry open but I can offer no assistance as I've never wandered past the stock task manager. But I will follow this thread as I am interested in the functions you mentioned.
lowspeed said:
Well it is... Samsung goofed up by not letting you select items to ignore.
Just use something else if you must.
Click to expand...
Click to collapse
Well samsung goofed up with the black crush issue also, but that doesn't mean I should stop using youtube, netflix or viewing black photos on my phone. With that kind of logic, lets just tell every to just stop using their phones because bugs are always going to exist everywhere, but there's no reason to fix it, because no one will ever use an app that's not perfect...right?
jjc5891 said:
Well samsung goofed up with the black crush issue also, but that doesn't mean I should stop using youtube, netflix or viewing black photos on my phone. With that kind of logic, lets just tell every to just stop using their phones because bugs are always going to exist everywhere, but there's no reason to fix it, because no one will ever use an app that's not perfect...right?
Click to expand...
Click to collapse
How about this... Instead of complaining here. Call samsung?
What do you want people to do ?
lowspeed said:
How about this... Instead of complaining here. Call samsung?
What do you want people to do ?
Click to expand...
Click to collapse
If you're not going to help, then don't bother posting. Not everyone likes to ignore problems
Seeing as this is a developers forum, how about we all work together and find an actual solution to the problem, instead of these mickey mouse suggestions?
Is there any way to prevent the phone from killing the browser?
roperband said:
Is there any way to prevent the phone from killing the browser?
Click to expand...
Click to collapse
I am wondering this as well this phone just closes down all kinds of apps. I know android closes apps when it needs the space but this phones is constantly closing my apps I want to keep open.
Sent from my SAMSUNG-SGH-I717 using xda premium
Hello,
I was told this is the place to come for everything related Galaxy S III from several people. Please excuse me if this is the wrong place or section.
I'm completely new to the Galaxy 3 and Android in general.
I'm on sprint and I've had the Palm Pre since launch, I just got my GS3 yesterday (amazon $149 no tax, free 2 day shipping) :victory:
As you can imagine coming form the Pre, my mind is blown. It's a bit overwhelming, I'm a pretty tech-savvy dude (pre was hacked to its limits) so I down to tinker. But before I even get started with that I have some basic questions.
1. Is there a way to only use a password unlock once per phone power-on instead of every time the screen locks?
1a Even better would be able to use a simple pin for screen unlock but still have the SD/Internal encrypted with a long password. Is that possible?
2. When I press back, how do I know if an app has been killed? I keep getting the feeling it still somehow running in the background?
3. Is the application manager like the Windows process manager? How do I know what are essential system apps and what can be stopped?
4. What is the best way to get rid of bloatware?
5. What are the diffrent system updates? PRL, Profile, Samsung Software, Firmware?
6. Why is there "com.sec.sprextension.phoneinfo.D..." under Device administrator? Do I need that? Is that a security hole/risk?
Again, sorry for so many questions, just trying to wrap my head around all of this. If there is a better place to be asking question please let me know.
Look forward to being part of the community! :highfive:
BR
1) not by default, maybe an app could aid there, not sure, but on stock "out of the box" the answer is "no"
1a) nope, if you want to use encryption, it's password all the way
2) Settings -> Application Manager -> "Running" tab
3) Kind of. It also warns you when you try to kill off a system app, but you can't really damage anything by doing that. I tend to kill just everything I don't want at the moment (which is usually everything but the widgets and app I am intentionally running) and all is well.
Stuff that REALLY needs to run, restarts automatically anyways (and some that don't have to, do as well....)
4) Settings -> Application Manager -> All -> Tap on app -> "Disable"
5) You will find an uncountable number of ROMs / Firmwares here. Stock as well as custom. What the best one is, is personal preference.
6) might be something added by the carrier. try to disable it, see what happens
7) ( ) .... ( ) whoops, no 7 xD
Hope that helped a bit
I'm on sprint and I've had the Palm Pre since launch, I just got my GS3 yesterday
Click to expand...
Click to collapse
You most certainly are in the wrong forum. This one is for the international S3 which doesn't feature LTE. There's a Sprint forum right above/below this one =)
Is there a way to only use a password unlock once per phone power-on instead of every time the screen locks?
Click to expand...
Click to collapse
That would make password unlock more or less redundant. Anyone could still access the phone.
When I press back, how do I know if an app has been killed? I keep getting the feeling it still somehow running in the background?
Click to expand...
Click to collapse
You're correct. Well, partially. It's still "alive" in terms of being in the memory. But it doesn't use CPU anymore which is all that counts.
However you don't want to kill it. Cached processes take up no space (the RAM is emptyed whenever the capacity is needed), no resources and allow you to multi-task right back to where you left off.
Is the application manager like the Windows process manager? How do I know what are essential system apps and what can be stopped?
Click to expand...
Click to collapse
You don't want to stop anything. Refer to the prior question for this. Well... you may want to kick off some bloatware but to get rid of thm the phone needs to be rooted. There are threads listing which apps you can safely remove.
What is the best way to get rid of bloatware?
Click to expand...
Click to collapse
As said, you need to be rooted. Use TItanium Backup to freeze the bloatware. It's still physically "there" on the disk (doesn't take up much space) and you can defrost it whenever needed but as long as it's frozen it cannot be started.
What are the diffrent system updates? PRL, Profile, Samsung Software, Firmware?
Click to expand...
Click to collapse
App updates are always delivered through their corresponding market. Usually the Google Play Store, but as for Samsung apps they have their own update mechanism.
Firmware and ROM are updated either OTA or through Kies on the computer. They can also be manually flashed through Odin.
"com.sec.sprextension.phoneinfo
Click to expand...
Click to collapse
Sounds like some carrier bloatware and from the name of it is supposed to open some file extension called '.spr' for the phone.
Thank you for the info! Mods could you please move to correct forum?
[Q] How to remove annoying message "clear default app settings by going to settings"
Hello guys
Since JB on SGS3, my phone KEEPS asking me to set defaults for the same things, really bloody annoying.
"Clear defaults
Clear default app settings by going to settings > applications manager > all"
An utter pain in the arse. Anyone found a way to make Touchwiz remember defaults or to stop giving this newbie bollocks message?
I'd love some brainy hacker to make it gooo away!
tx
Mark.
Titanium -> backup/restore -> TouchWiz -> freeze
Make sure you have a proper launcher already loaded, like ADW/Nova etc.
boomboomer said:
Titanium -> backup/restore -> TouchWiz -> freeze
Make sure you have a proper launcher already loaded, like ADW/Nova etc.
Click to expand...
Click to collapse
thanks mate, i will try that!
i am thinking though, wouldnt freezing touchwiz also stop the (FANTASTIC) features of samsung, like the "stay on" feature and the excellent Samsung Calendar? Major reasons why I would never go back to Cyanogenmod.
tx
Mark.
boomboomer said:
Titanium -> backup/restore -> TouchWiz -> freeze
Make sure you have a proper launcher already loaded, like ADW/Nova etc.
Click to expand...
Click to collapse
NOPE!
after a reboot it is back to square one, the message comes up again.
there has got to be a way to make the system remember that stuff, surely?!
EDIT
not quite square one... it seems files I have opened before using a specific app will continue to work with that app automatically, but if I, for example, open a pdf document in Maildriod and tell it to open with Adobe reader, then click on the same PDF in the GMail app, it will ask me again... so it seems to be based on the app it is coming FROM and not the type of link/file you are clicking on. Pretty daft IMO.
Mark.
fredphoesh said:
thanks mate, i will try that!
i am thinking though, wouldnt freezing touchwiz also stop the (FANTASTIC) features of samsung, like the "stay on" feature and the excellent Samsung Calendar? Major reasons why I would never go back to Cyanogenmod.
tx
Mark.
Click to expand...
Click to collapse
No, Samsung apps are independent of TouchWiz and will work with any launcher.
The only repeating request for default I've experienced is when I left TouchWiz in after I'd added ADW - it came up after each boot to ask which launcher I wanted and then ignored the 'always' bit. After I frozen TouchWiz it's all working as expected, opening each file type responds with the app I've chosen to use with it (from the launcher).
I just tried the exact test you describe, opening a .pdf in two apps. After I'd set the option from each app it remembers the setting - but it just doesn't appear to be a system wide setting, like it would be in Windows.
If it keeps asking the same question from the same app then you may have a problem, otherwise I think it's just the way JB works.
boomboomer said:
If it keeps asking the same question from the same app then you may have a problem, otherwise I think it's just the way JB works.
Click to expand...
Click to collapse
I will check, though my nexus 10 tablet NEVER has a message telling me that I can clear default app settings... so it's not a google thing but a samsung one.
I will see over a week or so if it does remember, though i guess with each rom update I have to enter all the bloody defaults again... one of the down sides of customising rom's frequently.
cheers
Mark.
boomboomer said:
I just tried the exact test you describe, opening a .pdf in two apps. After I'd set the option from each app it remembers the setting - but it just doesn't appear to be a system wide setting, like it would be in Windows.
If it keeps asking the same question from the same app then you may have a problem, otherwise I think it's just the way JB works.
Click to expand...
Click to collapse
Hey there,
Yep, after reboot it asks the same @#^¬$* question... I am on OMEGA rom, what are you using?
Stock, haven't found a reason to change yet.
boomboomer said:
Stock, haven't found a reason to change yet.
Click to expand...
Click to collapse
hmm, interesting... i may ask this question on the Omega thread then!
cheers,
Mark.
I've never been sure, which app do you clear defaults, origin or destination?
S3 on Sprint - 16gb pebble blue + 64
boomboomer said:
Titanium -> backup/restore -> TouchWiz -> freeze
Make sure you have a proper launcher already loaded, like ADW/Nova etc.
Click to expand...
Click to collapse
A bit late in finding this thread, but thanks anyway, did the trick
PRGS3 said:
A bit late in finding this thread, but thanks anyway, did the trick
Click to expand...
Click to collapse
Not for me, I cannot get that message to stop, My phone remembered no defaults before root or since. In fact rooting was the biggest waste of time I can think of, its changed nothing
why did you root if you didn't know what you needed it for?
I am NOT a fan of HTC's built in task manager and was wondering what other people are using in place of it. I have a couple of apps that I want to run even after the "kill all" button is hit. There's no exception rule or anything like that on the built in manager. So what are you using?
Sent from my HTC6600LVW using XDA Premium HD app
Greenify ftw
I've been using this and it's great for automation. Just one problem. I play battlefield 4 and it hangs from time to time. I don't want to add it to greenify but I have to kill the app when it hangs like that so I need something I can kill apps with on demand but still be able to whitest other apps. Is there anything out there that does both? If not, it's cool. I can just use HTC's built in one alongside greenify. It would just be nice to have an aio.
Sent from my HTC6600LVW using XDA Premium HD app
I dont mean to sound like a n00b but can someone tell me how to get to the task manager? I have yet to find it. (And double tapping the home key is for recent apps not the task manager before someone says that)
AngelDeath said:
I dont mean to sound like a n00b but can someone tell me how to get to the task manager? I have yet to find it. (And double tapping the home key is for recent apps not the task manager before someone says that)
Click to expand...
Click to collapse
Not there.
what are you trying to do with a "real" taskmanager?
I thought most people just want something that will shut down all running, un needed programs
AngelDeath said:
I dont mean to sound like a n00b but can someone tell me how to get to the task manager? I have yet to find it. (And double tapping the home key is for recent apps not the task manager before someone says that)
Click to expand...
Click to collapse
iIt's a mini task manager still helps to close apps lol!
I use task management tool from Replicon that is featured with a calender based and user friendly interface. With a hassle free experience the tool is all set to cope up with the android and iOS devices in delivering the end result in a profitable manner. Check out my signature for the link.
lesliescott06 said:
I use task management tool from Replicon that is featured with a calender based and user friendly interface. With a hassle free experience the tool is all set to cope up with the android and iOS devices in delivering the end result in a profitable manner. Check out my signature for the link.
Click to expand...
Click to collapse
this isnt the kind of "task manager" being discussed here...
wase4711 said:
this isnt the kind of "task manager" being discussed here...
Click to expand...
Click to collapse
lol thanks, i was kind of confused on that reply lol