Fully rotate (home) screen 90 degrees - Android Q&A, Help & Troubleshooting

hello everyone,
I'm having a problem with the rotation of my android device and I was hoping if anyone could help me with this.
to give some backstory, I'm trying to create a magic mirror using a MK809 III B Quad-Core android stick, which uses android 4.4.2
the stick is used with a computer monitor (Samsung Syncmaster 205BW), but the monitor will be used vertically. (I'm using a HDMI>DVI-D adapter to connect the two)
because of this, I need to have the screen rotated 90 degrees in portrait mode, and android does allow you to change the rotation of the screen, but it doesn't do it well.
normally the rotation is set to landscape, but you've the option of setting the rotation of the screen, but if I set the rotation to 90 degrees, rather than actually rotating the screen with 90 degrees, it rather pushes a vertical screen in landscape mode, thus cutting off half of the screen.
so far I've tried apps such as Ultimate Rotation Control, but those do not actually rotate the screen, rather they just lock the rotation.
my question now is if anyone can help me with this problem, or tell me if it's even possible to do the thing I'm trying to do.

Any Luck?
I'm having the exact same problem with APQ8084 SOM running android 5.0.2 outputting to HDMI monitor (no accelerometer).
You would think this would be an easy problem to solve.
If I put my Winodws 10 Monitor in portrait mode, it correctly rotates screen 90 degrees end of story.
As Yusunoha mentioned, changing the user rotation in Android (via several methods):
1. using the "settings put system user_rotation 0/1/2/3"
2. modifying PhoneWindowManager.java to always return preferred rotation as "portrait"
3. Setting "persist.panel.orientation=90/270"
Does NOT result in screen rotating 90 degrees.
Instead I get a compressed portrait mode stuck inside my landscape orientation.
It's almost as if the accelerometer (which I don't have) is telling the OS to always orient towards it's perceived gravity.
Any tips rotating the entire Android Display experience (not on a per APK basis) would be wonderful.
Anyone have any ideas?
Yusunoha said:
hello everyone,
I'm having a problem with the rotation of my android device and I was hoping if anyone could help me with this.
to give some backstory, I'm trying to create a magic mirror using a MK809 III B Quad-Core android stick, which uses android 4.4.2
the stick is used with a computer monitor (Samsung Syncmaster 205BW), but the monitor will be used vertically. (I'm using a HDMI>DVI-D adapter to connect the two)
because of this, I need to have the screen rotated 90 degrees in portrait mode, and android does allow you to change the rotation of the screen, but it doesn't do it well.
normally the rotation is set to landscape, but you've the option of setting the rotation of the screen, but if I set the rotation to 90 degrees, rather than actually rotating the screen with 90 degrees, it rather pushes a vertical screen in landscape mode, thus cutting off half of the screen.
so far I've tried apps such as Ultimate Rotation Control, but those do not actually rotate the screen, rather they just lock the rotation.
my question now is if anyone can help me with this problem, or tell me if it's even possible to do the thing I'm trying to do.
Click to expand...
Click to collapse

Found any solution? Even with my rooted device and these settings it won't work. Also using usb c > hdmi > vga.

Related

How to "hacQ" the Nexus Q so portrait apps work on a landscape-only screen

Hi,
Several apps I have tried (maybe ~10% of them) only have portrait mode. This is a problem if you have a TV you can't rotate.
I wonder if anyone has any ideas of how to write, say, a background service that detects if it's displaying in portrait mode, and then shrinks the screen view and flips it 90degrees (so essentially you have a portrait screen that is now the correct way up, with black screen on either side). You can't tell it to display in true landscape because that's hard-coded into the app, so it is better to just rotate the portrait display. However this is a hard thing to do as the screen display is very low-level... but does anyone have any ideas of how to accomplish that?
I've done some searching, but of course Android has never really faced this problem before. Android has either been on a rotatable mobile device, or it's been on a GoogleTV where everything is landscape...
If so, that would open up more apps for Q-compatibility...

[Q] Rikomagic MK802II, portrait mode

Hello all,
this is my first post here so be gentle :cyclops:
I've bought Rikomagic MK802II with Android 4.0.4. with HDMI.
I want to rotate screen to portrait mode. I spent days trying to make it work but without success.
Device came without "Auto-rotation" option in settings. It is somehow locked to landscape rotation.
I tried to do:
1) Unpacked original IMG file, then unpacked system and changed build.prop.
- I've added "ro.sf.hwrotation=90" to build.prop file and flashed the device.
- after rebooting system stuck at loading screen
2) Again fresh start from original IMG file.
- changed "config_AllowAllRotation" from "false" to "true" in framework-res.apk
- packed all and flashed the device
- after reboot system running OK but still in landscape
3) Made file local.prop in /data/.
- In it I've added:
launcher.force_enable_rotation=true
qemu.sf.lcd_density=160
- nothing helped...
4) Changed settings.db.
- changed user_rotation from 3 to 0 (to 1 also)
- after rebooting screen is still in landscape but settings.db doesn't have anymore this row: user_rotation and 20 next rows too.
I also spot some AutoRotationController.smali file but I don't know is everything about it or?
How I testing portrait mode:
- Tried with Rotation locker application
- made my app which have orientation to portrait (tested it on my tablet and on my smartphone and in emulator and in all cases app is in portrait except on MK802II).
Does anyone know what is needed to be changed to get portrait rotation? No matter locked portrait rotation or Auto rotation enable. Just possibility to rotate screen to portrait.
Are there some parameters needed to be changed or some features to be added or something else?
Are there some group of parameters considering to screen rotate?
Any luck with the rotation? Same story on the mk802 fw.
Cheers,
Martijn
Still no luck. I didn't gave up but I need to learn more about android to better understand the problem about rotation and to to prevent/allow screen rotation. That is hard way for me but only because I didn't get any help on the forums and cannot find any blog on the net who have this there written down.
I'm guessing all your previous attempts to configure or manipulate the devices screen orientation are unsuccessful probably because all these system settings, configurations and used apps rely on a hardware feedback of sum sort.
Which probably is absent on these devices.
I don't believe an android stick as this comes with a gyroscopic sensor (hardware). Thus not able to supply or react to the correct information.
I don't think its impossible though, it just needs a more low-level programatically approach.
Good luck :good:
And please share your solution if you get it solved. I can imagine more people are facing this problem.
Semi - Solution
Hello,
I have been working with one of these devices recently and also needed to display something in Portrait mode.. Alas it's locked in to landscape.
Instead, I figured out a work around. I built an application that is landscape, but the internal objects are rotated 90 degrees. The app I am working on (and hope to have in the app store soon) is a web browser kiosk style app. This application design would allow you to display something in portrait mode even if the devices is locked to landscape. Added bonus, with the way I have it set up I am able to also set it to 180 degrees or 270 degrees (this is useful if the picture needs to be flipped on a projector lets say)
Just thought I'd share what I figured out so far. I'll post the link once I have the app ready for prime time.

