[QUES] - Multitasking no longer works!? - General Questions and Answers

Phone : HTC Universal (unmodded, 64MB)
ROM : Tomal 8.50
Not sure why, could be a free ram issue, but lately it seems to have stopped multitasking in an odd way. E.g. I'm in internet explorer, select some text, copy, open notes, new note, paste, ok. But IE has magically closed itself in the background by the time i've done this and i can't switch back! Most apps seem to do it, e.g. google maps, opera too, as soon as i use one app for more than a few seconds any others that are not in focus close silently.
Dont think i have any aggressive demons running, the rom is pretty much as is apart from a couple of today plugins!

I had the same problem, but only after I installed Opera. I don't know whether it's really Opera that's the culprit or not, but since I want to use it anyway, I searched for solution and this little app http://forum.xda-developers.com/showthread.php?p=5711787 seems to do the trick - no more programs closing in the background.

Thanks, only installed opera a few days ago, must be doing odd things to my system, will give AutoClose patch a try tho, thanks!

Just FYI, though it may not be the reason for the OP, I have heard this being said about Opera a lot of times, I've not checked but my gut feeling really is it has something to do with it.

Moved to Q&A as not dev.
madnish30.

Related

Slow, always having to soft reset..

Hi all,
I am really disappointed with the performance of my Orbit 2. At least once a day, it slows down and eventually grinds to a halt - a problem I never had with the Artemis.
In particular he seems to hang when using the RSS Hub program (although I have tried numerous alternatives including News Gator and the SPB Insight). Sometimes accessing the Internet, or even creating an SMS causes the hang.
I have read through the tips in the forums here and recently upgraded the ROM to Bepe's 0.66, but still have the issues.
Is anyone else suffering from these problems? Any ideas for possible fixes?
Tim
Nope. I have over 30 apps installed a couple of today screen plug-ins and the TC runs just fine. Perhaps you were not closing your applications (just minimizing)? Or maybe you needed to use a tool like MemMaid to clean your device?
I am using the stock rom.
On the stock ROM and use RSS Hub a lot. Can't say I ever had those problems either.
cant say i have a problem either
use quite a bit of software on a regular basis and i dont ever shut mine off or restart unless i want to escape my wife.....
NetFront is the culprit
OK following some further research (read "tearing hair out"), I believe I have found the culprit to be NetFront. This otherwise fantastic browser appears to hog CPU at around 99%.
Has anyone else noticed this behaviour with NetFront? Its a real shame as its by far the best browser I have found. Opera would be great but doesn't work with the HTC keypad. So next task is to find a decent browser!!
timpharrison said:
OK following some further research (read "tearing hair out"), I believe I have found the culprit to be NetFront. This otherwise fantastic browser appears to hog CPU at around 99%.
Has anyone else noticed this behaviour with NetFront? Its a real shame as its by far the best browser I have found. Opera would be great but doesn't work with the HTC keypad. So next task is to find a decent browser!!
Click to expand...
Click to collapse
Yep....it's a known issue. The problem is when Netfront is put into the background. If you continue to use it, just make sure you close (not minimize) it before leaving to go to another app or even your today screen.

Applications close and do not stay open...

I got the sprint tp2 with the stock ROM and i cant seem to figure out how to keep the apps running like activesync...
I was looking at the registry but did not see anything...
Please help me....
Are they closing when you tap the X or do they just close on their own while running in the background?
Well Active Sync was not updating as mail arrives like I had it set and It looked like WM was closing the program... It seems like am not the only one having that problem... Thank you for replying to my post..
Well, winmo will close apps when it needs to for memory purposes. It does this to keep you from bogging down. But, the TP2 has enough ram that this should not be happening unless you are doing a lot at once.
I tend to leave about 4 apps open all the time updating and then add my normal use on top of that. I rarely have things closeon their own - but when I do it tends to be when I am using a memory hog browser like opera or skyfire.

my experience with tweaking the stock rom to perform properly

