yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] prboy1969:
Ok so first off thanks to everyone who helped , and to those who helped and don't even know . Doo Doo , RoboWang , thanks . A+ . Finally got everything working . Been running for about 4Hrs no issues . Long sleep , short sleep , auto Display off . Not one issue . Changed your script a little to clock higher , that's it . My question is this , do I need to use both "CSA_M.mscr" plus "Status_M.mscr" . I've just been using "CSA_M.mscr " .
[Windows Mobile Apps and Games] RoboWang:
I am sorry chi, but I don't have a topaz (Diamond series).

Even in the Rhodium series, the systems are different, I can't even began to help you with your system. Not that I don't desire to, I just can't.

Please take note in the post I used to post the scripts. Rhodiums only. There's a reason for that.

However, that error sounds like you are running the MSM7 app when you power off or sleep. Returning will cause that error IF you do not exit the app.

Again, sorry, my friend.

Maybe some knowledgeable Topaz guy can help you.
[Windows Mobile Apps and Games] buru898:
Do you have the program open all the time or do you exit it when you set the speed?

If you keep it open, then exit it after you set the speed, and download v2 of the program if you have version 1.
[Windows Mobile Apps and Games] RoboWang:
Only one script is used.

IF your DispOn is is in HKLM\Drivers\Display

and your HKLM\System\State\Phone

Cellular System Available value is a 4, with no call in (normal) then you only need CSA_M.mscr
[Windows Mobile Apps and Games] prboy1969:
Sweet then I'm set :D . Thanks again for the help . It's hard being the noob .
[Windows Mobile Apps and Games] RoboWang:
Actually, you are the lucky one!

Ah, to be a noob again!

We are all noobs, under the skin.
[Windows Mobile Apps and Games] chihliouma:
thanks for the comment. I keep it open in order to see the frequency. and then I push the sleep button, then it will go to sleep mode (s2u2). Wait for a few minutes, I push the button again to wake it up, and sometimes it'll jump out the calculating error message. I am now using the v2 of the Msm7kCpuSpeed already.
[Windows Mobile Apps and Games] chihliouma:
Thanks RoboWang. I guess your mortscript is working in TOPAZ for me, and in fact I am very willing to try if you can advice me if the Cellular System Available value is always 1, how to edit your morstscript under that condition. Thanks.
[Windows Mobile Apps and Games] purian23:
You're Awesome dude, You guy were helping me out on this lastnight.. Seem's I was having the issue from lastnights version of it going back to 528 and staying there instead of overclocking back up after disp off. This version tonight nailed that issue.. Sprint Tp2 On a 6.5.x MightyROM.. CSA_M was the one I needed.. Thanks a ton again.. so easy and flawless with GREAT instructions w/o having to remap things..!!!
[Windows Mobile Apps and Games] RoboWang:
Great, if it works for you, I am happy, but I expect it won't fully work as the Topaz calling system and where values are kept in the registry are different. And I have no way of researching, that in the time I have to spend on this.

As a couple of people have said, you can't run the MSM7 app and the scripts. You WILL get that error if the app is left open. No way out of it. If YOU HAVE to use it to check the OC (and that's the ONLY reason to open it as the scripts run in the background) exit it as soon as you've noted the speed.

As far as the 1 in the Reg key I have posted, then you need to check where the DispOn is located in the registry. If it's under HKLM, then you need the Status_M.mscr, if it's under the HKCU key, then you need Status_U.mscr.

Please don't change any settings in the script UNTIL you see if it works. Raising the speed is a NO NO!

Once you know the script is functional, THEN worry about your speed.
[Windows Mobile Apps and Games] RoboWang:
Great!

Please keep me updated if you have problems. The script is a work in progress and I can use all the info I can get.
[Windows Mobile Apps and Games] purian23:
Definately will do.. !! I finally get to use this working well.. I just couldnt seem to get it right before.. but i'll be at work tomorrow with heavy use all day with Exchange and Calls.. Good testing time. !
[Windows Mobile Apps and Games] brent372:
Sorry if this has been asked but 60-something pages is alot to look through, and the search didn't help.

Before I did this, I had my phone set to "lock" but without a password or PIN.

Just a simple slide to unlock it.

This has since been disabled.

How can I re-enable this.

NOTE: I do NOT want to use S2U2.

Thanks!
[Windows Mobile Apps and Games] lmemperador:
using RoboWang script in topaz. all working ... fingers crossed, i will report in these days.