[Q] Screen Rotation during Games

I don't believe I've seen this addressed but if so, my apologies.
I'm having an issue typically with games in landscape mode. The screen will invert and when I rotate the tablet 180 degrees to get it right, it'll immediately rotate and flip upside-down again. I've played with preventing auto rotation and forcing it to only use landscape, but it still gives me issues. This is with games in both the stock Kindle OS as well as with a separate launcher in the flashable GAPPS environment.
Anyone else having this issue or have a fix?
Thanks
Actually just saw this being talked about in the "[ROM] thor-gapps-rom" discussion under the development forum.
http://forum.xda-developers.com/showthread.php?t=2585690&page=2
Wrw311 said:
I don't believe I've seen this addressed but if so, my apologies.
I'm having an issue typically with games in landscape mode. The screen will invert and when I rotate the tablet 180 degrees to get it right, it'll immediately rotate and flip upside-down again. I've played with preventing auto rotation and forcing it to only use landscape, but it still gives me issues. This is with games in both the stock Kindle OS as well as with a separate launcher in the flashable GAPPS environment.
Anyone else having this issue or have a fix?
Thanks
Click to expand...
Click to collapse
Try "Smart Rotator" app, and/or lock the screen orientation using the notification toolbar BEFORE you run the game.
kschang said:
Try "Smart Rotator" app, and/or lock the screen orientation using the notification toolbar BEFORE you run the game.
Click to expand...
Click to collapse
Locking the screen by the notification bar does not work in some cases.
Best way is to use an app called ADAPTIVE ROTATION LOCK, it has an adaptive mode whenever the screen change the orientation, a small button appears and the screen orientation only changes when you hit the button or else it will go away.
The app has a pro version in which allow you to set the default orientation PER APP, I set all my games to Landscape and it works flawlessly.

[Q] Rotation Misfanction

Hi, my I9100 when the phone is set to auto-rotate, and is in landscape mode, it will not return into portrait mode. Not even if i set it to no auto-rotation. It runs KitKat (Beanstalk) and even if i manage to get it to portrait, the apps that were viewed in landscape will remain in landscape.
Every tme the only solution is to reboot.
Its defently not a hardware issue, but i have noticed while using apps that show the orientation of the phone such as Bubble level, that the phone doesnt detect when it is faced bottom side, up.
Please help

[Q] Miracast to fullscreen in portrait

Hi,
I'm trying to screen cast from a Nexus 4 to a large screen TV (using a PTV3000). I want to put the TV in portrait mode and have the screen case occupy the entire screen, however I don't seem to find a way to accomplish this. When the phone's orientation is vertical (portrait) it assumes the TV is in landscape orientation and the phone screen is displayed small in the middle of the TV with black space on the sides.
After doing some searching it seems that this behavior can only be changed with a custom ROM, however I haven't been able to pinpoint where in the AOSP tree this behavior can be changed. Any suggestions are much appreciated.
Thanks!
Full screen
mariusmuja said:
Hi,
I'm trying to screen cast from a Nexus 4 to a large screen TV (using a PTV3000). I want to put the TV in portrait mode and have the screen case occupy the entire screen, however I don't seem to find a way to accomplish this. When the phone's orientation is vertical (portrait) it assumes the TV is in landscape orientation and the phone screen is displayed small in the middle of the TV with black space on the sides.
After doing some searching it seems that this behavior can only be changed with a custom ROM, however I haven't been able to pinpoint where in the AOSP tree this behavior can be changed. Any suggestions are much appreciated.
Thanks!
Click to expand...
Click to collapse
Did you ever get the full screen to work?

Categories

Resources