yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
I don't really understand where this problem with the auto start feature, as all the shortcut does, is run the program with the same arguments as it would be if you launched it by tapping on it's icon in the programs list. The application startup process is the same no matter where it is started from, and I have no problems with it on my device.

All I can think is that when the program is started, the sensors simply havn't been powered up by Windows following the reset. The startup time will differ for different devices, with different installations and ROMs, so it's kind of hard to trace the problem without a device of every type (Anyone care to donate, haha, kidding...). Short of making a small secondary program for system startup, and making that wait 10 seconds or w/e, and then starting launching Gyrator, I can't think of a simple solution.

I'll keep an eye out for it on my device to see if on some restarts this problem is seen. It's very hard to catch the problem because I have to be synchronised with the PC to perform debugging, and by that time, the device has started up.
[Touch Diamond, MDA Compact IV Themes and Apps] DomSim:
k, may have found a slight bug. i have the sleep when face down set as follows,

application - *

orientation - face-down

stylus - neither selected

events - vibrate and turn off screen selected

works fine for a bit then stops working. everything else still seems to rotate but will not turn off the screen when face down. if i bring the gyrator screen back up it starts working again for a short while. this is with a sprint diamond stock rom
[Touch Diamond, MDA Compact IV Themes and Apps] Drybonz:
Thanks for the reply. I had a feeling this was the case.
[Touch Diamond, MDA Compact IV Themes and Apps] Drybonz:
I get the same behavior. Also on Sprint CDMA, and running Juicy 2.41 rom.
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
All I can assume is that the program is functioning normally, and the command is being issued, but Windows seems to be ignoring the command. If the device is being made to vibrate, then the event processor is still working correctly. Another cause may be that the vibration is causing the device to wake up again, or preventing it from going to sleep in the first place. Try disabling the vibrate feature, and turning on the sound instead, then invoke the event again.

These Sprint devices are becoming a bit of a nuisance now, lol. What have Sprint done to the device to cause such odd behaviour to occur compared to the official HTC released devices.
[Touch Diamond, MDA Compact IV Themes and Apps] DomSim:
sorry, it doesnt even vibrate. so it is either not registering or it is being ignored as you said :confused: to clarify a bit as well, i have it just turn the screen off rather than suspend so that s2u2 turns on. as i mentioned before i have s2u2 excluded but maybe it is still effecting gyrator?
[Touch Diamond, MDA Compact IV Themes and Apps] Drybonz:
Can't be s2u2... I'm not using it.
[Touch Diamond, MDA Compact IV Themes and Apps] Drybonz:
I agree... I'm getting annoyed with it myself.

Anyway, more info... vibrate on face down does not work at all. Turn off screen on face down does work as long as I do not have Gyrator minimized. If it is minimized the turn off screen does not work.

Also... when I connect to active sync it causes gyrator to stop functioning. I have to restart Gyrator after connecting to active sync.

Hope this feedback is helpful.

Thanks.
[Touch Diamond, MDA Compact IV Themes and Apps] DomSim:
i do not have any problems during or after an activesync
[Touch Diamond, MDA Compact IV Themes and Apps] NLS:
Quick questions: What is the memory footprint of this program? Measured the CPU resources it needs?
[Touch Diamond, MDA Compact IV Themes and Apps] DomSim:
i can see around .10-.30 when stationary and have seen up to 7.2 when rotating and triggering an event but average seems around 4.0
[Touch Diamond, MDA Compact IV Themes and Apps] LucidObscurity:
Please Read

OK, I want to give Brins0 a hand and point out a couple things which may help resolve some of the questions.

