yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Premium General] sfex3best:
[MENTION=4218781]Traczyc[/MENTION]

Download android sdk tools open up adb shell enter the commands hes given and done. Its all the same on windows.

Btw It looks great thanks fesar
[Xperia Z5 Premium General] Traczyk:
Thanks, I managed to figure it out and I can confirm that it works! This is just so awesome! It's just too bad that the screenshot function doesn't work on any resolution above 1080P.

I got also one more question. When you change the resolution using ADB, does the phone actually start to output content in that resolution or is it just an illusion?
[Xperia Z5 Premium General] KbaB.BroS:
2k resolution on YouTube becomes available, so I guess it works

Edit: One more thing, if everything has this weird scaling a reboot usually fixes this.

Happy new year!
[Xperia Z5 Premium General] fesar:
I confirmed the change with some screen resolution apps and in YouTube and it both confirms it as 2k. I hope Sony makes this as permanent and with an option for real 4k as well.
[Xperia Z5 Premium General] jplempka:
Didn't you say you were running it in 4K now?
[Xperia Z5 Premium General] AndroPlus:
"wm size" only emulates resolution, so real resolution is still FHD and 4K upscaling won't work when you are not watching image/video.

Real resolution is controlled by kernel:

https://github.com/AndroPlus-org/an...rm/boot/dts/qcom/dsi-panel-satsuki.dtsi#L3025
[Xperia Z5 Premium General] fesar:
Yes agreed. But I prefer having my resolution on the visual screen to be better than 1080p.
[Xperia Z5 Premium General] jumbonosich:
Tks

With Nova Launcher prime and Tesla Unread With the below settings.

The Phone looks awesome.

wm size 2160x3840

wm density 800

but i also have the screenshots problems? I have also tried to delete or rename Pictures folder but problem still remain.

Any solution?

Tks
[Xperia Z5 Premium General] Freeshooter:
I'm actually new to using adb. Does anyone mind doing a step by step guide on how to do this? I would greatly appreciate your help and time. :)
[Xperia Z5 Premium General] chesterr:
Any screen shots and evidence, like the youtube app. :D
[Xperia Z5 Premium General] 1dave:
is it possible to change the dpi of navigation bar thru adb shell?
[Xperia Z5 Premium General] Elfmirth:
nvm
[Xperia Z5 Premium General] 1dave:
image hosting 10mb limit

imgupload
[Xperia Z5 Premium General] loudog3114:
FYI, I have noticed some weird graphical issues using wm density vs editing build.prop. Little things like icons and web browsing don't seem to read the dpi right when you set it with wm density. Either way, you can go back with "wm density reset"
[Xperia Z5 Premium General] KbaB.BroS:
I noticed this in 9GAG as well. All the profile pics are stretched out.
[Xperia Z5 Premium General] 1dave:
have you used 806 dpi mate? at 806 dpi icons looks good!

---------- Post added at 10:50 PM ---------- Previous post was at 10:34 PM ----------

