yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] SpinalRemains:
I figured it out and I'm running steady at 729 for now with no SOD and it's all well and good now.

I made the biggest bonehead error ever. Nothing to do with storage card or placement of the script. I simply highlighted too far when copying the script to notepad and I didn't catch it in time so the script wasn't running properly because there was 1 extra line. Weird tho..... I didn't get any error messages or "Program aborting" messages. The script even worked occasionally.????????? :confused:

BTW, this method really does seem superior than the button remapping for those who are compatible with it. Less to do and you keep your power button set at default with no lag or delay. Whatever floats your boat I suppose. I like the simple addition of 1 script.
[Windows Mobile Apps and Games] HC4Life:
The problem is i don't know how to do that. For example i don't have the "DispOn" reg.

Any help? :(
[Windows Mobile Apps and Games] Doo Doo:
Glad to see you got it working i agree 100% i rather use just 1 script than use 2 or more scripts + 3rd party apps just to overclock my device :D:D:D
[Windows Mobile Apps and Games] SpinalRemains:
Thx. I'm glad too. Initially I was walkin around about my business opening app\sliding to 768\usin phone for whatever...........opening app\clicking magic 604 button and putting t sleep again. The phone was snappy as hell but that method of OC delivery got tired.

Burus tutorial is great and simple but sadly that script didn't work for me. Finally I realized I could do jpc's upgraded script and it seems good so far. Like others suggest; I will work it like this for a few days and if all is well I will update the script to a higher OC value (749) and work that. My phone was stable at 769 the highest so Im guessing that will be my final destination when all is said and done.
[Windows Mobile Apps and Games] Doo Doo:
I wish i could overclock mine that high your lucky 729 is my stable speed
[Windows Mobile Apps and Games] SpinalRemains:
To be honest there isn't too much of a differnce between the two. My Sense CHT seems to be a little bit smoother from 728 to 768, but not nearly as dramatic as stock to 728 obviously. Don't worry about it. Compared to 528 you're flyin either way. It's like a new device to me.
[Windows Mobile Apps and Games] eXceed:
I'm on 787Mhz or thereabouts :P lol
[Windows Mobile Apps and Games] docnas:
Ive been waiting on the sidelines ( checking out this thread atleast 4 times a day) hoping there would be some breakthrough with the overclocking and the SOD issues without resorting to scripting or such workarounds but my need for speed has overcome me, im looking at jpc script

http://xdaforums.com/showpost.php?p=7344437&postcount=602

which seems to me the easiest one which covers almost all the bases

Excellent stuff man heres hoping its as stable for me as it is for u.
[Windows Mobile Apps and Games] aldamon:
jpc's script worked great for me after I changed the location of DispOn. Night and day difference in WinMo overclocked. Zero problems at 768 with the script in the startup folder. Opera Mobile just flies now.

Also, I run without Sense and use Today plugins. Way better than hacked Android at this point.
[Windows Mobile Apps and Games] jerryyyyy:
Wow, have been following and missed a few days now up to 72 pages! This looks like the best script, but I still had freezes with it earlier. Guess I'll try again.
[Windows Mobile Apps and Games] prboy1969:
Ok so I've read threw it again for the 20th time :confused: . I'm still a little confused . I want to use the script you mentioned ( I believe it's this one ) : http://xdaforums.com/show...&postcount=602 . But I'm not exactley sure how to do it . Noob at this can someone please give me a noob step by step ?
[Windows Mobile Apps and Games] Doo Doo:
What kind of phone do you have?

Post it in your sig like mine!!!
[Windows Mobile Apps and Games] prboy1969:
Sprint TP2 .
[Windows Mobile Apps and Games] Doo Doo:
what rom are you using & do you have mortscript installed?

also do you have a regedit program installed?
[Windows Mobile Apps and Games] prboy1969:
Using MR. X RhodiumW_2.5 ROM . Don't have mortscript installed . Have PHM reg editor .
[Windows Mobile Apps and Games] Doo Doo:
download & install mortscript file attached

http://www.sto-helit.de/downloads/mortscript/MortScript-4.2.zip
[Windows Mobile Apps and Games] prboy1969:
To where ? And how ? Step by step , please .
[Windows Mobile Apps and Games] manbat:
Download CAB and install.....

Download CAB and install.....Mine is installed to SD Card. Works fine.
[Windows Mobile Apps and Games] prboy1969:
Which one there's three ?
[Windows Mobile Apps and Games] manbat:
This is the Tutorial

This is the Tutorial:http://xdaforums.com/showpost.php?p=7330081&postcount=529
[Windows Mobile Apps and Games] manbat:
The PPC Cab

=============

The PPC Cab in the ZIP.
[Windows Mobile Apps and Games] prboy1969:
Ok . But I want to use this script : http://xdaforums.com/showpost.php?p=7344437&postcount=602
[Windows Mobile Apps and Games] manbat:
You have to have MortScript installed .........

You have to have MortScript installed .........to use the "MortScript" script. If you want to use the script in post 602 . The tutorial is another method...still needs mortscript. You are running a Mr.X ROM. Does it have MortScript "Pre-installed"?
[Windows Mobile Apps and Games] prboy1969:
No it doesn't have Mortscript Pre-installed . What's the other method ?
[Windows Mobile Apps and Games] purian23:
Thanks for all your help! It's been help here too lol. So I copy & pasted JPC's script from post 602 into a .mscr file..Saved and place into windows/startup folder, then Installed MortScript-4.3b11-PPC. Rebooted and now getting this: ( HKCU\ControlPanel\Backlight\DispOn was not found! .. Exiting.. ) Any help would be great !! :)

EDIT: May be fixed with the post above ^ ^^ .. Reading.. Still any input is awesome..! Thanks everyone involed.!
[Windows Mobile Apps and Games] manbat:
I believe that all successful.......

I believe that all successful.......users of the "overclocker" are using scripts. What have you installed on your phone so far?
[Windows Mobile Apps and Games] manbat:
The Zip in the post above.....

The Zip in the post above.....has two versions of 602 script. Look at the on you installed, compare it the the two in the zip. Use the other one. The error should go away.
[Windows Mobile Apps and Games] RoboWang:
The script you are using has the DispOn as being in your registry under HKCU.

You need the above script in the zip, StartupM.mscr.

Make sure you create a new lnk to put into your widows/starup directory. Notice that there is a big M in the new filename, and the link has to be named the same!
[Windows Mobile Apps and Games] purian23:
I will try this now guys.. Thanks a ton for the help..Long time modder & themer on ppc.. This script and mort stuff puts me below n00b status here lol.!
[Windows Mobile Apps and Games] prboy1969:
Ok downloaded and installed . Now what ?
[Windows Mobile Apps and Games] jerryyyyy:
Well, I am still getting an error. I modified the script (attached) to get one key's location right. But the error I get is:

"Error calculating the CPU frequency. Exiting." with a lot of debugging information. So I guess the basic program is not perfect... yet.
[Windows Mobile Apps and Games] RoboWang:
What script did you download and change?

What did you change?

That error says your settings that are needed to set the oc are not correct, or has the wrong path set in the script.

Did you save as an .mscr and NOT as a text?

If you want to post the script code, make sure you are in the advanced reply mode, NOT the quick reply. Copy and paste the code from your editor to the message box. Then outline the code and click on the # symbol above in the toolbar. This will put the code tags around it and it will be displayed separately.
[Windows Mobile Apps and Games] Doo Doo:
follow this guide http://xdaforums.com/showpost.php?p=7377293&postcount=731
[Windows Mobile Apps and Games] prboy1969:
Cool , but WTF is a device file manager ? How do I make a shortcut ? I am a total F-ing noob at this :( . All the help I can get would be appreciated .
[Windows Mobile Apps and Games] Slooop:
My Rhodium seems to work fine off the battery at 806 mhz, testing 825 mhz now. I've had it freeze at 844 mhz. Fpsece *seems* faster and the system is a little more zippy. How are you guys testing speed? Any sort of empirical test I can do? SuperPi mobile? lol.......
[Windows Mobile Apps and Games] buru898:
sk tools seems to be the best benchmark tool I've used.
[Windows Mobile Apps and Games] Orloaf:
It is like azngl said. When I start IGO, I can oc the Blackstone up to 710. Even after I pulled the plug. So there must be something to adjust ;). Later this day i will export the registry and compare it before/while/after IGO runs.
[Windows Mobile Apps and Games] chihliouma:
Hi there, I just follow your instruction and install the StartupM.mscr and it does run in 710MHz in the beginning stage, however, after it goes to sleep (S2U2) and resume, the speed is kick back to 528MHz and never return back to 710MHz. Is that normal ?
[Windows Mobile Apps and Games] xicloe:
No, it's doesn't detect the trigger I think.

If the trigger is DispOn, you should check the registry address.
[Windows Mobile Apps and Games] xicloe:
You should exit the application, just leave the script call the Msm7kCpuSpeed in the background, YOU SHOULD EXIT THE APPLICATION, and yes it's still overclocked even you exit the application.
[Windows Mobile Apps and Games] chihliouma:
I can make sure the Dispon is in the correct position of the registry table. Any other thing I miss ? Thanks for advice.
[Windows Mobile Apps and Games] xicloe:
If you want to make sure the all trigger all OK, just edit the script in line that triggering the overclocking, with make windows message or something like that, so you will sure the trigger is working.
[Windows Mobile Apps and Games] chihliouma:
Thanks for the reply, but sorry that I am not so familiar with the Mortscript. However according to what RoboWang mentioned in his post, all I need to take care is the correct registry address of DispOn, and I am sure I have the corrcet one. Are you saying that I may need to edit something more ? If yes, can you advice in more detail ? Thanks.
[Windows Mobile Apps and Games] aldamon:
Sheesh guys. I had never used Mortscript before yesterday and somehow managed to install it, customize the DispOn part of the script, and have everything running in a few minutes. Asking all of these questions is taking longer.
[Windows Mobile Apps and Games] Orloaf:
Sorry guys, after exporting the whole registry, there is no change in the registry after starting IGO. It must be something else!?
[Windows Mobile Apps and Games] rohan.binny.arora:
Problem in Startup

]