personally, i happen to like the stock ui of this phone, so i didnt want to flash a custom rom or anything like that. i kept searching for different ways to improve performance and limit bugginess, and here is what i have come up with. first, root is a must for this phone. so is cwm recovery. the first thing i did was boot into cwm recovery and run fix permissions. this stopped the constant rebooting, but i was still experiencing the vibrating and force closing problem. i began deleting bloatware apps that i wasnt using. i installed an app called total commander for android, which has many different wonderful functions, one of which is mounting any partition as r/w. when you are done modifying a partition, you can also mount it back to r/o. so i removed most of tmobiles and samsungs bloatware apps, such as device carbon, zipwhip, telenav, group texting, qwik video chat, twitter, myspace, swype, and maybe a few i cant remember. each time i deleted system apps, i went back to cwm and fixed permissions again. now so there is no confusion, i didnt fix permissions after deleting every single app. say i would delete five or six apps, when i was done deleting them all, i would fix permissions. the reason for this is that i found that after deleting system apps, the system would still have permssions stored for those apps, and i believe this caused system errors similar to registry errors in windows. so, after deleting most unneccessary system apps, i saw more improvements, but there was still a bit of buginess. i was looking for something on google one day when i ran across a forum for the samsung vibrant where a member had issues with the same buzzing and force closing i had experienced. it was a buzz, a pause, then buzz-buzz-buzz. another member revealed that there were three main causes of this issue, which were androids native gmail client, wifi, and the stock android browser. i dont use wifi, but i got rid of the android browser and gmail client. i installed a third party email client from the market called maildroid, and use opera mobile as my default browser. i havent had any more problems except with two apps. one is slacker radio which is embedded in the media room app. it froze my phone every time i tried to load it. not a big loss, since i dont use it. just cant delete it without deleting media room and i use media room as my music player. but it still works fine as long as i dont open slacker. the other one is media hub. also froze my phone every time i opened it. not a big loss there either since i download most of my music from free sites. i deleted it. the only time i have force closes is when in settings i accidentally hit drivesmart, and thats because i deleted the drivesmart app. so im on stock ui and no crashes, freezes, lags or force closes. been about a week since my last unexplained crash. this might not work for everyone, but it might be a start.
If any of this does help anyone out there who wants to stay on the stock rom, feel free to reply or hit the thanks button
This does help me, but I think I'll wait for the back to basics rom, see how that goes.
Sent from my SGH-T839 using Tapatalk
oh yeah i gut all Samsung and t-mobile aps from my phone, but i use custom roms as well. I havn-t had a force-close in over a week and the last one i had was with the stock browser.
ive uninstalled
gallary
browser
tmobile carbon
and all unused aps drivesmart ect.
I havent had a problem with gallery. I use it to view my pictures. the gallery on this phone is quite nice compared to my last phone.
yeah mine kept freezing, not sure why so i said enough is enough and i dont really use it too much
Good info, but can I make a request?
It is harder than you know what to read!
PLEASE edit the OP to have paragraphs!
Android's gallery is a joke. Download Quickpic.
I suggest PowerAmp over the stock music player.
Another source of issues is the TouchWiz launcher. Nix it.
That just leaves Google Maps. Unfortunately, there are no good alternatives...
I personally havent had any problems with any other apps. i like the stock apps that i actually use, such as gallery, the stock music player, google maps, and TouchWiz. A lot of people bash the TW launcher, but i really dont think its the problem. i dont have any problems with it at all. i have tried other launchers, but i end up ditching them because they are larger than the stock launcher and use more RAM. i avoid using 3rd party apps over stock apps unless absolutely necessary, as in the case of gmail and android browser. getting rid of those apps stopped the buzzing and force closing for me. the reason i avoid using 3rd party apps over stock apps is because they take up space and sometimes use more ram. the TW launcher is actually quite small compared to other launchers, being only a few kb in size where other launchers are on average 2 to 5 mb. the most recent launcher i tried was WP7 launcher, which imitates the windows 7 ui. i liked it, but google navigation froze in that launcher. back to stock launcher, and navigation worked fine again. i know that i personally dont have any problems with TW launcher, gallery, or the stock music player, and i like all of them.
Meh.
The gallery takes forever and depends on the media scanner. Quickpic starts up faster shuts completely down when it's finished.
As for memory, 3rd party launchers play very nice with the system and let go of their resources when the OS asks them to. Can't say the same thing for TouchWiz.
You'll also want to run Voodoo sound and the PowerVR plug in from Chainfire.
Of course, you're free to do any slow thing you want with your device. It just won't perform as well as it could.
you are completely free to have your own opinions. but in my experience, im not having problems with the stock apps. in fact, i reinstalled the stock browser and gmail and still no problems. my phone works fine for the way i use it. you may use your phone in different ways or for different things than i do, so 3rd party solutions may be necessary for you. im not having any problems with my phone, so they arent necessary for me. you keep saying oh you'll want to do this or you'll want to do that. maybe you need all these 3rd party apps because you dont know how to manage your stock apps. almost every time i am finished doing anything with my phone, i go to task manager, exit all apps, and hit clear memory. every couple of days, i clear my app cache. i use optimize android toolbox for that. i dont even reboot my phone on a daily basis, and still, no problems. no lags, freezes, force closes, crashes, or random reboots. not a single one. i would say thats top performance in my book. now, enough said.
i feel like you two are going at it, you both have your own opinions, i side with the stock apps being poorly written and potentially causing issues. Im using gallary again because i like how it pulls pics from online, but for the browser i use opera mini just because i like the layout better (no hate towards the stock one)
I remove every apk that is not needed for what i do with my phone, including blutooth and some others that ive discovered do not inhibit the functioning of the device. This is all because im just a huge nerd with OCD and like to play around with things and have them running as clutter free as possible. Remember guys this is why we all use android, so we have the freedom to customize the device to our own needs.
i just want to say one more thing. when i started this thread, the information in my OP wasnt intended to be a guide for getting this phone to peak performance or to make it the fastest or best that it could be. it was intended as a starting place for those who simply want to get their phone running PROPERLY with the stock rom/ui. PROPERLY means without any glitches, force closes, freezes, lags, crashes or random reboots. there is a big difference between PROPERLY and BEST. for instance, take a car that comes out of the factory and has some problems. you can correct the problems and get it running PROPERLY, or you can supe it up and get it running the BEST/FASTEST. some people are happy with something just working properly, while others want the best/fastest. so for anyone who wants info on getting this phone running the best/fastest, feel free to start your own thread. this thread is for info on getting this phone WORKING PROPERLY. THANK YOU.
Yeah ok. I just think discussion ia a great forum for innovation. If everyone just stayed on topic all the time no new ideals would ever have a medium to incubate in. I'm sorry if we've irritated you, it definitely wasn't my intention. Were all on the same team here.
Sent from my SGH-T839 using XDA App
orange808 said:
Meh.
The gallery takes forever and depends on the media scanner. Quickpic starts up faster shuts completely down when it's finished.
As for memory, 3rd party launchers play very nice with the system and let go of their resources when the OS asks them to. Can't say the same thing for TouchWiz.
You'll also want to run Voodoo sound and the PowerVR plug in from Chainfire.
Of course, you're free to do any slow thing you want with your device. It just won't perform as well as it could.
Click to expand...
Click to collapse
thats the only thing that irritated me. i repeatedly stated that certain stock apps were working fine for me. this guy repeatedly told me to replace the apps that i said were working fine for me. if you dont like those apps, fine. do whatever you want with your phone. dont keep insisting that i copy you. and the comment about doing any slow thing you want is what really irked me. i feel like that makes it sound like im an idiot for not doing what he tells me to do. i took it as disrespectful. i got no beef with anything or anyone else here.
if any of the apps that this guy insisted i replace were actually causing problems, i think i would still be having problems. especially touchwiz, which everyone thinks is so terrible, which isnt causing me any problems at all.
i think it only causes issues with memory, it doesnt manage it well. But i think you aid you close apps manually so it wouldnt be as bad.
Manually closing programs doesn't allow the garbage collector to do its job. Over time, small amounts of memory tied to hanging handles will add up and you will encounter issues.
Once again, it's your device. If you are happy, do what you like.
sidekick_fanatic said:
i just want to say one more thing. when i started this thread, the information in my OP wasnt intended to be a guide for getting this phone to peak performance or to make it the fastest or best that it could be. it was intended as a starting place for those who simply want to get their phone running PROPERLY with the stock rom/ui. PROPERLY means without any glitches, force closes, freezes, lags, crashes or random reboots. there is a big difference between PROPERLY and BEST. for instance, take a car that comes out of the factory and has some problems. you can correct the problems and get it running PROPERLY, or you can supe it up and get it running the BEST/FASTEST. some people are happy with something just working properly, while others want the best/fastest. so for anyone who wants info on getting this phone running the best/fastest, feel free to start your own thread. this thread is for info on getting this phone WORKING PROPERLY. THANK YOU.
Click to expand...
Click to collapse
so how does the performance compare to custom roms like gingerclone or glorious overdose? (I ask since I am considering buying a sidekick, and want to know how much tweaking i'll need to do)
okay orange808, if you want to continue insisting you're right, then fine, you're right. now drop it. as far as which custom rom is the best, i cant answer since i havent flashed a rom.

[APP][2.1+] Keep My Opera - Protect Opera from being killed (or any other browser)

Quick overview:
Keep My Opera is an app that protects the Opera browser from being killed without reason.
compatible with Android version 2.1+ (tested on 4.x)
benefits from root access (but can be used without)
just an app, does not depend on custom rom or kernel versions
risk free (makes no patches to kernel or system partition)
consumes very few resources
free and ad-free
Opera Mobile can still be killed if truly necessary for other apps to run
makes no sense unless you are an Opera poweruser
Importance notice about update to v0.58 (28th July 2013):
Keep My Opera can now protect any app, not just Opera Mobile.
The documentation below has not (yet) been updated. It is for the old version v0.52 (which is still available as attachment).
With the new version you can choose which app you want to be protected. It is useful to protect another flavor of Opera, such as Opera Classic (for those of you who hate the new blink-based Opera Mobile).
Note that you can now choose any app of your liking, including other browsers or e-book readers!
What Keep My Opera tries to solve:
Android proactively terminates memory hogs soon after you stop using them. The Opera Mobile web browser is one such memory hog. Web pages are ever increasing in complexity and thus lots of memory is needed to display them.
If you use Opera Mobile a lot, you may like it to stay in memory even while you use other apps. After all, once force-terminated, it takes time and connectivity and bandwidth to reload all those web pages.
When another app needs memory, Android recovers it with the "out of memory" killer (OOM). Opera Mobile is one of the first victims to be killed, ecause of the high memory footprint.
Opera Mobile can also be terminated when Android thinks that you don't use it anymore, for example after you have left it in the background for a while. This happens without actually needing the memory, it's rather just preparing free memory already now for when someone might use it later.
I don't like this behaviour of Android, and so I created Keep My Opera. It tells Android that I'm using Opera (even while I'm not), and it gets killed less
often.
How to use Keep My Opera:
Once installed, you get to review some options and then you activate it. A notification item will appear indicating that Keep My Opera is running.
Touch the notificaton if you want to further change the options, or when you want to stop Keep My Opera.
Enabling everything listed under "Functional Options" achieves the most complete protection.
Note that after rebooting your phone, you have to start Keep My Opera again.
Method #1: Protect process memory (root)
With "Protect process memory" enabled, Keep My Opera will reset the OOM data of Opera Mobile every few seconds.
This helps against the first type of killing (see above) because it makes Opera Mobile a less attractive victim. The OOM killer doesn't notice the real memory usage and decides to kill other things first. If that doesn't help to satisfy the pressing memory needs, of course Opera Mobile can still be killed - it's just not highest on the list. This ensures that you can use your other apps and games normally, without fear of them closing underneath your finger.
This feature requires root access, and also a working installation of BusyBox. It won't do anything without those two, in fact it could even hang and force-close if you enable the option but do not have root or busybox.
The reset action is performed in the /proc filesystem which resides in RAM. There are no permanent changes of any kind, and you can get rid of it simply by stopping Keep My Opera or disabling the option.
Method #2: Move Opera to front (without root)
The other important functionality is "Move Opera to front". It helps against the second type of killing, where Android thinks that you are not using it anymore. Whenever you put your phone to sleep, Opera Mobile will be moved in front of all other apps. When you unlock your phone, it will be the first thing you see. Android will not kill it "just because" - after all, it is the last thing you have "used".
It helps quite a bit to keep Opera Mobile running, and it works without root. However, it is may only be for Opera hardliners like me. I want my web pages to always be cached in RAM, so I can read during the few seconds of an elevator ride etc.
If you don't want Opera Mobile in your face everytime you unlock your phone, you may still be able to use this feature. Read on:
Companion app: Go to Homescreen
This app makes the "Move Opera to front" feature somewhat more tolerable. It pulls the homescreen to front whenever it is activated, and its icon looks like a lock.
Pin it to your lockscreen (provided that your phone supports lockscreen shortcuts), and it drops you off at your homescreen instead of Opera. You can benefit from "Move Opera to front", yet get fewer strange looks from other people when you hand them your phone.
History
Update 28-Jul-2013: v0.58 lets you choose which app to protect (FIXME: documentation doesnt reflect this change)
Download
Please post feedback here on XDA. Do you like it? Does it work for you? What would you improve?
Keep My Opera v0.52 (bugfix)
The APK attached to the first post has been updated to version v0.52.
This is a bugfix release. The bug affects phones which do not turn the screen on after a phonecall ends. CM10.1 is an example for such a ROM (and Samsung stock is not). In the previous version, Opera would then not be brought to front. This is fixed in v0.52.
Can you add more apps, not just opera?
petrea_86 said:
Can you add more apps, not just opera?
Click to expand...
Click to collapse
+1
Also; Second
Great work Jetmarc, I'm an Opera hardliner too and have been waiting for a solution like this so thanks.
Keep My Opera v0.58 (enhancement)
The APK attached to the first post has been updated to Keep My Opera v0.58.
This is an enhancement release, responding to the requests made here in the thread.
You can now choose other flavors of Opera (such as Opera Classic or Opera Mini), as well as completely different browsers or e-book readers.
After you update, review the new configuration option to make sure that the correct app is selected for protection. Note that loading the list of installed apps takes a few seconds. You have to wait for this process to complete when you use Keep My Opera for the first time, and also when you want to change the protected app. Otherwise you can safely ignore it.
Let me know if this enhancement meets your needs, and if there is anything else that can be improved.
An alternative way to keep Opera running: a dummy service
Hello jetmarc and others, I also suffer from this problem a long time, and I was looking everywhere to get a solution. The best solution I previously found was a modded version of Opera Mobile with an added dummy service, which prevents Android from killing Opera, found in Opera forum. (I'm not allowed to post links yet, but the thread title is "Opera and Samsung Galaxy 3 a bunch of crap..." and the poster of the modification is "knumsole", you'll find it when you google it.)
Unfortunately, the moderators of the Opera forum removed that unofficial mod, but I was lucky enough to download it before. I attached it here. Use it at your own risk, it seems to cause no problems for me. Most important: It got NEVER killed.
But unfortunately again, that is an old version of Opera Mobile (11.5) which has problems to display some pages.
So I tried also this "Keep my Opera" (0.58) together with a new version of Opera Classic and I'm relativly happy with that: Opera got only killed one time in a day so far!
But anyway, the solution I would prefer, would be a new version of Opera with that added dummy service. As I said, it got NEVER killed on my android.
So does anyone know how to add a dummy service to a recent version of Opera? I tried to contact the previous author on Opera Forum, but wasn't succesful.
thanks work android 4.3

[Q] Auto Reloading of web pages

Hi all, I'm sorry if this is not the correct place to post this. But I hope the Mods will replace it where appropriate.
I just was wondering if there is a way to stop that annoying reloading of web pages when I push the browser to background process in my old Android 4.0.3 device. It so consumed data. Is there any way to keep the pages in memory or something?
Thanks
Hi,
As far as I know, it's because of Android cleaning unused programs from memory (RAM) when it's getting full, and on lower specs phones it happens pretty quickly, although I don't have accurate numbers here.
It's a core feature of Android, so I'm not sure there is a way to bypass, limit it or whitelist programs, perhaps on rooted phones, but I'm eager to know if it's possible.
But, is it the same on newer devices? I hope not, cos it's so lame.
So that's it... I just can't do anything unless I root. Hmmm...
Thanks for your comment though.
I can't answer for sure, but on all my devices it's the same problem, even under KitKat.
I suppose my RAM isn't enough, but someone would have to confirm if the problem still exists on high end devices like S4 or G2.
I don't know what you'll get here by rooting your device, cause all of mine are rooted but sometimes I still get the problem.
Well at least you can delete some bloatware so it's never a bad idea if you feel confident rooting the phone.
For repro, I usually do this, between each step, just press the Home button to return to the home screen :
- Launch a heavy game such as Dead Trigger 2 or Real Racing 3, or even a smaller one like Subway Surfers
- Launch Chrome, open something simple like Google News for mobiles
- Open the camera, no need to take a pic but just open it and go back to home straightaway
- Open Gmail, or another mail app
- Open Play Store
- Try to go back to your game (or browser)... on all of my devices I lose my current level, as it's as I've force quitted... yeah that sucks for low end or old devices like mines, but I don't think there is a workaround.
Just to say, on my iPod Touch 3 I get a better experience for games, although I have to go through reloading on Safari tabs.

Categories

Resources