[img=http://s27.postimg.org/dt3y2zz0f/image.jpg]

[img=http://s27.postimg.org/dygw45l33/image.jpg]

I have to cut it into 2 lol
[Xperia Z5 Premium General] tanipat:
All looks great on wm size 2160x3840 and density806. 2 issues here, 1. cannot take screen shots, anyone know the fixed? 2. some intense lag on open apps and scrolling through apps, is there anyway to fix it. Hope someone able to cook rom for this settings to use in good way with Xperia Launcher it would be great deal.
[Xperia Z5 Premium General] fancymans:
Not sure if this method actually renders 4k content. It's probably still 1080p rendering but a emulated resolution of 4k. Be careful with setting DPI via ABD. You will get graphical and UI glitches. Resetting it doesn't fix the problem. I've tried. Probably only fixable with factory reset and restore from backup.
[Xperia Z5 Premium General] Minakami:
Just wondering what kind of display glitches did you get from changing DPI using ADB? I've changed it several times and haven't ran into any issues yet.
[Xperia Z5 Premium General] giozera:
this is awesome trick, but drains battery really really fast in both 2k and 4k resolution, I had to charge battery twice per day for last 2 days while I had 1 day for 4K and 1 day for 2K resolution. in similar use I usually have 40-35% charge left at the end of the day even after 3-5hr music play.
[Xperia Z5 Premium General] fancymans:
This is with default DPI after I changed it to 400. So I went from Default (480 DPI) -> Custom (400 DPI) -> Default (480 DPI) and the problem is still there.

In case you're wondering I used wm size reset and wm density 480. The DPI is set correctly, but UI glitches persist.

See attached images.

In Twitch.tv emotes are GIANT.

In Discord and Phone, avatars are stretched awkwardly.

In Instagram, photo is zoomed in all the way and cannot be pinched to scale out. However, pressing next will show that the picture was not zoomed in.
[Xperia Z5 Premium General] Minakami:
Ah ok, I have the stretched avatar issue with my contacts too, I'm just ignoring it for now haha. I don't use twitch.tv or instagram so I never noticed any of that. Have you tried rebooting the phone after setting the dpi back to 480? I'm not sure if that would fix it but it's worth a shot before having to do a factory reset which is a pain.
[Xperia Z5 Premium General] fancymans:
Yes I've rebooted multiple times haha. If I find a fix I'll be sure to post.
[Xperia Z5 Premium General] NJ72:
Might have been tried already, but have you tried clearing the app caches so that android rebuilds the cache from the ground up?
[Xperia Z5 Premium General] fancymans:
Yep. Still the same.
[Xperia Z5 Premium General] NJ72:
Worth asking, just in case :(
[Xperia Z5 Premium General] Minakami:
A quick google search shows this is an issue with stock android and changing dpi via adb... so far the only fix there is would be to change dpi through build.prop which requires root. Guess we're stuck with this until root is discovered for LB haha.
[Xperia Z5 Premium General] giozera:
another issue I noticed is that on custom resolution and DPI settings stock messaging app was crushing when opening received and or sending certain messages, everything works well after doing dpi reset to default.
[Xperia Z5 Premium General] xirt0n:
I noticed that after changing size and density, I got random "blue screens" that looked very "inky" and I tought my screen was broken, but the phone eventually restarted and i was relieved to see a normal sony logo, and it dont look like it took any damage from it, and it still doesnt. I noticed this happened very often if I had the ambient display option enabled. It would go "blue screen" about 8/10 times the screen illuminated from movement, which was often when it was laying in the passenger seat of my car while it was connected via aux to my car stereo, which has nothing to do with the blue screens, as it is connected via aux 85% of the day.

However after disabling ambient display it took me about 2 days before it happened randomly again. I then went on to change size and density back to default via adb like i did in the first place, so i did not mod the (i think its called) build.prop file at all.

2 days later (yesterday sunday jan 10th) and it happens again, as random as 2 days earlier.

Now I am a bit worried that i broke something.

I have to mention aswell that the keyboard was all off after changing size and/or density. Autocorrect proved to me that the buttons i saw on screen was not the actual button being pressed, which resulted in alot of irritation while typing. An example: the word "autocorrect" turns out to be "q3r4d42eedr" with density and/or size changed.

Also, the directors choise icon in play market becomes huge, and snapchat text on images are so small on the recipients phone that its unreadable.

Is there a way to completely undo that density change totally, without having to flash anything at all?

I had a hard time making RomAur work, not because a design flaw or anything, but numerous problems on my side along the entire way from unlocking the bootloader all up untill flashing the rom, made it alot harder than it should, and i had a couple of moments where i was really afraid i had bricked such an expensive phone, so I would rather not do that again.

These are my experiences with changing density and size through adb terminal.

Really hoping android 6.0 rolls out soon and that it has the option to set higher resolutions permenently!
[Xperia Z5 Premium General] beeleensky:
great thing

Great thing, no issues except screen capture, anyone fixed it? Thanks.
[Xperia Z5 Premium General] kalashin:
Looks great, using Nova prime and all. Very impressive. One thing confuses me though, I changed density to 806, but under cpu-z it still shows 403. So did it actually work or cpu-z cant detect?
[Xperia Z5 Premium General] vindim:
cannot afford the battery drain ......
[Xperia Z5 Premium General] adya_2505:
So I just tried this and it worked! Thanks OP. I just have one doubt. Will the resolution switch to 4K when viewing 4K content? Is there anyway to confirm this?
[Xperia Z5 Premium General] ramonmonter:
adb shelll device not found (null)

Hello. I cannot change resolution. When type adb shell, it says "error: device '(null)' not found" and also when I enter the wm size command it says that "wm is not recognized as an internal or external command". My Z5P is rooted with stock generic latam ftf and drivers are correctly installed, I assume.
[Xperia Z5 Premium General] mcchin:
Just found out the other day

Screen shot of the phone gives out a 4k picture on marshmallow vs 1080 size in lollipop

So I would assume the whole system now runs in 4k natively?
[Xperia Z5 Premium General] jplempka:
I had the same problem. I rebooted my pc and phone then it worked.

---------- Post added at 08:09 AM ---------- Previous post was at 08:03 AM ----------

It's not real 4K. Just emulated. Someone feel free to correct me if I'm wrong.
[Xperia Z5 Premium General] mcchin:
would you say that the screen shot captured now in marshmallow is upscaled from 1080?

I dont see the reasoning in this.....
[Xperia Z5 Premium General] albertobom:
Can I do this on normal z5

Enviado desde mi E6653 mediante Tapatalk
[Xperia Z5 Premium General] jplempka:
Yes, because if the phone is running in 1080p then it would be a 1080p screenshot upscaled to 4K.

Any time your phone is running in 4K (such as photos, videos and some apps) you would get a 4K screenshot.
[Xperia Z5 Premium General] mcchin:
Well I checked the system battery page screen shot before and after update is different

Before is 1920x1080

After is 3440x2160

You can check this too

This lead me to believe that the whole system is running on 4k display already in marshmallow

It is weird to me that they go to the extent of upscaling the screen shot

When previously it was captured at 1080 rez
[Xperia Z5 Premium General] jplempka:
If it's 4K you should be able to tell? Does the screen look sharper to you or the same? On 5.5 inches it shouldn't be a huge difference but definately noticeable.
[Xperia Z5 Premium General] mcchin:
I am a man of science..... Cause my perception is ****ty at best.... :p

So can't tell you the difference

Thinking about finding some other Z5P user nearby that hasn't updated

And check under a microscope. But he chance of another Z5P user is slim at my place
[Xperia Z5 Premium General] gerickjohn:
I was thinking that as well but if you zoom into the screenshot, it's blurry. So it's still upscaling 1080p I think.
[Xperia Z5 Premium General] ramonmonter:
Finally I could, now I'm on 1440x2560 but I'd like to increase the density so icons and text don't look so small. What's the best density configuration for this screen at 2K resolution?
[Xperia Z5 Premium General] Gitaroo:
You need to take jpg compression into consideration too, which sounds like what going on when you zoom into a 8mp jpeg. Based on youtube app, it still doesn't allow resolution higher than 1080p so I say no. Looks like it is doing gpu upscaling instead of letting the display to do the job instead.
[Xperia Z5 Premium General] finoqq84:
I agree with 320,but one major problem is the incoming call screen is distorted. Try locking the device and recieve an incoming call.

I have tried all dpi and all resolutions like 2k and 4k. Nothing works expect stock 1080p and 480dpi

Any one has a recommend dpi other then stock
[Xperia Z5 Premium General] Xeon:
No. I had hard time figuring this out and gave up.... the contact pics are also not centered when making calls.... that's the only issue but I can live with it
[Xperia Z5 Premium General] cons.firun:
Mates, 4K looks gorgeous on our Z5p but the battery dries in an hour or so...

If your Z5p rooted, you can change resolution and DPI on the fly with 'Terminal emulator' or similar Android app.
[Xperia Z5 Premium General] Xeon:
You don't have to have root to change wm size
[Xperia Z5 Premium General] Ashray_Vk:
I'm think that the app has to be edited for it to support those resolutions.
[Xperia Z5 Premium General] jplempka:
Yeah, I think he was saying, that if you have root, it's easier to change the wm size with "Terminal emulator" or similar apps.
[Xperia Z5 Premium General] Dominator916:
I don't have a Z5P myself but just out of curiosity could someone try antutu with full 4k and see what the results would be..?
[Xperia Z5 Premium General] davidht:
Works great for me! Screenshots work without a glitch.

However, I'm having problems with some keyboard apps. Specifically with Swiftkey and Touchpal. The keyboard seems to be there (I can type) but I can't see the keys.

Anyone with the same problem?

Which keyboard do you use? I'm stuck with the default, Google and Go, which are not my favorites
[Xperia Z5 Premium General] asilviug:
nice. this kind of resolution should be standard for every device with screen size above 5.5 :D
[Xperia Z5 Premium General] Juan_Largearm:
Swiftkey is notorious for not working well after DPI changes. They have been asked time and time again to do something about it as it's one of the very few apps that does this. They aren't interested in fixing it. Their exact response is;

"SwiftKey does not officially support changing the DPI. This is what can happen when you do. I know it may work sometimes and others not, but we do not officially support changing the DPI."

https://vip.swiftkey.com/index.php?/topic/12648-swiftkey-does-not-support-custom-dpi-not-a-bug/

So if you are using DPI changes outside of changing the build.prop file it wont work. I believe it's to do with where Swiftkey gets the DPI size from not being the same as what the ADB command changes.
[Xperia Z5 Premium General] engineer000:
try to root and check. I root and instragram glitch has been fixed. the calling screen is not but I can live without that
[Xperia Z5 Premium General] TheyCallMeMrGlass:
HI Guys, I see you all have been working hard on getting that 4K of pixels to shine with this adp adjustment :) That's awesome. Before I follow suit, can I ask if any of you have tested watching 1080p movies through a VR headset? Does it give less SDE as what I would have expected an 803 ppi display to give compared to lower ppi displays? Also, is it essential to be on Marshmallow for this ADP change as my network, EE hasnt rolled Marshmallow out and seems like it might be a while yet :(

Thanks
[Xperia Z5 Premium General] Juan_Largearm:
edited out:
[Xperia Z5 Premium General] asilviug:
Screenshots are working fine now. Here are some so you can have an idea of how it looks. I'm using apex launcher with standard dpi (480).
[Xperia Z5 Premium General] misumsb:
It's fantastic with the screen set to 4k. Im using kodi in a WEAREVR ET1.
[Xperia Z5 Premium General] EMJI79:
Which ROM/Kernel did you use to get 4k?
[Xperia Z5 Premium General] raven213:
i keep getting blue screens anyone know why?? was using 1440p and 4k
[Xperia Z5 Premium General] TawnyRoberts:
It's not working on Android WITHOUT root :( I'm on Android 6.0 Marshmallow. "wm density 640" in Terminal Emulator says no permissions for secure settings. Any idea to change density without root?
[Xperia Z5 Premium General] KbaB.BroS:
Do it from the PC instead
[Xperia Z5 Premium General] TawnyRoberts:
Great, it works with PC via CMD and adb shell. Thank you
[Xperia Z5 Premium General] EMJI79:
Does this mod have the same result than the mod on this thread:

http://xdaforums.com/showthread.php?t=3362633

??
[Xperia Z5 Premium General] jontr:
This thing is great except for one thing - it makes Google Cardboard useless. It just doesn't render correctly and can't use it with any app that is using Cardboard SDK. VR Apps that don't relay on cardboard settings work fine.
[Xperia Z5 Premium General] EMJI79:
How much screen on time do you get please?
[Xperia Z5 Premium General] jontr:
With 2k? I'd say more less the same as with default - approx 3 - 3.5 hours.
[Xperia Z5 Premium General] EMJI79:
Have you tried 4k?
[Xperia Z5 Premium General] jontr:
Nope. Any 3D app would be useless in 4K, so what's the point?
[Xperia Z5 Premium General] DroidDogg:
I'm getting random freezing now after changing the DPI back to normal also after changing it to 2k
[Xperia Z5 Premium General] EMJI79:
Do you still get 4k on photos and videos?
[Xperia Z5 Premium General] jontr:
What do you mean? Do I still get 4K in Album when phone runs everything in 4K? Of course yes. Now I'm back to stock resolution and I'm still getting 4K in Album app.
[Xperia Z5 Premium General] EMJI79:
No I meant, when you choose 2k, does album still run on 4k, like with stock
[Xperia Z5 Premium General] corallus:
Yes it does,

I would like to know if anything can be done in regards to smart cover only showing in a corner?

At 2k this phone is awesome but the Smart cover screen looks odd.
[Xperia Z5 Premium General] EMJI79:
How much SOT for you please?

Did you try per app DPI changing Xposed module?
[Xperia Z5 Premium General] corallus:
Sot seemed to be only a little difference tbh, no xposed though, locked bootloader.

In regards to the dialler showing issues, I wonder if copying the 2k size and density from tablet Z4 will get rid of the glitches, since the dialler and Xperia home are same versions on each machine. Maybe Sony supports a certain 2k resolution used with Z4?
[Xperia Z5 Premium General] EMJI79:
Did you try it?

Why did you use 2k rather than 4k?

Would love someone to make it possible to choose app by app.
[Xperia Z5 Premium General] corallus:
I did try it, it cuts of the top and bottom of screen, very ugly.

I want 2k as it's much better on the ui. App drawer grid still looks correct and the little annoyances with graphics showing scaled wrong aren't as bad on 2k. Plus it still goes on to 4k in media anyway so no need for 4k ui
[Xperia Z5 Premium General] EMJI79:
Off topic: you know about Buzz Launcher?

If you're into graphics I found it great.

More on topic: are you offered 1440p on YouTube like on QHD smartphones?

Sorry for all the questions, I am gathering informations about the Z5 premium prior to finding the money to buy it :)
[Xperia Z5 Premium General] EMJI79:
Seems you could soon use xposed without unlocking bootloader.
[Xperia Z5 Premium General] giz02:
Point is,. Not everyone uses 3d apps. He was just wondering
[Xperia Z5 Premium General] twilight79:
Guys

At 1440x2560 how are you getting good battery life? My z5p drained in under 8 hours with 0 usage!!

Can u advise please

I love this higher res

Cheers
[Xperia Z5 Premium General] randy_c:
How do you change to 2K or 4K in Nova setting?
[Xperia Z5 Premium General] jontr:
You don't need to, in Nova you can set the size of the icons to almost anything you want.
[Xperia Z5 Premium General] iwilltouchthesky:
Wondering why 4k youtube playback does not work when using

wm size 2160x4096

1440p playback works but not 4k.

anyone know why?
[Xperia Z5 Premium General] Rodders_28:
Jontr - But that isn't changing the res?
[Xperia Z5 Premium General] dimex:
I just got a Z5P to use for VR. I'm running it right now at 1440x2560 with a density of 440, but when I watch movies I switch it to 4K.

I don't know why no one else has mentioned this, but using GravityBox and Tasker shortcuts, I added this to my quick settings toggle:

When I long press the toggle, it switches the resolution to 4K by executing the code

wm size 2160x3840

and when I single press it it switches back to 2K by running

wm size 1440x2560

Simple and easy, takes 1 sec to switch between resolutions.
[Xperia Z5 Premium General] EMJI79:
Do you see better than 2k phones quality on Google Plus, instagram or whatever social app you're using when looking at high res images?

I am thinking about buying a z5 Premium, but wondering if the smaller screen (I now have 5.7 inches) and unknown camera quality as I haven't found a physical shop displaying the Z5 Premium.
[Xperia Z5 Premium General] tizzootrain:
This is a great idea! How exactly did you do this?
[Xperia Z5 Premium General] pressefr:
Hi everyone. I just got my Xperia Z5 Premium.

I've changed the density of my previous phones; Xperia C5 Ultra and Xperia XA Ultra with help from this thread:

http://xdaforums.com/xperia-c5-ultra/general/how-to-change-xperia-c5-ultra-screen-t3211909

I sorta see that the process of changing the density is the same, however changing the shell size is a step new to me.

To note: 290dpi and below goes tablet mode.

I want to ask the thread before I try anything on this phone, and I've been reading mix sizes people have been testing. However I don't use Nova Launcher, of course do not want to root, and I screenshot my screen a lot. What are settings are best? I thinking of just changing the dpi to be safe, yet I'm curious to have 2K capability. Personally, I just like the dpi tighter because I like to use the most out of the screen real estate? Suggestions?:confused: Reading through the thread anything above 1080p the screen shot function does not work. So only changing dpi would be my best bet?

Some people say the icons are too small, I like the icons small, but no one has mentioned the Sony settings of changing Font size and Icon size in tangent.
[Xperia Z5 Premium General] pressefr:
I followed the steps how I've done before with my Xperia C5 Ultra and Xperia XA Ultra. Changing default dpi to 320.

http://xdaforums.com/xperia-c5-ultra/general/how-to-change-xperia-c5-ultra-screen-t3211909

In settings used Large Icons, Normal font size.

It looks amazing! Phablet greatness!

See all pics here: https://imgur.com/gallery/1e1ZC

Only problem I see so far is that the Suggested Apps is gigantic!

Also noticed that my screenshot file sizes have jumped from 800kb to 4MB each.
[Xperia Z5 Premium General] Fravin:
Just tried here. Wonderful!

Thanks!
[Xperia Z5 Premium General] EMJI79:
Does it change somethings to photos in browser and other apps, or only to text and icons?

Sorry if am a noob concerning this. [emoji4]
[Xperia Z5 Premium General] Fravin:
Yes, it does. The whole system is affected. Everything is displayed in greater resolution.

As looking pictures in album app, you cannot "zoom" it too much because the resolution is already too great!

The only app that seams not to work fine is Instagram.
[Xperia Z5 Premium General] EMJI79:
Thanks
[Xperia Z5 Premium General] EMJI79:
Do you use Google Plus or Tumblr?

At the end, do you think it looks better than 2k phones, subjectively?
[Xperia Z5 Premium General] Fravin:
I do not use neither.

There's much complain about what the limit that human eyes can distingish. I'm not a cientist, just a designer that loves thin fonts. And while using the thinnest fonts possible, such Helvetica Ultra Light, you can see it, with clarity. The screen looks woderfully.

I was wondering about batery life using too much resolution, but I still have a decent batery life. I'm usually charge the phone at office at lunch and while sleeping and the Z5P reachs home at 40% of battery, after heavy user.

I'm very pleased with this arregement.
[Xperia Z5 Premium General] EMJI79:
Do you use Xposed?

I was using it with LMT pie on my LG G3 to get rid of the navigation bar and enjoy an even bigger screen.