yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ Premium Themes, Apps, and Mods] donpipino:
I tried this on my XZP a few months ago and liked it but the lagging lockscreen was annoying so I changed back to 1080p. The lockscreen stopped lagging right away when I went back.

However, I tried the mod again a few days ago and switched back yesterday, but this time it won't stop lagging even when I have 1080p.

Anyone experienced this?
[Sony Xperia XZ Premium Themes, Apps, and Mods] Phat-T:
Are you using a wallpaper for your lockscreen or the default one that looks like glass where you can see your homescreen wallpaper? I use the default and it's smooth when I unlock my phone whereas if I had a wallpaper on my lockscreen it would lag
[Sony Xperia XZ Premium Themes, Apps, and Mods] donpipino:
Yes I was using a wallpaper, when I changed back to a default one it became smooth again, thank you so much! [emoji846]
[Sony Xperia XZ Premium Themes, Apps, and Mods] Phat-T:
Np, man. Glad it was resolved :)
[Sony Xperia XZ Premium Themes, Apps, and Mods] esdwa:
Too bad, phone dialer crashes everytime after this making Xperia unable to receive or make any calls. But for those who do not use Xperia to make calls, that really does not matter after all.
[Sony Xperia XZ Premium Themes, Apps, and Mods] madshark2009:
i dont get whats the difference between PPI and DPI (I understood that PPI means pixels per inch and DPI means "printed" dots per inch

now when i did this mod i checked display settings and it shows 4k, 820 DPI and 403 PPI

how is that?
[Sony Xperia XZ Premium Themes, Apps, and Mods] mustang2011:
I recently purchased the XZ premium and was very disappointed with the display quality, so after reading this post I did some research and changed the resolution to 1440x2560 and ppi 640 and the display quality improved a lot, also all the apps are working fine including the stock dialer. I did not use the adb shell command but did it with an app available on play store. Screen shot attached.
[Sony Xperia XZ Premium Themes, Apps, and Mods] kanej2006:
Nice to see! If you can, monitor the battery life over the coming days and see if there is any negative effect or impact on battery life.

Also, how is performance? On par with stock 1080P? Otherwise faster or slower?
[Sony Xperia XZ Premium Themes, Apps, and Mods] failax:
You have rooted your phone?
[Sony Xperia XZ Premium Themes, Apps, and Mods] Phat-T:
Wicked. I don't need to be by a computer anymore. And yes, you do need root. For anyone wondering
[Sony Xperia XZ Premium Themes, Apps, and Mods] SNOOPLAYAN:
[YOUTUBE]https://youtu.be/cKQOgl4owNI[/YOUTUBE]

Can you please watch this video and tell us if you're experiencing any of the issues mentioned on this great video?

Also what's the battery life like so far?

Many thanks!
[Sony Xperia XZ Premium Themes, Apps, and Mods] Casual_Modder:
Compared to stock resolution, the battery drains just a bit faster, almost unnoticeably so. I get like almost 5 hours sot on a regular basis, no stamina mode or anything. I set wm scaling to off. The phone app does not work in 4k but I installed the patched version of google dialer which does work.
[Sony Xperia XZ Premium Themes, Apps, and Mods] knightazura:
I wonder and wanna try. Damn.

And what is about wm scaling off? For what reason do you turn it off?

Anyone here can give me explanation or way to do this mod (adb) using macOS (High Sierra)?

-- edited

Already done with this, and i am so shock with the result. It's insane! Damn. But i decided to stick with QHD res, which more stable in almost any apps :)
[Sony Xperia XZ Premium Themes, Apps, and Mods] Casual_Modder:
Scaling off is supposed to keep the phone from lagging.
[Sony Xperia XZ Premium Themes, Apps, and Mods] iArvee:
Awesome! I found 640 to be a bit too big for me, so I changed my PPI to 538 instead. Unfortunately, recents menu thumbnails show black screens. :/
[Sony Xperia XZ Premium Themes, Apps, and Mods] amanieux:
does vr works ?

if you run cardboard after changing the resolution to 4k does the vr windows looks normal or are they smaller ?
[Sony Xperia XZ Premium Themes, Apps, and Mods] Hellpay:
Found that the new XZ1 dialer works with 4k mode, using it for 2 weeks with no problems.

https://xdaforums.com/crossdevice-dev/sony-themes-apps/xperia-dialler-app-xz1-xperia-oreo-t3721420

All credits to above post.
[Sony Xperia XZ Premium Themes, Apps, and Mods] failax:
But is' s real 4k resolution or only placebo as someone posted earlier?
[Sony Xperia XZ Premium Themes, Apps, and Mods] Hellpay:
It's real 4K
[Sony Xperia XZ Premium Themes, Apps, and Mods] failax:
You have chosen 821 PPI density instead of 807 or less?Why?
[Sony Xperia XZ Premium Themes, Apps, and Mods] SNOOPLAYAN:
Would you say that most apps run in a stable manner with the 4k mod? Does it show the content of your recent Windows or are they covered with black?

Also how's the Xz1 dialer performing so far?

I'm itching to go 4k all the time but I was put off by the reviewers saying that the phone starts to lag on the lock screen etc.
[Sony Xperia XZ Premium Themes, Apps, and Mods] Hellpay:
So far it's been running stable and fast, I don't really notice any lag or issues regarding the recent window. Haven't had a black screen or unlocking the lock screen.

Dialer has worked flawlessly and haven't had a single crash on it even after restart.
[Sony Xperia XZ Premium Themes, Apps, and Mods] Hellpay:
No particular reason, someone suggested 820 so I thought let's make it 821, so far happy with it.
[Sony Xperia XZ Premium Themes, Apps, and Mods] SNOOPLAYAN:
This definitely sounds promising! Can you please post your exact method of applying the 4k mod along with the values used on adb like wm scaling etc?

And just to double check, the screen quality is noticeably improved right? And no apps are misbehaving?

Can't wait to try this!

Much appreciated [MENTION=6668766]Hellpay[/MENTION]
[Sony Xperia XZ Premium Themes, Apps, and Mods] iArvee:
There really isn't any lag in the recents menu. The issue there is the thumbnails in the recents menu being all black instead of showing the preview. I tried in 4K and even QHD, but still black thumbnails in the recents menu.
[Sony Xperia XZ Premium Themes, Apps, and Mods] amanieux:
so is there a combination of wm size 2160x3840 and wm density (806 ? 807 ? 720 ? 721 ?) that let you be in 4k and have everything working fine ( dialer,recent menu,cardboard) without rooting and without changing the default dialer ? edit : tried 480,720 and 807 they all crash the default dialer

the problem with 1890x3360 (and anything else than 2160x3840) is that the gpu renders the bitmap at this resolution but when it needs to present to the 2160x3840 physical screen it will do a rescale, lowering frame rate, using more battery than just copying pixels if you ask it to render in 2160x3840 with the wm size command
[Sony Xperia XZ Premium Themes, Apps, and Mods] amanieux:
all i can say is that on z5 premium and xz premium, when i used wm size 2160x3840 i can read small text in VR but when i restore wm size 1080x1920 i can no longer read the small text in VR . you can test it yourself with the app "virtual monitor resolution" by orpaga on the play store.

---------- Post added at 10:42 PM ---------- Previous post was at 10:03 PM ----------

not true i just do wm size 2160x3840 and leave density at 480 and default dialer crashes the same way, also crashes with density 720,820 or 807, just do wm size 1890x3360 and there is no crash in the dialer with any density values. so the dialer crash problem is coming from wm size and not wm density.
[Sony Xperia XZ Premium Themes, Apps, and Mods] knightazura:
I just change wm size to 2160x3840 and then change display size in Settings app to preferred view, default dialer works well.

I don't change density in adb, just the resolution.

Done on latest stock Oreo .49

But i turned it into QHD because there some apps have strange layout with 4k res
[Sony Xperia XZ Premium Themes, Apps, and Mods] amanieux:
wm size to 2160x3840 and then change display size in Settings did not work for me (build 47.1.a.8.49), it still crashes the default dialer. the only thing that worked was wm size 1890x3360 but it is only 6mpix and not 8mpix resolution plus it must cause a low level bitmap resize when presenting the 6mpix bitmap to the 8mpix screen.
[Sony Xperia XZ Premium Themes, Apps, and Mods] iArvee:
Even on QHD, the thumbnails in the Recents menu are black, correct?
[Sony Xperia XZ Premium Themes, Apps, and Mods] knightazura:
Hmm, idk then. I am also confused why it doesn't happen to me.

Yes ?
[Sony Xperia XZ Premium Themes, Apps, and Mods] failax:
I've put qhd resolution, but if i take a screenshot the resolution is 4k on every editing app.
[Sony Xperia XZ Premium Themes, Apps, and Mods] IIIonsteR:
Hi i need help my phones start to restart by itself on youtube facebook and other apps does enyone know how can i fix it ( in 4k and 1440) ty
[Sony Xperia XZ Premium Themes, Apps, and Mods] AndroidFL:
https://www.youtube.com/watch?v=YsWRQaH24ns this is doing it with root

And for the fella who gets force closes on apps - uninstall the apps and install them again and that might help. The apps that were previously downloaded were for the previous resolution.
[Sony Xperia XZ Premium Themes, Apps, and Mods] amanieux:
good idea it may be why the default dialer crashes, does someone know how to reinstall the default dialer ?
[Sony Xperia XZ Premium Themes, Apps, and Mods] IIIonsteR:
Soo i need to reinstall almost all apps

Does this any thing with root and sound mod with my changes,im not developer so i need help ty for respond :)
[Sony Xperia XZ Premium Themes, Apps, and Mods] AndroidFL:
ya pretty much you have to be installing versions for your resolution that you have set up.
[Sony Xperia XZ Premium Themes, Apps, and Mods] IIIonsteR:
So i reinstall youtube and again after 2 days of using yt my phone just freez an restart i dont know if root or sound mode have enything to do with this,and yea when i was flashing oreo then i root norm and change resolution and then i was inst other apps but i have most prob with youtube so what shoud i do
[Sony Xperia XZ Premium Themes, Apps, and Mods] AndroidFL:
hmm. you can use another app called OGYoutube. Research it and install it.
[Sony Xperia XZ Premium Themes, Apps, and Mods] IIIonsteR:
ty for help but i just inst rom from turbo and dont have prob with restarting Works fine
[Sony Xperia XZ Premium Themes, Apps, and Mods] madshark2009:
Ima say my experience with this 4k mod

