yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
Project Name

I'm thinking of changing the name of my project, because "Brins0net_ScreenRotator" sounds immensely boring, even if it does accurately describe what it does...

I'd like to ask for people opinions on the following name and logo if I may...

I'm thinking of renaming it to: Gyrator

Larger version HERE.

This will still give peopel a rough idea as to what it does, and it certainly sounds very cool. I'll change the names internally which will be no hassle, and you'll not see any difference int he way it works, but it will sound somewhat cooler.

Note: This will most likely not be the final logo, as it's using the Microsoft Vista "Sync Center" icon at the moment, and i'm sure they won't take too kindly to me using it in the final version.
[Touch Diamond, MDA Compact IV Themes and Apps] Blazeitup123:
Rotate synonyms: alternate, circle, circulate, circumvolve, gyrate, orbit, oscillate, pirouette, pivot, revolve, roll, spin, swivel, turn, twirl, wheel, whirl.

i like gyrator :)

revolver and swivel i also like.

screen swivler or diamond revolver.... meh i don't know. brainstorming lol :o
[Touch Diamond, MDA Compact IV Themes and Apps] Drybonz:
Yeah... how about The Pirouette-or?

Just kidding... Gyrator is cool. Nice logo.

Have been following the thread. App looks awesome... much more accessible than Gsen.

Can't wait to try... I'm on Sprint... hoping for the new library.
[Touch Diamond, MDA Compact IV Themes and Apps] Dpakrawal:
Could somebody tell me... How do I "ADD" Applications to the configuration menu ??.. I wanted to this to work for only my email accounts.. not for the SMS/MMS... Can anybody tell me how do I do this !!?
[Touch Diamond, MDA Compact IV Themes and Apps] mst46:
Hey Brins0 well done. All the features work as designed :-).

It's just that I don't like the way to unlock now - never did :-( for WM5/6.

Personally I would prefer a (new?) gesture for unlocking.

I quite like the "activate keylock and suspend" on a gesture though - great feature.

I also like the second gesture for suspending without lock as this gives me the choice

betweeen locking and not locking - especially for times when I know I will need the

diamond again in short time.

As for the new name ... I like GYRATOR quite a lot, sounds kinda cool.

Keep up that great work of yours :-).

mst
[Touch Diamond, MDA Compact IV Themes and Apps] mst46:
There are two ways to add Apps to the menu ( in fact even three ;-) )

1.) In the configuration - Application screen click and hold with the stylus anywhere

on the screen until the menu shows up. Choose Add Rule - this adds a default rule

at the bottom which you can now edit with the Edit Rule in the same menu.

2.) In the configuration - Application screen press Tools - there shows up

"Find Windows ID" click on that - now check that the application you want a rule

for is visible on the screen and active - now remove the stylus (if it isn't already

removed) and put it back in.

Putting the stylus in here adds a rule at the bottom to the application rules.

3.) Find out the window you want a rule for with a taskmanager (i.e. free TaskMgr

from Dotfred (http://www.dotfred.net/) ) and add this to the

Applications.ini file with an editor.

HTH,

mst
[Touch Diamond, MDA Compact IV Themes and Apps] benko286:
how to remove vibrate when stylus is putting in?

i love that when stylus is in diamond device goes off but i hate vibrating.
[Touch Diamond, MDA Compact IV Themes and Apps] StyL3-Ivan:
So far no big issue on this appz. Gd job brins0.

Can i give a comment about the Right bottom menu

[Configure, Exit, Close Window,...]

It is possible when we select "Close Window", we can re-enter the program again. As currently, we could not re-enter the program when selecting "Close Window". I guess most of us hope not to see the program in the task manager and at the same time we hope to re-enter the program to do some configuration?

I believe [X] & [Exit]..is close the program without running the program.

Therefore [Close Window].. should be close the program and having it running as hidden background.
[Touch Diamond, MDA Compact IV Themes and Apps] tepss:
Lock function works great. SensorLock is gone and Gyrator is back in business. However there is one bug:

When locked and the screen is dimmed rotation is still active and rotates even manila which is disabled when unlocked ?!
[Touch Diamond, MDA Compact IV Themes and Apps] Wolfblood:
Thanks, This is a great app for me :)

If the appliaction rule can also support control the rotate screen how many angle can change for each apps like 90, 180, 270 will be super great! :)
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
Thanks for that little bug, i'll look into it now, it's most likely a rule which is being skipped because the device is locked...

