HD2 closes running programms by itself. What to do? - HD2 General

I see that my HD2 keeps loading running programms out of the memory. Say, I had 4 or 5 programmes running, but suddenly one of them is closed by itself, leaving only 3 (or 4) of them in the memory. It's stable behaivour of HD2, making it quite unfriendly to user. I tried a lot of ROMs and found it a general problem. Maybe anyone knows some registry of system tweak to allow more programmes stay working?

I would be very interested in a solution, too. As the device closes Flexmail - my mail prgram - by it self, i cannot be sure to get an email notiofication on time and always have to check if flexmails runs or not.
It would be great if either
- special programms could be excluded from being closed
- or special programms could be re-opened automatically if being closed by the system. The proble is that this "re-open" app would probalbly also be closed down sometimes.

You need to press and hold on the htc task manager (you need to install it) to set the aplication to exclusive , and choose to close aplications with the X. This way the only aplication leave on background is your mail program

Windows mobile by default can only run a number of processes at the same time (i beleive ti is approx 30). Windows will close down processes or apps when this number is reached. A process does not necessarly have to be an application. Use mem maid or microsofts task manager to check on the number of processes running.
TYpically on a HTC ROM, there are approx 18 - 20 processes running by default.

Wow, this is anoying, any way to increasing this number of background apps running?

Still having this, any solution!????

Related

Automatic Closing of running programs

Correct me if I'm wrong. From the readings I have made , WM5 works by not closing the programs launched and keeps on working in the background even after closing the program (tapping the x button on the right upper hand). The only way to close this program completely and to free the memory is by stopping the program using the running program window. It is then that you free the memory. Unlike 2003SE once you close the program it also frees the memory.
This makes it a problem for WM5, because I notice that if you open a lot of program, eventually you loose memory and cannot run other program , not until closing all those previously opened programs using therunning program window.
I was wondering if there are any program/registry hack/patch to go around this problem.
Thanks
There are many programs that turn the x into a permanent close, instead of just minimize. I use Wisbar Advance Desktop but that is a full Today Screen replacement program. If you press the x it minimizes, if you press x and hold, it closes.
There are tons of other programs... do some searching.
It shouldnt be a problem. Too many people think of WM5 as Windows XP. When your memory is low you need to close thigns. This is not the case.
As you quite rightly say when memory gets low WM5 should close the oldest app to free up the required memory, the reason it leaves things open is to keep things fast. When you need memory, it just closes something.
I use mine for TomTom as well as memory hungry push email and my memoy always has at least 10mb free and I have never run out. If the device is running slow its normally down to a particualr app using all the processor. Skype for example which can be closed with the exit command in its menu.
Unless your having particular problems I say let it be. Closing apps each time is a pain and a waste of time.
Actually, the problem is the same in WM 2003 and 2002.
The program you are looking for is called MagicButton and it's free.
http://www.trancreative.com/mb.aspx
thanks for your reply. I will try the magic button, will update you...
Magic button lets you to define what to close and what to keep alive. I'm set to keep alive mesaging and some other applcations to get ot on faster and to closу other.
Ok button = close app
I have tried various app but none gave me what I want: when I press the hardware button ok or for example the red button (end call) to close the active window without the use of the touchscreen. Does anybody knows an app whick behaves like this ?
spb pocketplus (not free) also has this capacity, and with it you can map the "close all" or "close" to a button. you may also define exceptions for this (applications that do not close even if you choose "close" or "close all").
Hi, See and try this.It has good capacities and work really fine in Prophet.http://insoftwarehouse.com/downloads/inclose/xe.php?l=en

keep software running in background continuously on Wizard

