[Q] Is it possible to change the 'default' screen orientation? - Android Software/Hacking General [Developers Only]

Hello, I have a Android 2.2 tablet and I suspect the screen is installed (by design) "upside down". The tablet has a G-Sensor and the screen rotates exactly as it should, but some applications that default to portrait mode (Nook, Sketchbook Mobile Pro, etc) get locked into what would be "upside down" on the tablet.
Is there any way to hack the internals of the tablet to get it to consider the opposite direction to be portrait mode, instead if the current way? I could see this being a setting in a config file, or I could imagine its compiled in, which would be problematic.
I do have root access and I'm comfortable with adb, I just need to know where to look.

Related

Keep previous screen rotation?

Hi everyone!
I searched over the forum to find a way to keep the previous screen orientation when I push the power on button. It's useful when I cradle my Uni in the car...
Seems that I may stop the service "MIS1" but it has several side effects: it's hard to start again (requires registry modifications) and once stopped it doesn't make the screen to rotate anymore.
So, how can I make the screen to remain in landscape when I turned off my Uni in landscape mode?
Thank you for reading...
A solution may be hardware rather than software, if you ok to do such a thing.
Add slider button or similar to disable the internal switch.
Too much invasive for the device...
Since it seems to be a software function to reset to portrait mode every time the device wakes up, maybe there's a way to stop it, or to add a software button to enable/disable this feature...
On MSDN it's explained how to access the screen rotation features but I have no idea on how to do it...
Sound strange that nobody felt the need of such a trick before... Or not in the same way as me...
Thx...
try with mortscript.
use df task manager and configure that script in wake-up notification event.
Thank you for the suggestion, Tomal!
I partially did it.
When I'm driving in my car, I put the screen in landscape because of the cradle and I need the device to stay in landscape mode only in this case.
So I put in SPB Mobile Shell today a link to a script (using a renamed autorun.exe to make it appear in the programs list) that switches between landscape and portrait and writes on a file the status.
Then I added a link in the notifications list using DF's task manager to another script that reads the previous state from the file and flips the screen to landscape only if the file says that the device was in landscape.
Unfortunately WM6 seems to override the script and the screen barely returns to portrait on wake up.
I partially fixed it adding in the "notificated" script a 6 seconds wait time.
Doing this the screen rotate to portrait for a little time then returns, as it was supposed to, to landscape.
I need some more tests to ensure that the wait time doesn't create conflicts with other functions like phone or reminders.
One first upgrade would be to find a way to write on the file the screen status when the device goes to sleep, but I don't know how to do it.
The second, and most important, upgrade would be to understand why WM overrides the rotate function.
Another thought: I made a script that writes on a file the screen status on woke up. If I turn off the device while in portrait mode and I turn it back on, the script writes in the file that the screen is in portrait mode. Seems that when the notification starts the script reads the status wanted by Windows even if the screen appears in landscape for few seconds, then it rotates.
According to this, I supposed that the seconds needed to rotate weren't influent and Windows thought to be in portrait mode. But the other script won't work without a 6 seconds delay...
Any idea?
Sorry for the lenght...
You do not need to write on file, just write on registry.
Create a new reg key and add/remove all your values are there. It's the most reliable way.
just my two cents.
Auzman, don't know if you have found your solution. I was dwelling on iGo (NavNGo), that it sticks to landscape (when set, and I turn off/on Uni). However I think it's sneaky in that it isn't real landscape, but actually changes its images to suit the orientation you choose (in iGo) and totally ignores the PPC's (WM/Uni) orientation. But hey, it does mean I was still thinking of you ha!

Is there a way to force Apps use correct orientation when the tablet is upside down ?

I have a CaseCrown case on my transformer, if I want to use it on a table angled slightly for comfortable typing, I have to use it upside down (that’s how the case is designed). But some apps don’t work in that orientation, they always go back to standard orientation (camera side up) , especially full screen video apps, is there a way to fix it ? Orientation lock has no effect.
No one ??
I'm surprised no one else trying to find a solution for this.
Now have 3.2 update, but still same.

keep portrait start screen when landscape docked?

I have been using my the docking station for my titan and am loving it however when docked the start screen remains "sideways" as well as hubs and index search.
rather than a question about landscape mode because maybe that functionality isn't programmed or possible. Is there a way to rotate the start screen to portrait facing me while the phone is docked landscaped? I can picture a huge black bar or empty space off to the right which is fine.
are there any registry edits maybe out there or?
I don't believe anybody has found a way to force the Start screen into landscape mode. This is true even with those Windows phones that have landscape slide-out keyboard (which normally force the phone into Landscape mode while the keyboard is out). I see no evidence of support for a landscape start screen in anything that I've yet seen of WP7.

How is Surface RT in portrait mode?

