Android TV Screen rotation - Android Q&A, Help & Troubleshooting

Hi,
I'm looking for a recent Android TV Box (Android 9 or 10) model that supports screen rotation either via the Settings configuration or using a 3rd party app.
My idea is to be able to play games like Pinball where the screen is rotated.
I'll deeply appreciate any recommendations.
I have a T9 4G/32GB Android 9 (rockchip RK3318) and changing the build.prop (ro.hwrotation=90) file didn't work. Any ideas/workarounds?
Thank you in advance.
Luis

Thread is old, I know; but just in case.
Screen Resolution Changer (com.iutilities.screen_resolution) is one of those really helpful applications display configuration wise.

Related

[APP][ROOT][4.2-4.3JB][10-25-2013] Screen Settings - w/HDMI detection -Ver 1.27

REQUIRED:
Device: Nexus 10 or other devices with a screen larger than 3.5"
OS: 4.2 or 4.3 Jelly Bean
Other: ROOT access with BUSYBOX installed
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What does this app do?
It allows to change the resolution and the pixels density of the screen to pre-defined settings according to standard screen aspect ratios
Why is this useful?
- Watching Video on an external monitor/tv using the hdmi output will usually mirror the screen content without correcting for aspect ratio, by setting the correct resolution and pixel density of the screen to match the monitor/tv allows to fill the entire external screen and avoid the side black bars.
- Playing games on an external monitor/tv: normally, the device will render the games to the full resolution available on the device's screen. On the case of the Nexus 10, games will be rendered to its huge resolution of 2560x1600 and then it will be scaled down to the monitor/tv screen resolution wasting GPU prepossessing power and resulting on more heat and power consumption during gaming. By reducing the screen resolution to match the external monitor/tv less processing power is needed to render the game at the lower monitor/tv's resolution, many games will even use the extra processing power available for more effects or more frames per second (depending on the game, no established by this app).
- Simulate other screen resolutions and pixel density for android developers to test their applications on the physical device and observe how their application will look on other devices.
Available options:
-Manual Settings: Allows to manually select the desired resolution and pixel density according to pre-defined standard aspect ratios.
-Auto Detection: Will run in the background and will detect HDMI connections and disconnections. On a HDMI connection detected, a notification will be presented to apply the detected screen resolution and pixel density appropriate for your screen. On a HDMI disconnection, the notification will allow to return to the device's default settings.
Reboot Mode: New Soft Reboot will only reboot the graphical interface not the entire system (Fast). Normal Full Reboot (safest, use if you find interface issues with the Soft Reboot).
Screen Size: Define your screen size (affects dpi calculation). This setting comes pre-defined for the nexus 10, but you should change it to match your screen size on other devices.
HDMI Resolution Preset: Define your preferred output resolution instead of using the Auto-Detection option .
New Default Settings: The default settings will now reset the dpi value to the factory configuration. It appears that the nexus 10 comes from factory with a dpi setup to 320 instead of 300. The new reset feature should also work for other devices.
Auto DPI Selection: No more guessing work, it will select the appropriate dpi value for the selected resolution and the screen size defined on the settings.
Screen OFF feature: Allows you turn your device's screen off while keeping the output to the hdmi to reduce the power usage. To turn the screen back ON just press the power button twice or simply disconnect the hdmi.
Touchless Profile: It applies the profile automatically upon hdmi connection without user interaction.
- The profile can either auto detect the TV resolution or apply the preset resolution
- If selected, it will turn the screen off automatically when the hdmi is in use.
- On hdmi disconnection, the screen settings will automatically return to default.
What is New
New Recovery Feature: Recovers the default screen setting after an user specified number of power/charger connections. Will restore the device if the user applied a configuration not supported by the device.
To trigger the recovery feature, plug and unplug the power/charger to the device allowing ~1s between plug/unplug as many times as defined on the settings menu, default is 3 times.
v1.27:
- New Recovery Feature to restore default setting upon cycling the power connection 3 times at ~1s between connections.
- Fixed interface issues on Nexus 7 2013.
- Support for small screens up to 3.5"
- New first time setup to ensure the user select the appropriate screen size of their devices.
- Added the screen size to the current settings display.
v1.26: Improved the Preset Resolution Input dialog to avoid incorrect inputs.
v1.25: - Improved support for devices that are naturally oriented in portrait mode (i.e. nexus 7, cellphones, etc).
- Added more resolutions, specially to support smaller devices and cellphones.
- Added "Touchless Profile" option.
v1.24: - fixed a crash issue happening on devices that did not have BusyBox installed. if you don't have busybox installed, the app will now prompt you to install it.
- fixed the Auto-Brightness feature that was awakening the screen for some devices on ambient light changes.
- Added Screen Turn OFF request for support on devices where screen turn off is not yet supported.
v1.23:
-Improved screen OFF detection mode to support more devices. Allows you turn your device's screen off while keeping the output to the hdmi to reduce the power usage
v1.22:
-Screen OFF feature.
v1.21:
-Adjusted App's interface for portrait and landscape mode, and smaller screens.
-Back compatibility with JB 4.2
-Added preset button on main application
v1.2:
- Auto DPI Selection.
- Reboot Mode Selection.
- Screen Size Selection.
- HDMI resolution Preset option.
v1.01: Code cleaning
v1.0: Initial Release
Why a reboot is needed to apply the new screen settings?
- For now the safest way to restore the entire Interface with the new resolution and pixel density is to reboot the system. The new Soft Reboot should reduce considerably the time required to reset the interface.
MOD EDIT: Link to Google Play Removed due to XDA advertising paid app/theme policy. OP can check for PM from me.
This sounds like an interesting app!
Gonna try it out, but I have a few questions, does the resolution change happen only when connected to a HDMI output? Are there any benefits to having a lower res for say regular daily use of the tablet, say like not hogging the gpu or lowering the gpu temperature?
Also, according to Xda rules you shouldn't advertise paid apps here, you either have to make a free trial or this post will get removed, but I would love to keep the thread alive...
Sent from my Nexus 10 using Tapatalk 4
s1m4an said:
This sounds like an interesting app!
Gonna try it out, but I have a few questions, does the resolution change happen only when connected to a HDMI output? Are there any benefits to having a lower res for say regular daily use of the tablet, say like not hogging the gpu or lowering the gpu temperature?
Also, according to Xda rules you shouldn't advertise paid apps here, you either have to make a free trial or this post will get removed, but I would love to keep the thread alive...
Sent from my Nexus 10 using Tapatalk 4
Click to expand...
Click to collapse
s1m4an,
I did not know about the paid app rules for posting at this forum; however, I am planning to release a trial or beta version specially to bring support to other devices.
You can change the resolution at any moment (without HDMI connected) by opening the app and selecting the desired resolution and pixel density and then apply the changes.
The HDMI detection just allows you to change the settings to match the detected external screen automatically without having to worry about what resolution and density you should select.
Lowering the resolution will definitely reduce the GPU utilization and GPU power consumption (heat generated) especially at graphic intensive apps like games, even at 1080p the GPU needs to render half the amount of pixels than the default resolution. I have tested this with games and I generally gain frames per second or I am able to increase the detail level of the game effects. In normal usage, GPU utilization will also be reduced but I will imagine that non graphic intensive applications will not give you such drastic difference, probably watching movies will.
Another benefit is that it allows you to test how applications will look on other devices, if you are a developer.
Thanks for the comment,
Yes i would be great if there was a trial version or something like that.. It sounds interesting..
Hi forbitel, I bought your app and I like it so far. Works fine with stock 4.3 and it's a very easy way to have a true full screen 16:9 trough HDMI. Shame to Google for giving a stupid 16:10 aspect ratio to our HDTVs.
I have better results with 16:9 2560x1400 with my tv
Setting 1920x1080 creates a weird interface in the tablet. Looks like a old phone launcher...
What I would like to see in a future update is to set a favourite resolution when HDMI is detected so we don't have to go to the app every time we want to change it.
Good work!
king conan said:
Hi forbitel, I bought your app and I like it so far. Works fine with stock 4.3 and it's a very easy way to have a true full screen 16:9 trough HDMI. Shame to Google for giving a stupid 16:10 aspect ratio to our HDTVs.
I have better results with 16:9 2560x1400 with my tv
Setting 1920x1080 creates a weird interface in the tablet. Looks like a old phone launcher...
What I would like to see in a future update is to set a favourite resolution when HDMI is detected so we don't have to go to the app every time we want to change it.
Good work!
Click to expand...
Click to collapse
king conan, Great Suggestion!, I will add that to the next update.
Thanks,
forbitel said:
king conan, Great Suggestion!, I will add that to the next update.
Thanks,
Click to expand...
Click to collapse
King Conan, the preset option added to the newest update should now do what you want.
forbitel said:
King Conan, the preset option added to the newest update should now do what you want.
Click to expand...
Click to collapse
Yes I saw the update. Thank you!
I'll try in the next hours.
But now I have a problem. I use the keyboard app "Swiftkey Tablet" and even after several reboots, going to default resolution and reinstalling the app, it's size is like 3 times the normal. It's like the app thinks I'm still in 1920x1080 and not in the default 2560x1600. And I can't use it...
The stock keyboard works fine.
I'll post a screenshot later!
Edit:
Maybe reinstalling the app was not the solution (it may keep settings in SDmemory). I'll try to erase app data and reinstall.
Edit 2: Solved.
But I really want to thank you for this app. Now I can use Nexus 10 as decent multimedia player with my TV.
New problem: sometimes I have to apply and reboot up to 3 times to get the desired resolution. I have to test more...
king conan said:
Yes I saw the update. Thank you!
I'll try in the next hours.
But now I have a problem. I use the keyboard app "Swiftkey Tablet" and even after several reboots, going to default resolution and reinstalling the app, it's size is like 3 times the normal. It's like the app thinks I'm still in 1920x1080 and not in the default 2560x1600. And I can't use it...
The stock keyboard works fine.
I'll post a screenshot later!
Edit:
Maybe reinstalling the app was not the solution (it may keep settings in SDmemory). I'll try to erase app data and reinstall.
Edit 2: Solved.
But I really want to thank you for this app. Now I can use Nexus 10 as decent multimedia player with my TV.
New problem: sometimes I have to apply and reboot up to 3 times to get the desired resolution. I have to test more...
Click to expand...
Click to collapse
What specific resolution and density are you trying to set? is it through the main application window or through the hdmi notification?
I see you updated the app again.
First try and success, resolution changed fine.
I'll try more.
With this latest update everything works great. 1 reboot needed to change resolution and its very easy to have a preset one.
Sounds like a really useful app. Unfortunately I don't really want to pay for until I know it works for me. I will probably pay once the app matures after a few updates.
Sent from my Nexus 10 using Tapatalk 4
Well, the updates are coming non stop. It works perfectly fine now and the latest update brought a great new feature: Screen off with hdmi out active.
With this app we can have finally a serious media player with the nexus 10.
Congrats to the developer.
@forbitel
Can you tell me what's the shell command (that you have implemented in the app) to "soft"reboot the GUI?
king conan said:
Yes I saw the update. Thank you!
I'll try in the next hours.
But now I have a problem. I use the keyboard app "Swiftkey Tablet" and even after several reboots, going to default resolution and reinstalling the app, it's size is like 3 times the normal. It's like the app thinks I'm still in 1920x1080 and not in the default 2560x1600. And I can't use it...
The stock keyboard works fine.
I'll post a screenshot later!
Edit:
Maybe reinstalling the app was not the solution (it may keep settings in SDmemory). I'll try to erase app data and reinstall.
Edit 2: Solved.
But I really want to thank you for this app. Now I can use Nexus 10 as decent multimedia player with my TV.
New problem: sometimes I have to apply and reboot up to 3 times to get the desired resolution. I have to test more...
Click to expand...
Click to collapse
How did you solve the keyboard problem? I was seeing the same thing but could not find a solutuion.
And what screen resolution settings are you using now that will work perfectly with your TV?
How did you solve the keyboard problem? I was seeing the same thing but could not find a solutuion.
And what screen resolution settings are you using now that will work perfectly with your TV?
Click to expand...
Click to collapse
mrruin,
I have tested few popular keyboards from the market and found the following:
- Google Keyboard: Adjust the best out all I have tested, it consistently adjust with changes of screen resolution.
- SlideIT: Somewhat adjusting to the screen resolution changes, works better than Swype and SwiftKey.
- Swype: do not dynamically adjust to screen changes, some resolutions works but wont adjust to the screen on 1080p.
- SwiftKey: do not dynamically adjust to screen changes, some resolutions works but wont adjust to the screen on 1080p.
I would recommend you use Google Keyboard when changing the resolution of the device, until these keyboards are fixed for resolution changes.
Where can I get that wallpaper?? That looks really cool.
So when are you going to release the trial betsa version like you said you would ? It has been almost 2 months
Sent from my Nexus 10 using xda app-developers app
Nexus 5 slimport HDMI
Has anyone had any luck changing the HDMI resolution?
On a Nexus 5 or any other device?
I have tried all combination of settings i can think of but it either boot loops or resolution stays on 1080p.
Im guessing when it boot loops with the cable plugged in its trying to output 720p but doesn't like it much.
I'd like to provide some sort of log if would be useful.
normskilight said:
Has anyone had any luck changing the HDMI resolution?
On a Nexus 5 or any other device?
I have tried all combination of settings i can think of but it either boot loops or resolution stays on 1080p.
Im guessing when it boot loops with the cable plugged in its trying to output 720p but doesn't like it much.
I'd like to provide some sort of log if would be useful.
Click to expand...
Click to collapse
normskilight,
I haven't tested the application on 4.4 KitKat yet, I just got my KitKat OTA few minutes ago.
I will test it soon and will get back to you.
Please keep tuned.
Regards,