thanks RoboWang, thanks to all of you. to all the people involved and of course netripper
[Windows Mobile Apps and Games] RoboWang:
Hey brent

I JUST started using the lock, myself. Never worried about before. Then I started using SU2 for this OC app.

It's good app, but WAAY too much for a simple locking app.

I am running a custom ROM with the Cookie tab. In the tools folder is a yellow glass icon with a lock on it. I got brave one day and hit it. And I never looked back.

Uninstalled SU2 and now only use the resident lock.

IF you have that icon, just clicking on it enables it.

If you don't, I have a cab of a simple lock. No frills lock, unlock. I'll post it now.
[Windows Mobile Apps and Games] Doo Doo:
You can also activate the lockscreen by holding end key down try it out it works for me :D:D:D
[Windows Mobile Apps and Games] jerryyyyy:
I cannot believe it but stable for 3 hours one and off power at 691 Mhz!!!! Thanks guys. There are a lot of steps that need to be followed precisely.... hope it lasts.
[Windows Mobile Apps and Games] Slooop:
You are a Mortscript GOD Robowang. Been running at 825 mhz NO ISSUES. It's like a whole new upgraded phone. Now to really put Fpsece through its paces.
[Windows Mobile Apps and Games] RoboWang:
Make no mistake, I only added to jpc's script.

Tomorrow, I am going to spend the whole day on automating the whole process as far as I can. Hopefully soon, we'll have a no manual check, single script solution for 90% of the Rhodiums. I can see now there will always be some different systems that will have to included as we go.

Glad your phone can OC so high, but PLEASE be careful. At those OC's, any real glitch can ruin an sd.! Corruption gets easier as the speeds get higher.

And if the back of your phone gets really WARM (not hot) back it down! You might lose .5 fps, but save your phone.

Any Rhodium that gets warmer than a fast battery charge, due to OC, is OC'd too high to last for long, IMHO.
[Windows Mobile Apps and Games] derrioned:
I am having the same exact problemas Doo Doo, when I make a call the phone is still overclocked at 691, is there a soultion for this? My DispOn and CSA is the same
[Windows Mobile Apps and Games] RoboWang:
Is your DispOn under HKLM or HKCU?

PM me with your HKLM\System\State\Phone

Status settings, in decimal, for when you are in call (call in) and normal (no call) and let me see what they are. I can probably help you.
[Windows Mobile Apps and Games] rohan.binny.arora:
OCed for over 12 hours now and all is stable at 691 :D

this includes 6 hours of overnight charging...
[Windows Mobile Apps and Games] jerryyyyy:
Congrats. We are on a roll. I have been up at 691 for 6 hours. Will see if it is ok in the morning.
[Windows Mobile Apps and Games] chihliouma:
Hi RoboWang, I've found a very interesting scenario and maybe you can have some comment there :

Here is the status of my TOPAZ :

- DispON in HKLM

- HKLM\System\State\Phone Cellular System Available value is always kept at 1, after phone call

- S2U2 is my lockscreen software

Here is the procedure I've done :

step1 : I run Status_M.mscr and check the MSM7k, it shows 710MHz. Exit MsM7k, and push the sleep mode button to check if it will be SOD in sleep mode. Wait for few minutes, it is SOD.

step2 : Reboot TOPAZ, and run Status_M.mscr, but this time I won't force to push the sleep button but just wait for the timer up and TOPAZ will go to sleep mode automatically. after that wait for few minutes, I push the button to wake it up, and it DOES wake up. I check the MSM7k, now it shows 691MHz. After that, now I can push the sleep button and also can wake TOPAZ up anytime without SOD.

So my status now is I MUST let the TOPAZ to go to sleep mode automatically in the 1st time when I (re)boot the system, and then it seems everything is working well.
[Windows Mobile Apps and Games] cls_:
Win Mobile Service?

Just wondering if anyone is coding a service to overclock/underclock the CPU yet?

The scripts work ok, but it is a quick/temp solution. Someone just needs to code this into a service and it should work without issues on various rom/devices.

@netripper, any chance you will code a service into your app to overclock/underclock the cpu? :confused::D
[Windows Mobile Apps and Games] xicloe:
This thread is become so big, with that's all mortscripter, that made some people could help each other, this thread is become so sweet :D:D:D. but we should thanks too all. Why ? Our device is got new soul (processor speed :p), and who cares about new device, this thread should be have negative respect from HTC and all the carries who sell new phone, because we don't wanna upgraded or change our phone in short time, that's meaning they will not get any $$$ :D:D:D