Advantages:

1)far better resolution!!

thats it

disadvantages:

1) phone some times stutters

2) with heavy usage (Like youtube and gaming and constant usage) it overheats and it already showed burn marks on my screen while on 1080 as heavy as you use it it stays cool

3)battery life is a lot worse *Noticeably* A LOT worse especially in heavy usage. (in normal usage though it doesnt over heat a lot it does more than 1080 but still its tolerable and battery isnt bad its almost as good)

conclusion:

this mod is great for you if you are not a heavy user, and want to enjoy really sharp and nice screen (which in my opinion older xperia phones like the Z3 have even better quality on 1080p than XZP with 4K mod activated and also the white balance is much better on older phones like Z3 - I speak from personal experience I compared my phone to my friend's Z3)

still the mod will make your screen look great and sexy if you are not a heavy user then go ahead do it

if you are a heavy user, this mod is simply a device killer.

the screen is really crisp and nice on 4K but even then it is one of the best screens out there but not THE best which really disappointed me considering the fact i bought this phone for its screen let alone the fact that when the device heats, it shows burn marks on the screen...
[Sony Xperia XZ Premium Themes, Apps, and Mods] gaijin1%:
I am very interested in those "quite a few more steps". I've been looking for a kernel, a method to enable 4K per app, or any info on how to change the physical display to actual 4K instead of emulating it. I have Daydream installed on it, but the videos and other imagery are blurry compared to my 2K Axon7 as it's just lousy scaled up FHD which is very noticeable in VR.
[Sony Xperia XZ Premium Themes, Apps, and Mods] sammyconigs:
I've had this phone for a week. It's the fastest phone I've owned. Great display and battery life. I installed Aida64 and this is what it shows. So my phone is on 4k? I haven't touched it.
[Sony Xperia XZ Premium Themes, Apps, and Mods] gaijin1%:
I just installed that same app and mine says 1080 X 1920. Did you install a custom rom? Otherwise, what's your ROM and kernel version?
[Sony Xperia XZ Premium Themes, Apps, and Mods] herasymcuk:
Just installed the same app to try it out and it shows 2160X3840 for my screen.
[Sony Xperia XZ Premium Themes, Apps, and Mods] gaijin1%:
Then what's your ROM and kernel version?
[Sony Xperia XZ Premium Themes, Apps, and Mods] herasymcuk:
my phone is stock. italian cust.
[Sony Xperia XZ Premium Themes, Apps, and Mods] gaijin1%:
Can you please tell me you're ROM and kernel version there?
[Sony Xperia XZ Premium Themes, Apps, and Mods] sammyconigs:
No custom Rom. I have the US version and put the European firmware on it to enable the finger print reader. Just for fun I included screen on times. This phone is a beast! Who cares about bezels!
[Sony Xperia XZ Premium Themes, Apps, and Mods] busayaphol:
for the one who need phone call app that run with this resolution.

You might got 2 birds with 1 stone with "whos call" for

1. this one run with any resolution.

2. If unknown call you it should tell (if there within their data)

so wont you try?

all credit belong to the programmer .

Im just user :)
[Sony Xperia XZ Premium Themes, Apps, and Mods] ishaang:
rooting is nowadays a more complex procedure as compared to earlier. Take a look at this thread though, and read everything carefully before trying it as it can brick you phone easily if not done right.