[Q] Change screen resolution on app launch (and change back on exit)

I am attempting to play a very old game that only works on a very particular set of screen resolutions on my modern Android devices. The game does not scale at all and is completely unplayable without changing the resolution to one that is supported (the only one I can get to work correctly is 320x480) I have gotten this game to work using an app called NOMone Resolution Changer from the Play Store, but it is a pain to change the resolution (really screwing up the UI), launching the app, then getting out of it when I want to quit, and changing the resolution back. What I am wondering is if there is some way to make it so that when I launch the app, it will change the resolution, and then launch the app, and when I close the app, it will change it back. I am quite skilled with Android and Linux so I am willing to try anything. My device is rooted running KitKat.

[Q] Faking display resolution for Cocktail Flow

Hey there,
Cocktail Flow is probably the one and only good looking cocktail app for tablets out there. However, its developer really hardcoded the resolution to 1280x720 which means it cannot be used on any newer tablet (like a Nexus 7, see screenshot). And since the developer abandoned the project, this app is probably gone forever.
Is there are way to reduce the resolution of tablets (or faking a lower one) such that the app is stretched and can be used again?
I've already tried Xposed + App Settings, but changing the DPI doesn't help, since the developer is not using dp...

DPI Settings for ASUS ZenFone 3 Ultra [Android 7.0/Nougat]