This isn't currently an option, but i'll make it an option for the next version. To keep it simple, i'll have a global option to turn all vibration off. There would be far too many checkboxes or otion in combo boxes otherwise. It'd confuse me trying to work out all of the logic behind it, and would make it far more difficult for you all to use.

As for the rename, that will take effect for the next version hopefully. I should have finalised a logo for it which will be seen in the next version, along with a new icon most likely. I'm gonna set up a new sub-domain on my server, gyrator.brins0.net, which will hold information about the program. It'll make it much simpler to find out what's going on. Support will still be offered here though, as well as via email.

Keep those suggestions coming in :D
[Touch Diamond, MDA Compact IV Themes and Apps] roisagi:
what is the string/rule to prevent rotation in phone mode? )cprog? what is the exact string?
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
It depends which skin you ahve active I think. If you have disabled the carrier string, it's one thing, if you havn't it's another. Use the stylus learning tool to get the correct string for your device.
[Touch Diamond, MDA Compact IV Themes and Apps] roisagi:
how to "use the stylus..." if i do not know which application is the phone one?
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
Enter the stylus learning mode using "Find Window ID" from the tools menu in the configuration screen. Follow the on-screen instructions.

Basically, when in this mode, you make sure the phone application is currently visible on the screen, and insert the stylus into the device. My program will then display a message box with the class ID of the currently focused window in it. This will then be added to the Applciation List (and also the applications.ini file when saved) and will default to "do not rotate" or unchecked.

(I really should write a readme... but it'll be on the new site i'm setting up for it)
[Touch Diamond, MDA Compact IV Themes and Apps] wingwindw:
sigh :(

Same problem like gsen running no my P3702(Victor)

It only avaliable for the last program before open screenRotator

(Ex.. Open Explorer(Program)-> open screenRotator-> only Explorer can auto rotate..)

what's wrong with it??

And If I open ScreenRotator and open Opera(can rotator by HTCGsensor)

The ScreenRotator will be crash after the Opera rotated by HTCGsensor

is it the problem maker?

sorry for my poor English..

below is my reg for GSensor

[HKEY_LOCAL_MACHINE\Software\HTC\HTCSensor\GSensor]

"CheckingTime"=dword:000000C8

"EventChanged"=dword:00010002

"DeviceControlVersion"="0.50.0.0"

"KBDSlideOut_To_Stop_GSensor"=dword:00000000

"DeviceAvailability"=dword:00000001

"DeviceVendor"="Kionix KXSD9"

"PhonecallMute"=dword:00000001

"TilingAngleThresholdEx"=dword:00000028

"FaceupAngleThreshold"=dword:0000001E

"RotateAngleThresholdEx"=dword:0000001E

"LandscapeToP0Threshold"=dword:00000028

"FaceupToLandscape"=dword:00000000

"FaceupAsPortrait"=dword:00000001

"NotifyAppRotationMask"=dword:0000003F

"TilingAngleThreshold"=dword:00000014

"RotateAngleThreshold"=dword:0000002D

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\GSensor]

"Dll"="Gsensor.dll"

"Calibrate3-3"=dword:00000062

"Calibrate3-2"=dword:0000000A

"Calibrate3-1"=dword:0000001A

"Calibrate2-3"=dword:00000000

"Calibrate2-2"=dword:00000000

"Calibrate2-1"=dword:00000000

"Calibrate1-3"=dword:00000000

"Calibrate1-2"=dword:00000000

"Calibrate1-1"=dword:00000000

"EnableShaking"=dword:00000001

"CalibrateMethod"=dword:00000231

"IClass"="{A32942B7-920C-486b-B0E6-92A702A99B35}"

"ShakingThreshold"=dword:00000003

"PollingInterval"=dword:000000C8

"Order"=dword:0000000C

"Index"=dword:00000001

"Prefix"="ECS"
[Touch Diamond, MDA Compact IV Themes and Apps] DomSim:
is the g sensor different on the sprint version? or is there something i am not doing right to get this to work? neither this or gsen works for me :(
[Touch Diamond, MDA Compact IV Themes and Apps] benko286:
another problem:

i set that when is face down to turn off device(again irritating vibrate). but every time diamond is faced down it vibrate(screen is shouted down).

cant wait to remove vibrate;)
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
I refer you both to one of my previous posts stating why it does not work with all devices:

