yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] aravindsagar:
I did not know about this, so root check is kinda built into the app. Have rewrite some parts of the app to change the behavior. Unfortunately I'm really busy right now, don't know when I'll get to work on it. The code is there in Github (https://github.com/aravindsagar/ScreenShift) if someone wants to take a shot.
[Android Apps and Games] luis.j:
Hey man I've a broken screen here and I'm using your app to change resolution to match the undead screen zone.

Is there a possibility when decreasing width to make screen appear on one side instead of centering?
[Android Apps and Games] Hermanos01:
When I sliding the notification bar my screen resolution is reset to its default. How can I fix this?
[Android Apps and Games] 4ykut90:
How to drag screen to the right ?

I have dead pixels on the left side of my phone, so I wanted to drag my screen to the right a little bit, I already resized my resolution but now I lost some pixels on the right side too. "wm overscan" just screws everything up. Is there a solution for this?
[Android Apps and Games] TreektusPL:
Very goood app! Nice work man
[Android Apps and Games] bccrosby:
thank you
[Android Apps and Games] ShreyasZad:
Hey, I have been using your app quiet extensively. It works as it should be on my OnePlus 6T. Just one request I would like to make. Is it possible to make the bottom part full black instead of white?
[Android Apps and Games] luutoo:
Phone not booting after changing resolution with screen shift

Today when I was using your app, while I was changing resolution the phone just turned off. It hasn't booted up for hours. I will see the boot screen for 1 second and then it turns off again.

I'm available to boot into twrp but the data is encrypted (because I had a password on my device). I have Important data on my phone that I can't access, only way to recover my data is the solve the problem, being available to boot the device.

I don't know where to go from here all I have tried is to dirty flash my same custom rom with adb sideload, with no success. I can't clean flash it since all data will be lost.

Do you have any suggestions as what I can do, as the app dev. Thanks!

Information:

Device - OnePlus 5t

Custom Rom - LineageOS v 16.0

Rooted - Magisk v 19.3

Request if you need more information.
[Android Apps and Games] MikeMulligan:
Hey! Thank you so much for this app, it's extremely helpful.

I'm wondering if it's possible to edit the "default" setting. Here's why:

Through my phone (Pixel 4XL) settings, I've changed the display size to "small" which effectively just officially ups the DPI setting. And while I can maintain that setting in the custom profiles, whenever I use screen shift to switch back to the default profile, it reverts to the medium size. It'd be good if there was a way to edit the DPI (or theoretically any other settings) for the default state.

Unless I missed something :)

Thanks!!
[Android Apps and Games] barguybrady:
A SImple User Manual, perhaps?

After too many issues with LineageOS on my OnePlus 6T, I am returning to OOs. However, I enjoyed the customization of LineageOS, and the greater ability to customize the display. As this app is on F-Droid, I prefer using software such as this.

Thank You.

However... A simple explanation of what each setting does, would be appreciated.

Resolution?

Over Scan?

Density?

How does changing these values affect the screen?

Noobs like me may be more willing to use this if we had a succinct usage guide.

(just saying....)
[Android Apps and Games] Waped:
I have a samsung galaxy a50, the screen corners are rounded, so when i lower the definition the corners are overrepresented so my screen becomes almost oval. Can we fix this and how do we do it?
[Android Apps and Games] maxo_91:
since overscan is dead in android 11 is it still possible to use the app or not at all? Also as one of the guys before me mentioned, is it possible to use it without root?
[Android Apps and Games] dhewaghost:
I haven't root my Mi a1, can i still use it?

Hi there i have questions, regarding option per app profile, will it works on non root phone, I'm andoid 9 tho

I just need an app to run in lower resolution

Ty very much
[Android Apps and Games] lordmogul:
App is working great. Resolutions and density/dpi is set without issues and even per-app profiles work fine.

But how to delete created profiles?
[Android Apps and Games] Marília de Oliveira:
Nice :D:D
[Android Apps and Games] TPoint75:
I would like to see per app settings!
[Android Apps and Games] WstrKuNoužč:
Wow, great job dude! :good:

Works great on LG G3 with RR rom.

Been waiting for quite some time now for a proper, profesionally made resolution changer and this is definitely it.