I copied this script to the phone root. Then using Total Commander, created a shortcut and linked it to run with mortscript.exe and placed it in windows\startup folder.

Now when the phone starts up, I get the message given in the screenshot. When i run Msm7k to check the CPU speed, it's still at 528 MHz.

Strangely, i have also linked the script provided in post #529 to the power button to bring the speed back to 604 Mhz. So, when i turn off the scresn and turn it on again, and then if I run Msm7k, the speed shown is 604 Mhz. So the power button script is working but the startup script is not.

Any solutions to this?
[Windows Mobile Apps and Games] skeppley:
You dont have to link the shortcut to mortscript.exe.

The script will run all on it's own as long as the shortcut is in the windows\startup folder.
[Windows Mobile Apps and Games] jmart518:
Did you create a shortcut for the script or for Mortscript? Mortscript does not need to be in startup (that would cause the pop up window), but the OC script does.

EDIT: Skeppley beat me to it!
[Windows Mobile Apps and Games] rohan.binny.arora:
I used total commander to change the target of the shortcut to mortscript.exe just as given in post #525

"Once the shortcut is created, longpress on the shortcut and select properties. Select the Shortcut tab and in the target box add the following text '"Mortscript.exe" -'. (This assumes that Mortscript is installed to your windows directory if not you will need to put the full path i.e. '"\Program Files\Mortscript\Mortscript.exe" -') Do this for both shortcuts."
[Windows Mobile Apps and Games] xicloe:
I already see your's screen shoot and analize that, I see the script is yellow icon ??? it's a mortscript.exe isn't it ? it's an application not the script, you should placed the script or the shortcut of the script (the grey icon) not mortscript app or the shortcut of the mortscript app. And don't forget to restart your phone.

