Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Chainfire
Old
(Last edited by Chainfire; 6th October 2008 at 04:51 PM.)
#1  
Chainfire's Avatar
Senior Moderator / Elite Recognized Developer - OP
Thanks Meter 31547
Posts: 7,994
Join Date: Oct 2007

 
DONATE TO ME
Default WMRegOptimizer - v0.1, October 6, 2008

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.
Attached Files
File Type: cab WMRegOptimizer.cab - [Click for QR Code] (86.8 KB, 4091 views)
BLOG - G+(Chainfire) - G+(Personal) - TWITTER - IRC - DONATE

Android
HTC G1, Hero
Samsung i5800, i9000*2, P1000*2, P7100, i9100*2, N7000, P6800, i9300, N7100, i9505
Sony T LT30p, Z C6603
Nexus Galaxy*2, N7, N10

SuperSU, Mobile ODIN, TriangleAway, DSLR Controller, CF-Root, USB Host Diagnostics, ExynosAbuseAPK, Live dmesg+logcat, NoMoarPowah!, CF-Bench, Chainfire3D, CF.lumen, SGS2 SIM Unlocker, GingerBreakAPK, SuperPower, and more!

Windows Mobile 5/6
E-Mobile EM-ONE
HTC Wizard*2, Kaiser, Touch, Diamond, Pro, HD*2, Diamond 2, Pro 2*2, HD2*2
Samsung i780, i900*2, i8000*2, b7300, b7320, b7330, b7620*2, b6520

WMWifiRouter, KaiserTweak, FPUEnabler, WMLongLife, WMRegOptimizer, CFC+GUI, TF3D+v2 ports, Kaiser+Omnia2+Snapdragon 3D drivers, GfxBoost, and more!

Windows Phone 7
LG GW910

NOTICE: I do not respond to tech support questions through PM.
 
AllTheWay
Old
#2  
AllTheWay's Avatar
Retired Senior Moderator
Thanks Meter 67
Posts: 5,408
Join Date: Apr 2007
Location: Placerville, California
Chainfire you are amazing. Thank you for all your valuable contributions!
Current Devices

Samsung Galaxy Note | HTC One X | Samsung Galaxy S II
ASUS Transformer | HP TouchPad
LG Thrill 4G | Samsung Galaxy S II SkyRocket | Samsung Infuse 4G | HTC Inspire
Motorola Atrix 4G


Samsung Focus | Samsung Captivate
HTC HD2 - CW7
BlackBerry Bold 9800 "Torch" | BlackBerry Bold 9700
Palm Pre Plus


What is XDA-DEVS
RULES: Please read this before posting
 
ralpheboyo
Old
#3  
ralpheboyo's Avatar
Senior Member
Thanks Meter 6
Posts: 517
Join Date: Nov 2005
Location: Amsterdam
Default hahaha...

...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...
Blue Angel, Wizard, Kaiser, Leo,SG3
 
boggsie
Old
#4  
Senior Member
Thanks Meter 34
Posts: 395
Join Date: Oct 2007
Location: Columbus
Faster = Better

Thank you for sharing.

Best regards,
-boggsie
 
jbh00jh
Old
#5  
jbh00jh's Avatar
Senior Member
Thanks Meter 79
Posts: 1,738
Join Date: Oct 2007
Location: Columbia, SC
Installed and ran the program , worked great !
Great job !
 
lepsyfou
Old
#6  
lepsyfou's Avatar
Senior Member
Thanks Meter 2
Posts: 1,570
Join Date: May 2007
Location: Montreal ( and Lille France)
thank you very much Chainfire
 
nir36
Old
#7  
nir36's Avatar
Retired Moderator
Thanks Meter 204
Posts: 3,844
Join Date: Dec 2007
Location: Jerusalem
it works fine on my polaris. thanks man
 
tonyrome6
Old
#8  
Member
Thanks Meter 0
Posts: 91
Join Date: Dec 2007
sounds good. Thanks 4 sharing.
 
uniqueboy
Old
#9  
uniqueboy's Avatar
Senior Member
Thanks Meter 5
Posts: 1,414
Join Date: Apr 2006
Default Cool for Diamond

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?
If You Would Like To Smile More.....Then Smile More
 
dyetheskin
Old
#10  
dyetheskin's Avatar
Senior Member
Thanks Meter 229
Posts: 2,022
Join Date: Dec 2006
Location: bensalem, pa
no good with my tilt,when i soft reset as said to do when it was finished it reset but got stuck on bootscreen
"Takes A Freak To Please A Freak"


 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Learn to Edit Graphics for your Development Work

The importance of good and appropriate graphics for your development work is undeniable. Be … more

Tasker Alternative: AutomateIt, Automates Your Device Tasks – XDA Developer TV

XDA Developer TV Producer Kevin wants to help make your … more

Preventing App Piracy: Join the Discussion

The topic of piracy is always a touchy subject, but I feel that the grass roots style of Android … more

Jolla Sailfish OS Flagship Device Makes First Appearance

Given the amount of coverage that Android receives around here, you could almost be … more