You, sir, are amazing! :highfive: :D
[Android Apps and Games] aravindsagar:
Oh I don't think that can be solved.. I've observed this behavior in some older devices. Sorry about that.
[Android Apps and Games] aravindsagar:
That's definitely the next feature in the list to be implemented! Expect it soon. :)
[Android Apps and Games] ermacwins:
Wondering if your app can work on the galaxy s6 camera app. I enabled nav bar but it doesnt full disappear in the camera app as you can see in the screenshot. Can I use your app to push the bottom part up a bit?
[Android Apps and Games] aravindsagar:
Thank you! :) I'm just an amateur though, and, any suggestions for improvement are most welcome!
[Android Apps and Games] aravindsagar:
Umm if you use this app, you can only shift the whole screen up, including the nav bar. You can try setting some overscan (bottom) and see whether it helps.
[Android Apps and Games] ArmoredCavalry:
Awesome app, looks great and seems to work fine on Nexus 6!

I do have two pieces of feedback -

1) Can you retrieve the default density/resolution from the device, then allow users to choose a preset that scales? For example, instead of having to calculate that a Nexus 6 should be 420 density for 1080P, there could be something in the app that allows that to be automatic?

2) Not sure if there is something you could trigger on the app to fix this, but when I originally scaled down the resolution/density on my Nexus 6, the status bar icons and tray/notifications seemed to stick at the higher density. Once I rebooted they scaled correctly.

3) Pretty sure this is unavoidable, but certain apps (Reddit is Fun and Pie control are two I've noticed) seem to record the device resolution/density at the time of install. Unfortunately this means that when you change resolution/density on the fly, they get a bit broken.

Anyhow, hope this feedback is helpful, great work!
[Android Apps and Games] aravindsagar:
@pavik62

@T.E.C.H.N.O

Strings updated! Translations will be much appreciated. :)
[Android Apps and Games] gaweded:
Thanks!!

Searched for how to change my phone screen resolution yesterday and got nothing. Definitely will try this app. Thanks..
[Android Apps and Games] aravindsagar:
1) That is a great suggestion, I'll work on that :)

2) Unfortunately that can't be fixed in-app. Sometimes, a soft-reboot is required for changes to take effect. Maybe I can add a prompt with a button to do a soft reboot?

3) Yeah, but I wonder whether a soft-reboot will fix it?
[Android Apps and Games] jmcolejm:
lg G3 resolution

What did you change the Lg G3 resolution to that worked?
[Android Apps and Games] ArmoredCavalry:
Yah, some sort of prompt would be fine I think. Just something so an average user won't go "hey it didn't work!".

Also, I ninja-edited and added a third piece of feedback to my original post, sorry. :)

Edit: looks like you saw it, nevermind!
[Android Apps and Games] aravindsagar:
Yeah I'll do that.

I too ninja edited and added a query to that third piece. ;)
[Android Apps and Games] ArmoredCavalry:
Haha, this feels like phone tag!

As far as the apps, even after a reboot it sticks with the issue. I've actually experienced this before restoring app data with Titanium Backup from one phone to another. A handful of apps seem to record a screen resolution/density, instead of fetching it on the start of the app.

Edit: Also, on a side note, I said the wrong Reddit app, I meant to say Relay, doh. The comment thread navigation buttons basically show up in the wrong place/offscreen. Also, Pie Control does have some size sliders you can use to adjust the icon/control size, so that seems to be fine.
[Android Apps and Games] secondkai:
Great app..does lower screen reaolution affect battery life? Ie from 1080 to 720?..if it does then this app is super great!!
[Android Apps and Games] dracinn:
App reboots my phone as soon as I open app.
[Android Apps and Games] aravindsagar:
Try it out and tell me! ;)
[Android Apps and Games] aravindsagar:
Yeah I got one other report telling about reboot. Can you tell me your device and ROM?
[Android Apps and Games] dracinn:
Samsung S3 AT&T (i747) CyanogenMod 12.1 6/15 nightly.
[Android Apps and Games] aravindsagar:
Hmm the other report was also a Samsung device running CM 12.1... Might have something to do with that.

I wonder what the problem is... Can you uninstall the app and try issuing these commands directly using adb, and see whether reboot happens then?

wm size WIDTHxHEIGHT
wm overscan LEFT,TOP,RIGHT,BOTTOM
wm density DENSITY

Replace the Upper caps words with required values.
[Android Apps and Games] Parideboy:
S4 on aicp rom. When I start the app I can't get pass the tutorial that the phone reboots, restoring the default dpi setting.

Inviato dal mio buon vecchio Samsung Galaxy S4 AICP 5.1.1
[Android Apps and Games] aravindsagar:
Hmm.. Looks like app has problems with Lollipop AOSP based roms in Samsung devices. I will look into it.
[Android Apps and Games] Parideboy:
If there's something me can do we'll be happy to help.

Inviato dal mio buon vecchio Samsung Galaxy S4 AICP 5.1.1
[Android Apps and Games] aravindsagar:
That'll be great. Can you please try these commands via adb shell?

wm size 720x1280

You can try other resolutions as well.
[Android Apps and Games] Parideboy:
Works, resolution changed ?

Inviato dal mio buon vecchio Samsung Galaxy S4 AICP 5.1.1
[Android Apps and Games] lm631501:
I have to say, I got a bit excited when I saw your intro image. For some reason, the handlebars made me think "zoom-able pop-up window app!" Ha, one can dream right?

Tested on Sprint Galaxy Note 2 SPH-L900, worked out quite nicely! Nice layout, no quirks as of yet. I am running stock rooted TouchWiz 4.4.2.

Nicely done!:good::good:
[Android Apps and Games] aravindsagar:
Hmm.. So there's some other problem in the app.. What could possibly cause the reboot?:confused:

Can you try these reset commands via adb shell?

wm size reset
wm density reset
wm overscan reset
[Android Apps and Games] Parideboy:
Wm density reset seems to reboot the phone to restore stock dpi. Is that command executed automatically on app start?

Inviato dal mio buon vecchio Samsung Galaxy S4 AICP 5.1.1
[Android Apps and Games] aravindsagar:
Oh yes. It does that to capture the default screen resolution values.

Anyway, thanks a lot for the info! It'll help me fix the reboot issue. :)
[Android Apps and Games] Parideboy:
No problem. If you need someone for further testing don't esitate to ask

Inviato dal mio buon vecchio Samsung Galaxy S4 AICP 5.1.1
[Android Apps and Games] digitall1982:
thanks for this app

i got two questions

on my g3;

1. when i change res to fhd on stock rom notification bar is huge (changed to 1920x1080 420 or 460 dpi), is there any chance to look like normal?

2. on blisspop rom (aosp/cm) it change dpi but i got soft reboot every time when change resolution to fhd

any help? thanks
[Android Apps and Games] aravindsagar:
Will have to see about the notification bar. I'll let you know. :)

As for soft reboot, it is built-in certain ROMs. I was just finding that out with the help of @Parideboy. I doubt whether there will be a way to disable that. I will be looking for solutions, hopefully I'll find one. :)

Edit: Did you try a reboot in stock rom? Sometime nav bar and status bar needs a reboot to adjust
[Android Apps and Games] rezer007:
It can also be fixed by restarting the systemui..
[Android Apps and Games] aravindsagar:
Right. I'll look into that. :)
[Android Apps and Games] pavik62:
Ready
[Android Apps and Games] aravindsagar:
Thanks a lot. But I found that not all strings are having translations. I added some more strings to strings.xml in the latest commit. It'd be great if you could translate those as well. :) I'll add the ones you've provided for the time being.

strings.xml

PS: I've run out of thanks for today. I'll give you a thanks tomorrow. :D
[Android Apps and Games] pavik62:
Fixed
[Android Apps and Games] wind0zer:
Wow this is great. I could increase the DPI and everything is bigger in CM 12.1. (Tab pro 8.4)

Before this I had to increase systemui DPI using App settings module in Xposed & it's a PITA to wait for working xposed.
[Android Apps and Games] pkWhistle:
Working perfectly on stock 4.4.4.

Have been looking for something simple to change my dpi without going into build prop and this does it, with some other handy features as well!

Its a shame that SwiftKey keyboard doesn't play nice with this app.

With that being said, it may not necessarily be because of this app but apps in general that change the screens dpi. Second screen also has the same issue with SwiftKey where the keyboard also blows up to the point where you can only see 3 letters when the keyboard pops up on the screen.
[Android Apps and Games] T.E.C.H.N.O:
Done! :) Feel free to ask me if you need german translation for further development of the app or other projects! :)
[Android Apps and Games] digitall1982:
yes, and i got boot loop...
[Android Apps and Games] wind0zer:
Whenever the app starts, it reboots. I've attached a log.
[Android Apps and Games] nkirk:
Hi, Does this app displays the lowered resolution upscaled to the whole screen? I mean for an example actual rendering to be done at 720p for a 1080p screen and show it as upscaled in the whole screen. It might help a lot in gaming.
[Android Apps and Games] aravindsagar:
Yes, that's the behavior in recent devices. :)

In some old devices, reducing the resolution reduced usable screen space, but upscaling happens in newer devices.
[Android Apps and Games] aravindsagar:
Yeah, setting density triggers a reboot in certain devices/ROMs. I'm designing a fix so that this can be circumvented without affecting the functionality. :)
[Android Apps and Games] aravindsagar:
Thanks a lot! It'll be added in v1.1 :)
[Android Apps and Games] n_boy86:
only root :/ shame , but very good idea :)
[Android Apps and Games] Pfeffernuss:
Works fine on a G4 with stock Android but as most stock LG-apps don't like a dpi below 530 unfortunately it isn't very usable yet (setting it at 1080 x 1920 x 530dpi leads to way too large text/gfx).

Waiting for a custom rom to retry this app again :good:
[Android Apps and Games] thahim:
I have uninstalled it and phone is normal, but i would like to know the command, and do i have to use terminal emulator for this?
[Android Apps and Games] Parideboy:
Yep. Make sure you get Su privileges first by typing :

Su

After that you can type:

wm display reset (resets the resolution)

wm density reset (resets the density / dpi)

wm overscan reset (resets the overscan)

Inviato dal mio buon vecchio Samsung Galaxy S4 AICP 5.1.1
[Android Apps and Games] aravindsagar:
Additionally, you can refer to this SO link if you'd like to use terminal emulator to change resolution: http://stackoverflow.com/questions/18500611/android-how-to-use-adb-shell-wm-to-simulate-other-devices
[Android Apps and Games] thahim:
I want to use your app but i was just afraid that it will come back to default or not.

Has this been tested on Note 3 lollipop?
[Android Apps and Games] wind0zer:
Is there a way to disable Screen Shift from the recovery like editing/deleting/renaming something?
[Android Apps and Games] DustArma:
Launching the app causes a soft reboot on Moto G 1st gen running CyanogenMOD 12.1 20150621 Nightly
[Android Apps and Games] reyjkl:
Does this app change screen resolution by making the proportions smaller? Or by making the pixel density smaller. If the actually screen appears smaller would you be able to change the overlay of it to fit the entire phone screen again?

Sorry if this sounds complicated. But I really want this to increase gaming performance on galaxy s6 because full HD at higher frame rates is better than higher resolution at lower frame rates IMO.Will using this app change the size of apps displayed on the screen?
[Android Apps and Games] thahim:
[MENTION=4494783]aravindsagar[/MENTION] TouchWiz Home crashes when i double the resolution.
[Android Apps and Games] aravindsagar:
Not that I know of. There must be something though, I'll look into it. :)
[Android Apps and Games] aravindsagar:
If you just change the resolution, It changes the resolution without changing the pixel density. So gaming performance will be better because rendering will be done at a lower resolution. On newer devices, this low-resolution will be upscaled to the native display resolution automatically, so the content will appear full screen.

More details on the underlying commands and how it works: http://stackoverflow.com/questions/18500611/android-how-to-use-adb-shell-wm-to-simulate-other-devices
[Android Apps and Games] aravindsagar:
Well, some apps may not play well with resolutions much different from what they're expecting. Especially pre-installed apps. They might not be made to work across devices with different screen configurations.
[Android Apps and Games] thahim:
But touchwiz is samsungs launcher cant use my phone without this. So your app is not compatible with samsung phones. You should mention it.
[Android Apps and Games] aravindsagar:
That is not true. Doubling the resolution is not the only way to use this app. Why would you double it anyway? I don't see the need, and besides that it puts more pressure on the processing unit.

Also, many people use other launchers, many of which works fine in different resolutions. Many people even use custom ROMs which may not have problems.

All in all, saying that the app doesn't work in Samsung phones is simply not true.

And besides all that, I think I've provided enough recovery options if such problems arise. Waiting for 15 seconds after setting a resolution, or a double reboot in a span of 10 min, all resets the display to default settings.

I have only one device with me to test apps in and that is not a samsung phone, so sorry about not mentioning touchwiz home crash.
[Android Apps and Games] smeejaytee:
Great app it has almost made me want to switch to aosp, unfortunately it doesn't mix well with sense on M8,

Things don't fit properly lol.

I actually really like the idea of upping the resolution that's cool imo I think this would work great on an aosp rom.

Sent from my M8
[Android Apps and Games] slicric:
Me too, my phone bootloops and will not start. Tried running the reset commands in TWRP command line manager but to no avail.
[Android Apps and Games] Parideboy:
Try following those steps to recover 99% of the data.

https://plus.google.com/115958488562079444633/posts/GFZnzW6nbhH