I have seen lots of posts that explain how to close running programs,
and how to get memory back.
But I would like to know how I can let software run continuously
in the background.
I put the exe. of the program it in my start-up folder, and after a reset the program runs.
But sometimes during the day I close all other running software, to get
back memory. But when I do, I forget to startup the one that needs to
run in the background continuously.
Can someone please explain how to let it run continuously, without
accidentally closing it ?
tnx.
Is there really no-one here that knows how to do it ?
winny said:
Is there really no-one here that knows how to do it ?
Click to expand...
Click to collapse
It depends which soft you're using to close the whole set of running applications. Some of those applications managers have an option where you can put exceptions, so when you call the close all functionality, all the excluded apps won't be closed.
Cheers,
.Fred
or if u use vbar make ur program active and use the "close all axcept active" option...
How are you closing these apps?
As by default Windows Mobile keeps every app running in the backround (and is why you see so much talk about how to <i>really</i> close applications).
frazell said:
How are you closing these apps?
As by default Windows Mobile keeps every app running in the backround (and is why you see so much talk about how to <i>really</i> close applications).
Click to expand...
Click to collapse
Windows mobile just minimize them. In order to close them, you have to post a WM_CLOSE to the main window of an application. This should in most cases be enough to close an app.
Cheers,
.Fred
tnx guys for your help.
I use Wisbar, but I am not sure if there is an option in it to exclude
a program. I will look into it and see if it works.
I was also thinking about making a change in the registry to
keep the software moving.
As I am not a tech-guy, I do not know if this makes sense.
So forgive me, if this sounds stupid.
Having quite the same problem, just another exe - the CardAutoRun.exe, just another device, a Prophet; see my thread here:
http://forum.xda-developers.com/showthread.php?t=278672
I also have a TaskMangager, but there CardAutoRun is not visible at all - and I very seldomly use it to close *all* applications.
Yesterday I did a soft reset, after which the CardAutoRun worked for two tests with two different cards - then I simply switched off my Prophet (sent it to sleep), switched on again - and the next SDcard inserted didn't autostart (as it _did_ just before off/on).
Obviously CheckAutoRun gets kicked out by that automatic task managing of Windows ...?
I found out that Wisbar does a good job.
In Wisbar/Settings/Task Management you can clearly define which
programs need to keep running in the background continuously,
even if you close all at the same time.
It does not work
Now, I thought that Wisbar (or taskmanagers in general)
would do a good job. There still is a problem.
Yes, wisbar (or some other task manager) will keep software
running in the background at startup.
But as soon as I start Internet Explorer, the software that
should keep on running in de background is closed.
No matter how I configure the Taskmanager, as soon as I
start Explorer ALL programs are closed automatically.
Does someone know what is happening here ?

[REQ] How to kill unused processes, when phone is idle?

Yes is there a app that works, have tried the ones from elias, but does not work on diamond, all processes that I set to be killed, is still active, and the notsr, requires you run an exe file.
Am looking for some thing that runs in background, and close processes that still runs in background even after program is closed.
Or maybe some one can tell me if the reg code "Realexit" works on other apps that Opera?
Nobody who can help me with this?
have you tried cleanRAM? i don't know, if this app closes open programs, but it cleans out the ram of your device, so you never have to do a soft reset..
klick here: http://forum.xda-developers.com/showthread.php?t=487490&highlight=cleanRAM
edit: you can choose apps to close ("custom programm list" or something like this...)

how to close applications