A number of the programs/screens in windows mobile report as "Dialog". Due to this, these screens must all share the same behavior in Gyrator. You can setup a rule for "Dialog" (or don't set one up and have it fall under the category of "*"), but it will apply to all screens which report as Dialog (if you're not sure which screens this applies to use the "Learn Window Class" function to find out. Some of the screen I'm aware of which report as "Dialog" are.

Mail Screens (both reading and composing)

Messaging Screens (both reading and composing)

Any screen if the phone is Locked (it seems when the phone is locked an invisible screen (which reports as "Dialog") is overlayed on top of the existing screen - see below for implications)

Since when the screen is Locked, it reports as "Dialog" no matter which screen you are looking at - the events will execute accordingly. So anytime the phone is locked, it is the event setup for "Dialog" which will be executed (or the event setup for "*" if none is setup for "Dialog"). Keep this in mind if you have an event setup for, say the Manila screen, to turn off the backlight off when the device is place face down, if the device is Locked then you are not on the Manila screen, you are on the Dialog screen.

I have recently noticed the application sometimes fails to function after auto-starting after a soft-reset. You have to close and re-open it then it will work fine. If (due to this) you don't want it to startup automatically simply remove the applicable entry in \Windows\Startup.

Other than these small inconveniences - doesn't this application really bring this phone up a couple notches? I was surprised how few apps took advantage of the G-Sensor for screen rotation. If you ask me, Brins0's Gyrator is a must have for the Diamond.

Oh, one more thing - the Manila screens don't like to be rotated - there's nothing that can be done about this.
[Touch Diamond, MDA Compact IV Themes and Apps] legend2:
Thanks a lot, the new version works perfect!
[Touch Diamond, MDA Compact IV Themes and Apps] klmsu19:
Ive noticed this too it doesnt start properly after a soft reset, the program will start up but wont work until you exit it and restart it.

Simple workaround for this:

1 delete the .lnk gyrator makes in the \windows\startup folder as you said.

2 install mostscript (takes maybe 300kb its a small program) and use a .mscr file

use notepad on your desktop and copy and paste it in and "save as," for example gyrator2.mscr) with this coding:

Sleep(30000)

Run( "\Program Files\Brins0net\Gyrator 2\Brins0net_Gyrator2.exe" )

3. now put the mscr file you created into the startup folder

all it does it wait 30 seconds (maybe even use 45000 for 45 second) then start the program. It seems like something with manilla may be conflicting. but this method works. This gives tflo3d time to load and then gyrator starts. Voila works on startup now just fine
[Touch Diamond, MDA Compact IV Themes and Apps] tntsniper:
So has anyone noticed battery decrease due to using this program? I haven't yet, but I'm wondering if the Gsensor is always polling and running anyways, so in theory it shouldn't decrease that much, correct?
[Touch Diamond, MDA Compact IV Themes and Apps] klmsu19:
well the gsensors must be being polled by the system alreay to be on demand when you rotate in opera per say. Id say at best its negligibly more power use.
[Touch Diamond, MDA Compact IV Themes and Apps] remlle:
anyone know how to make the phone pad stop rotating?
[Touch Diamond, MDA Compact IV Themes and Apps] LucidObscurity:
The Phone has a Window Class of "Dialog". You can stop it from rotating, but you'll also stop the Messaging and Mail screen from rotating.
[Touch Diamond, MDA Compact IV Themes and Apps] cgeyik:
And how do you stop it from rotating, because it doesnt work for me...
[Touch Diamond, MDA Compact IV Themes and Apps] LucidObscurity:
Create an Event for "Dialog". Check "Orentation" as the event type. Leave other settings for the event blank. Make sure this event is promoted above any "*" events.
[Touch Diamond, MDA Compact IV Themes and Apps] NLS:
The cleanest way to solve the startup issue, is not to use other programs, but to implement some internal delay when program starts. Maybe even implement it as a parameter so the startup lnk uses it and the normal lnk doesn't.

This is the proper way as it will just "wait" using the program's own thread, not freeze the whole system!

Imagine if we had to add wait states for every program in startup... booting would be like booting an active directory enabled server.
[Touch Diamond, MDA Compact IV Themes and Apps] cgeyik:
doesnt work lad, even when i choose phone/lock/ect.... or 'grab window class'.
[Touch Diamond, MDA Compact IV Themes and Apps] LucidObscurity:
I'm not sure what you mean by "phone/lock/ect..." son. I implemented this on my phone before I replied to you last, so it should work. Let me see if I can be more specific.

1) Open Gryrator

2) Click "Menu"

3) Click "Options >"

4) Click Events

5) Right click (click and hold) the white portion of the screen

6) Choose "Add Event"

7) Right click the newly added event called "<NEW EVENT>"

8) Select "Orientation"

9) Right click the newly added event again

10) Choose "Edit Event"