http://xdaforums.com/showpost.php?p=2685144&postcount=60

This will help you know if it is a simple incompatability error, or if it's somehting wrong on my end.
[Touch Diamond, MDA Compact IV Themes and Apps] DomSim:
i can tell you, when the program loads and shows "orientation" it does not show anything. it is just a blank white screen. whether its an incompatibility or something wrong i have no clue.
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
Do any of the of the option in the menus do anything? If they do not appear, or do not function, then you have a problem with your device or the version of the comapct framework you ahve installed is not modern enough. This program requires .NET CF v3.5 as stated in the opening post.

Please ensure you have the prerequisites, and then try again. If you still have problems, feel free to contact me again.
[Touch Diamond, MDA Compact IV Themes and Apps] roisagi:
exactly my question: what is the phone application name?? i cannot recognize it in the application list..
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
For all of those who are interested in what the Gyrator dedicated website will look like, you are welcome to preview it here, although remember... it is in development, so will not do much at the moment.

http://downloads.brins0.net/[gyrator]/

Note: It's designed to work well in Firefox, not in Internet Explorer, so it may not work how you expect it to...

I'm open to suggestions at this time. I want to make it both look pretty, as well as provide you with useful information and downloads.
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
Ah, sorry, mis-read your original question...

I think it's called soemthing strange like "Dialog" for some reason. I remember trying to find it myself when I first added it.
[Touch Diamond, MDA Compact IV Themes and Apps] Semi666:
Hmm

Would it be possible to add function from Sensor Lock ?

http://xdaforums.com/showthread.php?t=422871