BTW my integer testing with SK benchmark is 457.2016 point, without this amazing application it's just 331.3126 point, it's mean about 30% faster, that's explain why everything become smoother.
[Windows Mobile Apps and Games] jmart518:
Make it easier on yourself and just delete the shortcuts you made. Then just copy the OC script to the startup folder and you will be good to go.
[Windows Mobile Apps and Games] cmd512:
Follow-up after a night of several conference calls, text messages, and web surfing... accompanied by my usual trigger happy power button cycling of screen lock/sleep (I don't use any lockscreens):

1) NO SODs with safe_speed set to 604MHz! This looks to be the sweet spot as my earlier attempts to set an even lower safe_speed would result in SOD.

2) Sense 2.5 with Cookie HT is SMOOTH as butter. I mean, the entire phone is just more responsive and works "as it should've" from day 1. Absolutely awesome!

3) "Status" is the proper reg key to use to toggle between boost_speed and safe_speed for phone calls. I tested this all last night with several conference calls with 0 SODs. Also, in a few of the calls, I was able to check MSM7k app and verified that it downclocked to 604 properly.

4) Setup with power button mapped to multiple actions (safe_speed throttle followed by default power cycle function) works perfectly, and as manbat stated, is a good "safety measure" for those of us who use the power button extensively. Just remember to also bind your other behaviors for your power button (long press or double press) if you or your ROM should have those features.

