Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Tip us?
 
moneytoo
Old
(Last edited by moneytoo; 6th January 2008 at 01:15 AM.)
#1  
moneytoo's Avatar
Senior Member - OP
Thanks Meter 33
Posts: 970
Join Date: Feb 2007
Location: Prague
Default Registry tweaks to save some RAM

The most important thing. Back up your user data!! You cant harm your device since you can almost in any case master reset but when performing master reset the internal storage will be erased. Back up your registry as well. Some services, networks and relateed stuff may stop working.

Every time WM boots, system writes amount of free memory. Check it and compare free memory spare after performing selected tweaks.

HKCU\Performance\Available RAM on boot

I have performed master reset, set Default homescreen (WeatherUpdateService take too much ram space), installed Resco Explorer, Registry Editor, Celetask, and Oxios Memory. Micro SD is inserted but all programs are stored in internal memory.

Do not continue without registry backup (PHM Registry Editor works fine) and back up of user data from internal memory (Sprite Backup)!

Tweaks:

Safe to modify.
At your own risk.

Go to Start Menu -> Connection Setup and check if "Enable Auto Configuration" is turned off.

\Windows\StartUp (Delete)
- btdwake.lnk
- PKG.lnk


btdwake = Bluetooth Disk Driver (BT FTP)

HKLM\init (Delete)
- Launch98: TimeWizard.exe
- Launch99: SAPSettings.exe
- Launch100: uptimesqm.exe
- Depend100
- Launch101: ConnectionSetupAuto.exe


HKLM\Services (Delete. Be vary carful with these keys! WM may not start if you delete needed key. Backup this registry if you would need these services in the future.)
- App
- BTAGSVC
- BthAsPlugin
- BTHIDSVC
- CERTENROL
- Clock
- GPSDaemonService
- HtcServices
- OBEX
- SDS
- SNApi
- SqmUpload
- Stk_service
- USSD
- Windows Live


HKLM\Services (Delete)
- Trusted (this key cannot be deleted, so delete all values except "SIMInit: siminit.dll")


HKLM\System\StorageManager\FATFS (Set)
- EnableCache: 0

HKCU\Software\HTC\ConectionSetup (Set)
- EnableAUTODetect: 0
- EnableAutoNotify: 0

HKLM\Drivers\BuiltIn (Create "Flags: 4" (DWORD))
- Error Reporting
- DebugLog
- DebugLog_PMIOCTL
- SmartCard

HKLM\Drivers\BuiltIn\ipsecsvc (Change)
- Flags: 4

HKLM\Comm\Cellular\Wap\Driver (Change)
- Flags: 4



Wings defaults:
- Available RAM on boot: 19 701 640 B
- Task Manager shows: 19,252 KB
- Freeing memory using Oxios Hibernate: 20 260 KB
- Task Manager shows then: 19,720 KB

After the tweaks:
- Available RAM on boot: 21 381 120 B
- Task Manager shows: 20,736 KB
- Freeing memory using Oxios Hibernate: 21696 KB
- Task Manager shows then: 21,356 KB


Well, cca 1.5 MB isnt too much but since there is so little RAM, every single MB counts.
Now I have to put all the programs back on Wings and see if there will be any change.


Notes:
- "Flag = 4" means service wont be loaded
- I tried to set "Keep = 0" for services in "HKLM\Services" but it just did not work so smooth as deleting. ("Keep = 0" should unload the service after initialization)
- Its mostly BlueTooth/OBEX/A2DP, SIM/SIM Toolkit, network services... which i dont use so much.

Do you know any other RAM saving tweak (only memory related)?
Has anyone tried to change IE cache limit? It returns back to 5120 after reset...
 
Rytt55
Old
#2  
Senior Member
Thanks Meter 1
Posts: 132
Join Date: Dec 2007
Location: Minneapolis
Default Weather Program

This does sound awesome! But I do not want to change my home screen. From what your saying also, it seems that the weather program (2nd icon) is constantly on (auto update and display), which in turn, is using up RAM. Is it possible to just close/delete it from windows itself or the registry? I think this will give us at least another 5-6k in ram which will put us at around 18 or so from start. I am fine with 18, but not 12 from start.
 
moneytoo
Old
#3  
moneytoo's Avatar
Senior Member - OP
Thanks Meter 33
Posts: 970
Join Date: Feb 2007
Location: Prague
If you dont use the HTC homescreen the Weather Update wont be loaded. Otherwise you just have to live with that.
 
saman-cz
Old
#4  
Senior Member
Thanks Meter 0
Posts: 225
Join Date: Nov 2005
This is pretty crazy. You advice do delete services without explaining what each do..
For example:
Stk_service - what if user wants to use SIM Toolkit?
OBEX- sending files, contacts over bluetooth?
 
moneytoo
Old
#5  
moneytoo's Avatar
Senior Member - OP
Thanks Meter 33
Posts: 970
Join Date: Feb 2007
Location: Prague
If users want to use BT (OBEX, A2DP, HID, GPS), SIM Toolkit, USSD messages, Windows Live... then they just have to not delete these services or restore them from backup (just import missing registry).
I thing the memory size is much more crazy than this.
 
A.Bagatov
Old
#6  
Senior Member
Thanks Meter 0
Posts: 212
Join Date: Dec 2006
Thanks a lot! I will try it soon.
 
qumran
Old
(Last edited by qumran; 22nd January 2008 at 08:39 PM.) Reason: Error
#7  
qumran's Avatar
Member
Thanks Meter 0
Posts: 40
Join Date: Dec 2007
Hi! Thanks for the great tips!

I did ALL the tweaks described and now my windows messenger does not start, I thought i did a registry backup but apparently i screwed up. Does anybody now what values i have to re-enter to get messenger to start working again without doing a reset?

Thanks...

(I know i totally screwed up when there was BIG RED LETTERS SAYING "Do not continue without registry backup (PHM Registry Editor works fine) and back up of user data from internal memory (Sprite Backup)!" but i did. Kick me)
 
undac
Old
#8  
Senior Member
Thanks Meter 0
Posts: 378
Join Date: Dec 2007
one (or more) of these tweaks makes my SMS service stop working (no matter if I choose to recieve/send SMS over gprs or gsm)

any which one that would be? (I know I could just try them all )
 
Contedracula
Old
#9  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Dec 2007
Hi!
Someone has tryed to install fring on this device?
I did it yesterday and i disable autostart immediately, but i have seen that before installing it i had 4-6 mb free cleaning the ram with terminate all and now about 9 not cleaning and 10-11 closing all apps.
I have no time for a complete test at the moment but if someone can try to install fring and test the phone it will be great.

Bye
 
MickyMax
Old
#10  
MickyMax's Avatar
Senior Member
Thanks Meter 41
Posts: 761
Join Date: Nov 2007
When I disable this service, I can't send any SMS !

Quote:
HKLM\Comm\Cellular\Wap\Driver (Change)
- Flags: 4
Motorola RAZR HD
Please click "Thanks" button if my post helps you...

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Boot Animation Paradise for your Android Device

The default boot animations on any device, no matter whichmanufacturer, are generally pretty … more

Flash Custom ROM and Recovery to Samsung Galaxy S 4

After reading about Dan Rosenberg’s bootloader exploit for the Samsung Galaxy S 4,I … more

Windows-Based Multi-Tool for the Sony Xperia U

If you are a flashaholic and an owner of the Sony Xperia U, you may be interested in the … more

XDA University: Crafting Recovery-Flashable Packages

Those of us who use Linux on a day to day basis don’t think twice about sinking … more