Auto-rotate on 180 degrees? - HD2 General

Can the screen automatically turn over on 180 degrees at rotation of the device WITHOUT application of additional programs, but only updating the registry?
Problem, in particular, with Yandex Maps. Has tried to include the program in WhiteList by means of BsB-tweaks, however, to my astonishment, the Yandex Maps at each new loading has a new window-class.

Currently, rotation only works in standard portrait and by turning anti-clockwise 90 degrees. You can't even do landscape in the other direction!
I know you said you don't want an application, but PLToggle (in my signature below) can set the display upside-down with a long-hold of the call button. If you don't get any better suggestions, give that a go.
Hope this helps

Thank you, it`s easier to know the answer, even if it is negative )

Related

Any way of preventing screen rotate to portrait ?

Just wondering if there is a registry hack that stops the screen from automatically rotating and displaying in portrait mode when you flip the screen round ?
i.e. it should stay in landscape mode no matter if the screen is facing in/out or otherwise.
You can do it manually by clicking on the screen rotate icon, or going into Settings > Screen > Orientation, so I figure there must be a reghack to put it permanently into Landscape ?
tia
Ok, i've found the key at least which shows what mode is currently in use:
This is Landscape (Right-handed) mode:
HKEY_LOCAL_MACHINE\System\GDI\Rotation
Angle 0x5A (90)
HideOrientationUI 0x0 (0)
LanscapeMode 0x1 (1)
The question is, how do I stop those being overwritten or change it so when it's in Portrait mode, it actually uses those settings ?
gaspx: I'm an odd fellow. I'd written you a long post about basically:
rotation is achieved at OS level, and driver level, so althought it's possible to be notified of the screen being rotated, intercepting it would require, AFAIK, some fairly substantial low level code or a reg key I'm not aware of.
But then I remembered my work on the Universal Voice Command/External Key issue in another thread. I've written a test program called VJElectrify, which contains a hack called ClamHack. And I just tried clamhack, and amongst its other side effects, yes, it does allow you to prevent the system forcing a rotation. So system stays in landscape if you open in laptop mode, or rotait into portrait mode. You then manually choose your rotations.
VJElectrify isn't finished yet, still a lot more research to do, but yes, it is possible to prevent it Keep an eye out for when VJElectrify is released.
Anyone else know another way to do this? I can't think of any relevant reg settings.
V
Heh heh, I knew it probably wouldn't be as simple as a reg hack.. cheers for the reply Vijay, i'll keep a watch on your website for the forthcoming VJElectrify..
gaspx said:
Ok, i've found the key at least which shows what mode is currently in use:
This is Landscape (Right-handed) mode:
HKEY_LOCAL_MACHINE\System\GDI\Rotation
Angle 0x5A (90)
HideOrientationUI 0x0 (0)
LanscapeMode 0x1 (1)
Click to expand...
Click to collapse
Thats just the keys where the current state is stored.
the key you need is HKLM\Services\ScreenRotate (you can change the ShowIcon value here to enable/disable the today icon)
Ive tried just renaming the ScreenRotate but that failed then i tried changing the dll name stored in the key, after all if it cant find the dll surlly it'll stop the rotations.
NOPE, i know the dll rename is working as the icon failed to appear, but the auto rotates continue to happen, it must be OS, it must be!!
.....the search continues
Ive tried just renaming the ScreenRotate but that failed then i tried changing the dll name stored in the key, after all if it cant find the dll surlly it'll stop the rotations.
Click to expand...
Click to collapse
I did that as well.. sorry, should've mentioned it in my original post, but I had the same idea as you! - the screenrotate.dll just seems to be tied to the icon in the systray. sigh.
Have to wait patiently for the VJClamhack to be released..
The clam hack has, by design, side effects - it disables part of the system OS, which conveniently disables screen rotation detection and some other stuff on the hinge. However, the bugger refuses to enable hardware keys with lid closed.
Because clamhack is quite a big sledgehammer for a nut, I'm a little worried about putting it out - however, I've never seen any negative sideeffects, only positive
V
Load DinarSoft MemMaid on your Universal.
Just as you can delete Startup Items, you can also delete Start Up Services. I believe I saw a service related to screen rotation in there.
I don't have my Universal for another week (getting replaced), but I do recall seeing that in there.
As always, perform a backup in case you can't "add" it back in.
I don't think that Rotation service helps, I tried it a bit earlier, since it seems to be an obvious target.
V
However, the bugger refuses to enable hardware keys with lid closed.
Click to expand...
Click to collapse
Thats OK, i don't need to use hardware keys when it's closed -- I figure this is part of a bigger problem you're looking at..
ust as you can delete Startup Items, you can also delete Start Up Services. I believe I saw a service related to screen rotation in there.
Click to expand...
Click to collapse
Yeah, I think that was the one Carnivor and myself had found.. we just prevented the service starting manually by bodging the registry key, but all it does is stop the little screen rotate icon from appearing.. thanks though
Has anyone figured this out yet?
Thanks

disallow screen rotation

Hello!
I need to write software that disallows any screen rotation on my Wizard.
How can I do it? I didn’t found any registry settings for this. The best way
that I see is hooking ChangeDisplaySettingsEx. But unfortunately, SetWindowsHookEx
doesn’t works on WM 5.0, at least it said on some topics. Please, give me any solution for this problem or example code to hook some API function.
wm5: [HKLM\System\GDI\Rotation]
Angle=dword:0
00000000 portrait
0000005a righthanded landscape
0000010e lefthanded landscape
then RegistryNotifyCallback will do
tanks a lot
I will try this way.
But I afraid it will be notified after screen rotation starting.
Adjusting this registry value in regedit tool did't help.
So I suppose this value is changing after rotation is done.
You can delete the start up service of ScreanRotate.
Go to HKLM/Services/ScreanRotate and delete it.
I think before you doing this,you can export it to a reg file
It's not bad idea.
but delete this key leading to system restart for apply
I just try to stop this service.
Not luck : (
This key not present in the registry storage.
I am under WM 5.0
Maybe you talk about some early system.
Hi hoblano, I'm experiencing the same problem, did you find a solution ?
thanks,
Scalposcarno
use task manager 2.7 and stop service...if you know it is service...
same way to stop kbd lights...btw,
I tried, but the result is the same as the one obtained by manually deleting the Screen Rotate voice within the services voices in the registry: avoiding the load of the service providing the icon on the task bar enabling the user to rotate the sceen one or more times by tapping on it.
I still don't understand ... at this point the most probable thing is that the service that rotate the OS screen when rotating by hand the HW screen, is invisible with respect to registry voices and to applications like Task Manager 2.7 or MemMaid. Apart from criticizing the constructor choice (why didn't they thought that someone should have been more comfortable using only one view mode ? e.g. landscape one), is there a way to obtain a list of core services and to avoid one of those to be loaded ? or, otherway, is there a way to intercept the event thrown when manually rotating the screen of the terminal ?
By the way, I'll have to do it with Java ...
thanks all

How can I lock the device in landscape? (= disable all rotation)

Hi there!
I have been searching for a solution to this problem for quite some time now but I haven't found a solution... Maybe someone here has an idea?
I want to lock my device in landscape mode! I don't want it to rotate to portrait mode in any circumstance! But I just seem to be unable to do so...
I'm running Duttys 2.6 and disabled flip-it, which got rid of any auto-rotation in manila and most other programs, but two problems remain:
1) Whenever I switch from a program back to TouchFlo (hitting the home-key for example), the display switches back to portrait instead of staying in landscape.
2) Opera always does what it wants and I haven't found any solution that would enable me to disable auto-rotation in Opera.
The second problem is not a biggie... I could live with Opera rotating. But the first one is driving me mad! I always have to rotate the screen again after everytime I visit TouchFlo!
So... Any ideas?
Thanks in advance!
MAMeingast said:
Hi there!
I have been searching for a solution to this problem for quite some time now but I haven't found a solution... Maybe someone here has an idea?
I want to lock my device in landscape mode! I don't want it to rotate to portrait mode in any circumstance! But I just seem to be unable to do so...
I'm running Duttys 2.6 and disabled flip-it, which got rid of any auto-rotation in manila and most other programs, but two problems remain:
1) Whenever I switch from a program back to TouchFlo (hitting the home-key for example), the display switches back to portrait instead of staying in landscape.
2) Opera always does what it wants and I haven't found any solution that would enable me to disable auto-rotation in Opera.
The second problem is not a biggie... I could live with Opera rotating. But the first one is driving me mad! I always have to rotate the screen again after everytime I visit TouchFlo!
So... Any ideas?
Thanks in advance!
Click to expand...
Click to collapse
Not sure if this would work, but why not enable FlipIt and have everything set @ 270 degrees and untick 0 degrees
Other alternatives would be g-sen & gyrator and try and disable 0 degrees or portrait
Obviously certain apps won't work in landscape and aren't designed to so you will always have times when you need portrait
Let me know if this worked
Fallen Spartan said:
Not sure if this would work, but why not enable FlipIt and have everything set @ 270 degrees and untick 0 degrees
Other alternatives would be g-sen & gyrator and try and disable 0 degrees or portrait
Obviously certain apps won't work in landscape and aren't designed to so you will always have times when you need portrait
Let me know if this worked
Click to expand...
Click to collapse
Damn... that's such a smooth solution... and it actually works!
Why on earth didn't I think of this???
Thanks a bunch!
Ok - I'm back with a new request...
I want to be able to rotate the device manually - right now, rotating it manually works flawlessly. I assigned one of the customizable gestures of WkTask to rotate.
But I still have the first problem I have described in my opening post: Whenever I switch back to TF3D or between running apps, my HD switches back to portrait!
Any ideas?
I have searched around the forum but I've only found threads discussing landscape mode with the old manila version - but I'm running Dutty's 3 XT with the new manila!
And ofcourse I would be very thankful for any advice on how to disable rotation in Opera - even though this is not that much of a problem...
maybe if you go into settings of flip-it and goto manila.exe and untick 0degrees and only 270degrees ticked, if you do this with all the apps in the list and put the exe files of other programs you use alot in it manually and also untick 0 and tick 270, then everything should stay in landscape and cant go to portrait. hope this works for you,test it and let us know
htckaiseruser said:
maybe if you go into settings of flip-it and goto manila.exe and untick 0degrees and only 270degrees ticked, if you do this with all the apps in the list and put the exe files of other programs you use alot in it manually and also untick 0 and tick 270, then everything should stay in landscape and cant go to portrait. hope this works for you,test it and let us know
Click to expand...
Click to collapse
But I want to be able to rotate to portrait too!
Keeping everything in landscape works fine with the solution Fallen Spartan posted - but I want to be able to manually rotate between Landscape and Portrait!

HD2 in landscape permanently?

Excuse the silly question but is there a way to put the HD2 in landscape mode permanently? I'm using BsB tweaks but I really hate it when Opera rotates back to portrait and jumps back to the top of the web page every so often. Surely there must be a permanent landscape mode like there was in all previous WM versions?
phone call screen
the worst thingie is when it is landscape mode and u receive or make call..the phone call answearing screen is in portrait mode...and never rotates to landscape.have tried bsb tweaks = no change! must get phone on portrait and then get to landscape to have phone screen on landscape mode. it changes to landscape mode but not automaticly.
so is there any way to make thios to work?
any solutions?...or still noone interested about this issue?
You can disable the phone canvas and use the WM default one or install your own, like PhoneEx.
I would also like to have this option in my HD2. it would be perfect for the time spent in car...
Use a ROM with a Sense version that works in landscape and disable the HTC dialer.
landscape
Change the reg. key
HKLM\System\GDI\Rotation\HideOrientationUI" from "1" to "0"
Then you see in Settings > Screen a radio-buttion for
choosing the format.
But no garanty for nothing with reg.-keys.
eshd
....or use Gyrator which will rotate the phone canvas and anything else.
WB
eshd said:
Change the reg. key
HKLM\System\GDI\Rotation\HideOrientationUI" from "1" to "0"
Then you see in Settings > Screen a radio-buttion for
choosing the format.
Click to expand...
Click to collapse
Yeah that seems to be the missing one. Unfortunately it is rotated back by just any screen that doesn't support landscape like the quicklist (=long press power button) and even WM's today screen
wacky.banana said:
....or use Gyrator which will rotate the phone canvas and anything else.
WB
Click to expand...
Click to collapse
Gyrator works fine but that's not what I want. I don't like autorotation and WM should be able to stay in the orientation you tell it to. The problem with autorotation is when viewing a web page while lying down on my side, it flips the HD2 to portrait while I would like it to stay in landscape.
I told you what to do. Try it.
Attached is the .cab to disable HTC's phone canvas. Now you need a ROM with a Sense version that supports landscape (1922, maybe also 2012) and, if you want, you can install another dialer software, like Iconsoft PhoneEx.
Additionally, you can install an application to rotate the screen manually, like this one: http://forum.xda-developers.com/showthread.php?t=347705
That's how I use my HD2 all the time, so I know it works and gets you full landscape, without ever rotating back.
It 'll probably come to installing a custom rom. Haven't done that on this phone yet and I think it's a bad thing that doing that would be necessary. Even more because I know that every unwilling application could just rotate it back. It should be possible to apply the same tweaks the custom landscape rom cooks use on the standard rom, shouldn't it?
No, there is no way to have the landscape enabled Sense version without a custom ROM.
freyberry said:
No, there is no way to have the landscape enabled Sense version without a custom ROM.
Click to expand...
Click to collapse
Which custom ROM will make HD2 in permanent landscape (i.e. untill you tell again it to be in portrait) for all and each application which autorotates (some even without physically rotating HD2 like Phone ...)? This does matter a lot for me to get Redfly Mobile Companion working smoothly with HD2. I have applied some background tweaks like HDWall and it made screen in hi-res like it is RealWVGA for HD2 much better to view and get more information on screen, but I am really bugged by this auto-rotate featute of HD2. I have enabled rotation, assigned a button even than it flips to portrait mode whenever I connect Redfly so basically on Redfly's 800x480 landscape screen, I get a 480x800 screen scaled/stretced to 800x480! How weird it is! And when I play video on HTC Album or WMP in full screen it gets to full screen in portrait mode and weirdest it looks! I want this auto-rotation fancy to be stopped and for ever unde user control so once HD2 is put in landscape mode (left/right handed) evrey application follows the set landscape orientation come what may. No more auto-rotate, not even with phone put inro landscape or portrait. So three things required,
(1) Rotation disabled on phone's physical orientation. Let phone be in protrait or landsape mode physically but ONCE disabled screen will not rotate with phone.
(2) Other application which change to portrait mode automatically whatever the phone's physically orientation is (like by default portrait Phone, long preess power button, YouTube etc..) will stop this behaviour and will be forced to phone's assigned or set screen mode. So if phone is set in landscape, no matter what application or phone's physicall orientation be, all such unconrtolled applications will come under full control and will be forced to follow set orientation mode, i.e. landscape if it is set.
(3) Setting of mode in LS or Portrait and left.right hand. Once selected phone stays in that untill it is changed again bypassing all HTC SENSE/MANILA/G-SENSOR and all that stuff.
Anyone please help.
PS. HDWalls v 1.29b from HD Walls v 1.27b enabled landscape on Manila v 2012 and WM 6.5 and have options to creat custom backgrounds, so this does anable landscape in Manila once required Manila patch (V 1.22 or v 1.3) is applied, so it gets Manila in landscape but above auto-rotation still remains, it is not able to put device in permanent landscape mode for all and each application.

Full rotation

Could one of you experts guide me on how I'll make my HD2 to rotate in alla directions?? By default it rotates only 90 to the left.
I've "played" with Advanced Config but haven't manage to make it
I've tried locating posts explaining this but had no luck
Thanks in Advance
You can use either:
BSBTweaks (http://forum.xda-developers.com/showthread.php?t=589305) or
ChangeScreen (http://forum.xda-developers.com/showthread.php?t=468488)
I think BSB only allows other screens to rotate portrait to landscape, the OP wants full 360 rotation I think.
Pretty handy for riding rollercoasters
Yes, I'm talking about 360 rotation
THX
install gyrator 2
Dear Oblivion Gyrator is a pain in the *** to setup and I can't see why should I as the device follows the G-Sensor. The problem is that it does so only for 90 to the left and not all around. Any solution to this??
ChangeScreen allows an easy way to apply rotation in all directions in all programs.
Furthermore, and in order to avoid some undesirable rotations in phone, screen lock, camera..., you better add these applications to exceptions: cprog, manila, shell32, gwes, camera, digicompass, services
MarketElf said:
I can't see why should I as the device follows the G-Sensor. The problem is that it does so only for 90 to the left and not all around. Any solution to this??
Click to expand...
Click to collapse
Because HTC decided it would only follow on the left side, period. So, as there's no way to change that, there are programs like Gyrator (messy) or ChangeScreen (a bit less messy) to overcome the limitation. I'm afraid you'll have to do with that. They take a few minutes to configure and you're done, It's not too bad.
But Advanced Config, in the "screen" section, has two parameters that, supposedly, "fix" this. One is for defining if the rotation is fixed and the other arranges the angle by whitch the rotation functions. Unfortunately they don't seem to work
Can I use Changescreen along with Advanced Config and BsB Tweaks??
Yes, from what I can see ChangeScreen will simply override the rotating settings from the other programs.
ChangeScreen is a good alternative, but, like I said, configure the exceptions, otherwise some rotations could be very annoying
Thank you all for your help. Could you please give me a hand with the exceptions?? I.e. camera seems not to be possible to be excepted!!!
Igo8 and lock screen turn the screen off (simply needs to press button to "re-enlight" but it is prety annoying).... Igo anyhow seems to be excepted.
Could you guide me what to write precisely in the exceptions??
Tekflow said:
ChangeScreen allows an easy way to apply rotation in all directions in all programs.
Furthermore, and in order to avoid some undesirable rotations in phone, screen lock, camera..., you better add these applications to exceptions: cprog, manila, shell32, gwes, camera, digicompass, services
Click to expand...
Click to collapse
Do you know how to prevent the lock screen from rotating?
Open changescreen, click show app names, open the program you want to add to exceptions, its name will show up in the middle of the screen. Enter that in the exception list, tick the portrait icon only, done.
Works fine with camera here.
I do think I'll go back to gyrator though, changescreen rotates too "early" to my liking, and this is not configurable.
Thank you. I had tried that before on the Lock Screen without success. For some reason it works now. Maybe I misspelled before.
Run the program.
In "General" tab, check all options available on this page.
In "Exceptions" tab, add the following (each separately): cprog, manila, shell32, gwes, camera, digicompass, services, commanager. Check only the first option for all these applications (usual portrait direction), and save.
Restart.
By the way, since I started using the "Proximity sensor off" application (http://forum.xda-developers.com/showthread.php?t=624206), I disabled the lock screen. It has become useless.
kilrah sensitivity IS configurable.... 3rd tab "Advanced" the slider down the page

Categories

Resources