yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] nayr1482:
Yup, 100% agree.

I didnt check it but I bet your Status number changes when you receive a text message doesnt it? In the script I posted (I am running it right now to test it) there are four Message lines in the Clock loop that I comment out. On my phone I have them running so it displays a message when it throttles up and when it throttles down. Might be worth your time to uncomment those lines and run the script for awhile (reboot after you install it). That way it will pop up a message every time your Status changes!

Actually we could add the status value to the message as well so you could document the code and event if you wanted...
[Windows Mobile Apps and Games] shaolin95:
Robowang the script on post 731 does not work as smooth for me as the original one I got from you even though I had Start up and boost set at the same so I went back to the original it was very smooth again.

Just letting you know and thanks again!
[Windows Mobile Apps and Games] cmd512:
Yeah, any notification... from missed call, to alarms, to text messages, etc... changes the Status. Good news is... if you know your in call status, that does not seem to change regardless of speakerphone use, in call recording activation, and/or bluetooth. Now, if you get one of those notifications in a call, I guess it would all go to hell in a hand basket. :)
[Windows Mobile Apps and Games] anesh01:
Thank you very much for your help, i will try that script and hope it works, i currently have the tp 2 on the verizon network, and will update my status
[Windows Mobile Apps and Games] manbat:
Five Days+.....no SOD

Five Days+.....no SOD. Mine has been up and running for over 5 days now on the combination I am using. Multiple overnight sleeps, short sleeps and on and off's. No SOD, No Call Problems, No Errors. Mine starts at 604, safe speed 604 and OC's to 729.6 MHz. I've had it set this way from the first install of the script. Mine will run stable at 787.2MHz, but I don't push it that hard.

TP2/VZW/Mr.X Fixed MR2 ROM/S2U2/CHT1.8.5/plus much more!!
[Windows Mobile Apps and Games] RoboWang:
I am glad it's working, regardless.

However, I did update those scripts in post #785

I know you have been on this app for a while, but I still highly recommend reading the entire post if you are interested in the new scripts.

I hope to have another update by the 1st, IF nettrip hasn't finished this application.
[Windows Mobile Apps and Games] punxrok:
RoboWang's Status_M.mscr script works perfectly on my Diamond 2 running @748 Mhz.

Thx a lot! :)
[Windows Mobile Apps and Games] RoboWang:
Great!

A Diamond 2?

That's a Topaz!

Thanx for the info.
[Windows Mobile Apps and Games] cmd512:
Exactly the same as me, my phone will run 787 perfectly stable, but that just seems pushing it to me. Runs fine at 729 when in use and a big speed boost over 528, especially in Sense.

Do you use a lockscreen? I'm curious if that might help to alleviate the SODs.
[Windows Mobile Apps and Games] HC4Life:
All the scripts that have been posted in this thread are for Topaz.

I think Blackstone is out.

I'm sad :(
[Windows Mobile Apps and Games] cmd512:
No, we're on Rhodium. And, I've said it before already, there is nothing platform specific in these scripts. It's more device specific because as of right now, some toggles will only work with your phone's specific values.
[Windows Mobile Apps and Games] manbat:
I use S2U2 to lock the screen....

I use S2U2 to lock the screen....I have the times set so that the lock screen locks before... the screen times out. That could be part of my success. I also have Neko running around on my screen.Link:http://xdaforums.com/showpost.php?p=6856559&postcount=1 I know that it does nothing.....but it's a neat little app to play with...lol :)
[Windows Mobile Apps and Games] cmd512:
Yeah, that's exactly it I bet. It's already downclocked at the lockscreen, where as I am not using a lockscreen, so it downclocks when it *detects* the display is off. Might be too late at times.

Also, without a lock screen, I probably toggle my power button many more times than you would, given that's my sleep/lockscreen. Also something to consider.

I wouldn't mind using a lockscreen... except on the ROM I'm using, enabling the lockscreen just blows gwes.exe up and I lose tons of RAM over time. Until that's fixed, I'm staying lockscreen-free.
[Windows Mobile Apps and Games] nayr1482:
hey, I just did a reg dump not on a call and a reg dump on a call and compared the files.

can you check a couple keys and see if they respond the same on your phone?

HKLM\SOFTWARE\HTC\DirectShow\isPhoneActive

Not on a all 0

On a call 1

^^ seems promising to me

HKLM\SOFTWARE\HTC\PhoneInfo\CallStatus1

Not on a call 1