to your program so you could lock it with flip ?? Ive tried to use both programs at once but there seems to be some conflicts :( So sometimes i have trouble to unlock it
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
You can already lock the phone by turning it on it's end into reverse portrait mode, or flipping it so it's face down. Make sure you have set the options up for "Activate Key Lock" for "Face Down" in the Orientation tab of the configuration screen.

I've released alot of versions recently, so make sure you have the most recent one as the feature was not added too long ago.
[Touch Diamond, MDA Compact IV Themes and Apps] DomSim:
i have .net cf 3.5 installed already. menus work and i can go through them. stylus controls work as well. just nothing to do with reading the g sensor.
[Touch Diamond, MDA Compact IV Themes and Apps] techred:
great program, unfortunately I don´t manage to exclude g-alarm or klaxon from rotating ;-(

i love the turn over suspend function - but somehow it doesn´t work with S2U2

when I turn the phone back on, S2U2 is not activated

as my lovely xda recently called 3 numbers while it was in my pocket and S2U2 not activated, I can´t afford S2U2 not working ...
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
With the Key Lock activated, there should be no way it can call anyone, or actually do anything unless you unlock it first by removing the stylus. Make sure you have the keylock activated, and that the stylus sensor on your device is functioning correctly.

Remember to make sure that the program's most frequently shown window is in the blacklist, as a program may have more than one window, and hence more than one entry needs to be added. I have yet to find a program which will not work with my stylus learning technique
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
Have you checked to make sure that your device is not on the "known not working" list. There are some phones which will not work correctly with the gSensor library completely.
[Touch Diamond, MDA Compact IV Themes and Apps] DomSim:
didnt see sprint diamond on a list but it it is cdma like the telus so im pretty sure your app and others designed for cdma are just incopatible
[Touch Diamond, MDA Compact IV Themes and Apps] Wolfblood:
Hi brins0,

Is it possible to make a option for goniometer like how many degree is change then rotate the screen. I feel now the app look like each 45 degree to change. But I hope can set to 60-75 degree then change. That's will make the screen rotate not too sensitive.

What's did you think? :)

Thank you for your good work!
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
This is not likely to be implemented for a short while i'm afraid, although the thaught has crossed my mind, and i've got a basic idea as to how to do it. It would take alot of work, and require continual polling of the gSensor, which lowers battery life, and increases CPU usage to the point where it's not actually worth the change.

I'll be starting at university again soon, so time will be limited unfortunately. I will still try to fix minor bugs that people find, but large overhauls such as this are not likely to happen quickly, sorry :)
[Touch Diamond, MDA Compact IV Themes and Apps] Wolfblood:
Understand that. Thank you. ^o^
[Touch Diamond, MDA Compact IV Themes and Apps] es_wychk:
Raphael Compatibility - Solution?

brins0, I have to say I LOVE your app, it is perfectly what i have been looking for.:)

The bad news is: it does NOT work on my device(Raphael/Touch Pro, unbranded). Other apps using g-senors works well though.

The good news is: After tons of reading, I

have "nearly" find a solution that will help you in your next build.

The library you are using, sensors.dll, monitors the

HKLM\Software\HTC\HTCSensor\GSensor\EventChanged to obtain info on orientation of the device and update it in its HTCGSensor.Orientation property . In Raphael, possibly due to the addition of keyboard, EventChanged does not update automatically by default.

I wouldnt expect sensors.dll to be updated in the near future, as it appear to be a self-written SDK.

(Long-term) Solution-1: Abandon the SDK and Directly invoke the HTCSensorSDK.dll

Sensortest.exe written by Scott Seligman(Source Code in cpp + exe attached), is able to use (Officially preinstalled by HTC, found under \Windows\) HTCSensorSDK.dll to obtain correct orientation information of my raphael. You can modify your program by taking it as an example.

Pros:

A. Raphael Compatibility

B. Performance, nothing is quicker than invoking the official dll directly

C. Using official dll improves compatibility with other device as well.

Cons:

Does Diamond has this dll as well? I am not sure as i dun have access to Diamond. Attached the dll just in case.

(Mid-term) Solution-2-Maybe only an additional function call?

I am no programming expert, but i can see that Scott's code is also monitoring the HKLM\Software\HTC\HTCSensor\GSensor\EventChanged registry to update its orientation information. MAYBE, it only takes an extra function call to begin G-Sensor's automatic update of the registry key. I am not sure on this as I cant compare Scott's code with the source code of your project.

Pros:

A. Raphael Compatibility

B. Only Minor modification is needed

Cons:

We are still using the old SDK, other problems may still exist: e.g. the Opera crash stated above?

(Short term) Solution-3: Use GetVector

Do not rely on the HTCGSensor.Orientation property for getting the device orientation. Use HTCGSensor.GetVector to obtain the raw output from G-sensor, and programmatically translate it into orientation.

(I have tested with the GSensorTest.exe from the SDK, HTCGSensor.GetVector should be working.

Pros:

A. Raphael Compatibility

B. Option to user-define the angle needed to trigger Landscape/Portrait mode.

Cons:

A. Performance. I am not sure how fast the G-Sensor respond, but this option may impair performance a little.
[Touch Diamond, MDA Compact IV Themes and Apps] es_wychk:
I GUESS this can be achieved through changing registry.

HKLM\Software\HTC\HTCSensor\GSensor\

There are a few "Threshold" that you can try to modify.

I cannot test this as my Touch Pro is incompatible><
[Touch Diamond, MDA Compact IV Themes and Apps] es_wychk:
The device does internal continual polling to know about the orientation anyway(if it doesnt, the program wont work, as in my Raphael :p), so I believe the change in performance/battery drainage is minimal.

A simple way of doing it is adding a Timer to call GVector, and interpret the data using a pre-defined threshold.

I think many here are willing to help as your university life get tight(including me:)).
[Touch Diamond, MDA Compact IV Themes and Apps] roisagi:
sorry - there is ni dialog or any other thing you might think is the phone application -

any ideas?
[Touch Diamond, MDA Compact IV Themes and Apps] steveianson:
Great application. Solves the problems with Gsen.

Is there any way to lose the listing on task manager?
[Touch Diamond, MDA Compact IV Themes and Apps] zonsoft:
Thank you, brins0! Just wonderful. And stable, too.

1. I definitely miss the ability to assign the default behaviour to unlisted windows.

2. When started from StartUp, program can be minimized but anyway shows up during bootup - can it be avoided? It would be really nice if there would be totally silent start.

3. Can you make an inverted screen as an option - white-on-black?

And thanks again - this program is really useful.
[Touch Diamond, MDA Compact IV Themes and Apps] DomSim:
brins0 i will help in anyway possible to get this working on the cdma versions. since you obviously do not have one on hand, let me know anything you would need to know such as registry values, etc to get it working. if more complex info is needed just explain how to obtain it and i will gladly do so. feel free to pm me if interested.
[Touch Diamond, MDA Compact IV Themes and Apps] oscahie:
I tried this app yesterday and I like it, but we definitely need the ability to configure whether to rotate or not the unlisted windows. Indeed in the middle of a phone call it rotated the screen and I was constantly pushing the "on hold" button with my ear :D
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
Why don't you simply add the phone application window to the application list, and disable the rule?

The class name to enter in the lower box is "Dialog". Clear the checkbox for the rule, and then it won't be rotated.
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
In the next version, which co-incidentally will be the first release under the new name "Gyrator", will most likely contain the option to control the default action for unlisted windows as so many of you have asked for it. However, due to the amount of time i'm going to have to devote to my studies, adding to the fact that it's my birthday on friday, will mean that it may be a short while until i've got time to release a new version.

Zonsoft, unfortunately it's not possible for me to control the device's internal colouring to create a "high contrast white on black" theme as with a Windows desktop system. Also, for now, I do not know how to make it so there is no window shown for an application. A console application is not designed to be constantly working in the background, so it would ahve to be written as a service, and I don't know how to do this in c#.
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
I'm glad you like the application, I only wish it worked for more people...

Thanks for the run-down of available options. I have thaught about changing how it worked, but i've struggled to find information about how the HTCSensorSDK library works. It would most likely be simple enough to convert idea C into idea A when I work out how it all functions.

The first logical step would be to become less reliant on the Orientation enumeration in the library i'm using at the moment, and manually polling the sensors through the DLL I'm using now. With simple tweaking i'm sure I would be able to find a suitable polling rate, and as another reader proposed, the system polls the sensors anyway, so any performance hit would be negligable.

As soon as I got to the stage of polling the sensors myself, it wouldn't require too much effort to poll them directly through the HTCSensorSDK library instead. I don't see how it would be alot more efficient, but it would allow the user to tune the orentation bounds for the best feel.
[Touch Diamond, MDA Compact IV Themes and Apps] Semi666:
x

Sorry if it was written somewhere else but would it be possible on incoming call to lock screen and answer just with hw buttons ? Ive tried AnswerkeysDisabler and Rotator but it wont work ie screen is not locked or both screen/buttons are locked
[Touch Diamond, MDA Compact IV Themes and Apps] NYRican:
this program will not work with my gsensor the stylus options will work but none of the options involving the gsensor have any effect on my diamond. other programs work perfectly with the gsensor but this one wont even recognize the orientation on the first screen of the program unless i use an app which does use my gsensor but then as soon as i close that app your program wont recognize my sensor anymore.
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
I think this does actually prove that es_wychk was right about how the sensor reading sare recorded. It would appear that the registry entry the library uses to check if the orientation has changed, is not updated automatically on some of the devices, unless it is invoked to by a certain application. Unfortunately, due to the way I use the library in current versions, it won't work cirrectly on all devices.

As I mentioned earlier on this evening, I will attempt to get the readings myself and calculate the orientation. This will mean that it *should* work with all devices.
[Touch Diamond, MDA Compact IV Themes and Apps] NYRican:
do you think a ROM change would effect how it works? right now im running the stock ROM on the US Diamond i was thinking of switching to one of Dutty's ROMs. after i hardresetted i got it so it rotates the screen but only in Programs and nowhere else. to change the orientation detected on the screen in your program i have to back out go to programs use the gsensor then open your program again and it will detect the change otherwise nothing happens.
[Realme C12 Questions & Answers] Sandip poudel:
Give comtom rom for realme c12
[Realme C12 Questions & Answers] maz01:
check the discussion thread.
[Realme X7] BISWAJEET1998:
I am unable to get 4g+ CA in my realme x7 even though my network carrier and nearby tower supports it .Is it possible to enable it via OTA or it's a hardware prblm?
[Realme X7] olkitu:
Realme X7 support these Carrier Aggregation combinations: https://cacombos.com/device/RMX2176 . If your local tower have one of these combinations available, it will activate automatically and you will see 4G+ on status bar.