Sorry for my bad English, Bad English, good in Indonesian, Java, Manado, Papua, Makassar :D :D
[Windows Mobile Apps and Games] HC4Life:
I give up.

I can't get this working on my Blackstone with the scripts. I can't find in registry the "DispOn" value. Why?

I'm using the last Energy Rom for Blackstone.

Any help? :(
[Windows Mobile Apps and Games] jono_l:
I'm on a Topaz running QBUS22 ROM, and the Status_M script works near perfectly for me. 604mhz during calls, and I have it set to 729mhz normally. It appears that in my case, the phone somehow automatically reverts back to 528mhz if I leave it to sleep for longer than a few seconds, but no complaints from me on that one; everything works great once it wakes up. No SOD's for the last 2-3 hours; time will tell.
[Windows Mobile Apps and Games] chihliouma:
Fully agree. I also expect that can happen soon because it's painful and frustrated sometimes for some people who are really try hard but still cannot succeed.
[Windows Mobile Apps and Games] Berth666:
Hello guys,

..i didn't read all those 83 pages, but is there a solution for the problem with automatically going back to 528 MhZ without unplugging AC?

I've got a Diamond with Gen.Y Rom and if I overclock to 604,8 MHz or more and unplugg AC then it goes back.

Thank you for answering!
[Windows Mobile Apps and Games] azngl:
Nope, that's just how this prog works for now, it always comes back to 528mhz in sleep. Unless you have a TP2.
[Windows Mobile Apps and Games] Orloaf:
Activating GPS works for me, but it is no solution. With GPS turned on, I can operate on battery and OC the device, also sleepmode work if GPS is on.
[Windows Mobile Apps and Games] Berth666:
ok, thank you for the answer! maybe there will be a fix soon :)

edit: for me, overlocking only works with USB-cable in. It goes automatically back with AC to 528
[Windows Mobile Apps and Games] buru898:
No one is interested... really?
[Windows Mobile Apps and Games] Alcibiade:
Yeah I guess we are all waiting for the same thing to happen (The thread is turning into a Mortscript tutorial unfortunately). It's great all the effort people are putting together but it would be better if it was guided toward the improvement of the software
[Windows Mobile Apps and Games] Berth666:
hey, i'm very interested in.

There is an app which does things what u want, but it's for the omap cpu.

But ok...maybe it's a help for you:

http://www.modaco.com/lofiversion/index.php/t237427.html
[Windows Mobile Apps and Games] brent372:
I will give this a try, thanks!

This does not work on the VZW TP2
[Windows Mobile Apps and Games] buru898:
Omg that would be so damn perfect!!! You could just make easy one line scripts to overclock which speed based on the CPU load!
[Windows Mobile Apps and Games] Dikiz:
and what about blackstone oc script? tried for tp2 but without luck :(
[Windows Mobile Apps and Games] Orloaf:
Isn't working, the only way to OC is turning on GPS. There is something happen when you open the GPS port, but I don't now what, yet.
[Windows Mobile Apps and Games] Dreamcatch:
Sorry for the noob question, but what's the easiest way (that uses as little power as possible) to turn on GPS on the blackstone (I don't want to start tom tom just to achieve this...)?

Thanks
[Windows Mobile Apps and Games] nayr1482:
i actually think this is a GREAT idea - i have been searching trying to figure out how to use mort to return the Idle process CPU % but no luck so far.

this would be VERY easy to do (and would be a one size fits all fix) if we knew how to return the CPU Percentage of the Idle process.

i would be more than happy to write the script of someone can tell me how to return the cpu % of the idle process =)
[Windows Mobile Apps and Games] cmd512:
+1 on the Service coding. This script is very nice indeed, but at the end of the day, there's still a risk for SOD.

I've only had a few since I started running it 2 days ago, which is not bad, but the risk still exists. I personally believe that because the script is basically an infinite loop, there is still that window of chance that the phone doesn't throttle at just the right time and after the phone as already gone to sleep quickly, which results in an SOD. Again, script is awesome, but not SOD free.
[Windows Mobile Apps and Games] jerryyyyy:
I am now running 14h without SOD, but running at 691... maybe throttle back a tad? My machine is definitely snappier....