How does Snap work while vertical? How about other functions?
How fast or slow is rotation? Is there a rotation lock?
Have you used the tablet in portrait mode for any use, say, as a reader? How comfortable is it to hold?
Is the on-screen keyboard usable in portrait?
TIA.
Snap requires more horizontal resolution than is available when in portrait mode, so snapped windows disappear. They come back when you return to landscape, though.
Rotation is pretty fast, taking about a second to complete the switch, but with just enough delay (and a starting animation) to let you know that it's about to happen, so you don't get it by accident.
There is an auto-rotate lock. It's on the Screen Resolution control panel widget (reachable by right-clicking on the desktop, or doing a search on "orientation" or "resolution"), right where you'd expect it from previous Windows versions.
It's very easy to use the tablet in portrait mode for reading books or web pages, although the 768 width is a little lower than most pages are written for. Holding it is extremely comfortable, although be careful not to hit the Start button by accident. Folding the Touch Cover behind the tablet while in portrait mode works great; the Type Cover works too but it feels weird to feel the keys move under your fingers. However, the keys and touchpad on either cover are disabled when it's flipped behind the tablet.
The SIP (Software Input Panel) is absolutely usable. I'm coming to love the split-keyboard mode for short amounts of text; it's designed to be used by your thumbs while your hands hold the tablet at the corners. I almost never use the "normal" on-screen keyboard. The handwriting recognition really isn't usable without a stylus, as expected..
Also just fyi, Windows button+ O is a hotkey for activating rotation lock.
Sent from my GT-I9305 using xda app-developers app
@nbates66: Not working for me. Win+o, or Win+Shift+O, don't appear to do anything (at least on the desktop). Auto-rotate still occurs. Win+0 just launches the tenth thing on the taskbar, as expected. It would be great if this is usable, though. Win+P, Win+E, Win+R, Win+L, etc. all work as expected.

force display rotation while docked

