[Windows Mobile Apps and Games] anesh01:
i need help with the overclocking of my phone, im with Verizon, and my max it will work without freezing is 710

here is the script im using

;************************************************* *********************

;Set your speed settings

;41=787

;40=768

;39=748

;38=729

;37=710

;36=691

;35=672

;34=652

;33=633

;32=614

;31=604

;30=576

;29=556

;28=537

Start=RegRead("HKLM", "SOFTWARE\Msm7kCpuSpeed", "AutoPerformanceLevel")

Boost=RegRead("HKLM", "SOFTWARE\Msm7kCpuSpeed", "BoostSpeed")

Safe=RegRead("HKLM", "SOFTWARE\Msm7kCpuSpeed", "SafeSpeed")

If (Start<>0)

start_speed=Start

Else

start_speed=35

RegWriteDWord("HKLM", "SOFTWARE\Msm7kCpuSpeed\", "AutoPerformanceLevel", start_speed)

EndIf

If (Boost<>0)

boost_speed=Boost

Else

boost_speed=37

RegWriteDWord("HKLM", "SOFTWARE\Msm7kCpuSpeed\", "BoostSpeed", boost_speed)

EndIf

If (Safe<>0)

safe_speed=Safe

Else

safe_speed=31

RegWriteDWord("HKLM", "SOFTWARE\Msm7kCpuSpeed\", "SafeSpeed", safe_speed)

EndIf

;************************************************* *********************

; Variables

; Phone call - supposed to be 2 when in call 4 when not in call.

reg_root_phn = "HKLM"

reg_key_phn = "System\State\Phone"

reg_val_phn = "Cellular System Available"

; Check existence of reg key

If ( NOT RegValueExists(reg_root_phn, reg_key_phn, reg_val_phn) )

BigMessage(reg_root_phn, reg_key_phn, reg_val_phn & " was not found!^NL^^NL^Exiting...", "OverClocking ERROR")

Exit

EndIf

; Lockscreen - will be 2 when locked

reg_root_lcs = "HKLM"

reg_key_lcs = "System\State"

reg_val_lcs = "Lock"

; Check existence of reg key

If ( NOT RegValueExists(reg_root_lcs, reg_key_lcs, reg_val_lcs) )

BigMessage(reg_root_lcs, reg_key_lcs, reg_val_lcs & " was not found!^NL^^NL^Exiting...", "OverClocking ERROR")

Exit

EndIf

; Backlight - will be 0 when screen is off, 1 when on

reg_root_bkl = "HKLM"

reg_key_bkl = "Drivers\Display"

reg_val_bkl = "DispOn"

; Check existence of reg key

If ( NOT RegValueExists(reg_root_bkl, reg_key_bkl, reg_val_bkl) )

BigMessage(reg_root_bkl \ reg_key_bkl \ reg_val_bkl & " was not found!^NL^^NL^Exiting...", "OverClocking ERROR")

Exit

EndIf

If (NOT (FileExists("\Windows\StartUp\Msm7kAutoCpuSpeed.ln k")))

RunWait("\Program Files\Msm7kCpuSpeed\Msm7KAutoCpuSpeed.exe", start_speed)

EndIf

RegWriteDWord("HKLM", "SOFTWARE\Msm7kCpuSpeed\", "OverClocked", 2)

Sleep (60000)

;************************************************* *********************

; Set the clock to the desired clock speed

While (1)

; Read registry keys

phn_value = RegRead(reg_root_phn, reg_key_phn, reg_val_phn)

lcs_value = RegRead(reg_root_lcs, reg_key_lcs, reg_val_lcs)

bkl_value = RegRead(reg_root_bkl, reg_key_bkl, reg_val_bkl)

cpu_overclocked = RegRead("HKLM", "SOFTWARE\Msm7kCpuSpeed", "OverClocked")

; Check if On Call, Screen Locked, or Screen off - if so, throttle to Safe Speed

If (((phn_value = 2) OR (lcs_value = 2) OR (bkl_value = 0)) AND (cpu_overclocked <> 0))

RunWait("\Program Files\Msm7kCpuSpeed\Msm7KAutoCpuSpeed.exe", safe_speed)

RegWriteDWord("HKLM", "SOFTWARE\Msm7kCpuSpeed\", "OverClocked", 0)

; Screen is on, not on Call, not Locked - set CPU to Boost Speed

ElseIf (((phn_value <> 2) AND (lcs_value <> 2) AND (bkl_value <> 0)) AND (cpu_overclocked <> 1))

RunWait("\Program Files\Msm7kCpuSpeed\Msm7KAutoCpuSpeed.exe", boost_speed)

RegWriteDWord("HKLM", "SOFTWARE\Msm7kCpuSpeed\", "OverClocked", 1)

Else

Sleep(1000)

EndIf

EndWhile

Exit

--------------------------------------------------------------------------------

Last edited by jpc073

and here is where dispon is in the registry

HKLM\\drivers\display\dispon

Reg dword

data

1

what am i doing wrong ??

any help is appreciated...