Thanks to everyone who hacked their way through this....
[Windows Mobile Apps and Games] jerryyyyy:
The only thing I have noticed with the OC is that my phone seems to be slow to respond to incoming calls. i think this can be changed... there is a registry setting for the poling of the incoming calls, but it seems OK when not plugged it, just when plugged in... went to voicemail after 6 rings.
[Windows Mobile Apps and Games] docnas:
Did anyone every use BatteryStatus? it had a built in dynamic overclock/underclock that i used to use on my old Wizard (k-jam). That was a pretty easy way wish something like that could be implemented.
[Windows Mobile Apps and Games] 5318008:
2 free WM plugins.

There are a couple free Windows Mobile Today Screen plugins that let you toggle GPS on/off. One of them is very minimal, on/off with strength indicator, the other shows more info, like latitude/longitude. I guess these are only good if you run the standard Today Screen and not Sense. I used to use one of them to 'warm up' the GPS on my old Kaiser a few minutes before heading out and firing up TomTom. One is called GPS2Day, the other BAF GPS Toggle. If you use Sense, I don't know... maybe there's a registry setting you could toggle somewhere or something so it's always on at startup.

EDIT: Right, forgot to mention this, they don't work with Titanium either, just the standard Today Screen.
[Windows Mobile Apps and Games] cmd512:
Has nothing to do with throttling back. If you understand the logic of the script, you'll realize it's all time cycle based, so there is still that window of opportunity for SOD.

With my 729/604 setup right now, it's stable as ever when running 729. SOD is when it goes to sleep to 604MHz. 604MHz is certainly the "safer speed," but it's not foolproof. Case in point: When I ran ONLY 604MHz previously, I could still get my phone to SOD with enough sleep/wake cycles with the power button.

So again people, please understand that SODs have not been completely eradicated, simply greatly reduced.
[Windows Mobile Apps and Games] SpinalRemains:
The Start Speed is advised to be equal to, or higher than the boost speed. Robowang said he doesn't know what will happen if you set start lower (so you've become the guinea pig). He advises that you should set it equal or 1 higher than boost. Try that.

Try Start - 37

boost - 36

If that works well for you after a couple of days, then try setting the boost equal to the start @ 37
[Windows Mobile Apps and Games] anesh01:
Thanks

do you know if i have the dispon section written right as to where its located in the registry.....
[Windows Mobile Apps and Games] cmd512:
BTW guys, I now have my power button to do 3 multiple actions via Keyboard Config 1.4:

1) Downspeed, set Overclocked value to 0

2) Power button default (sleep/wake)

3) Then an additional script after:

If ((bkl_value = 0) AND (cpu_overclocked <> 0))

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

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

Exit

This is just in case the first script runs and downclocks to 604, but before the power button default of sleep/wake can activate, the while loop in the background detects the display is still on and bumps it up to boost_speed again. Like I said, it's hard to ensure the speed throttles to 604 quick enough when the screen goes to sleep on its own, but at least if it's a power button press, the additional script after the power button press should ensure that it's at 604.