Does anyone know how to force the TF700 display to rotate while docked?
https://play.google.com/store/apps/...S5jb2luc29mdC5hbmRyb2lkLm9yaWVudGNvbnRyb2wiXQ..
Okay. Now, (actually related), how can I force the soft keyboard to display...while the hardware keyboard is still docked?
Change the input method, I believe. I'm currently updating to 10.4.4.20, but I have mine in the dock all the time, so I'll double check in a few minutes.
Thank you.
I did try to change the input method and even turning off the physical keyboard on the slider switch (input method switch.) For one thing, turning off the physical keyboard doesn't seem to do anything, that is, the keyboard works just fine even if it is "switched off".
I don't care whether the physical keyboard is on or off. I just need to use the soft keyboard. If I'm using the tablet in portrait mode (forced), while docked, then I would need to use the soft keyboard or else learn to type sideways...rather...on a keyboard that is sideways to my orientation since I am using the tablet in portrait. (whew!)
Does that make sense?
For keeping the landscape mode while at the dock, I use the app "ultimate rotation control" together with tasker. Their collaboration allows my TF700 (and previously TF201) to do it automatically. The trick is detecting if there is a power coming in, as the dock mostly will charge the pad.
And to let the on-screen keyboard stay appearing, you can try Keyboard Manager. I use this app to automatically switch to my international keyboard, but you can set it following your goal there. For this app, you will need root access.
Good luck trying.
Sent from my ASUS Transformer Pad TF700T using XDA Premium HD app
edrodata said:
Thank you.
I did try to change the input method and even turning off the physical keyboard on the slider switch (input method switch.) For one thing, turning off the physical keyboard doesn't seem to do anything, that is, the keyboard works just fine even if it is "switched off".
I don't care whether the physical keyboard is on or off. I just need to use the soft keyboard. If I'm using the tablet in portrait mode (forced), while docked, then I would need to use the soft keyboard or else learn to type sideways...rather...on a keyboard that is sideways to my orientation since I am using the tablet in portrait. (whew!)
Does that make sense?
Click to expand...
Click to collapse
this is how I did it on mine and it works fine.
Settings->Language & Input -> default- switch off "Hardware physical keyboard.
Now open some thing and try to type you should see the softkeyboard popup. If you download "screen orientation" app. After installed, you will see a little icon on your notification, you will have the option to switch to portrait mode with portrait keyboard layout.
I tried turning off the physical keyboard again and this time the soft keyboard popped right up. It works!
Thank you! Just what I needed!
I use this:
https://play.google.com/store/apps/details?id=nl.fameit.rotate
for rotation control, since it provides both global and per-app settings. That really rocks!
MartyHulskemper said:
I use this:
https://play.google.com/store/apps/details?id=nl.fameit.rotate
for rotation control, since it provides both global and per-app settings. That really rocks!
Click to expand...
Click to collapse
I have this downloaded, and my TF201 still overrides it when the dock is plugged in. Any suggestions on what I'm doing wrong?
matthelm said:
I have this downloaded, and my TF201 still overrides it when the dock is plugged in. Any suggestions on what I'm doing wrong?
Click to expand...
Click to collapse
Try this one, work well with dock, called screen orientation control : https://play.google.com/store/apps/...GwsMSwxLDEsImpwLmVmbG93LnV0aWwucm90YXRpb24iXQ.. and the nice thing is it's in the notification for fast access.
buhohitr said:
Try this one, work well with dock, called screen orientation control : https://play.google.com/store/apps/...GwsMSwxLDEsImpwLmVmbG93LnV0aWwucm90YXRpb24iXQ.. and the nice thing is it's in the notification for fast access.
Click to expand...
Click to collapse
Same thing, as soon as I plug in the dock, the screen goes upside down.
matthelm said:
Same thing, as soon as I plug in the dock, the screen goes upside down.
Click to expand...
Click to collapse
You should plug the dock in, screen should be in landscape mode, now download and install the app. Once done, there're 3 settings, Off= auto rotation, landsacape=landscape and portrait=portrait. now with the dock attached and if you want to go into portrait mode, first turn your device first then enable portrait mode. (if you don't do this in the order, it's going to be backward/upsidedown)
buhohitr said:
You should plug the dock in, screen should be in landscape mode, now download and install the app. Once done, there're 3 settings, Off= auto rotation, landsacape=landscape and portrait=portrait. now with the dock attached and if you want to go into portrait mode, first turn your device first then enable portrait mode. (if you don't do this in the order, it's going to be backward/upsidedown)
Click to expand...
Click to collapse
Hmmmm. I don't think that works the way I want it to. Reading upside down is hard (unit upside down, dock installed), reading sideways is impossible (unit upside down, text sideways, dock installed)! I'm not wanting portrait mode, I want reversed landscape. Reversed landscape seems to be the only mode that is disabled?!?!?!?
If possible, please provide screen shots, the app is working fine for everyone....
Sent from my ASUS Transformer Pad TF700T using xda premium
buhohitr said:
If possible, please provide screen shots, the app is working fine for everyone....
Sent from my ASUS Transformer Pad TF700T using xda premium
Click to expand...
Click to collapse
I gave up, and just tied the dock to the bottom of the tablet. No need for any software that way, just didn't want to do that, because the connections isn't that sturdy. I was very careful with the pressure, and I think it'll be OK.
Wow, the ethernet connection (even going thru the USB) is WAY faster than the wireless!
sorry for coming in this late in the thread after my first response, but Rotate provides any rotation mode I can think of (including Reverse Landscape, Reverse Portrait, etc.)
As for the Transformer line still overriding the app: yes, they *seem* to. However, setting the per-app setting (available on Pro), you can have any app rotate any way you want. I use Mantano in portrait mode while on the train commute, holding the TF700 like a book with the screen on the right, and if I want to read in bed lying on my side, I enable Reverse Portrait while on my right side, and keep it Portrait when on my left (hope that made sense a bit).
Oh, and EDIT: Rotate provides ALL rotation options in a quickmenu right from the notification tray icon.
Experiencing Same Problem
MartyHulskemper said:
sorry for coming in this late in the thread after my first response, but Rotate provides any rotation mode I can think of (including Reverse Landscape, Reverse Portrait, etc.)
As for the Transformer line still overriding the app: yes, they *seem* to. However, setting the per-app setting (available on Pro), you can have any app rotate any way you want. I use Mantano in portrait mode while on the train commute, holding the TF700 like a book with the screen on the right, and if I want to read in bed lying on my side, I enable Reverse Portrait while on my right side, and keep it Portrait when on my left (hope that made sense a bit).
Oh, and EDIT: Rotate provides ALL rotation options in a quickmenu right from the notification tray icon.
Click to expand...
Click to collapse
I cannot find an app which will allow "reverse landscape" when my TF700 is docked.
I have tried:
"Ultimate Rotation Control" the best of the group, and even has a dock override function -- unfortunately that feature does work for me while docked.
"Screen Orientation Control" also does not override when docked.
"Screen Rotation Control" same, no dice when docked.
"Rotation Anywhere" doesn't have a reverse landscape mode.
"Rotation Lock Adaptive" no good for me either.
I have not tried:
"Orientation Control" I would certainly spring for the $1.49 if there were anyone who could confirm that it can do "reverse landscape" when docked.
My desired functionality is actually for HDMI out. I have a projector which I would like to ceiling mount, but cannot invert its own image. Thus, I'm trying to find a way to flip the image of the HDMI out.
Any advice on "Orientation Control" or to flip the HDMI out video signal much appreciated!
Thanks.

Categories

Resources