Maintenance Reset - Windows Mobile Development and Hacking General

WARNING: This is my first attempt at programing.
I made these mortscripts to automatically soft reset my device every hour (or however often you want to). The reason I made this:
1. My available program memory leaks. No matter how I try to fix it, I can't stop it.
2. I've used SKTools-FreeUpRam, and hibernate, and whatever, but they don't recapture all my memory like a simple reset does.
3. Since my device spends most of its time off, in my pocket, it only makes sense to take care of that while I'm not using it.
The available programs which schedule resets, only do it once a day.
Please take a look at this program, and help me develop it.
Here's a link:
http://sto-helit.de/forum/viewtopic.php?f=18&t=5058&start=0&st=0&sk=t&sd=a

You can also try SKSchema. It allows you to schedule a soft reset effortlessly.

Is SkSchema included in sktools? Because I purchsed sktools. How much does SkSchema cost?

Related

Phone Application

I am new to the whole PDA form so please forgive me if this is obvious but I have not found the answers on this site.
I have an O2 XDA mini s and am slowly getting the hang of it.
Problem: On closing all running programs in task manager I loose the use of the phone keypad, pressing the green call button brings up the phone application but minus the number keys, calls can still be made through contacts. A soft reset is required to recify.
?Related problem: In task manager, there are programs running that are not visible on the list (if I press below the last visible item something is selected and I can "goto" it.
Plus on occation the listed item takes me to a different program ie. selecting media player takes me to Word (no set pattern though).
All help would be appreciated.
Thanks in advance
StefanF: what task manager are you using?
V
Sorry, just to clarify, PDA is "as out of the box", so just the WM5 task manager.
Thanks for your interest, I have followed several of your posts and seen your site. You have some great programs I would like to use, particually like the big phone buttons and close application tool but am quite scared of this thing.
It may be a while before I mess to deeply.
Stefan: that sounds like an odd problem.
The built in task manager is useful but not very comprehensive.
If you want to view all running tasks etc, there are much better programs out there, many are freeware. If you can't find any better, check out one I've posted here:
http://forum.xda-developers.com/viewtopic.php?p=190257#190257
It's not written by me, I've just re-added some features.
Note - closing the phone (cprog.exe) is not a particularly good idea unless you really need it, because some other apps expect it to be loaded (eg contacts)
My programs
Some are ok. You might want to try my program VJOkButt if you just want to close apps to keep your memory healthy. But that's subject to taste and it's not clear how useful - although on the Wizard, it might be helpful.
The big phone buttons are actually just for the universal, it's not designed for Wizard. Basically it's for VGA phones that are using the ful VGA hack.
I've got some other stuff coming out soon. Stay tuned :wink:
V
Phone application
Thanks for the info.
I think, from what you have said, I need to know what I am doing to shut down the phone application as it is never my intention.
Pitty about the big button program. Why is there not full customisation of the screen (as in desktop PC's, can change the size of buttons, scroll bars... both of which are to small for finger use on this)
As a side note, when I am in an application the menus and any selections within make a click upon pressing ie. in word, Menu>Cut each selection makes a click. I have all tap sounds off but the only way I can stop it is to turn the master volume all the way down. Any ideas?
Once again, thanks.
You have to overwrite some of the default sounds with empy sounds to disable all click sounds. At least that's what I did, but that was a long time ago..basically you use your pc, make an empty .wav file, and overwrite the necessary files in your \windows\ folder. If you're interested in doing this and need more help, shout out!
Closing the phone - yes, you would probably not close it without knowing what you're doing. I presume when you're not using the task manager you're not having the phone problems?
Try a program called CETuner to help play around with your scrollbars etc. It's good for modifying colour themes and various settings on the go. Another program worth looking at is Tweak 2k .net.
V
Many thanks.
Personally i'm currently using Magic Button to close apps and act as a task manager. http://www.freewareppc.com/utilities/magicbutton.shtml
It allows you to close or minimise apps, and by clicking the "house" icon on the windows bar you can also close all, soft reset etc. Final point on it is that you can see X number of running apps and touch to swap to them, or "hide when inactive" and "keep alive" so you dont close (or even see) some apps - i keep messages & phone in this state to improve response times but close use close all to kill everything else.
Danger using Task Manager
Stefan,
I had the same problem. Ideally you should use Start/Settings/System/Memory/Running Programs to close down active tasks. Yes, the Task Manager does it and you can launch it from the menu, but it is a bit dangerous (as I found out). The Phone app appears in Task Manager as an unnamed icon and its icon looks like the Windows Media Player one (at least it does on my XDA Mini S). Shutting this down will do exactly what you describe (I started a thread called 'Help I'm stuck in Contact History on this).
By all means use Task Manager if you want to, just don't shut all apps, leave the unnamed 'media player lookalike' icon.
Cheers. :wink:
To the original poster:
I had this problem when i got my XDA at first. To be honest, i think its the o2 active stuff that messes up the phone app.
My suggestion is this: back up any important data, then do a hard rerset of your phone. When the screen comes up about Standard, Corporate or Basic install choose the Corporate option and use the passcode 0506. this will allow you to use the phone without any of the o2 crap and since i done it i've had no problems with the phone.
just to let you know, this will stop the phone setting up its own GRPS and MMS settings, but if you phone o2 ar go into a shop then they will happily send them to you.
Hope this helps.
Task Manager or Active ?
I suspect that it is shutting down the phone app that's causing the issue not Active. I agree, get rid of Active if you don't like it (I use Basic so I still get the MMS settings), but I don't think Active is the cause.
Just my humble opinion of course.
I'd completely overlooked that StefanF was using o2. I'm an O2 and Orange user, but O2 active has never touched my system. Sounds like that's quite an oversight by them if the O2 Task Manager allows you to close the phone app... not recommended!
V
Oooer indeed
My friend has an XDA Exec (Universal) and he had lots of problems with the phone app which I strongly suspect were much the same thing. (although his apps in task manager were not unnamed, he had multiple phone apps running). I didn't know the Task Manager was an O2 add-on, I assumed it was a WM5 feature.

A beauty but what a quality beast

G'day all
I recently got myself a lovely HTC wizard (branded O2 XDA Mini S, ). It's a device I've been researching for a while so I was very much excited to try out my first WM product when it arrived this morning.
However, for all it's beautiful design, it's really been a bit of a big pain on several ways. Most significantly and immediately noticable is the very sluggish interface. Some things, like notifications, I can dismiss fine, but the majority of actions, such as starting a program, opening one of the left-hand buttons or switching to landscape mode, take several (maybe 10) seconds to happen and even then the screen will only be partially and very slowly redrawn. This seems to only occur at the 'today' screen (other programs are pleasantly snappy). Anyway, it's rendering the today screen pretty useless and since it's the starting screen it means everything is taking much longer to do. Is this just my device or is this a recurring issue?
Cheers
Have you reinstalled without the o2 Active stuff (basic mode option I think). It the real hog.
Other than tat have a look around the messages is the forum for various registry hacks to speed this baby up.
It does work well, you just have to tweak the heck out of it.
So it's a matter of going around deleting stuff that 02 put on?
Basic install plus something like SPB or Magic button to close apps properly (apart from the ones you regularly use, such as phone/messaging/IE) makes the device at least twice as quick.
wilesd said:
Basic install plus something like SPB or Magic button to close apps properly (apart from the ones you regularly use, such as phone/messaging/IE) makes the device at least twice as quick.
Click to expand...
Click to collapse
This is exactly what I've done on my mini S...O2 Active is really doggy, the interface looks fine, but mini S can't affort....
Basic intall with SPD Plus work fine for me....I can now play mp3 & mp4 files smoothly with beta player, connect BT GPS receiver with TT5...
To really clear all the clutter, perform a hard reset and when you get to the 'about to customise' step (short countdown) perform a soft reset.
This results in a completely clean OS thats much more responsive. SPB pocket plus is a good app to install next.
There are other registry tweaks such as disabling menu animation that make an additional improvement to the responsiveness
There are plenty of discussions about this in the other threads - have a search around.
Dunno if this works on the Wizard but on the magician, if you map one of your buttons to the "Start" menu, then you can do a lot of program switching without going via today page - and the whole re-draw of it.
Particlulrly if you chose wisely the 5 programs that you can specify for the start menu.
jacro said:
To really clear all the clutter, perform a hard reset and when you get to the 'about to customise' step (short countdown) perform a soft reset.
This results in a completely clean OS thats much more responsive. SPB pocket plus is a good app to install next.
There are other registry tweaks such as disabling menu animation that make an additional improvement to the responsiveness
There are plenty of discussions about this in the other threads - have a search around.
Click to expand...
Click to collapse
The soft reset method is OK if you don't use MMS as the MMS app will not be installed, if you want to use MMS though the Basic install is better
I cleaned my mini-s the hard way
Hard reset, soft reset, then installed some of the extROM cab files manually and setup the GPRS manually too. Wizard now runs ok, its not fantasticly fast, TTN5 still takes time to load, and incoming calls while it loads cause problems (but thats only 15 secs!). Magic button is great, pick the apps you need to keep open (phone, text messages, etc) and "keep alive" and "hide when inactive" then just use close all to keep the RAM free.
Alright - I'll try one of these hard/soft reset cleans. But...
Another problem I've been having is that ActiveSync refuses to detect my device over USB. The USB connection seems fine (Windows XP detects new but unkown hardware - seems to lack an RNDIS driver or something), but a sync I can't make work.
So I can't install anything again. After a hard reset will applications such as phone and messaging be restored or will the require a reinstall (that I can't do)?
Also, remapping the buttons sounds like a brilliant idea. I'm not so big on IE so if I made that my start menu toggle I could reach a whole load of things one-handed. One thing that oft annoys me is when you have to close a program or dialogue box with the cross in the top-right. Can that be remapped to, say, the voice recorder button so I don't have to keep awkwardly touching the screen?
That Magic Button sounds handy also - freeware by any chance? I'll google it in a sec. It's annoying (well, peculiar, coming from a PalmOS background) to have several applications running at once - all that's needed is the phone/messager apps and perhaps the music player.
Thanks for all yer replies!

Some quick questions

hi everyone
got my xda exec yesterday, I love it, its performance , its speed, everything, but
some apps keep restarting for example pocket msn and activesync,
it only takes a bit of memory but it is anoying when they flicker open by themselves
also is there a way to full turn the phone off instead of sleep mode, wouldn't mind a fresh turn on like soft reset every morning
all help appreciated
thanks
You can't close apps on Windows Mobile ("officially"), the OS is supposed to close them itself. You can close them with the Memory control panel, or a proper task closer like VJOkButt, SmallMenuPlus (Excellent app, get it now!), HTC Task Closer etc.
For a soft reset, try soft resetting. Poke your stylus into the little hole on the back near the USB port.
The device can be put into a more long term sleep mode, but it's not a standard feature.
V
exemike said:
some apps keep restarting for example pocket msn and activesync
thanks
Click to expand...
Click to collapse
You need to set active sync to MANUAL otherwise, every set of minutes it would automatically open itself up, because the default is set to AUTOMATICALLY sync every 2 minutes or so. Go to the UNIVERSAL WIKI page to look for the instructions on how to set it MANUALLY. You need to create a dummy server for that then the options will be available.
thanks for the swift answers guys, I've sorted my activesync
but now I'm lookin for something that can shutdown my phone like soft reset but so it doesn't restart
know anything bout some software or key remap or somin
thanks
Check out ButtonMax, I think Resco have a button mapper and various other companies too.
AEButtonPlus is always my top choice tho.
V

Phone Dialer issues. Will not run unless Soft Reset.

Anyone having an issue with their default phone dialer. Sometimes it just wont run so I can make a call. Also when I close it down from running it will freeze.
After I do a soft reset it works find for a while, then it locks again.
Redneck
maybe try a new ROM, i know it seems like a big deal for such a small problem.. but you will get new, better features. it may also be a third party app that is messing around with it. i suggest trying the new rom (WM6 Pro 3.0 by ANTC is pretty good) and avoid installing and third party apps you don't need. also, make you sure hard reset after reflashing. good luck
-Nstefanelli-
Thanks, Sounds like alot of trouble.
Why wont my signature show up????
There it is... lol
Instead of reflashing, just do a hard reset; that will clear out all applications you installed and revert your phone back to a "just installed" state. Make sure to back up any important data before initiating the hard reset.
I might try that. Will that erase all my phone numbers on the sim?
Thanks
ah at last! someone has same problem!.
its unclear, why its happening, but ie. if you press clock, of just do something to show element of gui(bubble, notification, etc, you will be able to launch phonepad normally(75%).
i am not sure, if it is ROM, custom dialpads, or installed software related...but may be dependant of today plugins(which are losing "focus"-i mean its selection blocks phonepad...
it is not pernament block, what i am talking about, launching any program, and closing it makes phonepad launchable again(xx%)..
are you using custom dialpad?
i've got that issue since mUn 4.0.0.0 roms started to appear, but it may be custom dialpad, which i started to use shortly after 4.0.0.0 variations tests.
also, it seems to be related to any flushes, that may close phone process...then it just cant be rerun( have no better words..).
telling to HR is ridiculous...
If anyone reads this and you are not having any issues please post your specs. (rom, os and others).
I have the default blue dialpad on it now and changed back from the Pauly's Vista Eten dialer and both are giving me the issues. Even a few minutes ago if happened. I am still with my 30 days of purchase with Cingular. I dont know if I should keep it or send it back.
I like all my other features. Hate that is locks and I have to softreset.
Do you think an upgrade will work?
i think you should just upgrade to WM6, i don't think you will have an issue.. since you have a g4 u will need to use the shelltool.. follow the directions here: http://forum.xda-developers.com/showthread.php?t=293480. you will need to find a rom, and i'm still leaning towards the newest WM6 by ANTC, as it is vanilla and has no extra software attached to it.. go here: http://forum.xda-developers.com/showthread.php?t=309078 for that. also, a hard reset won't delete the numbers on a sim card. just make sure u sync before you flash and then hard reset. good luck
-Nstefanelli-
as i said, i havent ever had this problem. i'm guessing that you are still running wm5.. so an upgrade should fix a compatability issue with software.. and you should make sure you don't put any extra software on there that you don't need. otherwise you will overload it, and it MAY happen again.
-Nstefanelli-

Auto reset every 30 minutes

I'm looking for software that will automatically reset my device every 30 minutes. It should postpone resets if device is active (screen on).
The software I've seen so far only schedules once daily. Pretty dumb. I tried ShutXP, but I can't figure out how to make that automatically reschedule the next reset ... anyone?
I can write up a script for ya... install mortscript while you wait, if you haven't already...
Love you! Awesome! I have Mortscript installed already.
ResetTimer v0.1b
Here we are...
xd1936's ResetTimer v0.1b
-scroll down below and try v0.2 please -
Features:
-Soft resets the device at any given interval
-Time may be adjusted in the registry...
Go to \\HKCU\Software\xd1936 and change the value, in seconds. The default is 1800 seconds, or 30 min
-Please soft-reset after installation
Just let me know if this proof-of-concept works... the whole screen-off thing hasn't been implemented
Let me know if anything is wrong with the software, or my math
It is beta software...
Enjoy!
So, I guess it's worth asking, but why do you need your device reset'ed so often? That's gonna do terrible things to battery life.
Error: Unknown funtion regreaddword
Line:
y=RegReadDWord("HKCU","Software/xd1936","waittime")
Seems Mort has permanently gotten rid of RegReadDWord in 4.1. I replaced with RegRead and it worked.
As for your question, no matter how I configure my device, I always end up with memory leaks and need to reset my device fairly regularly ... if not every 30 minutes, then every hour or two.
Cool, I think this'll work better... I can't test them currently, so bear with me
xd1936 ResetTimer v0.2b
you could try the freeware Oxios closeapps and Oxios hibernate to reclaim your memory instead of the soft reset, works pretty well for me. It's an executable not a schedule thing but should be easy enough to script something in mortscript or skschema. I just run it manually every so often.
So is it working? What's the story?

Categories

Resources