[Q] Screen Rotation Issue, Erisin ES788G - Windows Mobile Development and Hacking General

Hi, looking for some help after searching everywhere to try and solve this.
Problem is with a Chinese AIO unit (erisin.com/erisin-es788g-7-1-din-in-dash-touchscreen-in-car-dvd_p323.html) running WinCE 6.0.
I'm trying to permanently rotate the screen 180 degrees.
I'm locked out of the wince desktop and any programs i use i have to launch from setting the sat nav path to a diffrent .exe.
I started by trying to change the registry value [HKEY_LOCAL_MACHINE\System\GDI\Rotation] but this had no effect :/ Might be the unit resetting the value or the crappy regedit tool i used.
I then popped ceFFM on the SD card and installed that (a few couldn't create shortcut errors), when running CEMenu.exe the rotate button (helpers\CeScreenRotate.exe) will set the screen rotation how i want it (when pressed twice) but will not stay like it if the unit is restarted.
Any help with making the unit boot up with an already rotated screen will be very much appreciated as it's starting to make me go insane!
Cheers, Rory

Don't know whether this is useful: http://forum.xda-developers.com/showpost.php?p=42996841&postcount=8

jwoegerbauer said:
Don't know whether this is useful: http://forum.xda-developers.com/showpost.php?p=42996841&postcount=8
Click to expand...
Click to collapse
I don't think my issue is with the driver, as the CeScreenRotate.exe that comes with ceFFM will rotate my screen, not really had much experiance with winCE and i just feel like i'm missing something really obvious to lock the screen in the position i want.
Is there a standalone .exe for 'Solution Explorer' available? as that is was Microsoft say to use to change project.reg, seeing as i'm having no luck with a standalone reg editor? (msdn.microsoft.com/en-us/library/ee504554%28v=winembedded.60%29.aspx)
Would seem to be alot easier if they didn't make these units so awkward to modify. :/
Cheers, Rory

RoryLG said:
I don't think my issue is with the driver, as the CeScreenRotate.exe that comes with ceFFM will rotate my screen
Click to expand...
Click to collapse
If it's not the display driver that handles screen orientation, then what else?

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

TT6 and screen rotation

I've just upgraded TT to 06 and, suprisingly... the smily icon to rotate the TT screen from portrait to landscape has disappeared... have they hidden it in any other menu?
My car holder requires me to show landscape, but when I close my JasJar with the screen upwards it goes automatically to portrait and TT, without and indipendent command to rotate screen, goes to portrait as well... so I have to go out of TT, change screen setting... and go back in...
I am sure there is a better solution... thank you!!!
Chris
hi, i am having the same annoying problem. unfortunately tomtom has not included this option in the latest version. the only solution i have come across so far is getting yourself phoneAlarm 1.56.1 by pocketmax. this application have got a pawerful profile manager which allows you to rotate the screen and luanching tomtom at one go and much more. so basicly instead of tapping many times all you need to do is just change profile from home to car. and u are done. the one think i dont like about the application is the fact it is not only profil manager but "bigger" plug-in.
has anybady know a plug-in which is only profile manager which would let me do the same ?
cheerz, cudo
For that, I use PocketZenPhone...
hi, thanks for pointing this out "For that, I use PocketZenPhone..." it is really cool application and it is only a profile manager with loads of options. thanks again. now all my problems with tomtom and rotation every time i want to use it are solved. the application start tomtom, rotate the screen and turns on the bluetooth for me. have a look at how it looks on today screen
cheerz, cudo
cchris said:
My car holder requires me to show landscape, but when I close my JasJar with the screen upwards it goes automatically to portrait
Chris
Click to expand...
Click to collapse
Isn't it possible to leave your jasjar in laptopmodus in your carholder?
That way you have landscape plus the advantage of using the keyboard for navigating through TT
You're welcome. Same use for me... You can also create a shortcut on today launcher like iLauncher or SPB PocketPlus refering to navigation profile you défined in PzP... That's what I do, no today plugin, only systray...
So is there a fix for the screen rotation problem on Tomtom 6?
What's wrong with a mort script or whatnot?
I've written VJUzumaki, which will fix this problem, but not available for release immediately...
V
vijay555 said:
What's wrong with a mort script or whatnot?
I've written VJUzumaki, which will fix this problem, but not available for release immediately...
V
Click to expand...
Click to collapse
I'd be very interested if you have a fix for this problem. Not being able to rotate the screen in tomtom 6 is a real pain.
Could you keep us posted on its development please?
Thanks
I've posted in a couple of places, unfortunately the code was written to order for someone else. They have to decide in what form to release it...
For now, I can say it can be fixed, on every slider based device, Uni, Wizard, XV6700, Hermes ... It's not a registry based solution tho, if it was I'd love to tell you guys about it.
V
If you have one available for the Hermes (same as SPV M3100 I think) please let me know.
CL said:
So is there a fix for the screen rotation problem on Tomtom 6?
Click to expand...
Click to collapse
What do you mean. problem? The rotation feature was removed by TomTom "based on end user requests". Like so many other things that were present in the older version. Anyone still remembers the permanent avoids of TTN2 and 3 ?
I have my uni in a car holder, but I can twist my holder (brodit)
so I have it in landscape for msn/email, and portrait when i need to navigate.
btw TT6 is much much slower then TT5 on my uni
in landscape it's unusable, in portrait it seems even slower then tt5

Force Landscape for TomTom 7?

Hey All,
I just got my phone this friday and installed tomtom 7on it.
It works nice & fast for those who want to know... But how can I get it into landscape?
I read on internet that you need to put your phone in landscape modus before starting up tomtom but that doesn't work (rotating doesn't help)
So what I also read is that you can assign a button to force rotation... But well I can't find the settings... Any help?
gdierckx said:
Hey All,
I just got my phone this friday and installed tomtom 7on it.
It works nice & fast for those who want to know... But how can I get it into landscape?
I read on internet that you need to put your phone in landscape modus before starting up tomtom but that doesn't work (rotating doesn't help)
So what I also read is that you can assign a button to force rotation... But well I can't find the settings... Any help?
Click to expand...
Click to collapse
Use a 3th party gsensor app.
Add TomTom in it, and allow it to go landscape when putting the phone in landscape.
Hmm sorry for being noobish (this is my first windows mobile phone), but where can I find that specific G-Sensor app, I googled but all I can find are some silly G-Sensor games etc...
gdierckx said:
Hmm sorry for being noobish (this is my first windows mobile phone), but where can I find that specific G-Sensor app, I googled but all I can find are some silly G-Sensor games etc...
Click to expand...
Click to collapse
Try searching for g-config. good luck
Thanks! You saved my day
Hmm sorry to bother again... But the program crashes when I start it, "MissingMethodException" and than it's telling me that I need a newer version of the compact framework...
gdierckx said:
Hmm sorry to bother again... But the program crashes when I start it, "MissingMethodException" and than it's telling me that I need a newer version of the compact framework...
Click to expand...
Click to collapse
Search for something else Probably not compatible.
I use Gyrator 2 and it works very well in tomtom, both in landscape mode as in reverse modes.
anor80 said:
I use Gyrator 2 and it works very well in tomtom, both in landscape mode as in reverse modes.
Click to expand...
Click to collapse
Does it work in the HD2, or do you have it running on a different model ?
I use Change Screen on my Diamond.
You can set TomTom to ONLY work in landscape mode, so when you start the app, it then rotates to landscape, and will not flip to portrait and back again when you go round a corner a bit fast.
Pappagallo said:
Does it work in the HD2, or do you have it running on a different model ?
Click to expand...
Click to collapse
Running on my new hd2 ofcourse
http://forum.xda-developers.com/showthread.php?t=347705
I used that and assigned it to the answer call button (did this by changing the button settings).
I just hold it down for a few secs and it rotates manually, hold down again and it goes back to normal! I prefer this than using the gsensor
DarkStone1337 said:
http://forum.xda-developers.com/showthread.php?t=347705
I used that and assigned it to the answer call button (did this by changing the button settings).
I just hold it down for a few secs and it rotates manually, hold down again and it goes back to normal! I prefer this than using the gsensor
Click to expand...
Click to collapse
Yup. If you're a memory freak like me and doesnt want to install unnecessary cabs running in the background when HTC already has a rotate function, i suggest using what's already there. Holding down for 2sec and voila! landscape. I find all the other rotate programs to be a huge pain (and sometimes dont work at all!) and take up to much RAM. Assigning the <rotate screen> to the call button was the best thing I've ever did.
Leo hardware button
Nice programme, simple, effective. But with al LEO it seems you can not assign hardware buttons to programmes. Or I am I doing something wrong here?
Same here... Found where I can assign the buttons, only no buttons appear so I can't select anything...
The strange thing is that autorotation of tomtom 7.916 worked on the HD out of the box which doesn't work on the HD2. Perhaps the API changed but i hope TomTom / HTC comes with an update to fix this.
Sorry wrong answer. Deleted.
Auto rotation working fine in my Brandnew HTC now.
Found the tips to get it working somewhere else.
Step 1:
Go to the following Registry key:
HKCU\Software\HTC\HTCSENSOR\Gsensor\ModuleName
Add a new STRING Value:
Name: TomTom
Value: \Program Files\navigator\tomtomnavigator.exe (if you have a different language you may need to change Program Files to whatever you have)
Please note that in this case TomTom is installed on the Device, NOT the Storage Card.
Step 2:
Go to the following Registry key:
HKCU\Software\HTC\HTCSENSOR\Gsensor\Whitelist
Add a new STRING Value:
Name: TomTom
Value: MunichWinClass
Now do a Soft Reset, and now when you start TomTom and put your HD2 in Landscape, TomTom will rotate automatically.
Maybe someone can make a cab for this ???
yep i've used that registry fix above and that does get tomtom to auto rotate, better than using a 3rd party app, although if you had bsbtweaks installed you might have been able to get it to auto rotate using that.
Personnaly, I use BsB Tweak to enable landscape on many programs, included TomTom

