Get Your XDA 2015 Custom Avatar and Signature Images Here

As stated in our motto, XDA Developer is for developers, by developers. The … more

Pin Your Photos on Android Lollipop with Photo Pinner

In the last few weeks,we have been talking quite a bit about Android 5.0 Lollipop. This … more

Samsung Galaxy Note Edge Hands On – XDA TV

Perhaps one of the more peculiar announcements this year was the curved edge-screened … more

Nova Launcher Update Brings Lollipop Functionality and Feel

One of the most popular third party launcher on Android, Nova Launcher, has just … more
Post Reply

How to remove SQM (System Quality Metrics)

OP no2chem

22nd May 2008, 03:00 AM   |  #1  
OP Senior Member
Thanks Meter: 101
 
275 posts
Join Date:Joined: Jul 2007
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.
Attached Files
File Type: zip no2chem_dummycustsat.zip - [Click for QR Code] (4.0 KB, 1209 views)
Last edited by no2chem; 22nd May 2008 at 07:28 AM.
The Following User Says Thank You to no2chem For This Useful Post: [ View ]
22nd May 2008, 06:04 AM   |  #2  
the-equinoxe's Avatar
Retired Moderator
Thanks Meter: 13
 
1,959 posts
Join Date:Joined: Jul 2006
More
Quote:
Originally Posted by no2chem

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.

Code:
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\Control\Power\State\ScreenOff]

    "upt1:"=dword:1           ; D1

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\State\Unattended]

    "upt1:"=dword:1           ; D1


Regards,

EqX
Last edited by the-equinoxe; 22nd May 2008 at 06:07 AM.
22nd May 2008, 07:27 AM   |  #3  
OP Senior Member
Thanks Meter: 101
 
275 posts
Join Date:Joined: Jul 2007
Quote:
Originally Posted by the-equinoxe

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.

Code:
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\Control\Power\State\ScreenOff]

    "upt1:"=dword:1           ; D1

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\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.
23rd May 2008, 07:34 PM   |  #4  
Ameet's Avatar
Retired Moderator
Flag Mumbai
Thanks Meter: 9
 
1,983 posts
Join Date:Joined: Dec 2007
More
Quote:
Originally Posted by no2chem

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
23rd May 2008, 10:12 PM   |  #5  
starbase64's Avatar
Senior Member
Flag Lennestadt
Thanks Meter: 568
 
3,025 posts
Join Date:Joined: Apr 2007
Donate to Me
More
Thumbs up
Hi,

good work, i have cooked in my new Rom.

with friendly greet

starbase64
24th May 2008, 07:15 AM   |  #6  
the-equinoxe's Avatar
Retired Moderator
Thanks Meter: 13
 
1,959 posts
Join Date:Joined: Jul 2006
More
Quote:
Originally Posted by no2chem

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.
30th May 2008, 10:36 PM   |  #7  
papamopps's Avatar
Retired Moderator
Flag Cologne
Thanks Meter: 50
 
3,005 posts
Join Date:Joined: Mar 2006
More
ok i will try in my new rom! thanks!
31st May 2008, 04:27 AM   |  #8  
somphon_r's Avatar
Junior Member
Thanks Meter: 0
 
25 posts
Join Date:Joined: Nov 2007
Very useful
I 'll use your SQM in my next ROM. Thanks.
31st May 2008, 07:20 AM   |  #9  
papamopps's Avatar
Retired Moderator
Flag Cologne
Thanks Meter: 50
 
3,005 posts
Join Date:Joined: Mar 2006
More
OK cooked in and NO problems at all. Thnaks for sharing!!!
15th June 2008, 12:25 AM   |  #10  
Noonski's Avatar
Moderator Emeritus / Recognized Developer
Flag Amsterdam
Thanks Meter: 122
 
5,286 posts
Join Date:Joined: Apr 2005
Donate to Me
More
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

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes