[Q] Change screen resolution on app launch (and change back on exit) - Android Q&A, Help & Troubleshooting

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.

Related

[Q] change tablets resolution

I have a Tomtec excellent 8 inch tablet with screen resolution of 800x600. After some playing i saw that many games dont work very well at this resolution. sometimes i can play a game and some of the side is missing. very annoying . Dont know if its possible but might it be possible for some games to change my resolution?
If it's rooted, then you can change the dpi by using this: https://market.android.com/details?id=com.beansoft.lcd_density_changer&hl=en.
oke looks great. I have not yet rooted it but was thinking about doing that soon so im going to try this for sure
havent tried all the density change apps there are around, but it dont seem to work with the ones i tried. I cant stretch my ratio of my screen so it doesnt help.
Need an app that can make a stretch 480:800 to a 4:3 screen with 600:800

[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] 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...

Changing the resolution itself in games or other applications

Hi, I have a problem with my redmi note 4x is a problem with the mortal Kombat game and at the original resolution you can see how the game has no liquidity, I read that you need to have root and the application gltools goes wonder, the button true does not work for me, then to play xposed and app setting do as I write or what my mind tells me and the same frames can be seen as there are a lot of effects and animations in the game like flames etc, the last thing that works is by the android terminal as typing in size 720x1280 and in density 280 and then it's great extra cool but this changes the resolution of the whole phone, and I would like the phone to be original, ie 1080x1920 and 460 no, but then the game is cut, can be done to change the resolution in the game itself if so, please answer

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