Inviato dal mio buon vecchio Samsung Galaxy S4 AICP 5.1.1
[Android Apps and Games] Aritzherrero4:
If you have TWRP, you can enter into the file manager and delete the app. Is in data/app search the folder and delete it.

the phone boot with the default values.
[Android Apps and Games] slicric:
Tried that, didn't work.
[Android Apps and Games] callimi:
Great app

Work well on my rooted oneplus One (Android 5.0.2 with cynogen os 12.0-yng1tas213)

I install it just within few clicks

I Will use it when my phone is in its sport protection (resezing the screen smaller in the middle )

The only issue I notice is with the keyboard. Do you think it would better work with an other keyboard ?

Thank you
[Android Apps and Games] ciclolars:
In a Moto G 2014 with KK stock, swifkey shows wrong and full keyboard is not shown, Gravity Box comes into conflict with this app and the navigation bar is restored in dimensions.

The application does what it promises, without these failures would be wonderful.

Thank you very much for this great contribution and encouragement.
[Android Apps and Games] ChristDuNord:
Only for smartphone? not tablet?

For Asus TF700 (full HD) it's good or not ?

Thanks
[Android Apps and Games] aravindsagar:
Hi, this app will work in tablets as well. Full HD is probably fine, but you can try playing games at 720p if you need more frame rates.
[Android Apps and Games] aravindsagar:
Unfortunately I too have experienced size issues with keyboard (swiftkey). New keyboard mught work. You can even try reinstalling the existing one (or clear data). Please tell me whether it works. My phone is not really in a good condition to try it out. Will have to wait for another month to get it repaired.
[Android Apps and Games] Parideboy:
Maybe I've found a workaround for the random reboots that occur on some devices. May I test a modified apk which doesn't execute commands when the application is launched?

Inviato dal mio buon vecchio Samsung Galaxy S4 AICP 5.1.1
[Android Apps and Games] Subhrajit_:
Noob question : Why doesn't my phone let me take screenshots in custom resolution?

Awesome app btw
[Android Apps and Games] Parideboy:
Higher or lower resolution? On higher resolution is pretty normal

Inviato dal mio buon vecchio Samsung Galaxy S4 AICP 5.1.1
[Android Apps and Games] Subhrajit_:
Higher. My phone is 960x540, I tried 1280x720
[Android Apps and Games] Parideboy:
Can't take screenshots on higher resolutions. It's an android limitation. You can try other apps to take screenshots, the problem is they will be downscaled to your phone's native resolution.

Inviato dal mio buon vecchio Samsung Galaxy S4 AICP 5.1.1
[Android Apps and Games] aravindsagar:
Hmm that's interesting. But density reset commands are still executed during changing the display params. That could cause a reboot. I'm working on a better solution. :)
[Android Apps and Games] aravindsagar:
Thank you all for the amazing response! :) Almost 9000 downloads at the end of 5 days! (XDA + bitly link)

Thanks to XDA Portal and Phone Arena,and other tech blogs, for featuring the app. It means a lot, to get this kind of exposure for one of the first apps of mine. :)

A bit of background

I have a Nexus 4, and it's display started to develop problems a few months back. The nav bar area stopped registering touches at all (though ghost-touches were experienced quite frequently). I managed with pie controls and similar apps for a while. But more recently, this area began to increase, and almost 50% of my screen doesn't respond to touch now. I was looking for a software solution to make the phone usable till I can replace the digitizer and screen of my phone. Then I stumbled upon an adb shell command, wm, which could do a temporary fix for my touch screen issues. I thought I'd make a GUI for the functionality offered by the wm command, and the end result is what you see in this thread.

What Next?

Changing density via wm is triggering reboot in certain device/ROM combinations. I'm looking into a way to avoid that while still giving users the choice to change density. I'll post an update soon.

After that, I'm planning to implement per-app profiles, and automatic density calculation for the next major version of the app.

Suggestions are welcome. :)

Some credits

https://github.com/matrixxun/ProductTour for the initial tutorial/product tour shown in the app.

http://romannurik.github.io/AndroidAssetStudio/ has been of great help as well.

As always, big thanks to the stack overflow community, as well as http://developer.android.com/index.html
[Android Apps and Games] Parideboy:
In that case would the settings stick after the reboot? Cause I wouldn't mind to get a reboot if the settings apply. A bit annoying, yes, but at least it works [emoji16]

If I may ask, what were you thinking to solve this issue?

Inviato dal mio buon vecchio Samsung Galaxy S4 AICP 5.1.1