PDA

View Full Version : How to remove SQM (System Quality Metrics)


no2chem
22-05-2008, 04:00 AM
A few people have been trying to figure out how to get rid of SQM, and custsat.dll was causing most of the errors. I posted a few weeks ago in the kaiser forum the I was going to post how to do it, but forgot. Anyway, removing SQM is now simple (for ROM cooks):

1. Delete SQM package from SYS
2. Place my dummy custsat.dll (attatched).

...dummy custsat is a dummy custsat.dll that exports all correct ordinals, and simply returns zero for all functions. SQM is a reporting library that apparently sends non-personal information to microsoft about your pocketpc's performance. note this is for wm6.1, wm6 you can just delete sqm.

the-equinoxe
22-05-2008, 07:04 AM
A few people have been trying to figure out how to get rid of SQM, and custsat.dll was causing most of the errors. I posted a few weeks ago in the kaiser forum the I was going to post how to do it, but forgot. Anyway, removing SQM is now simple (for ROM cooks):

1. Delete SQM package from SYS
2. Place my dummy custsat.dll (attatched).

...dummy custsat is a dummy custsat.dll that exports all correct ordinals, and simply returns zero for all functions. SQM is a reporting library that apparently sends non-personal information to microsoft about your pocketpc's performance.

Wouldn't it be easier to remove the whole SQM package:
-custsat.dll
sqmce.dll
sqmconn.dll
sqmdata.dll
sqmevent.exe
sqmsvc.dll
uptime.dll
uptimesqm.exe
AND remove the RGU entries from the Hive?

Then the whole package wouldn't be called upon anymore, so no errors with custsat.dll etc.


REGEDIT4

[HKEY_LOCAL_MACHINE\System\SQM]

"Enabled"=dword:1 ; Device-wide SQM enabled state

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SqmEngine]

"Dll"="sqmce.dll"

"Prefix"="SQM"

"Index"=dword:1

"Order"=dword:1

"IClass"=multi_sz:"{A32942B7-920C-486b-B0E6-92A702A99B35}"

"Flags"=dword:2

[HKEY_LOCAL_MACHINE\System\SQM\Engine]

"MachineId"="{00000000-0000-0000-0000-000000000000}"

"UserId"="{00000000-0000-0000-0000-000000000000}"

"MaximumSessionSize"=dword:FFFF ; Default: 64 KB

"MaximumPacketPoolSize"=dword:FF ; Default: 255

"MaximumFileQueueSize"=dword:20 ; Default: 32

"MaximumUploadFolderSize"=dword:40000 ; Default: 256 KB

"PacketProcessorThreadPriority"=dword:FB ; Default: THREAD_PRIORITY_NORMAL (251)

"UploadFolderFilePattern"="_%d.dat"

"PersistentSessionFolder"="\\Windows\\System\\SQM\\Sessions\\"

[HKEY_LOCAL_MACHINE\System\SQM\Sessions\Global]

"MaxSize"=dword:FA0

"Timeout"=dword:15180 ; one day in milliseconds

"Persistent"=dword:1

[HKEY_LOCAL_MACHINE\System\SQM\Sessions\PMWeek]

"MaxSize"=dword:FA0

"Timeout"=dword:93A80 ; one week in milliseconds

"Persistent"=dword:1

[HKEY_LOCAL_MACHINE\System\SQM\UploadSettings]

"UploadFolder"="\\Windows\\System\\SQM\\Files"

"UploadEvent"="System/SqmUploadReady"

"UploadRetryInterval"=dword:5265C00

"ThrottleInterval"=dword:48190800

"ConnectionFlags"=dword:1

[HKEY_LOCAL_MACHINE\Services\SqmUpload]

"Context"=dword:0

"Dll"="sqmsvc.dll"

"Order"=dword:99

"Keep"=dword:1

"Prefix"="SQM"

"Index"=dword:0

"DelayLoadOnEvents"="SDP_DATA_AVAILABLE"

[HKEY_LOCAL_MACHINE\System\SQM]

"Enabled"=dword:0 ; Device-wide SQM enabled state

"EnableUI"=dword:1 ; Show event-triggered prompt to join and control panel applet

"PromptDelayMin"=dword:F ; Number of minutes (in hex) to delay before displaying prompt after receiving initial event notification

[HKEY_LOCAL_MACHINE\System\SQM\Sessions]

"MaxTransient"=dword:100

"TransientSignature"="sqmdata%02d.sqm"

"TransientDir"="\\windows\\SqmTempFiles"

"TransientFlags"=dword:0

"FlushInterval"=dword:0

[HKEY_LOCAL_MACHINE\System\SQM\Sessions\Global]

"MaxSize"=dword:5000

"Timeout"=dword:15180

"Persistent"=dword:1

"Flush"=dword:1

