View Single Post
  #281 (permalink)  
Old 08-06-2010, 09:01 PM
nayr1482's Avatar
nayr1482
Regular 'Geeker
Offline
 
Join Date: Dec 2009
Posts: 312
Reputation: 1315
nayr1482 is halfway to VIP status based on repnayr1482 is halfway to VIP status based on repnayr1482 is halfway to VIP status based on repnayr1482 is halfway to VIP status based on repnayr1482 is halfway to VIP status based on repnayr1482 is halfway to VIP status based on repnayr1482 is halfway to VIP status based on repnayr1482 is halfway to VIP status based on repnayr1482 is halfway to VIP status based on repnayr1482 is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Overclock TP2 in WM?

OK, to make things easier I have cabbed up the OC_Auto script.

*If upgrading from a cabbed version to a newer cabbed version, uninstall the old version first.


Note: If this post helps you, it would be kind of you to hit the Thanks button

1) Netripper's Msm7kCpuSpeed v2 OC'ing Application MUST be installed in the DEFAULT LOCATION ON YOUR DEVICE (not on your Storage Card)
Get it here: http://netripper.com/raphael/oc/Msm7kCpuSpeed_v2.cab

2) You MUST have MortScript installed. Mortscript cab is attached to this post

3) Install the OC_Auto_v4.2.cab file attached to this post. INSTALL IT TO YOUR STORAGE CARD!!
*Installation will create a shortcut to the script in your startup folder
*Installation will create a shortcut to the GUI in your Programs



Other than that, read the readme!
*******************************


What is OC_Auto for?
- OC_Auto was developed as a "band-aid" fix for the SOD issues created from
Overclocking the TP2 using Netripper's application. Many users were
experiencing SOD after their phone went to SLEEP, made/received a phone call,
or if the Lockscreen engaged.

What does OC_Auto do?
- OC_Auto basically monitors your phone for the above mentioned activities.
When your Backlight turns off, either from you pressing the button or from the
idle timer, OC_Auto runs Msm7kCpuSpeed and sets your CPU frequency to the
"throttle_speed" which prevents SOD from occuring. As soon as the backlight
turns on, you get off of your phone call, or you unlock the lockscreen - the
script runs Msm7kCpuSpeed and sets your CPU frequency to the "boost_speed"

************************************************** ******************************

INSTALLATION REQUIREMENTS:
1) NetRipper's Msm7kCpuSpeed v2 Application MUST be installed in the DEFAULT
LOCATION ON YOUR DEVICE (NOT ON THE STORAGE CARD).
It can be found here: http://forum.xda-developers.com/showthread.php?t=725290

2) Mortscript must be installed on your phone. Location is not important.

3) Run the OC_Auto_vX.x.cab file. Highly recommend that you install to the
DEFAULT LOCATION (which is on your Storage Card). This is for safety as if
you set your CPU Frequency to high and are unable to boot, you can remove
the Storage Card, boot, and lower your CPU frequency via the registry.
*Installation installs the Script, a shortcut to the script in your
/Windows/Startup folder, the GUI, a shortcut to the GUI in your
/Windows/Start Menu folder (the GUI is available in your Programs list)

************************************************** ******************************

SETUP NOTES:
1) Access the GUI via your Programs list and configure your preferred settings.

************************************************** ******************************

EXPLANATION OF GUI TERMS/WINDOWS:
1) Would you like Safe Mode Enabled? (REG: safe_mode, 0=disabled | 1=enabled)
If enabled, Safe Mode provides an PRE-OVERCLOCK state. It sets the
CPU Frequency to "safe_mode_speed" for "safe_mode_duration" milliseconds.
This does two things: One, it is another safety measure you can use when
pushing your OC to find out how high you can go. If you were to set your
CPU frequency too high (prevent boot), with safe mode you would have time
to get into Windows, run the GUI, and lower your CPU frequency. Two, for
Android users out there, this will allow you to boot at Stock Speed (528 )
and give you time to run Haret.
2) Select New Safe Mode Speed: (REG: safe_mode_speed)
If Safe Mode was Enabled, this is the speed your phone will boot at.

3) Select New Safe Mode Duration: (REG: safe_mode_duration)
If Safe Mode was Enabled, this is how long in milliseconds your phone
will remain at the Safe Mode Speed. When this time is over, the phone
will OverClock to the Standard OC Frequency.

4) Safe Mode Settings
This screen reviews the settings you selected and asks if you would like
to apply them. If you select YES these settings will be saved. If you
select NO these settings will be discarded and the GUI will EXIT.

5) Select New Speed: (REG: boost_speed)
This is the OverClocked (standard) CPU frequency your phone will run at.
This speed will run as long as your backlight is on, you are not on a
call, and the lockscreen is not locked...
6) Select New Throttle Speed: (REG: throttle_speed)
This is the speed your CPU will be set to when your backlight is off,
when you are on a phone call, or when the lockscreen is locked. 604mhz
is recommended for a Safe Speed.
7) Select New Poll Interval: (REG: poll_interval)
This is how often the script checks your phones Backlight, Call, and
Lockscreen Status. The lower the number, the more often it checks and
the less chance you will have SOD - HOWEVER the more CPU it uses. A
higher value uses less CPU but checks less often. 1000ms is recommended.

8 )CPU Settings:
This screen reviews the settings you selected and asks if you would like
to apply them. If you select YES these settings will be saved and your
phone will reboot. If you select NO these settings will be discarded
and the GUI will EXIT.

************************************************** ******************************

USE:
Once installed, use only the GUI for changing speeds (do not use Msm7kCpuSpeed).
Msm7kCpuSpeed can be used to CHECK your CPU speed but do not change the speed
and close Msm7kCpuSpeed when done reviewing your speed.
*USE AT YOUR OWN RISK! Not responsible for any damage to your device and/or data,
or for that matter anything =)
Enjoy!

************************************************** ******************************

REVISIONS:
4.21 - added higher speed settings
4.2 - added "STOCKSPEED" as a Safe Mode Speed option (Android Users)
4.1 - added "SAFE MODE" feature
4.0 - added GUI
3.0 - removed redundant REG read/writes, optimized code for faster boot/operation
2.0 - switched to HKLM\SOFTWARE\HTC\DirectShow\isPhoneActive to check Phone Call
Status; more "universal" approach
1.0 - initial release
Attached Files
File Type: cab OC_ Auto_v4.2.cab (17.9 KB, 571 views) Click for barcode!
File Type: cab MortScript-4.2-PPC.cab (190.9 KB, 845 views) Click for barcode!
File Type: txt OC_Auto readme.txt (5.4 KB, 557 views) Click for barcode!
File Type: cab OC_ Auto_v4.21.cab (17.9 KB, 811 views) Click for barcode!

Last edited by nayr1482; 08-08-2010 at 12:01 PM.
Reply With Quote
This post has been thanked 80 times.