adb is 'Android Debug Bridge' - in lay man terms, a command prompt where you can type in commands like in DOS. So for example, you can download adb to your pc, connect your phone by USB and enable USB debugging in your phone options, open adb in a command prompt and then type in the adb commands that OP (original poster) provided on this thread

By ofc he meant 'of course' :)
[Sony Xperia XZ Premium Themes, Apps, and Mods] amanieux:
how do you "change display size in Settings app to preferred view" i dont have "preferred view" in display/view/display size, i only have "small,default,large,larger,largest" - thanks
[Sony Xperia XZ Premium Themes, Apps, and Mods] najibfa:
Wheres i can found ADB menu on Phone? or adb the phone must connect with pc?
[Sony Xperia XZ Premium Themes, Apps, and Mods] SilverGamer_YT:
You need to install Adb and fastboot in your computer and then connect your device in fastboot mode to change to 4k
[Sony Xperia XZ Premium Themes, Apps, and Mods] everood:
I found the problem and I have solved it

Your order should also be a number, Don't do that,Enter all the commands together

adb shell

wm size 2160x3840

wm density 807

4K resolution has an impact on speed，so I use 2k

adb shell

wm size 1440x2560

wm density 538
[Sony Xperia XZ Premium Themes, Apps, and Mods] EMJI79:
I have read all posts and haven't found this question:

