View Full Version : WMRegOptimizer - v0.1, October 6, 2008
Chainfire
6th October 2008, 05:44 PM
This small tool was originally inspired by this thread: http://forum.xda-developers.com/showthread.php?t=432966
About
WMRegOptimizer is a small tool that tries to optimize registry access - "defrag" it, if you will. It doesn't perfectly defrag it, but it goes a long way. This results in somewhat faster registry access for applications where this is the bottle-neck.
So this speeds up my device?
Not really. It lowers latency for certain system calls, which may result in some things being a bit faster. It doesn't magically make your device faster, but it may be more responsive in some situations.
Instructions
Install the attached CAB on your device, and run WMRegOptimizer from your start menu.
Before pressing Go, make sure you do the following things:
- Close all running applications
- Uncradle the device
- Put the device in airplane mode
- Be sure your battery isn't on the low side
After the app says it's done, close it, and soft-reset your device.
The app may appear to freeze at times. Do not soft-reset or terminate the app. It will continue. The entire process may take up to 5 minutes.
Things going wrong is unlikely but by no means impossible, we want to minimize that chance. We do this by making sure as few apps and services as possible are using the registry. Mucking about with the registry is a dangerous thing, and if things do go wrong, often a hard-reset is needed to put things right again.
Why soft-reset
Some apps 'monitor' the registry, these will be informed of the changes. This is why you may for example get a QuickGPS popup or your backlight will go to full-power all of a sudden when the app is running. Soft-resetting makes these apps reread the correct data from the registry. The whole operation also messes with the registry a LOT, and this slows down the device as well (probably a bug or memory/handle leak in registry handling somewhere in WM). Again, soft-resetting clears this up.
Testing
This tool has been tested on my Raphael (Touch Pro), Diamond and Kaiser (TyTN II), and seems to work fine. Your milage may vary. The interface isn't much, but hey, it's about what it does :)
PROVIDED "AS-IS". USE AT YOUR OWN RISK. DO NOT REDISTRIBUTE.
DO NOT USE THIS APPLICATION ON A STOCK ROM, YOU WILL BE SORRY. Custom ROMs usually have the right registry permissions/policies to do this, but if not, there's a bigger chance things may go wrong.
AllTheWay
6th October 2008, 05:47 PM
Chainfire you are amazing. Thank you for all your valuable contributions!
ralpheboyo
6th October 2008, 05:58 PM
...will give this a swirl and report back...thanks for the creation!....am i correct in thinking that sktools has a similar feature with reg optimizer...
boggsie
6th October 2008, 06:14 PM
Faster = Better
Thank you for sharing.
Best regards,
-boggsie
jbh00jh
6th October 2008, 06:14 PM
Installed and ran the program , worked great !
Great job !:)
lepsyfou
6th October 2008, 06:34 PM
thank you very much :D Chainfire
nir36
6th October 2008, 06:39 PM
it works fine on my polaris. thanks man
tonyrome6
6th October 2008, 06:42 PM
sounds good. Thanks 4 sharing.
uniqueboy
6th October 2008, 06:45 PM
Hi Chainfire, thanks for the tool. I've just run it on my Diamond and everything still works I'm happy to say. I can't notice any immediate difference but then I didn't expect too, any way seems to be a good app. with no diamond issues, Thanks again. :)
So would you recommend running this regularly, I seem to install and un-install stuff all day long, so is this reg. defrag going to help keep my phone in slick order?
dyetheskin
6th October 2008, 06:55 PM
no good with my tilt,when i soft reset as said to do when it was finished it reset but got stuck on bootscreen
rexypow
6th October 2008, 08:18 PM
thank you very much for your great program! I installed it on my Gene P3400 (lomlom's 20755 rom with manila2d), it definitely response quickly when try to go to setting - system, it is also have improvement when I try to make a call, it is much more faster when I try to send a sms from my contact list, strongly recommended to all Gene P3400 user!
dschoenike
6th October 2008, 09:14 PM
Installed and ran it on my sprint mogul. All is well. Thank you for this, dschoenike
nothin
6th October 2008, 09:52 PM
oh, nice thingy, will test it ASAP.
variosteph
6th October 2008, 09:57 PM
thank you, working great on my kaiser!
steph
boggsie
6th October 2008, 09:59 PM
Seemed to work fine.
The only issue that I had is the completion percentage never exceeded 80% even though the text eventually updated to Complete or whatever the done message happens to be.
Best regards,
-boggsie
Chainfire
6th October 2008, 10:07 PM
So would you recommend running this regularly, I seem to install and un-install stuff all day long, so is this reg. defrag going to help keep my phone in slick order?
Not really. It may help, but it's unclear how fast this whole registry muck-up is, it really depends on your usage of the device. I'd say once a month would be more than adequite for even a heavy user. Unless you notice your device is getting slower and slower, then give it a shot.
Or in short: who knows :D
Seemed to work fine.
The only issue that I had is the completion percentage never exceeded 80% even though the text eventually updated to Complete or whatever the done message happens to be.
That probably means that at 80% it got to a registry key it was not able to manipulate and aborted the operation (note that 99% of the time it will abort in such a case before it 'damages' your setup). Not to worry though, at 80%, you've had pretty much all the registry keys who 'fragment' a lot and cause the slowdowns.
I'll add some code in the next version that just skips the relevant key or gives you an actual error message or whatever :)
monamibouli
6th October 2008, 11:30 PM
I don't see any change for the moment, but thks you for your job
zocster
7th October 2008, 06:40 AM
thanks for this, trialing it out and will report soon, done it and it seems to have improved, any improvement is good improvement for a device this old, until I get my touch 3G!
Cheers!!
Edit it seems to be good for the hermes, the only downside if it is a downside is that it removed my wallpaper, which I can re set by going to the today screen config anyway. But everything seems swell. SPB mobile shell 2.1 crashes less with this, normally it would crash for me once in a day after heavy use. Hasn't yet touch wood.
So ... all in all, I think follow the instructions good for the hermes.
imfloflo
7th October 2008, 09:47 AM
Thanks, i install and run it on my POlaris with the RTM from M-amine.
See any change for the moment, i just lost my register manila weather city and my manila favorite contact after rebooting.
(that's not important :) i'll add them again)
poboxfor
8th October 2008, 11:11 AM
I have just installed and run on my TP. No problem :)
Thanks.
hklcf
8th October 2008, 11:30 AM
thanks you very much
randomelements
8th October 2008, 12:39 PM
Worked okay on my Nike. Got stuck at 93% for ages but went through eventually.
Will have to see how things go. If I don't detect any speed increase at least I know things are a bit tidier ;) Thanks.
lastnikita
8th October 2008, 01:31 PM
hi chainfire, just to let you know that on my samsung omnia, it went to 100% fine.
once exited, the power button stopped reacting (ie no suspend)
I then tried to shut the device down, but once windows was unloaded the backlight stayed on, I had to remove the battery.
Anyway, it worked fine after reboot :)
hkkenchoi
8th October 2008, 07:06 PM
it works, thx for the great work!!
keinenplandavon
8th October 2008, 10:19 PM
it works, thx for the great work!!
I second that! Thanks!
By the way: I backuped the whole phone, softresetted, closed ActiveSync and went into airplane mode before running, I ran the tool, while getting towards 97% my QuickGPS said (i forgot the error message, the ephemeridia data was expired). Clicked OK (99% process in BG, HKLM\Security) as fast as I could but the device was stuck on today screen. None of the buttons worked.
Soft reset, next boot was a bit slower (maybe just felt slower 'cos I looked all the way onto the display hoping nothing went wrong)
So nothing went wrong until now, I ran the tool again. This time it was (i stopped) faster, no QuickGPS-Message (still valid though) and this time device is working normal without reboot - rebooted anyhow 'cos the keyboard-backlight just flickered at keypress.
yeah. works like a charm. SIP opens faster than ever. Thanks!
(well, would be interesting if SKTools Registry Defrag makes something similar or maybe they could work hand-in-hand to get even more defragmented results?)
Maybe it just feels faster
edit: HTC TyTN II german stock rom WM6.1. Going to try this on the Touch Pro from a friend of mine.
wanwarlock
9th October 2008, 03:13 AM
after running this on my prophet, my backlight/timeout timer changed to 10sec. no problem. do see a bit of performance increase.
thanks for this
HRQ.SLV
9th October 2008, 07:56 PM
Chainfire you are great!
Thank you!
zocster
11th October 2008, 01:50 AM
This is best to run after a fresh flash of a ROM, load your apps, run sk tools, then run this, soft reset, and it definitely gave me huge improvement! Thanks again.
snark_be
17th October 2008, 08:15 AM
edit: HTC TyTN II german stock rom WM6.1. Going to try this on the Touch Pro from a friend of mine.
Hi, did you try on the Touch Pro? Is it working fine?
character
29th October 2008, 04:51 AM
Thank so much I have tested it on my wizard and it was a smooth one ... I was waiting it to restart when it was done :)foolish of me:)
I have to say a great one thanks so much
Everything will work great if you will follow the instructions and do remember to put it on device not on storage card
B4PJS
29th October 2008, 01:08 PM
Works fine on TP with stock Vodafone UK ROM :)
electricdemon
29th October 2008, 01:39 PM
Ran the app on my Touch Diamond with UDK's SYRIUS R0 BETA 2 rom, and it compelted to 100% although after a reset it won't boot up anymore :-( time for another hard reset/reinstall.. oh well :(
hklcf
29th October 2008, 04:25 PM
thanks for share
chinhe
8th November 2008, 04:24 PM
hi i installed it on my hermes but when i try to run it it says that its not a pocket pc application.. please suggestions..
Many thanks
alfi07
8th November 2008, 11:37 PM
thank you very much for sharing.
halloj
20th December 2008, 10:56 AM
Hi, did you try on the Touch Pro? Is it working fine?It works fine with my Touch Pro.
Thanks a lot for the app.
Pongpyng
4th January 2009, 02:36 PM
Activesync disconnected all the time after use. But i have a backup :)
Thanks for sharing :D
gold333
6th January 2009, 03:09 AM
Any idea if this will work on the X1?
Does it have an autobackup feature you can restor4 from in case it goes wrong?
johnchan78
6th January 2009, 04:26 AM
Any idea if this will work on the X1?
Does it have an autobackup feature you can restor4 from in case it goes wrong?
Yes anyone know if this works on a stock X1?
The X1's SIP is awefully slow, taking 2-5 seconds after you click to pop up the various SIPs.
dhiru
6th January 2009, 04:40 AM
Yes anyone know if this works on a stock X1?
The X1's SIP is awefully slow, taking 2-5 seconds after you click to pop up the various SIPs.
IF the problem is with sip only then try this it worked on my xperia-
http://forum.xda-developers.com/showthread.php?t=432966
dstony
6th January 2009, 05:15 AM
thanks for share!!!
my decive is now hard-rest.
is it better install it after install other software???
thanks!!!
harry_01
6th January 2009, 06:12 AM
gr8 app thanxs bro nice work
loonaticsz
6th January 2009, 06:48 AM
Any idea if this will work on the X1?
Does it have an autobackup feature you can restor4 from in case it goes wrong?
thanks for sharing!!
im not using STOCK ROM though
i backup whole phone using SPB backup
tried on my X1i JACK's TF3D ROM everything works fine and smoother :)
HyoImowano
22nd January 2009, 05:31 AM
Just ran this on my Touch Pro, went smoothly enough, no big speed differences, but hey, it can't hurt right :)
bradecrain
4th February 2009, 09:54 PM
Hey chainfire I really appreciate your efforts on this program. I was wondering if you would recompile the exe file to carry an icon so were not looking at the ugly default program icon in windows mobile?
Chainfire
4th February 2009, 09:55 PM
Make me an icon and I'll put it in :)
bradecrain
5th February 2009, 12:46 AM
Make me an icon and I'll put it in :)
Here are some vista icons for memory and defrag.... I combined one of them but I dont knwo if anyone will like it :(. Let me know if these are good and I will upload png
hanackin
5th February 2009, 03:00 AM
HI!
This app was really awesome on my Touch (ELF) :cool:
But will it also work on my HD... ? :D
the_passenger
7th May 2009, 02:57 AM
Thanks for the utility.
papalepoepie
24th May 2009, 12:36 AM
Very nice application. Thanks for sharing.
This icon would be nice...
Mountain87
5th June 2009, 12:29 PM
Do i need restart ur program after sort resert ??
hanackin
5th June 2009, 12:36 PM
it is written in the description dude :cool:
yes you have to ;)
Mikulec
5th June 2009, 02:48 PM
it is written in the description dude :cool:
yes you have to ;)
I only see that u have to soft reset after its done, there is not mentioned that u need to rerun the application. :rolleyes:
tito12
5th June 2009, 03:09 PM
Works well on my device, Elfin running WM 6.5 rom, I noticed a faster scrolling in contacts, and instant reaction in settings\system :)
Thanks Chainfire.
Will you continue dev on this app ?
fusi
26th August 2009, 08:43 PM
used this on my kaiser ages ago and it worked brilliantly - ive now got a raph and i figured i might give it a whirl on this device too.
anyway, while it was doing something with HKCU/Software at 94% i got the following error message:
Runtime error 202 at
$03F99CF0
$03F99CF0
the phone seems fine, cant see anything broken as a result (im guessing its mostly app settings and junk in HKCU/Software - stuff that isnt critially critical right?), so im more wondering what the error means and why it might have occurred. maybe it was a certain key that was in use and regoptimiser couldnt move/rename/do whatever it does as a result.
anyone got some input? maybe had the same error message or different?
(btw im using a custom rom (i know :p) - nrg rom 23016 [2k9.08.11])
peace
fusi
hoopsta1423
17th September 2009, 08:37 PM
anybody try this with a TP2 yet?
noidtluom
19th October 2009, 01:42 PM
Trying this on my Hermes running WM 6.5.
Ran without problems (quite quickly too), soft resetted with no problems. Didn't notice much of a difference though
motocrossmann
21st October 2009, 02:52 AM
anybody try this with a TP2 yet?
Works fine on my TP2. Not a huge difference, but even a little improvement is worth it.
mbenksky
8th January 2010, 11:24 AM
Works well on my sgh-i600 device, running with WM 6.5 rom
Thanks Chainfire.
apisfuat
18th October 2010, 02:01 AM
tested and not working..
after a soft reset,my touch 2 stuck at boot forever..haihhh seriously not recommended.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.