auto rotate not working in apps and startmenu?

has anyone experienced this...?
autorotation works in some apps like: music and phototab, messaging, opera....
but like the start menu NOT! and also apps like Resco file explorer...
is this possible? to make rotation work in all apps???
Apps rotation
Good point
It should be.
There is a white list that lists which apps auto rotate.
Never used it, but I might need to for this one.
kurniawan77 said:
has anyone experienced this...?
rotation works in some apps like: music and phototab, messaging, opera....
but like the start menu NOT! and also apps like Resco file explorer...
is this possible? to make rotation work in all apps???
Click to expand...
Click to collapse
You might want to look at Gyrator.
You "just" have to add application entries in the registry. Their was a tool that do it for olders phones (Diamond2, etc.). G-Config was its name. The problem is the app using the "stylet entered" event.... That, obviously, cannot be used by our HD2... Maybe the author may change things to work with HD2
alright... i thought i have read it somewhere about the whitelist... but i just can't find it.
One of u knows the .exe for startmenu? to start with...
The sensor whitelist exists on registry keys HKEY_CURRENT_USER\Software\HTC\HTCSENSOR\GSensor\WhiteList for Window classes or HKEY_CURRENT_USER\Software\HTC\HTCSENSOR\GSensor\ModuleName for program names.
For instance, sensor can be enabled in the Start Menu (default/honeycomb one) and S2U2 with the following:
Code:
[HKEY_CURRENT_USER\Software\HTC\HTCSENSOR\GSensor\WhiteList]
"Start"="MSSTARTMENU"
"S2U2"="S2U2"
[HKEY_CURRENT_USER\Software\HTC\HTCSENSOR\GSensor\ModuleName]
"S2U2"="\Program Files\S2U2\s2u2.exe"
Hopefully, Gyrator will work without stylus one day.
Hopefully, Gyrator will work without stylus one day.
Click to expand...
Click to collapse
Gyrator works on HD2 as long as you know the Windows Class Names of apps. Some are given on the website of Gyrator.
Yunabeco said:
Hopefully, Gyrator will work without stylus one day.
Click to expand...
Click to collapse
bartveld said:
Gyrator works on HD2 as long as you know the Windows Class Names of apps. Some are given on the website of Gyrator.
Click to expand...
Click to collapse
He was referring to the fact that you used to be able to "teach" Gyrator a new class/window name by running the app in question and removing the stylus. This prompted Gyrator to get said info from the topmost application. Was a very nice feature. I don't know if there's any spy type applications for windows mobile, but you need one if you don't know this info.
Yes, that particular function was what I was referring to. As for finding out window class names, I'm using Dotfred's Task Manager, which has a tab showing window class names, although it involves looking in a long list instead of just pressing a button while in the window.
EDIT: Correcting my mistake quickly: Tap-holding a process name, tapping Details and choosing the Windows tab shows the windows opened by that particular process. Why I didn't find that out before is beyond me.
alright... tried a few things but no go
[HKEY_CURRENT_USER\Software\HTC\HTCSENSOR\GSensor\WhiteList]
Name: Start
String: MSSTARTMENU (Didn't find MSSTARTMENU in HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Rai either.....
and tried
[HKEY_CURRENT_USER\Software\HTC\HTCSENSOR\GSensor\ModuleName]
Name: RescoExplorer
String: \Program Files\Resco Explorer\Explorer.exe
[HKEY_CURRENT_USER\Software\HTC\HTCSENSOR\GSensor\WhiteList]
Name: RescoExplorer
String: RescoExplorer
But still no go!!
I don't know if this is me just being stupid or just the program.
I have the navipanel activated on my HD2 and can access copilot etc in landscape.
however when I select the dial feature the phone app comes up but it is still in portrait mode.
I installed Gyrator and the phone app does now rotate whenever I turn the phone to landscape or portrait.
But when I call the phone app up while the phone is in landscape it still opens it in portrait.
What I would like to know is is there any way of calling the phone app up and for it to immediately appear in landscape format?
Would using the rotatescreen.exe file be more useful for me?
I hope that makes sense and appreciate any advice you may have.
Paul.
Yunabeco said:
The sensor whitelist exists on registry keys HKEY_CURRENT_USER\Software\HTC\HTCSENSOR\GSensor\WhiteList for Window classes or HKEY_CURRENT_USER\Software\HTC\HTCSENSOR\GSensor\ModuleName for program names.
For instance, sensor can be enabled in the Start Menu (default/honeycomb one) and S2U2 with the following:
Code:
[HKEY_CURRENT_USER\Software\HTC\HTCSENSOR\GSensor\WhiteList]
"Start"="MSSTARTMENU"
"S2U2"="S2U2"
[HKEY_CURRENT_USER\Software\HTC\HTCSENSOR\GSensor\ModuleName]
"S2U2"="\Program Files\S2U2\s2u2.exe"
Hopefully, Gyrator will work without stylus one day.
Click to expand...
Click to collapse
excellent! Thanks that works. Btw, what would be teh modulename and whitelist name for the messaging (SMS/MMS)? I'm assuming for the modulename is TMAIL? What about for whitelist name? THanks again
Works for me too!
Shame there is no nice rotating animation like in photo veiwer but at least it works!
Cheers!
I'm using Zensor2 for auto rotating. Works well for me.
this app is amazing, thanks for the tip!!!
only thing I'm still wondering is how to disable the auto-rotation for the WM6.5 lock screen. I've been googling to find out the window class name but have been unable to find it, and I cant run dotfred task manager once the device is locked- anybody else that might know how to prevent the lock screen from rotating??
thanks a lot in advance!
I upgraded to the HD2 this week from a Tytn 2 and use my phone in my car usually for the sat nav and have the phone set sideways in the holder to give me widescreen.
However, whenever I needed to use the phone on the HD2 the dialer screen would always appear in portrait and so I have had to learn to dial with my head tilted to the side!!!
After posting about my problems with getting the phone app to rotate I did a bit of detective work and think I have fixedd it.
I added the following registry key to whitelist in the GSensor bit of the registry.
Name Data
Phone \Windows\cprog.exe
After a restart voila, the phone dialer will now open up in landscape.
I hope this is helpful to others who want to use the phone in landscape.
Paul
How well does zensor2 work here, and does it autostart with the phone? It is possible to set up exceptions in zensor2?
hi, nice to see that im not the only one expirience problems with it. i switch back to use 'changescreen' app to turn the screen. i used it bevore on athena and it has some real nice options.
its working well on hd2 so i keep it.
regards mad
firstandlast said:
I upgraded to the HD2 this week from a Tytn 2 and use my phone in my car usually for the sat nav and have the phone set sideways in the holder to give me widescreen.
However, whenever I needed to use the phone on the HD2 the dialer screen would always appear in portrait and so I have had to learn to dial with my head tilted to the side!!!
After posting about my problems with getting the phone app to rotate I did a bit of detective work and think I have fixedd it.
I added the following registry key to whitelist in the GSensor bit of the registry.
Name Data
Phone /Windows/cprog.exe
After a restart voila, the phone dialer will now open up in landscape.
I hope this is helpful to others who want to use the phone in landscape.
Paul
Click to expand...
Click to collapse
Thanks! It's helped me!!
firstandlast said:
I upgraded to the HD2 this week from a Tytn 2 and use my phone in my car usually for the sat nav and have the phone set sideways in the holder to give me widescreen.
However, whenever I needed to use the phone on the HD2 the dialer screen would always appear in portrait and so I have had to learn to dial with my head tilted to the side!!!
After posting about my problems with getting the phone app to rotate I did a bit of detective work and think I have fixedd it.
I added the following registry key to whitelist in the GSensor bit of the registry.
Name Data
Phone \Windows\cprog.exe
After a restart voila, the phone dialer will now open up in landscape.
I hope this is helpful to others who want to use the phone in landscape.
Paul
Click to expand...
Click to collapse
I have done this, and it works great... except for when opening the phone app whilst in the Navi Panel.
When the Navi Panel is in Portrait, and you access the phone, it starts in Portrait, but allows you to rotate to landscape. However, when you use Navi Panel in landscape, and access the phone, the phone screen opens in Portrait and does not rotate! I'm sure there is a logical reason, but i'm afraid i'm not that clever...

Navigon Mobile Navigator 7 on HD2 in Landscape mode

Hi,
I recently purchased MN7 v7.3.10 from 1800pocketpc.com. It will not run in landscape mode. If I do the bsb tweak for screen rotation it will rotate the program but it cuts the bottom half of the screen off and leaves a big black area to the right of the program screen. Is there any way to fix this to run in landscape mode? A reg edit or change the ini file or something? I looked at the forums but didn't see the answer to my questions. I looked at the thread about the HD1 and navigon but didn't see a definative fix...... any help would be GREATLY appreciated. This is beyond frustrating me. I'm going on a long road trip over easter and would LOVE to have this fixed.
Thanks
bump for some help? I guess no one has this running in landscape on an HD2??
have you tried the HD fix?
tjferris said:
Hi,
I recently purchased MN7 v7.3.10 from 1800pocketpc.com. It will not run in landscape mode. If I do the bsb tweak for screen rotation it will rotate the program but it cuts the bottom half of the screen off and leaves a big black area to the right of the program screen. Is there any way to fix this to run in landscape mode? A reg edit or change the ini file or something? I looked at the forums but didn't see the answer to my questions. I looked at the thread about the HD1 and navigon but didn't see a definative fix...... any help would be GREATLY appreciated. This is beyond frustrating me. I'm going on a long road trip over easter and would LOVE to have this fixed.
Thanks
Click to expand...
Click to collapse
Open usesettings.xml with notepad and change
<Display>
<StandardView>1</StandardView>
this should work!
be sure to backup the original file in case it doesn't work
ET said:
Open usesettings.xml with notepad and change
<Display>
<StandardView>1</StandardView>
this should work!
be sure to backup the original file in case it doesn't work
Click to expand...
Click to collapse
Thats what I have in my file and it doesnt work. What I also did was to use B2B to add the start menu to rotated progs then make sure I was in landscape before starting Navigon, then it displays in landscape.
you need to be in landscape BEFORE you start Navigon!
I ran the latest PDA trial for a month and it was quite nice - as I did not want to enable manila rotation I set the win startmenu to rotate (bsb)
went to start -> rotaded to landscape -> started Navigon -> perfect (until someone calls)
start Navigon MN7 - just go to "options - settings - general" last page. turn screen left / right, portrait etc.
kajami said:
start Navigon MN7 - just go to "options - settings - general" last page. turn screen left / right, portrait etc.
Click to expand...
Click to collapse
Yes, thats what I had in mind as well. And I used it this way with my "old" Samsung Omnia 2 (i8000) with MN7 v7.3.4 (not absolutely sure about the version). Unfortunately this option seems not to be there in my current version of MN7 (7.3.9) that came with my T-Mobile germany rom.
I guess thats either because Navigon removed that option in 7.3.9 (but why should they?) or because it is just not supported on the HD2 (like the navigating to adresses from the adress-book).
Ciao,
Zusan

Categories

Resources