Hi,
some of the applications does not have a exist option (maybe i didnt figured this out!). in this case how can i close them (i.e. can i do that by using back button).
I can press and hold the home button to see which applications are running and switch between them. but this does not allows me to close them.
please help
ooo7
This has been answered many times before, but just to make it easy, you can use apps from he market. Personally, I've tried TasKiller and Advanced Task Killer. The latter I find to be the best.
http://www.cyrket.com/package/com.rechild.advancedtaskkiller
jamesking420 said:
This has been answered many times before, but just to make it easy, you can use apps from he market. Personally, I've tried TasKiller and Advanced Task Killer. The latter I find to be the best.
http://www.cyrket.com/package/com.rechild.advancedtaskkiller
Click to expand...
Click to collapse
HI,
but the problem with the advanced task killer is it gives huge list (i.e. I have not even started them.. i think it gives a list what ever i got in my program list)
for example, if i press and hold the home key i will icons of application i am running, however if i run advanced task killer i will get morethan what i have in previuos method.
i maybe doing something wrong.. but cant figure it out. please help
thanks ooo7
Yes,
I do have the same issue, there are a lot of applications listed which I haven't opend before.... I also want to close applications on a regulair base.
It seems the hero will slow done a bit when having a few apps open, which ofcourse is logical.
Advanced task killer lists all the processes that are running.
All devices (Mobiles, PC's and PDAs) have processes running that you haven't opened. these are the OS, and other apps that need to be running the whole time, like Gmail (or you dont get any push mail), calendar (Or you dont get any reminders), messaging, and many more. this is basic stuff and you need to understand it. just cos you haven't opened it, doesn't mean it is not running.
try opening task manager on a windows pc, and most have 20-30 processes running. Did you start all of them?
Also, holding the home key does NOT show you running programs, it only shows you the last 6 programs YOU accessed. Android has NO way of showing you what processes are running without a third party program. (or not that i know of anyway)
gotta agree with jamesking420 though, advanced taskiller is the best of the bunch at the moment.
Android closes applications when it needs the memory, but until then it keeps them cached in memory. So unless you hit some sort of bug, there is no reason to manually close applications. How did you get into the habit of manually closing applications on your cell phone, anyways?
Volker1 said:
How did you get into the habit of manually closing applications on your cell phone, anyways?
Click to expand...
Click to collapse
probably from years of dealing with the antichrist of Mobile operating systems. Otherwise known as Windows mobile!
From what I've learned begin new to Android is that it is self monitoring. It will automatically close programs as needed ulike WinMo devices. You can just hit the back button or home button. It might store in the cache but the device will shut the program down as it is not needed.
archboy69 said:
From what I've learned begin new to Android is that it is self monitoring. It will automatically close programs as needed ulike WinMo devices. You can just hit the back button or home button. It might store in the cache but the device will shut the program down as it is not needed.
Click to expand...
Click to collapse
Truly idle apps won't affect performance, but misbehaving apps still cause problems. Ex: Peep drains the battery in no-time when it has no account preferences and thus can't possibly do anything useful. Give it valid twitter credentials, or kill it, and the battery lasts a lot longer. I.e. if you don't want to use twitter you either have to kill Peep every time after boot, get rid of it completely, or connect an external battery-pack
phel21 said:
get rid of it completely
Click to expand...
Click to collapse
Hell yes, how could I do that?
archboy69 said:
From what I've learned begin new to Android is that it is self monitoring. It will automatically close programs as needed ulike WinMo devices. You can just hit the back button or home button. It might store in the cache but the device will shut the program down as it is not needed.
Click to expand...
Click to collapse
rught, and if you add the android 'Task Bar' widget you can see, how much memory is free. You can also observe, that there are changes, because the operating systems frees memory by itself.
As others have written, there is no need to manually interfere, plus, if you switch off your device from time to time (I do it every night), you'll probably never have any problems with resources.
The known speed issues, that some users experience, should be solved by HTC and not with extensive use of Taskkillers and alike ...
Is there anyway of stopping peep and other things i don't use from starting up automatically?

[24.02.2010] AutoClosePatch 1.1

As posted on my blog: http://www.chainfire.eu/articles/68/AutoClosePatch_1_0_released/
Updated to 1.1 on 24 February 2010
AutoClosePatch
Some devices, especially the new 2009 Omnia series from Samsung do not have a lot of memory available. Some of these are also configured to use rather aggressive memory management. The result is that you can hardly start any amount of applications (3 or 4, usually) before the system starts to shut down already running applications, while half or more of the available physical memory is not being used at all.
What AutoClosePatch attempts to do is hook into these memory management functions and beat them into submission, preventing them from doing anything we have not explicitly told them to do.
Of course, we do have to have automatic application closing functionality so our devices do not get stuck in a low memory position, so occasionally we let the system do what it wants within specified parameters.
Note that this patch was specifically written and only tested on the Omnia II (I8000), but it should work on many WM 6.5 devices. This patch does not need any of the other changes mentioned in various MoDaCo threads and is compatible with TaskMon!
Also note that the system is not always very smart, and in my experience tends to close the last application I openened instead of the first.
Beta
Consider this a beta version (even though it is a 1.0 release). Several factors come into play and operation cannot be guaranteed. Works great for me, though!
I take no responsibility for issues that may occur, at all. If your dog explodes due to using AutoClosePatch, tough luck.
Settings
By default, my Omnia II starts closing apps when available memory drops below about 30mb, and doesn't stop closing apps until available memory has risen above about 45mb. As I start out with about 50mb of available memory this isn't very handy.
AutoClosePatch's default settings are to not start closing apps until available memory drops below 15mb, and to stop closing apps when available memory has risen to above 20mb.
The "Ultra" variant lowers this to 10/15, but has more chance of showing you an 'out-of-memory' dialog.
Installation
Install the AutoClosePatch CAB. If you want to play with the "Ultra" variant, install the normal version first!
Soft-reset after installation
Uninstallation
Simply uninstall the CAB files if you are not using the "Ultra" variant. Uninstalling will clear most settings but not some system settings. These changes aren't harmful, but you'll need to hard-reset to clear them up.
Soft-reset after uninstallation
Technical
Skip this part if you're not a techy
The whole thing is done through run-time patching, this means no files are modified on the device itself, only in-memory.
Some system calls are overridden / intercepted in shell32.exe, and depending on actual memory state WM_CLOSE may be re-cast as WM_HIBERNATE.
For the new 2009 Omnia series from Samsung TaskMon.dll is also patched, disabling it's application closing functionality. All other TaskMon functions should remain fully operational. In essence, only the standard WM application closing functionality should remain functional.
The low memory boundary (when apps start being closed) can be configured through the following registry key:
HKEY_CURRENT_USER\Software\Chainfire\AutoClosePatch\CloseStartMB
The high memory boundary (when apps stop being closed) can be configured through the following reigstry key:
HKEY_CURRENT_USER\Software\Chainfire\AutoClosePatch\CloseStopMB
You must soft-reset after changing these keys for them to take effect.
Also note that if you are going below the default 15/20 value you must install the "Ultra" settings first.
Furthermore, if you are playing with very low settings (and are thus using the "Ultra" settings) make sure to NOT set the CloseStopMB value above 20!
Downloads
REDISTRIBUTION AND COOKING INTO ROMS IS EXPLICITLY FORBIDDEN (for the time being)
AutoClosePatch v1.1
AutoClosePatch v1.1 Ultra (Settings only)
Donate
Donations can be made through PayPal
Changelog
1.1 Adjusted closing behavior so it closes less programs
1.1 Slightly adjusted default settings
1.0 Initial release
looks pretty cool
my omnia should arrive sometime next week, will definitely use this.
thanks !
does not really work for me, whenever i get to 10mb of free ram, all applications get closed ...
khomen that should be fixed in 1.1
Works with Omnia B7610 but with a bug
When memory reaches 24mb down (in my case 24-18mb) you cannot open anymore applications/programs,and those that were opened (16 apps opened with 24mb left) even the task manager cannot be opened, so soft reset is needed to close all... Though system apps (those in the settings) still open and run.
Thank you my good man 08C54399RW746270M Here you have little something for beer
fire_z said:
Works with Omnia B7610 but with a bug
When memory reaches 24mb down (in my case 24-18mb) you cannot open anymore applications/programs,and those that were opened (16 apps opened with 24mb left) even the task manager cannot be opened, so soft reset is needed to close all... Though system apps (those in the settings) still open and run.
Click to expand...
Click to collapse
Did this happen with 1.0 or 1.1 ?
Please try agian with 1.1 and make sure to soft-reset after installation !
Thank you!
Works great on my omnia i900!
Just what I needed!
Best regards!
Hi Chainfire,
Donation sent to keep your research on.
Thanks very much.
Thank you so much.
I found this thread from WinMo and is now going to give it a try.
Thanks again for your work!
Not working?
Hi,
This is exactly what I am looking for, but it does not seem to work on my devise TP2, the programs still close randomly...
I try to run the regular and ultra manually, I do not see any loaded progam (I guess that is normal since it leaves only the dll), but I do not see any entries/changes in the Registry?
Please help to make this work or propose another solution.
THanks,
Hi Stephane,
personally I switched from AutoClosePatch to EverApp (see http://www.modaco.com/content/pocket-pc-software/291321/app-everapp-v0-2-application-persistence-under-wm6-x/ for details).
It is working more confident for the case that you have individual apps that must not be closed when running in background (apps like countdown-timers, SIP-phones etc.).
This is good.. i thought closing down apps is a problem of Omnia pro only...
With this patch, my Omnia is very powerful again as my previous Touch Pro..
Thanks a lot..
Im trying it on my Omnia II now and its look really good
Thx for it!
i always have out of memory crash
Thanks for your great work. But i have a doubt:
Is there a way to exclude only one App from being closed?
I really like the autoclose function, it keeps my mobile working correctly all the day, but I'm working with my mobile ERP all the day long and i don't want anyone to close it...
thanks!
Nosfi said:
Thanks for your great work. But i have a doubt:
Is there a way to exclude only one App from being closed?
I really like the autoclose function, it keeps my mobile working correctly all the day, but I'm working with my mobile ERP all the day long and i don't want anyone to close it...
thanks!
Click to expand...
Click to collapse
To do no repost, here is the link to my advice http://forum.xda-developers.com/showpost.php?p=8508020&postcount=12.
This sounds great, but,does not work on my Omnia Pro B7610...
It installs correctly, but i get something like that after soft reset:
An unhandled exception occured at $000115E0 : EAccessViolation : Acces Violation
$000115E0
$00011818
i wish U could tell me what's wrong... i am using FluidX ROM based on 6.5.3 i guess...
Hmmm. Not really. The only idea I have is that maybe you have no .NET Compact Framework 3.5 installed. You can download it from Microsoft. If this does not help you may ask your question in the developers' thread at http://windows.modaco.com/topic/291321-app-everapp-v02-application-persistence-under-wm6x/.

Categories

Resources