On a call 5

HKLM\System\State\Connections\Cellular\Count

Not on a call 1

On a call 0

HKLM\System\State\Connections\Count

Not on a call 1

On a call 0

NEW KEYS CREATED WHILE ON CALL and disappear afterward...

HKLM\System\State\Phone\Active Call Count

HKLM\System\State\Phone\Call ID Status

HKLM\System\State\Phone\Call Start Time

HKLM\System\State\Phone\Caller Name

HKLM\System\State\Phone\Caller Number

HKLM\System\State\Phone\Caller OID

HKLM\System\State\Phone\Caller PropID

HKLM\System\State\Phone\Caller PropName

Can you check if any of these match up with your phone?

Thanks
[Windows Mobile Apps and Games] cmd512:
Holy sh*t balls nayr, you did it! Confirmed isPhoneActive on mine works as should:

1) No active call, Missed call notification = 0

2) No active call, Missed call notification + SMS notification = 0

3) Active call = 1

4) Active call on speaker phone or bluetooth = 1

5) Active call with missed call notification and/or SMS notification = 1

Nice dude, fixing my StartUp.mscr, a BIG thumbs up to ya! :D
[Windows Mobile Apps and Games] manbat:
Yes,with the script I'm using it double checks....

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

Yes,with the script I'm using it double checks....First at lock and then at screen off. At least it should the way the script was written.
[Windows Mobile Apps and Games] cmd512:
Yeah, I took the lock check out given I don't use lockscreen. Once I do though, I'll put it back in.

Sounds like a good mid check point given your screen isn't off yet, and if the lockscreen is on, you're certainly not using your phone.
[Windows Mobile Apps and Games] nayr1482:
ok sweet. dont want to get too excited yet that is only 2 phones ;-)

i will modify the script and post for others to try.

keep your fingers crossed!

edit: new file is attached. this method has worked on both a STATUS phone and a CSA phone...

also figures out where your DispOn is (of the 2 locations we know of)

give it a try and let us know.
[Windows Mobile Apps and Games] saurabh88:
ok..scripts doesnt seem to work for me.i hhave to manualy click on thqt stupid shortcut for the scriipts and even then it shows me for only 2minute on the application 710mhz but then immmmmmediatly goes to 528..

wtf..any solution..

and where are the new scripts?why netripper update them on the first pages?so everyone can see wht new?
[Windows Mobile Apps and Games] cls_:
Windows Mobile Service for OC/UC

