[MOD] Change Default Resolution to 4k - No root needed!

deathschild

Member
Jun 24, 2013
16
5
0
I found this killed my battery life. Phone also was getting hot for the first time and I was also having issues with lag which I had never come across before.

Hopefully reverting back to normal fixes this without the need to do a factory restore
 

kholk

Retired Recognized Developer
May 20, 2007
2,293
3,828
0
Torino
You can do the same also on your Z1, Z2, Z3, Z4 Tablet, Z5, Z5 Compact ..... and on your crapold device, because this is not changing the display resolution :)

Seriously guys..... this is changing the resolution of the VIRTUAL display (not the physical one), so like this you are getting 4k emulation on 1080p physical resolution.
To change the physical display resolution you need to do "quite a few more steps", which cannot be done in a simple way like this (and surely not without root).

Moreover, even if -- yes, there is a way -- it's not doable on stock ROMs, as it misses the required implementation.
I am almost done here so, on Open Devices, you will be able to get real [email protected] whenever you want.


Cheers!
-- AngeloGioacchino Del Regno
 

tanipat

Senior Member
Nov 22, 2011
275
80
0
You can do the same also on your Z1, Z2, Z3, Z4 Tablet, Z5, Z5 Compact ..... and on your crapold device, because this is not changing the display resolution :)

Seriously guys..... this is changing the resolution of the VIRTUAL display (not the physical one), so like this you are getting 4k emulation on 1080p physical resolution.
To change the physical display resolution you need to do "quite a few more steps", which cannot be done in a simple way like this (and surely not without root).

Moreover, even if -- yes, there is a way -- it's not doable on stock ROMs, as it misses the required implementation.
I am almost done here so, on Open Devices, you will be able to get real [email protected] whenever you want.


Cheers!
-- AngeloGioacchino Del Regno
You mean you do some mods on tge custom rom? If yes i cant wait to try
 

leijonasisu

Senior Member
Oct 2, 2011
484
140
0
I don't know why people are doing this. Surely the battery drain alone is not worth doing it, and on top of that most apps don't support this resolution let alone games. It's set to 1080p except for in multimedia apps for a good reason...

What we REALLY need is some kind of app that runs in the notification bar that tells us when the device is in 1080p mode or 4k mode. I'm sure it's very simple to code one up that just checks the relevant system setting and reports to the notification bar what resolution the display is in. I'd be happy to pay for such an app just so I know when the device has swapped to 4k mode.
 
  • Like
Reactions: Aerocap

kholk

Retired Recognized Developer
May 20, 2007
2,293
3,828
0
Torino
@tanipat Open Devices is almost ready for it. I have just pushed the required kernel support and the updates for display hal and the extendedsettings app.
Check it out at the official Open Devices GIT @ github.com/sonyxperiadev
 
  • Like
Reactions: benjmiester

benjmiester

Senior Member
Feb 15, 2012
968
282
63
I'm new to the XZP section. Have one coming tomorrow. Has anybody tried 1440p (QHD)? That seems like a good compromise between the two, and many other phones run it, so compatibility might be better. I looked a few pages deep and was surprised nobody mentioned it.
 

Spodi2290

Senior Member
Oct 20, 2013
51
2
0
You can do the same also on your Z1, Z2, Z3, Z4 Tablet, Z5, Z5 Compact ..... and on your crapold device, because this is not changing the display resolution :)

Seriously guys..... this is changing the resolution of the VIRTUAL display (not the physical one), so like this you are getting 4k emulation on 1080p physical resolution.
To change the physical display resolution you need to do "quite a few more steps", which cannot be done in a simple way like this (and surely not without root).

Moreover, even if -- yes, there is a way -- it's not doable on stock ROMs, as it misses the required implementation.
I am almost done here so, on Open Devices, you will be able to get real [email protected] whenever you want.


Cheers!
-- AngeloGioacchino Del Regno
So basically it renders in 4k and DOWNSCALES it again to 1080 with the wm setting? Are you sure thats true, if the actual physical resolution is 4k? I made two testing images one on 1080p and one on 2160. With wm size 2160x3840 ALL single pixels are visible on the 2160 image, while with wm 1080x1920 most stray pixel are gone (not using sony album for comarison, cause that should force 2160 in either setting anyway)
 