Do the apps like instagram, VSCo, spotify etc show real 4k for the picture they are displaying?

From first sight I wouldn't see development teams provide an app capable of 4k displaying as their is only the Sony z5 premium and the Sony XZ premium capable of this resolution?

Knowing that their would be 2k or less real resolution when using any play store app other than Sony's?
[Sony Xperia XZ Premium Themes, Apps, and Mods] madshark2009:
to be honest I dont know if its real or not and honestly in my sight I dont see a difference...

"TECHNICALLY" there is a difference but using this ADB stuff gets 4k that is just as pleasing as real 4k not a bit less!

these apps support 4k as the resolution using ADB is emulated (upscaling the 1080 to 4k) and not REAL, again "TECHNICALLY".

so using these adb commands you should enjoy "fake" 4k but is just as eye pleasing as real 4k

and yes I spent long minutes comparing pictures in instagram in normal 1080 against ADB 4k and I did see a difference in every app in terms of text and content, and yes so in instagram the picture becomes more crisp, I assure you that

---------- Post added at 01:08 AM ---------- Previous post was at 01:02 AM ----------

if he used ADB commands and run at 4k the app will show 4k, so if you are not running these adb commands it will show for you 1080p and his will show 4k.
[Nexus 6P Q&A, Help & Troubleshooting] omametsnor:
I installed Linaege on my 6P, once I lock the screen the phone seems to become disconnected forr the internet or stops pushing notifications.

when I receive a message it wont pop up unless i turn on my screen, the exact same second i turn on my screen i receive my messages, while being at the lock screen.

Does anyone have a clue, i never had this problem on stock before as I can remember.
[Testing] JamesPeng:
TimeApp is an upcoming social app which contains a series of feature never seen on other social apps before. We are currently on the final stages of development and we are in closed beta on both Android and iOS platforms.

If you are interested in testing our app, please PM me or send to james@timeapp.info with your Email address and operating system (those two are a must), with optional additional info like name, region or age. Our closed beta testing starts on June 20th. You can apply for more than one personnel.

As said in the title, any participant would get a permanent VIP account as our thank you gift.

Thank you for you time : )
[Lenovo ZUK Z2 (Plus) Questions & Answers] lesterjoel123:
Q.1) The camera of Z2 plus has gotten pretty bad reviews just wanna know if it's the ZUI that's holding it down or the hardware isn't that great?

Q.2) What is the future of the development of this phone ?

Thanks
[Lenovo ZUK Z2 (Plus) Questions & Answers] lesterjoel123:
Help a noob out
[Lenovo ZUK Z2 (Plus) Questions & Answers] sergsinger:
May be you can open your eyes and see what's going on in firmware development section?
[Lenovo ZUK Z2 (Plus) Questions & Answers] KKaushal:
The camera is generally considered good for the price on the stock rom (ZUI). I haven't used it much though as I prefer custom roms. The development part you can browse through the development section to check out. I think it's a well supported device now than when I bought it. There are loads of very good developers interested in this device now that we won't have to worry about not finding an alternative rom in the foreseeable future.