11) In the textbox at the top of the screen replace "<NEW EVENT>" with "Dialog" (be sure the capitalize the "D")

12) Do not set any other options

13) Click "Apply"

14) Right click the new event which is now called "Dialog"

15) Choose "Promote"

16) Continue steps 14 & 15 until the event is at the top of the list

17) Click "Apply"

18) Click "Minimize"

19) Go to your phone application and you should see that is does not rotate.

Edit: I found what you mean by "Phone/Lock/Etc...". Make sure you not only highlight the selection in the list but also click it again. The text at the top should change on the second click.
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
Right, just a quick update, which will solve the all the worlds problems (Well actually just the problem of some applications having no unique window class). I'm sure most of you will know what a momentus find this is by myself and "LucidObscurity".

This new method I have implemented will not return "Dialog" for the phone screen, but "Phone" instead. The text box in the configuration panel can be used to either store a window title, or a window class (no need to tell Gyrator which it is). this means you can use teither the window title, or the window class.

Now i'm not going to release this version tonight, as i've got to be up quite early in the morning, but i'm sure you can wait till then for me to perfect it.
[Touch Diamond, MDA Compact IV Themes and Apps] Vulpix:
Woah Brins, what magic or powers did you use to make this work with every configuration?
[Touch Diamond, MDA Compact IV Themes and Apps] FOSA:
RE

Hi!

I'm using Touch Pro. Is Gyrator 2 loading prior to TF3D after a soft reset?

It seems that after a soft reset I need to exit Gyrator 2 before I can access TF3D and then to re-run Gyrator 2?
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
I assume you mean the capability to be configured to suit almost all the needs of users.

Witchcraft... To be ohnest, i'm not really sure how I made it, it just kind of happened. I never planed it out on paper or anything, I just started programming, and it happened. Somehow I just managed to think up such a system using simple logic (not usually my string point, in real life at least).

I assume you like the new version with the advanced configuration system and events processor?

There's a new version coming out tomorrow afternoon (That's like 15:00 BST onwards for me) that will offer a few more options, and should solve the "Dialog" problem so many users have had issues with. I'm testing the new version on my device tomorrow whilst i'm out and about.
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
It depends on the configuration of your device. Since all device configurations differ, it's very hard to test for this problem and it's cause, as i've stated before. Hopefully i'm going to find a solution for tomorrow's release, but don't hold your breath, as i've no way of testing to see if it fixes the problem, as I don't have it.
[Touch Diamond, MDA Compact IV Themes and Apps] roomer11:
Maybe this will help?

Menu->Options->General, check the box "Hide window when application starts" :)
[Touch Diamond, MDA Compact IV Themes and Apps] atompure:
For Touch Pro (After soft reset, gyrator run before 3D Touch Pro, gyrator cannot work, need to exit and re-run):

(By editing registry, gyrator is run after 3D Touch Pro. Hence, solve the above-mentioned by FOSA)

I delete Gyrator 2 shortcut from startup folder.

Move and rename the program folder to \Program Files\Gyrator

and rename the program to Gyrator.exe

then registry edit to add in the following entry :

HKEY_CURRENT_USER\Software\HTC\BootLauncher\Apps\Gyrator (Key)

Value : default

Module : \Program Files\Gyrator\Gyrator.exe

It works for me !

After softreset, the Gyrator program will be run after 3D TouchFLo, it works !

Last but not least :

Brins0, yes ! Thanks for the great application !
[Touch Diamond, MDA Compact IV Themes and Apps] roo7:
Hi brins0,

Thanks for the great app ! Just curious, what's the difference between suspending device and turning screen off ?
[Touch Diamond, MDA Compact IV Themes and Apps] gamer007:
Works for me. Thanks atompure! :D
[Touch Diamond, MDA Compact IV Themes and Apps] atompure:
Registry edit for Gyrator to work after soft reset for Touch Pro (or maybe Diamond) :

a. Install program : Choose device

b. Copy contents from the installed directory

\Program Files\Brins0net\Gyrator 2

to

\Program Files\Gyrator (Create new folder)

c. Rename Brins0net_Gyrator2.exe

to

Gyrator.exe

d. Delete OLD program shortcut from

\Windows\StartUp

\Windows\Start Menu\Programs

e. Create new program shortcut to

\Windows\Start Menu\Programs