DPI Settings for ASUS ZenFone 3 Ultra [Android 7.0/Nougat]
Hello everyone. Following the release of the latest Android 7.0 Firmware update [WW-14.1010.1703.42] for the ZF3Ultra which I have now installed on my 2nd ZF3U (1st one died following the initial faulty firmware which ASUS withdrew from release), I went ahead to find out once again (as I did with my previous Huawei P8 Max) the optimum DPI scaling for enabling Tablet Mode and wanted to share my findings with you. As always, use the following ADB commands to achieve the desired change [Remove brackets and simply replace the below number with your desired DPI and use the second code if you want to revert to your default factory DPI.] With Android 7.0 you can also scale the DPI using the Display option in setting but this will only change the dpi within the parameters that ASUS has specified and this will not enable full tablet mode. However, if you want to practice the dpi scaling on the go without any adb code then there is good news for Android 7.0 users. Under device settings-go to About-Software Information-tap on Build Number multiple times until the message pops up stating that your are now a developer, then go back to the main list of options and click on Developer options-then go all the way down on the list of developer options to heading Drawing-under that heading you will find Smallest width-click on it and change the number to 795 and this will give you the equivalent dpi of 217. OR if you want to try different DPIs then you can change the number accordingly. The higher the number, the smaller the UI objects will be, the lower the number, the bigger the UI objects will be.
Rest assured I have tried all the possible DPI settings and depending on your taste and desired experience, the following DPI scale of 217 is the only one worth trying UNLESS you don't like the Tablet Mode, in which case don't try practicing any of the settings below or if you want objects bigger then simply increase the DPI until you are happy with your DPI scaling to make objects larger.
adb shell wm density [217] && adb reboot
adb shell wm density reset && adb reboot
Observations:
DPI 217: (You can also find my findings on Android 6.0 DPI scaling for the ZF3U on my related post in the forum. In that post you will find details of my findings on additional dpi scales)
-The scale number of 217 will enable FULL Tablet mode on the ZF3U,
-All Tablet Mode compatible apps will be fully operational,
-Dual Sim Functionality will be fully operational (This did not work on Android 6.0 scaling),
-Google has removed the Tablet Mode side menu inside device options so no matter which dpi you use, the side menu is no longer there (It was available in Android 6.0) -I wish Google could bring back all the precious Tablet mode options previously available and even better would be to bring all the tablet UI features of the well respected Paranoid Android ROM (i.e bottom status bar, status bar pop-up options like Windows etc.... those of use who have been using it back in the days know what I am talking about),
-DISADVANTAGE: Stock Camera functionality is lost and the image does not display properly so if you love the dpi and can do without stock camera functionality then stick to this dpi and install a camera app of your choice (I am using Camera MX)-If anyone finds a fix to keep the stock camera operational at dpi scale of 217 without any issues then please do share your workaround.
Enjoy!
Thanks for this awesome tips! Im using Zenfone 3 ultra too and l been finding way to take full advantage of this screen size. This really helps a lot! ?
actually the dial pad, contacts and alarm dont work well with those settings. adjust to 540 or 579 smallest width.

Custom Resolution Android x86

Hello, I installed android x86 on an old laptop to run a game. Everything is working correctly and no issues so far. Now I’m trying to run one app that only works in cellphone resolution (720x1280). Tried to change resolution with apps from playstore, resolution changed but app stoped. Tried to change resolution with terminal ( wm size 720x1280 ), resolution changed but app still stops. Then i finally remembered to edit build.prop and added (debug.drm.mode.force=720x1280) to build.prop and the app started to work, but now the resolution doesn’t fit in display, causing the image to flip and stretch in screen. Now that I’m sure that it’s a resolution problem to use the app, is there any alternatives to display things proportionally on screen without flipping all the system and apps?
Thanks and sorry for the big text

Categories

Resources