I have my boost_speed currently set to 729MHz with a safe_speed of 604, and I'm very happy with how the phone is performing. I don't think I'll bother with anything higher.

Best of luck to the rest of you trying to get this setup, the scripts are working perfectly!
[Windows Mobile Apps and Games] skeppley:
I see a lot of you are throttling down to 604 for phone calls.

I just checked my speed during a call and it stays at 748!

I am now on my 3rd day of using the "startup" script with no sods or resets.....is there a reason it needs to drop the cpu speed, if so, i havent seen any ill effects of it staying at 748???

Please enlighten me :)
[Windows Mobile Apps and Games] Hammerfest:
I am sure its too late, but...

WHAT WAS HE THINKING... there are PLENTY of us who basically WORSHIPED him(no2chem) for his work, why the HELL didn't I see this when it was announced (didn't see it, link me?), we could have put up a donations poll for HDD repair, I just had a client send his out for repair @ $1500, came back on a new HDD all data intact (motor died, platter was fine)... I am SURE we could have come up with that EASILY... If it wasn't that bad then a simple PCB swap, or data recovery software... STILL **** ME...

the loss of this is just too great for me... im just going to cry in a corner with my TP2 OC'd... just cant let it fall asleep while OC'd or it will FREEZE...

Still good work on the OC Tool, cant wait to see further improvements...
[Windows Mobile Apps and Games] cmd512:
Original poster jpc073 stated that he had a few SODs during phone calls because it didn't throttle down. I'm thinking it's because of the proximity sensor during phone calls that can cause the screen to shut off/go to sleep when it senses you're phone is close to your face.

Like I said to Robo, for me, it was important that the script get fixed (using "Status" as the check value in your registry works) so that it throttles properly during phone calls as I make lots of business calls/conference calls. Don't need the phone SOD'ing on me when I'm in the middle of a call.
[Windows Mobile Apps and Games] skeppley:
My cellular system available seems to be doing the same as yours, always at 9, so it's probably the same reason it doesnt throttle down during a cll.

I'll check out the "status" like you used and see what happens.

OK, just checked and my status numbers changed identical to yours, what did you change in the script to make this work then?

Thanks
[Windows Mobile Apps and Games] cmd512:
First, check to see if your "not on phone call" Status value is 42995872. If so, give this a try (Remember to keep your lockscreen checks in as I removed those in mine!!):

reg_root_phn = "HKLM"

reg_key_phn = "System\State\Phone"

reg_val_phn = "Status"

If (((phn_value <> 42995872) 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 = 42995872) AND (bkl_value <> 0)) AND (cpu_overclocked <> 1))

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