f. Registry edit to add in followings :

HKEY_CURRENT_USER\Software\HTC\BootLauncher\Apps\Gyrator

{KEY }

---> Value : default {by default already have}

---> Module : {String }

\Program Files\Gyrator\Gyrator.exe

Cheers !
[Touch Diamond, MDA Compact IV Themes and Apps] roisagi:
i donot want the devive to rotate while in main screen TF3D -

how to config that?
[Touch Diamond, MDA Compact IV Themes and Apps] kultus:
what about to compare to Gsen...stability, quickness, setup capabilities etc...

Im using Gsen just with success so dont wanna kick it only for test it...:p
[Touch Diamond, MDA Compact IV Themes and Apps] tepss:
roisagi just ad this line to applications.ini :

And today screen would be disabled.

Its quite stable and faster in rotation than GSen. Can play sound when rotating and has two great options:

- turn off when face down (lock the device)

- keep awake when uneven

Any info how much battery life would be influenced?
[Touch Diamond, MDA Compact IV Themes and Apps] dimisxxx:
Help CRASHING

Hello thats a fantastic app but its crashing what i mean is when i turn the diamond is turning ......but after 2 sec is going back to today screen has someone solution for that_????? OTHERWISE IS FANTASTIC ANYONE?????:(
[Touch Diamond, MDA Compact IV Themes and Apps] pencilcase:
Hi,

I would also be willing to test this application with my 1.90 ROM on the Touch Pro including making any neccesary dumps/... pm me if you are interrested and if this is an option for you :)

I hope I can help to get this working!

thanks
[Touch Diamond, MDA Compact IV Themes and Apps] hkpeople:
i have problem ..TF3D rotate too.
[Touch Diamond, MDA Compact IV Themes and Apps] vaiko666:
Great App !!! It would be nice if an effect such as the one of the Omnia could be added when rotating ;)

Don't know how hard is it, but suggesting ;)
[Touch Diamond, MDA Compact IV Themes and Apps] Propsy:
Great app, works WAY faster than Gsen.
[Touch Diamond, MDA Compact IV Themes and Apps] Mr_Gee:
I'm going to try it now!

Maybe for the new version, could you include key sending based on rotation (per application)?

The reason I ask is TCPMP i'd like to be able to just rotate the phone to have TCPMP go full screen, unfortunatley this is (i think) not possible

therefor it would be nice if the screen rotation application could simulate the keypress when rotating...

:D

Thanks for considering
[Touch Diamond, MDA Compact IV Themes and Apps] kultus:
Why manila isnt in programs list...

One question... is it possible to choose from already instaled apps in device like list with checkbox which will indicate apps that will be rotated with your great app BTW...:) its simple that do list manually...
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
MAnilla isn't in the applications list, because I don't have it installed on my device, and hence I couldn't get the window title/class i'm afraid. HAve now added it to the Applications.ini, so you can download it, or add it yourself.

As Roisagi so kindly pointed out, the entry for Manilla is: 0,Manila,Start
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
Thanks for the offer, but it's nothing to do with my program whether or not it rotates with the Telus device. It's down to the kind person who wrote the GSensor library. If you want to participate in any testing, I suggest you contact the person who provided it.

His name is Scott as far as I know, and his information can be found here: http://scottandmichelle.net/scott/comments.html?entry=784
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
Yes, it's very possible to do this, and it's very light on code and resources to add it. Performing a different action for each appliction would take time i'm afraid, but it's a possibility for future releases if there's sufficient interest...

I'm starting at university again shortly, so it may take time :)
[Touch Diamond, MDA Compact IV Themes and Apps] pencilcase:
Thanks, posted in his blog just now, lets hope he answers :)
[Touch Diamond, MDA Compact IV Themes and Apps] Matteo66:
Which is the entry for Phone?

Thank you in advance and congratulation for your great work.
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
[2008.09.23.1] New version!

A new version has been released, so have added this post to bump the topic up.

New features in this release include a learning feature for easy rule creation, an about box, and minor cosmetic changes.

Link to information post concerning the updates, as well as download information.
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
Download the new version and use the new learning feature to get the class name required for the rule. Should work for any application you want to make a rule for :D
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
I have run through the code looking for where this could occur, as I have found it occasionally does this. I think it may be something to do with an object on the today screen, which "steals focus" when it redraws and is a different size, but i'm not certain.