theskig

Senior Member
Oct 31, 2007
185
16
0
Comune di Bugliano
You can do the same also on your Z1, Z2, Z3, Z4 Tablet, Z5, Z5 Compact ..... and on your crapold device, because this is not changing the display resolution :)

Seriously guys..... this is changing the resolution of the VIRTUAL display (not the physical one), so like this you are getting 4k emulation on 1080p physical resolution.
To change the physical display resolution you need to do "quite a few more steps", which cannot be done in a simple way like this (and surely not without root).

Moreover, even if -- yes, there is a way -- it's not doable on stock ROMs, as it misses the required implementation.
I am almost done here so, on Open Devices, you will be able to get real [email protected] whenever you want.


Cheers!
-- AngeloGioacchino Del Regno
Oh, at least a user that says how the story really goes!

Grande Angelo!
 

Spodi2290

Senior Member
Oct 20, 2013
51
2
0
Yes, I am.
Why can I spot single black pixels on a white 4k image in "4k mode" while i cant in FHD both in a third party image app?
Sorry if I dont understand, but either it REALLY changes the resolution to 4k or it manages downscaling much better then upscaling :confused:

Btw the absolute max resolution the phone app can take is 1917x3408 and if you arent a fan of fancy resolutions try 1872x3328 (its divisible by 8). DPI setting seems to have no impact on the app and about 800 - 820dpi looks close to the original size
 

Spodi2290

Senior Member
Oct 20, 2013
51
2
0
Obviously, downscaling is better than upscaling, speaking of image quality.
Jeah, but in this case it shouldn't, should it? If it is like you say:
- the image is rendered at 4k internally with wm size 2160x3840
- its downscaled to FHD, cause android thinks the display isnt bigger
- its upscaled again to 4k, by the display itself, to fill the screen
There should not be an improvement to wm size 1080x1920, wich is (/should) only be upscaled by the display

I'm not a dev and maybe there is some strange magic is going on, but there is definitly an inproved image quality and finer details/ better sharpness with my ZX Premium. Its not a proof it actually uses 4k, but you can't even set wm size geater then 4k, and you can spot more details this way.
 

aiem

Senior Member
Dec 8, 2015
51
3
0
Is there a way to switch from qHD to 1080p easily without adb?

I wish Sony gave us the option to do so in the settings like how Samsung did with S8.
 

Xifar

Member
May 13, 2015
40
12
0
Is there a way to switch from qHD to 1080p easily without adb?

I wish Sony gave us the option to do so in the settings like how Samsung did with S8.
Not exactly what you have in mind, but I wrote bash scripts to make it easier to switch.

Just make a text file with:

adb shell wm size 2160x3840
adb shell wm density 721

and save as "blahblah.bat"

I also made one to reset it:

adb shell wm size reset
adb shell density 408
---------------------
That way I just run whichever one I need instead of typing the whole thing.
Would love a way to make those changes without a pc and without root, though.

------------------------------
Regarding whether the mod actually makes the phone 4k, I think it does.

I've taken screenshots from Crossy Road with and without. The ones with are noticeably sharper.
I've done the same with VR Player PRO, and the picture has more detail with the mod.
I've uploaded them to GDrive here: https://drive.google.com/open?id=0B9j_XuD_PqcOVjNWcFdTTHNlOEU
You'll find full size screenshots as well as cropped comparisons.
 
Last edited:

cy88

Senior Member
Nov 14, 2010
198
105
0
Instead of trying to push it for 4k, try qHD. It works perfectly fine and it's looks pretty darn good already on this great display!
 

Xifar

Member
May 13, 2015
40
12
0
Instead of trying to push it for 4k, try qHD. It works perfectly fine and it's looks pretty darn good already on this great display!
To be honest, 1080p is enough for me in normal usage. I'd even be fine with native 720p actually.
I only set it to 4k when I want to use VR applications. Sadly, that means I have to have a PC nearby whenever I want to do so.