P.S. The camera quality in custom roms is good enough for me. I don't consider myself much of a photographer though, which might mean you won't be satisfied. In any case, I doubt zuk z2 is a 'camera' phone. It's SD820 at a cheap price and that's all I looked for when buying. You might want to consider your preferences before buying.
[Lenovo ZUK Z2 (Plus) Questions & Answers] lesterjoel123:
Thanks a lot man
[Nexus 5X Q&A, Help & Troubleshooting] RichardCasales:
Hello everyone, recently I have started digging into the world of modding so I tried rooting, custom ROMs and custom kernels. Everything was working fine until yesterday, when I decided to move from lineage to pure nexus with elementalX kernel. I had some trouble with the installation and I had to re flash the same ROM several times because it soft bricked( At the end the problem was the radio and bootloader version ).But when I configured the ROM I saw that the autorotation on YouTube wasn't working, so I started searching for solutions on Google but with no luck. I swear I've tried ALL the possibile solutions (installing an app to see if the proximity sensor works, reflashing pure nexus and Resurrection Remix and lineage and stock Nougat and stock Marshmallow ROM, wiping data cache system ART/DALVIK internal storage, factory resetting from stock, editing the proximity firmware manually, disassembling the phone to check hardware error and so on ) but I can't get this sensor working, I can't even find the cause of this faulty sensor . I would really appreciate ANY kind of suggestions, thanks in advance
[Nexus 5X Q&A, Help & Troubleshooting] SlimSnoopOS:
Flash the vendor.img in TWRP or fastboot that matches the build name of the rom you are installing. This gets updated monthly so custom rom users need to flash this each month.
[Nexus 5X Q&A, Help & Troubleshooting] RichardCasales:
I think am already updated with the latest vendor for my current ROM (pure nexus with N2G47F vendor.img)
[Nexus 5X Q&A, Help & Troubleshooting] SlimSnoopOS:
Well, it looks like you'll have to wipe the entire device and reinstall the latest factory image.

Edit: Does autorotation work anywhere else?
[Nexus 5X Q&A, Help & Troubleshooting] RichardCasales:
Sadly auto rotation doesn't work anywhere, I've wiped all the phone ( system, internal storage, dalvik and cache) and installed the latest factory image but the problem doesn't seem to solve..
[Nexus 5X Q&A, Help & Troubleshooting] SlimSnoopOS:
Interesting, no working autorotation anywhere. Which factory image are you using (include entire file name)? Could you screenshot the computer after you run the entire command for installing factory image?
[Nexus 5X Q&A, Help & Troubleshooting] RichardCasales:
The zip file name of the image was (image-bullhead-n2g47)

I installed the factory.img manually because I had trouble with the flash-all.bat file.

I don't think I can take a screenshot of the computer anymore because the PC wasn't mine and I can't have access anymore.
[Nexus 5X Q&A, Help & Troubleshooting] republicano:
I take it you have tried sensor apps to see if it gives any values,

I have the same problem, warranty states it is due to water damage.

Does anyone know where the sensor is on the board?

Bmi160 gyroscope
[Nexus 6P Q&A, Help & Troubleshooting] cthuluhoop123:
Can we have a dev work on porting eis 2.0 please? i think it's a really cool feature and that it's possible.

maybe this will help :

https://developer.android.com/reference/android/hardware/SensorDirectChannel.html#RATE_VERY_FAST
[Nexus 6P Q&A, Help & Troubleshooting] DEVILOPS 007:
What is eis 2.0? If it is somewhere on github as a feature I could possibly try cherry picking it and fork a rom and try to add it as a test.
[Nexus 6P Q&A, Help & Troubleshooting] cthuluhoop123:
It's the new and improved eis in the pixel and the pixel xl. I already have an idea of how im going to do it, however im not sure if it is going to be successful.

I'll simply be changing some code here:

https://android.googlesource.com/pl...amera/+/1bf1f3c/QCamera2/HAL3/QCamera3HWI.cpp

However i will need help compiling that. I heard that ill have to reflash my whole system. Can you help?

Here is what im changing:

//IS type will be 0 unless EIS is supported. If EIS is supported
//it could either be 1 or 4 depending on the stream and video size
if (setEis) {
if (!m_bEisSupportedSize) {
is_type = IS_TYPE_DIS;
} else {
is_type = IS_TYPE_EIS_2_0;
}
mStreamConfigInfo.is_type = is_type;
} else {
mStreamConfigInfo.is_type = IS_TYPE_NONE;
}

TO:

//IS type will be 0 unless EIS is supported. If EIS is supported
//it could either be 1 or 4 depending on the stream and video size
if (setEis) {
is_type = IS_TYPE_EIS_2_0;
mStreamConfigInfo.is_type = is_type;
} else {
mStreamConfigInfo.is_type = IS_TYPE_NONE;
}