Just trying to reduce the SODs even further......
[Windows Mobile Apps and Games] jerryyyyy:
I am doing fine at 691, but always like to push the envelope. I recall there is a problem if you do not carefully edit and save the scripts on the phone following certain procedures. Is there a recommended editor so I can manipulate the speeds? Or can you just change it from the program... feel like I am walking on eggs.
[Windows Mobile Apps and Games] buru898:
Agh I tried looking and searching but, alas, could not find how to determine the idle process :(.
[Windows Mobile Apps and Games] SpinalRemains:
Im not quite sure. Youhave to check within your registry. Type DispOn into the search and see if it is located within the HKLM or HKMU. Robowang has provided scripts for both the dispon location and the CSA values
[Windows Mobile Apps and Games] anesh01:
thanks for the advice, this is what i have written in the script

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

reg_root_bkl = "HKLM"

reg_key_bkl = "Drivers\Display"

reg_val_bkl = "DispOn"

This is where i found dispon in the registry

HKLM\\drivers\display\dispon

Reg dword

data

1
[Windows Mobile Apps and Games] nayr1482:
OK RoboWang (and everyone else),

I have been tinkering with a more automated script...problem is as you know my phone responds to CSA not STATUS so I am hoping you can try this / take a look at it.

I did a bunch of testing and here are the results:

Type CSA STATUS

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

Boot 4 2002780000

After 30sec 4 2004877152

After 60sec 4 2004873056

Not on Call 4 2004873056

On Call 2 1199566688

Missed Call 4 2004871008

I have not seen much info on CSA variances but have noticed many different STATUS numbers. So...I setup the attached script as follows:

First it checks if DispOn is in HKLM or HKCU and sets variables for the correct location.

Second it checks if CSA Key Exists, then if it equals 4. If it does it treats your phone as a CSA case w/ a Not on a Call value of 4 (if we have more info on others I can tweak this logic).

If CSA does not exist or does not equal 4, it checks if STATUS exists. If it does, it treats your phone as a STATUS case.

Third it checks if Lockscreen Key Exists...

Fourth it Starts the OC @ start_speed

Fifth it waits 60 seconds (this is during the load after a boot)

Sixth, if your phone is a STATUS case it sets a variable to the value of STATUS and uses that for the Not on a Call value. Of course this runs the risk of getting a call prior to this value being set but that is no different than the script today as the throttling does start until 60 seconds after load anyway. I did it this way so that if it works - it should work with any STATUS phone (instead of having to modify the normal STATUS value on each phone).

Then the throttling works like before but there are 2 options - CSA phone or STATUS phone (script picks correct one).

Anyway...for those of you that get this stuff and are comfortable scripting, with checking/tweaking registry etc... give this a look and try it out and see how it responds on your phone. Especially those of you that are on STATUS because I can't test it at all...
[Windows Mobile Apps and Games] cmd512:
Guys, another "SOD prevention" suggestion:

I changed the boost_speed to add a delay after the device comes out of sleep/finishes a call:

ElseIf (((phn_value <> 579866784) AND (bkl_value <> 0)) AND (cpu_overclocked <> 1))

Sleep(1000)

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

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

Basically, I don't know how fast the system toggles the DispOn value vs when the device comes in and out of sleep, so a delay is put in before boosting it back up to OC speeds. At the very least, it allows the the screen to be fully out of sleep before bring up the clock.
[Windows Mobile Apps and Games] cmd512:
Awesome, thanks for listing those Status states, didn't know that!

Problem with this, there are many Status "not on a call" states and only 1 on call state. Therefore, you can't use = "not on a call" or <> "not on a call" state check. For instance, missed calls are officially not on a call but would theoretically stay at the safe_speed clock because it would be detected as <> "not on a call."

We need a way to detect Status when a call is engaged, but there-in lies the rub... how do you do that when there are multiple Status values and one of them is in fact the in-call determinant?
[Windows Mobile Apps and Games] nayr1482:
Correct - therefore using only the "Normal Not on a Call" STATUS as your check is the "SAFE" route. Meaning - if STATUS doesnt equal the normal value - dont OC!

That is how I set it up (or at least intended to).

If (phn_value <> NormalStatus ...) Then dont OC

I know this will not OC it when you miss a call - but if you have a missed call...then (at least in my opinion) you arent using your phone and who cares if it is OC'ed? Even if you are on your phone and purposely dont answer a call - you ALWAYS clear the event dont you? I do...

Anyway, I agree the best way (via script) is to customize the script to your phone...but a lot of people out there are not comfortable with this stuff so just trying to come up with a workable solution. I think if the biggest shortfall is that it doesnt OC the phone when you have a missed call or a Voicemail or something - that is OK but maybe it isnt.
[Windows Mobile Apps and Games] nayr1482:
Well - that is why using Status kind of sucks =P

Would be nice if all of our phones responded to CSA.

Maybe there is another parameter we have in common that changes?

Maybe do a Reg backup not on a call, then do a reg back on a call and compare the 2 ???
[Windows Mobile Apps and Games] cmd512:
True to a degree, but no, I don't always clear my missed calls as I do get a lot. And yes, I would even agree with the arguement "so you use it at 604 until you do clear it."

I'm just saying ultimately, for Status to work just like the CSA toggle, you will have to input your custom value at this time. Otherwise, it's time to look for another toggle to detect.
[Windows Mobile Apps and Games] RoboWang:
If you are running the original jcp script as posted, it is not the right script for your phone.

You can TRY to modify the setting in his script, first, with this

; Backlight - will be 0 when screen is off, 1 when on
reg_root_bkl = "HKLM"
reg_key_bkl = "Drivers\Display"
reg_val_bkl = "DispOn"

Make sure to save as .mscr

Or you can go to post #785 and read VERY carefully and fully. Then choose a script from the zip file.

Be sure to take note that the scripts are for RHODIUM systems only before you use them.

In fact, posting your phone model is highly advised as I do have SOME info on other models.