"SessionCount"=dword:0

[HKEY_LOCAL_MACHINE\System\SQM\Sessions\BiWeekly]

"MaxSize"=dword:FA0

"Timeout"=dword:127500

"Persistent"=dword:1

"Flush"=dword:1

"SessionCount"=dword:0

[HKEY_LOCAL_MACHINE\System\SQM\UploadSettings]

"ConnectionDll"="sqmconn.dll"

"ConnectionFlags"=dword:0

[HKEY_LOCAL_MACHINE\System\Uptime]

"Interval"=dword:258

"UserFix"=dword:B4

[HKEY_LOCAL_MACHINE\init]

"Launch100"="uptimesqm.exe"

"Depend100"=hex:3c,00 ; services(=0x3c)

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Power\State\ScreenOff]

"upt1:"=dword:1 ; D1

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Power\State\Unattended]

"upt1:"=dword:1 ; D1





Regards,

EqX

no2chem
22-05-2008, 08:27 AM
Wouldn't it be easier to remove the whole SQM package:
-custsat.dll
sqmce.dll
sqmconn.dll
sqmdata.dll
sqmevent.exe
sqmsvc.dll
uptime.dll
uptimesqm.exe
AND remove the RGU entries from the Hive?

Then the whole package wouldn't be called upon anymore, so no errors with custsat.dll etc.


REGEDIT4

[HKEY_LOCAL_MACHINE\System\SQM]

"Enabled"=dword:1 ; Device-wide SQM enabled state

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SqmEngine]

"Dll"="sqmce.dll"

"Prefix"="SQM"

"Index"=dword:1

"Order"=dword:1

"IClass"=multi_sz:"{A32942B7-920C-486b-B0E6-92A702A99B35}"

"Flags"=dword:2

[HKEY_LOCAL_MACHINE\System\SQM\Engine]

"MachineId"="{00000000-0000-0000-0000-000000000000}"

"UserId"="{00000000-0000-0000-0000-000000000000}"

"MaximumSessionSize"=dword:FFFF ; Default: 64 KB

"MaximumPacketPoolSize"=dword:FF ; Default: 255

"MaximumFileQueueSize"=dword:20 ; Default: 32

"MaximumUploadFolderSize"=dword:40000 ; Default: 256 KB

"PacketProcessorThreadPriority"=dword:FB ; Default: THREAD_PRIORITY_NORMAL (251)

"UploadFolderFilePattern"="_%d.dat"

"PersistentSessionFolder"="\\Windows\\System\\SQM\\Sessions\\"

[HKEY_LOCAL_MACHINE\System\SQM\Sessions\Global]

"MaxSize"=dword:FA0

"Timeout"=dword:15180 ; one day in milliseconds

"Persistent"=dword:1

[HKEY_LOCAL_MACHINE\System\SQM\Sessions\PMWeek]

"MaxSize"=dword:FA0

"Timeout"=dword:93A80 ; one week in milliseconds

"Persistent"=dword:1

[HKEY_LOCAL_MACHINE\System\SQM\UploadSettings]

"UploadFolder"="\\Windows\\System\\SQM\\Files"

"UploadEvent"="System/SqmUploadReady"

"UploadRetryInterval"=dword:5265C00

"ThrottleInterval"=dword:48190800

"ConnectionFlags"=dword:1

[HKEY_LOCAL_MACHINE\Services\SqmUpload]

"Context"=dword:0

"Dll"="sqmsvc.dll"

"Order"=dword:99

"Keep"=dword:1

"Prefix"="SQM"

"Index"=dword:0

"DelayLoadOnEvents"="SDP_DATA_AVAILABLE"

[HKEY_LOCAL_MACHINE\System\SQM]

"Enabled"=dword:0 ; Device-wide SQM enabled state

"EnableUI"=dword:1 ; Show event-triggered prompt to join and control panel applet

"PromptDelayMin"=dword:F ; Number of minutes (in hex) to delay before displaying prompt after receiving initial event notification

[HKEY_LOCAL_MACHINE\System\SQM\Sessions]

"MaxTransient"=dword:100

"TransientSignature"="sqmdata%02d.sqm"

"TransientDir"="\\windows\\SqmTempFiles"

"TransientFlags"=dword:0

"FlushInterval"=dword:0

[HKEY_LOCAL_MACHINE\System\SQM\Sessions\Global]

"MaxSize"=dword:5000

"Timeout"=dword:15180

"Persistent"=dword:1

"Flush"=dword:1

"SessionCount"=dword:0

[HKEY_LOCAL_MACHINE\System\SQM\Sessions\BiWeekly]

"MaxSize"=dword:FA0

"Timeout"=dword:127500

"Persistent"=dword:1

"Flush"=dword:1

"SessionCount"=dword:0