I completely agree. Well I have not heard anything back yet... I have some code for a windows mobile service already (from someone else's project), just need to modify it to do what we need. I may take a dive into this. But I just got StarCraft2 so I'm not sure how much time I will devote to this. :D
[Windows Mobile Apps and Games] cmd512:
My next registry hunt is for the toggle or timer that activates the dim state before sleep/screen off. If this is found, then I can throttle the CPU speed when the screen dims rather when it completely goes to sleep. Should help the SODs for sure!
[Windows Mobile Apps and Games] cls_:
Unless I am missing something here, this won't work...

CPU% will always vary since it is always running certain things in the background. And if you create a script to monitor this, the script will use a certain amount of cpu usage. I.E. the script I am running in the bg runs around 1%. I don't think this will be a very stable solution...
[Windows Mobile Apps and Games] cls_:
Windows Mobile Service for OC/UC

And ironically, even though you made your cpu faster, you now devote a small % to the overclocking script. Granted I am talking about very small amounts here.
[Windows Mobile Apps and Games] Dikiz:
i put manualy dispon value in registry and with the last script on blackstone and started navi program i can overclock....still don`t know if its realy overlocks or just numbers changes :)
[Windows Mobile Apps and Games] jimmy66:
Confirmed to work on Tmobile Touch2 with EnergyROM

HKLM\SOFTWARE\HTC\DirectShow\isPhoneActive

Not on a all 0

On a call 1
[Windows Mobile Apps and Games] lmemperador:
hi, i am with a diamond 2 topaz too.

but only 691 mhz stable. which rom are you using? i use pride 5

have you had SOD's with the last scripts?

i had 2 SOD's, but more stable than before

will try more, thx

using s2u2
[Windows Mobile Apps and Games] jerryyyyy:
I finally got it to work. A couple checklist items:

1. I autostart the program and it executes before the script

2. To make the shortcut i was concerned about how it was done so I copied and exisiting one in the start-up folder and pointed it to the .mscr file on my storage card.

3. I checked all the registry settings and got the right version of the program.

Now working fine and am up to 710Mhz.
[Windows Mobile Apps and Games] :
Confirmed also on my Topaz.

I also assume that it seems to be a problem when the device directly goes to sleep, so currently I have set 1minute to go to lock and then another minute to go to suspend (so 2 mins to suspend). That seems to work now.
[Windows Mobile Apps and Games] RoboWang:
Now this is an inspirational bit of Mortscript.

I JUST finished the DispOn check in my project this morning. It is two lines bigger, but does the same thing. Yours is better! I can see where mine is clunky, tho functional.

And those call state values you found were sorely needed. Too many Status values to create a fully working script.

I am testing your script now and if it works, you will have the best script so far!

I'll come back in a couple of hours and report what happens, but from the look of what states you are calling, I think we have a winner!
[Windows Mobile Apps and Games] RoboWang:
So far so good, call on, call off, missed a couple of calls, lock on for 20 minutes and now it's sleeping, which is the big test. If I don't get a call, this will go 2 hours and if it wakes up, that will make it an 80% go for me. need 2 days to really wring it.

After looking at your code, I wonder if you would do something else, if you get time.

In your script, I had written the speed settings because the original settings did NOT update the registry after the first run. of course, this was bad for testing and for trying to creep up on the max overclock as you had to change registry for the new values.

So, I put in statements to overwrite the setting on every reset. This does slow down boot time VERY slightly and the script has to check registry every time it loops.

Not very elegant.

I was going to revisit that today, but got sidetracked by the DispOn thing this morning, that YOU already fixed in your script.

The settings group needs to only change the registry when the script changes, and only access the registry on reset/boot, to make it good code.

It's OK if you don't address it, as I will get to it Saturday, but, your code looks clean compared to mine as I am still reading the manual.

Nevertheless, good Job!
[Windows Mobile Apps and Games] nayr1482:
hey, group effort my friend =)

just hope (like everyone else) that this works for "everyone" so we have that universal band-aid until a service is made or the program is tweaked.
[Windows Mobile Apps and Games] nayr1482:
hey, yeah if i get time i will look through the code and see how we can make it more efficient. i really didnt try to make things efficient but just to get it working. will go back and clean up some stuff now.
[Windows Mobile Apps and Games] RoboWang:
Good deal.

thanx!
[Windows Mobile Apps and Games] Doo Doo:
is there a way we can disable the popups?
[Windows Mobile Apps and Games] nayr1482:
oops!

posted wrong version! (that was my de-bugging version).

I will replace the file on post 882 - download the new one in a minute!
[Windows Mobile Apps and Games] Ramiroquai_ale:
I can use this with my xperia X1?
[Windows Mobile Apps and Games] Doo Doo:
no problem man will be waiting for the other version :D
[Windows Mobile Apps and Games] nayr1482:
its up on post 882
[Windows Mobile Apps and Games] 5318008:
Did you search the thread at all?

This is already covered in this thread, just search discussion for "Xperia" or "X1" and 12 or 14 hits will come up. People have it running at speeds in the 600 to 700 range. For the script, you'd have to check your registry to see if you have the requisite variables, or maybe PM someone that has it working on theirs to see if they have a usable script.
[Windows Mobile Apps and Games] RoboWang:
After all the script work, and some iffy values being checked (although it worked for most) a good script has been posted on post #882. That should work for most people, without have to make manual registry checks, OR choosing the right file.

Quite a remarkable feat.
[Windows Mobile Apps and Games] skeppley:
Working for me too. Great find!

Tilt 2 ATT
[Windows Mobile Apps and Games] 5318008:
Yeah, I was just being conservative, as the X1 is from a different OEM, so I wasn't sure if the registry values would be in the same places or not, but you're right, the new auto script 2 should be OK with an X1, as it will at least tell someone if their values aren't present in the normal places. I didn't re-read through all the X1 posts for my reply, but I couldn't remember reading if any of the X1 users had said whether they were using scripts or not.
[Windows Mobile Apps and Games] prboy1969:
I wrote this and completely forgot to thank the one person who without , all this would not be possible . NetRipper THANK YOU .
[Windows Mobile Apps and Games] lmemperador:
the last script seems to be awesome. all working... waiting to more testing. till now no SOD's

only one thing, i can not boot xdandroid, i think netripper said that putting the device at 604 mhz, then xdandroid boot. but i can't.

thanks to all the people :)
[Windows Mobile Apps and Games] prboy1969:
I edited the scripts a bit . I start mine at 710 and then boost to 729 . So far almost 20 hrs no problems .
[Windows Mobile Apps and Games] purian23:
Agreed!! I ran yours all day Robo & it went very well, just a few hiccups in the am & at home, but overall did GREAT all day w/push exchange account at work.!! But I am trying out nayr1482's from post 882. Upped myself to 748 speed boost and all seems very well so far, again on Rhodium w/6.5.x. Thank you all for the great work .. and definately Netripper for the app!
[Windows Mobile Apps and Games] demonlordoftheround:
You will need a task manger like dotfred to close mortscript, then go to netrippers app and set the safe speed, then hit the power button to return the cpu to the normal clock settings. Android will then boot.

Maybe someone has a shorter method?

edit-Unplugged!
[Windows Mobile Apps and Games] JVogler:
Can someone answer this quick question before I run this script. I'm not very familiar with how scripts change the registry yet. Once I run it...will just closing the script return everything to the way it was before? Is there the possibility of it making permanent changes?

Thanks
[Windows Mobile Apps and Games] 5318008:
Would this work?

Maybe a special script just for the dual-booters, just like the normal one except it could start at 604, and then have an initial wait of about 30 or 40 seconds (or however long it would take for the Android boot thing to show up) and then the regular boost speed could kick in once WM is fully booted. Not that I know much about the Android side of these phones, or dual-booting, but just an idea.
[Windows Mobile Apps and Games] RoboWang:
You remove the shortcut in Windows\Startup, and reset the device.Then you can delete the script, or not, doesn't matter.

Then, you are back to pre script.

The script adds four dwords to the registry. If they are not called by a program (or script in this instance) they are completely inert.

You CAN remove them in the registry, but there's really no need.
[Windows Mobile Apps and Games] JVogler:
Thanks for the quick reply...will give it a try...
[Windows Mobile Apps and Games] prboy1969:
RoboWang been trying your scripts all day with no issues :D , everything great . Now I'm trying out nayr1482's from post 882 . Will let you guys know how it goes .
[Windows Mobile Apps and Games] RoboWang:
Great!

I have been using nayr's script all day, too.

Everything has been good. Phone has slept 3 hours (and locked). I will power it up in a few to see if it has froze up,

Wait, I just woke it up, still locked and wasn't frozen. I will call it from Skype in the morning and see how it wakes up, and how it handles a missed call.

Battery is still at 90%, and I haven't charged it since before noon, about 11 hours. But, it has slept 5-6 hours of that. Still, for this phone that's good.
[Windows Mobile Apps and Games] JVogler:
I keep getting Backlight / DispOn key was not found! Exiting...

when I try to run OC_Auto2.mscr

I'm using AT&T Tilt2 with stock ROM...do I need to edit script to look elsewhere?
[Windows Mobile Apps and Games] saurabh88:
great nayrs scripts is rocking..everything is now perfact..thanx a lot..
[Windows Mobile Apps and Games] Doo Doo:
Thats odd you shouldn't have to edit the script to look somewhere else this script is suppose to do it automatically :confused: it worked 100% for me

Quick ? do you have mortscript installed on your phone because you have to have mortscript installed in order for the scripts to work
[Windows Mobile Apps and Games] xilpaxim:
don't know if this has been asked already, but if do apply at boot d it locks up, but you installed the program to your sd card, will taking the card out stop the program applying at boot? This would be a safe way to play with higher boot speeds if it is so.
[Windows Mobile Apps and Games] pteek:
coz i am out of town i will try it on 20th aug..

but if someone would tell me befor then i could have a lil party!!!!:-)

note:my eng. SUCKS. sry :-)
[Windows Mobile Apps and Games] dik23:
I get exactly the same error. I have used sktools to search my reg for dispon and it finds nothing. I presume I don't have a dispon key, I have looked in the two places where others have found thiers and it's not there.

I am using stock wwe 6.1 that came on my uk sim free tp2 last summer.

Edit: If anyone's interested I have mine set up to run the "under" script from buru898 before (as shown) and after the power button action so that while I may not be getting the speeds my TP2 is capable of I am still getting a ~15% boost over stock
[Windows Mobile Apps and Games] nayr1482:
JVogler and dik23 - aside from the usual questions like:

- do you have Mortscript (the program) installed? assuming so...

- do you have Netrippers OC program installed? assuming so...

Then it might seem like their is a 3rd location for DispOn and/or some ROMs that dont have this value...that is annoying.

I'd ask you to search the reg but you said you used SKtools and it didnt find the key.

There HAS to be a key (maybe named something different) that changes from 1 to 0 / 0 to 1 or something when your display turns off. If you can find that it can be added to the script.
[Windows Mobile Apps and Games] dik23:
Yes - I have both. How would I be running the under script and getting 604 otherwise ?!

SKTools has a reg search which show's no results for DispOn. There must be a 3rd (at least) option
[Windows Mobile Apps and Games] JVogler:
It's something different about this ROM for sure...they have changed the way display and backlight settings work for some reason....and I can't find how they control these things anywhere. Any program I've ever tried to install that's supposed to control backlight never works either. I might just end up flashing a custom ROM sometime soon since I'm so blown away at how much AT&T crippled the device. So much bloatware, makes the device unusable...

...but yes I have MortScript...run other scripts with it before

...and have been manually overclocking after every 'wake-up' to 710...works fine that way

so they both work...just can't find the setting in the registry, searched for it with 3 different programs...I think they must have a different name for that key for some reason...AT&T (wouldn't expect anything else from them!)
[Windows Mobile Apps and Games] nayr1482:
not sure if it will help since your rom seems so different than mine but...

check HKCU\ControlPanel\Backlight

lots of backlight settings in there for me - maybe they put some type of variable in there for your backlight on/off state

another place you can check is HKLM\System\CurrentControlSet\Control\Power\State\Backlightoff

good luck!
[Windows Mobile Apps and Games] nightly_shadow:
wow.. look at my Diamond speed!
[Windows Mobile Apps and Games] aldamon:
Considering I'm running 45% faster than stock @ 768 MHz, I'd say that's fine. One hell of an overclock and the script is only going to get better.
[Windows Mobile Apps and Games] punxrok:
I'm using energy 23673 dinik glass 21 jun.

The script still works flawlessly, still no SOD's :)
[Windows Mobile Apps and Games] skeppley:
Holy Moly Batman!!!
[Windows Mobile Apps and Games] SpinalRemains:
OK. Perhaps there are no issues in setting the start speed lower. I wasn't sure. The person wasn't getting the script working for whatever reason. Seeing as Robowang said that he did not know what would happen, I figured it would be best to follow suit and have it higher.
[Windows Mobile Apps and Games] HC4Life:
WOW!

Amazing speed.

I wish i have a Diamond :p
[Windows Mobile Apps and Games] nayr1482:
RoboWang & cmd512

I was looking at how we could "optimize" the script a bit more. Since I just started tweaking what was existing - I guess I have a question or two and a comment or two...

1) Why are we reading and writing the OC values to the registry? In my opinion - this is slowing us down and maybe causing an SOD or two here and there since the cycle speed is slower there is more time between the necessary Reg checks (backlight state, phone call state, lock state).

So - here is my proposal and what I am testing right now (would like you two to test it as well).

I removed the registry checks/writes for start_speed, boost_speed, safe_speed, and overclock.

These values are in the script and therefore stored in memory which is wayyyyy faster than checking them from the Registry. Plus faster boot, faster cycle, less SOD (although I have never had an SOD since starting to run the script).

Plus - I think this will be easier for other users to understand. All they do is change the numbers at the top of the script to change their OC, reboot, and done.

If I can PM you the file I am running I will, otherwise I will post it back here. Please test it (like I said I am running it now), my only concern is that after a "sleep" the memory values are forgotten ??? I dont think this is the case but we need to test it...

Edit: OK I can't PM the file so I will post here. THIS IS ONLY A TEST FILE, REGULAR USERS SHOULD GO TO POST 882 FOR NOW.
[Windows Mobile Apps and Games] :
As far as I understand the script, the while loop at the end, that basically runs endless is never checking the reg values for the different performance lavely anyhow, ot only checks it at the first run, then goes to the endless loop at the end, only updating the registry if it's boosted or safe.

Or do I misunderstand your input?
[Windows Mobile Apps and Games] cmd512:
Good call bud, pulling from memory will certainly be faster. I'll give it a go, thanks!

EDIT: This will work for the most part for me, except I have my power button bound to multiple tasks, which needs to set "OverClocked" properly in registry. On that note, do you know if MortScript will pull variables set from another script... ie, are all variables global?

Other than that, safe_speed and boost_speed can definitely set as variables in memory.