RegWriteDWord("HKLM", "SOFTWARE\Msm7kCpuSpeed\", "OverClocked", 1)
[Windows Mobile Apps and Games] docnas:
Thumbs up to JPC and his script been using it since yesterday and so far its been awesome running at 729 throttling to 604 when on the phone and after a whole night asleep and multiple short sleeps it still has no problem ( knock on wood).

Now im gonna be greedy and wish there was real dynamic overclocking as i tend to read books and listen to music on my phone alot and they dont really need that much processing power but if they underclock it might even lengthen the battery life.
[Windows Mobile Apps and Games] skeppley:
Should i put that all right where this is under 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"

and also keep this part in: ??

; Phone call - supposed to be 2 when in call 4 when not in call.
[Windows Mobile Apps and Games] cmd512:
Yes and optional.

Any line following a semicolon ( ; ) is a comment put in by the coder and won't be executed, so it's really up to you if you want to keep that last line in.
[Windows Mobile Apps and Games] jpc073@gmail.com:
Anything with ";" before the line in the script is just for informational purposes and will not effect the script when run so it doesn't matter if you keep it in delete it or type something else after the ";". It is in there so I (and anyone else for that matter) could follow how the script was running. basically what it is doing is telling you information.***Edit: Looks like I was beat to the punch.***

For those using Phone\ Status, when I first tried altering the script I was using status too. The reason I went with the CellularSystemAvailable instead is because Status is also affected if you have a missed call notification. However, remember too that we have various different networks that are being used. I am on CDMA others may be on GSM and this may factor in to these registry keys also. It seems to make it cross platform compatible it would have to use the Phone\Status key.

My phone hasn't had a lockup or SOD for the last couple days (even using 2 seperate ROMS, yes I am a flashaholic, I can admit it.) so I guess it's time to try some new changes to the script, maybe making it check the state of of Phone\Status at Startup and use that as the boost setting???

Also, I think I can make a safe mode so if we get too agressive and our phone locks up on startup it will throttle down when you restart the next time using the script.

If I could only find a way to measure idle time. grrr!!!:o
[Windows Mobile Apps and Games] cmd512:
jpc073, I think I speak for everyone when I say THANK YOU for your contribution and continued work on this script.

With regards to "Status," excellent point as I just realized a missed call status is not 42995872. So, instead of (phn_value <> 42995872) to set safe_speed, I'll use (phn_value = 579866784), which is the Status value during a call. For boosting back up, I'll use (phn_value <> 579866784).

(BTW, I have confirmed Status during a call does not change from 579866784 as I've tried toggling speakerphone, voice recording, using bluetooth, etc. It sits at 579866784.)

Given the various states of Status when not on a call, reading the value at startup won't do. You'll have to read the value when in a call. :)

Thanks again for the tip!
[Windows Mobile Apps and Games] rohan.binny.arora:
That worked... :D

Guess i was unnecessarily complicating matters... Thanks for the help guys :)
[Windows Mobile Apps and Games] christophocles:
I don't think it was ever "announced", this is just a rumor AFAIK. I started paying attention to no2chem back in September when I first got my TP2 and he had just released the nueBattery2 mod. Shortly thereafter, he stopped posting and all I ever saw were people lamenting his "disappearance".. It sounds like NetRipper may have spoken with no2chem directly and learned this information, but we still don't know the backstory. It's very interesting cause he was such a talented developer but who knows, he decided to move on and that's that. If he wanted our help he would have asked..
[Windows Mobile Apps and Games] cmd512:
Just in case you haven't noticed all the discussion... you do realize that, with a simple script running in the background that takes up virtually no additional memory, you can have 0 freezes with NetRipper's current tool, right?

(Or, you could just continue crying in your corner.........) :rolleyes:
[Windows Mobile Apps and Games] jerryyyyy:
Thanks for the reply.

I used StartupM, which is the correct one for my TP2 and did not change it.

It is saved as .mscr

I tried it with both the autostart on and off on the program.

The program is version2.

Maybe the path is set wrong????
[Windows Mobile Apps and Games] nayr1482:
I checked my HKLM\System\State\Phone\Status

Mine shows up as 1199566688 when on a call and 2004873056 when not on a call.

The HKLM\System\State\Phone\Cellular System Available does show up as 2 when on a call and 4 when not.

I guess I will pick one of these and adjust the script accordingly - I am just posting to alert others that the scripts posted in this thread (they are great - thanks a ton!) might need more tweaking than just dropping it in your startup folder. I suspect some that are doing per the instructions and not getting an OC are because the script constantly thinks they are in a phone call ( <> 42995872 )

I downloaded the .zip file that has the StartupM and StartupU (I needed M).

Thanks!