[HKEY_LOCAL_MACHINE\System\SQM\UploadSettings]

"ConnectionDll"="sqmconn.dll"

"ConnectionFlags"=dword:0

[HKEY_LOCAL_MACHINE\System\Uptime]

"Interval"=dword:258

"UserFix"=dword:B4

[HKEY_LOCAL_MACHINE\init]

"Launch100"="uptimesqm.exe"

"Depend100"=hex:3c,00 ; services(=0x3c)

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Power\State\ScreenOff]

"upt1:"=dword:1 ; D1

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Power\State\Unattended]

"upt1:"=dword:1 ; D1





Regards,

EqX

if you tried that in wm6.1, you would quickly discover that unresolved imports will cause everything from tmail.exe to cprog.exe not to execute.

ababrekar
23-05-2008, 08:34 PM
2. Place my dummy custsat.dll (attatched)

hey no2chem.. will try this out, but where should i place this file? in windows? i mean is it ok if i just place this file of urs in oemapps (it will automatically get stored in windows, rite?)

EDIT: sorry.. posted too early b4 i saw what was nside :) sorry again.. please ignore my question

starbase64
23-05-2008, 11:12 PM
Hi,

good work, i have cooked in my new Rom.

with friendly greet

starbase64

the-equinoxe
24-05-2008, 08:15 AM
if you tried that in wm6.1, you would quickly discover that unresolved imports will cause everything from tmail.exe to cprog.exe not to execute.

Ahh, I (obviously) haven't tried that in WM6.1 (haven't cooked a WM 6.1 ROM yet).

Well done, I'll going to use your dll when I decide to cook me a WM6.1 ROM.

papamopps
30-05-2008, 11:36 PM
ok i will try in my new rom! thanks!

somphon_r
31-05-2008, 05:27 AM
I 'll use your SQM in my next ROM. Thanks.

papamopps
31-05-2008, 08:20 AM
OK cooked in and NO problems at all. Thnaks for sharing!!!

Noonski
15-06-2008, 01:25 AM
What i didn't post thanks for this...

Dammit, muchos gracias great job testing now.

I wnet almost insane trying to get rid of SQM in WM 6.1

epimazzo
15-06-2008, 03:12 AM
Worked on this side of the coin!:D

Thanks a lot!:cool:

vivi
15-06-2008, 05:03 AM
I used this with WM 6.1 Classic edition for Hx4700( remove Phone and related phone folder in SYS) , returned error.
I deleted all except original custsat and rgu and dsm , no error.
I used with ASUS P525 and hTC Cruise , all's OK.
Thanks.
vivi

jcespi2005
22-06-2008, 06:08 PM
A few people have been trying to figure out how to get rid of SQM, and custsat.dll was causing most of the errors. I posted a few weeks ago in the kaiser forum the I was going to post how to do it, but forgot. Anyway, removing SQM is now simple (for ROM cooks):

1. Delete SQM package from SYS
2. Place my dummy custsat.dll (attatched).

...dummy custsat is a dummy custsat.dll that exports all correct ordinals, and simply returns zero for all functions. SQM is a reporting library that apparently sends non-personal information to microsoft about your pocketpc's performance. note this is for wm6.1, wm6 you can just delete sqm.

Thanks for this ;)

I'll try in my Spanish Lite ROM for Kaiser...

One question, may i delete ceipui.exe too or this is not related to this? I have tryied a WM5 mxip_notify.vol that does not include the two ceipui.exe notifications, but the ROM don't boot...

CHeers

Cheers

raiisak
04-08-2008, 01:59 PM
Thanks for this ;)

I'll try in my Spanish Lite ROM for Kaiser...

One question, may i delete ceipui.exe too or this is not related to this? I have tryied a WM5 mxip_notify.vol that does not include the two ceipui.exe notifications, but the ROM don't boot...

CHeers

Cheers

Since noone responded to that I am gonna answer to cut other peoples problems away. If you try the other way incl. deleting ceipui.exe you will have seriouse activesync issues. People on vista (some, specialy those who havent updated theyre computer) wount be saved by sktools for cleaning up and make a new repllog session. So my experience is that deleting ceipui.exe is not a smart move :rolleyes:

jcespi2005
04-09-2008, 05:06 PM
Since noone responded to that I am gonna answer to cut other peoples problems away. If you try the other way incl. deleting ceipui.exe you will have seriouse activesync issues. People on vista (some, specialy those who havent updated theyre computer) wount be saved by sktools for cleaning up and make a new repllog session. So my experience is that deleting ceipui.exe is not a smart move :rolleyes:

Thanks for your answer...

Finally found a MIX_NOTIFY.VOL without ceipui notifications that works for me in my lite spanish ROM ;)

Cheers.

schreda
05-09-2008, 09:18 PM
one question... where i have to place this dll?