The problem lies outside mmy program basically, I think it's purely to do with how windows rotates the screen.

I would suggest simply soft resetting your device, and running it again to see if it still happens. If you are able to provide any more information about what you have active on your today screen, it would be helpful in debugging...
[Touch Diamond, MDA Compact IV Themes and Apps] Matteo66:
Great, thank you

learning feature is very usefull. ;)

learning feature said that the entry for phone is dialog, but not work :(
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
The .NET framework installer is large, as it contains all of the different versions for different devices (ie with different CPUs). The actual library that will be installed is relatively small (2-3MB) and is installed over ActiveSync (XP)/Windows Mobile Device Center (Vista). It can also be removed afterwards if needed.
[Touch Diamond, MDA Compact IV Themes and Apps] FOSA:
RE

Hi atompure

Thanks.

I'll wait for tomorrow for the new release by the developer :))
[Touch Diamond, MDA Compact IV Themes and Apps] Drybonz:
Awesome. Thank you. Can't wait.
[Touch Diamond, MDA Compact IV Themes and Apps] zenkinz:
anybody feels that the device slow down significantly after awhile?
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
How do you mean, slow down? Do you mean just in general, or only for events such as rotation and such?
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
Rather than you having to do this manually, i'll change where the program is stored, and automatically add these settings into the registry through the installer. This way, when the program is removed, so will the registry entries.

Thanks for the info on where to place the relevant entries. I've been experimenting with the "Window Title" feature I added, and it seems stable enough, so i'll be releasing the new version shortly (In a few hours)
[Touch Diamond, MDA Compact IV Themes and Apps] zenkinz:
not just rotation, but all the navigation seems to be less responsive until I quit gyrator. I have no empirical data to prove that, it's just something I've experienced today.
[Touch Diamond, MDA Compact IV Themes and Apps] rainfreak:
I installed this on my Sprint (CDMA) Diamond yesterday and just wanted to say thanks! This app is incredible and I have seen no slowdowns or adverse affects.

Good job and thanks again!
[Touch Diamond, MDA Compact IV Themes and Apps] Vulpix:
Well, it's just that I assume that the issues with Touch Pro, different Diamond ROM builds and all that stuff, there will be no easy way to enable rotation for all builds of ROMs/devices. Suddenly out of nowhere, you release Gyrator 2. And it works with all devices now! So yeah, it's kind of like a miracle at work!

And yes, I like the new version a lot. Will be putting up a donation soon when I can.
[Touch Diamond, MDA Compact IV Themes and Apps] crm4:
I experienced the same issue. Using task explorer, i saw gyrator2 process occuping a constant 60% CPU, without moving my phone.
[Touch Diamond, MDA Compact IV Themes and Apps] raising_angel:
vue flo

nice app!!! I really like it. But I think it causes a little slow down of my device... IWill be in future plans to add the vue flo feature????

Cheers.
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
[2008.10.14.1] New version!

A new version has been released, so have added this post to bump the topic up.

Applications can not be in/excluded from events using either the window class, or the window title. Learning has been adpoted to catch either of these, selected through the application list. Changes to startup procedures, no longer has a shortcut in "\windows\startup", instead i've added the entries into the HTC BootLauncher registry area, as mentioned in previous posts. This should fix alot of the problems people have been having.

Link to information post concerning the updates, as well as download information.

Remember: I keep Gyrator 2 free for people to enjoy, but I have spent alot of my personal

time rebuilding the library and program to keep you, the user, happy. If you enjoy using

Gyrator 2, and find it useful, please consider making a donation, I would really appreciate it.
[Touch Diamond, MDA Compact IV Themes and Apps] clamknuckle:
So does this mean you can isolate the phone from rotating with the messaging screen?

Fantastic app by the way. Thank you so much.

edit: I tried to play around with it for a bit, but I can't get it if it's possible.
[Touch Diamond, MDA Compact IV Themes and Apps] WizP:
Hi Brins0, I love the new V2 app, it works brilliantly since the rework. Just a thought but perhaps you could think about adding the app to app-to-date? I do visit the site many times daily and will probably never miss an update.

Keep up the excellent work.