Modifying DPI using "adb density command" - Huawei P8max

Hi all,
Coming from Sony Xperia Z ultra, I couldn't settle for the large density implemented by Huawei for the P8max (400 dpi), in my opinion this approach is wasting the beauty of the large 6.8 inch screen.
After some online research, I managed to modify the device dpi using this adb command "adb shell wm density “INSERT_DPI” && adb reboot"
I was struggling to find the sweet spot but after several trials, setting the density to 288 and using a 3rd party launcher was the perfect combination. Some applications like the email works in full tablet UI with a split screen.
Having said that, I am facing minor issue with the typing cursor which disappeared in some applications like whatsapp and chrome. Anyone knows the reason behind this? I will really appreciate if someone might have an idea how to fix this issue.
Cheers.

Related

Android Tablet Density settings

Hi everyone
So, I have this Android Tablet called the Haipad M701 which runs on Android 2.1
By default the icons and everything are HUGE, doesn't look too good So, I rooted the device and found a density setting which by default was at 240. I changed it to different values between 160 to 240 and with smaller values it looks very nice
BUT at any value other than the default 240, almost ALL apps and games are no longer in fullscreen
Does anybody know if there might be a fix for that?
Thanks
wow... not a reply since sept... not sure if you get it fixed or not.
one step you can try is to turn off the compatibility mode in your tablet.
this should fill up the whole screen in most apps except some apps that written specifically for small screen phone without adding large screen display mode in it.

[GUIDE] Increase android gaming performance (resolution change) (ROOT NEEDED)

Hello everybody, and before all, sory for my english
The main objetive of this thread is to provide a guide to increase performance on high density screen GPU bound devices, for example, the nexus 10.
The last year android devices start shiping with very high definition screens, but without the necesary GPU muscle to make them work good.
Since I was a PC gamer, I know the terrible impact of high definition on the gaming performance, and, on this screen size, this is a useless impact, since the extra resolution are practicaly unperceptible.
The past week I spend a lot of time trying to change my device's resolution (a nexus 7) and with kernel modding, it is posible, but don't are great since I only play 1/3 of the devices usage, and the 1280x800 resolution are great for chat, browsing (or posting on the forum ).
Finally I find a great program that allow me to temporary change the display resolution of my device, and with the free version I was allowed to change resolution to 720x450, and on gaming performance, that was a GREAT performance updrade, even, with the wuality sacrifice (and on a 7 inch display, this wasn't a great lose.
In order to do that, I need to disable soft keys, since they bug A LOT with the resolution change, and to use a custom launcher because the default launcher bug too (go launcher ex is my favourite and the only one I test).
So, I leave a guide on how to prepare your device to use this mod to increase gaming performance, and to provide help to everyone who want it.
First of all, you NEED to be rooted.
Now, start with the device preparing.
Wee need a soft keys replacement, I recomend this one, work great and are really simple to customize.
https://play.google.com/store/apps/details?id=jun.ace.piecontrol
Now, you need to remove the soft keys in order to gain extra screen space and to protect yourself from potential bugs on the user interface.
To do that, you need to edit your build.prop with an editor or manually with a text editor and add this line.
qemu.hw.mainkeys=1
Now, on the next boot your device have the soft keys disabled.
To protect the status bar from being bugged, we need to change the lcd density of our display in order to allow a phone status bar (the phablet one bug on low resolution displays, and on tablets without sofkeys, we need a status bar.
To do that, we need to edit from the build.prop editor the "ro.sf.lcd_density" parameter and set it to something above 214 (nexus 7 have 213 and it enable the phablet interface, and on 214 it enable a full phone interface, but with small icons and more work space, you need to test and find the most usefull dpi for your device)
Now, we need to install the "magic app", and start testing resolutions and trying to find the most confortable for us, I have the paid version and use on the nexus 7 (16:10 or 8:5) 480x768 since it allow GREAT performance improvement and a good image quality for my screen size.
https://play.google.com/store/apps/details?id=com.nomone.resolution_changer
One example of a game that work GREAT with this trick is N.O.V.A. 3, on the tegra 3 plataform it is almost inplayable, and with the trick, on my nexus 7, it looks like this.
So, start testing this, and post your results, configs and devices.
Help us resolving the screen resolution fragmentation on devices!
And mods, please, help the post with a good language correction XD
Edit: Changed the APK link, to a new one, the new app have onscreen buttons to fix the navbar problems, so, pie controls are no longer needed, I leave the link here onlfy for people to know another alternative, thx for NoMone Devs!
i am planning to buy a 7 or 8" android with high resolution and was a bit worried about gaming performance because of the high resolution.. can you post a video of the performance gain plz?
Whoa! I might give this a go when I get home. Good Job.
i am interested for feedbacks in other heavy games like modern combat 4
this!
what android device and other mobile devices lacks.
there's no setting to set the resolution!
people out there always suggest me to change the dpi, but hell no!
"dpi" is not physical resolution, it just changing icon and other ui element to small or big.
this terms confuse many people.
they think DPI is the screen resolution.
and.... i just cannot understand the hype,
many vendors put high res 1080p on 5" device?
what the heck!? is it necessary?
what's next? ultra 4K res on 4" screen?
come on.. it's unnecesary and waste of battery.
gpu works hard to get the job done in that resolution. especially gaming.
thank you for sharing this trick for us.
google should consider to put resolution changer on the next android.
and android vendor should realize put hi-res on small screen is just plain dumb.
-----
Sent from Android device
i will try this thank you. . .:good:
It's hard to take a video without a camera, but to give youman example, on 500x800 asphalt 7 give me 60fps on the shangai track, with my 800x1280 default resolution, I have 20fps aprox with a lot of fluctutations, it's a great app, and with GMD hide buttons, is almost perfect.
Antara33 said:
It's hard to take a video without a camera, but to give youman example, on 500x800 asphalt 7 give me 60fps on the shangai track, with my 800x1280 default resolution, I have 20fps aprox with a lot of fluctutations, it's a great app, and with GMD hide buttons, is almost perfect.
Click to expand...
Click to collapse
ah that indeed seems to be very nice! i have tried it on my htc desire not it does not work nothing changed
yeahman45 said:
ah that indeed seems to be very nice! i have tried it on my htc desire not it does not work nothing changed
Click to expand...
Click to collapse
Yes, on the HTC Desire 480x800 display, you need to set it to something lower that it, for example, 360x600, it increase the gaming performance, this trick work great on high res display like the nexus 7 or nexus 10 displays for example, try to reduce the resoution to something that retain the original aspect ratio and be lower that 480x800, 360x600 or 240x400 make a grat change, but im not sure about image quality on this device...
Antara33 said:
Yes, on the HTC Desire 480x800 display, you need to set it to something lower that it, for example, 360x600, it increase the gaming performance, this trick work great on high res display like the nexus 7 or nexus 10 displays for example, try to reduce the resoution to something that retain the original aspect ratio and be lower that 480x800, 360x600 or 240x400 make a grat change, but im not sure about image quality on this device...
Click to expand...
Click to collapse
ok thx i have tried to set it to 360x640 on the free version.. but nothing happens.. it just say "Display scaler free has been granted root superuser permissions" and nothing happens
Mh, maybe this is a device specific issue, have you posted a review or sended the autor an feedback email about it?
Antara33 said:
Hello everybody, and before all, sory for my english
The main objetive of this thread is to provide a guide to increase performance on high density screen GPU bound devices, for example, the nexus 10.
The last year android devices start shiping with very high definition screens, but without the necesary GPU muscle to make them work good.
Since I was a PC gamer, I know the terrible impact of high definition on the gaming performance, and, on this screen size, this is a useless impact, since the extra resolution are practicaly unperceptible.
The past week I spend a lot of time trying to change my device's resolution (a nexus 7) and with kernel modding, it is posible, but don't are great since I only play 1/3 of the devices usage, and the 1280x800 resolution are great for chat, browsing (or posting on the forum ).
Finally I find a great program that allow me to temporary change the display resolution of my device, and with the free version I was allowed to change resolution to 720x450, and on gaming performance, that was a GREAT performance updrade, even, with the wuality sacrifice (and on a 7 inch display, this wasn't a great lose.
In order to do that, I need to disable soft keys, since they bug A LOT with the resolution change, and to use a custom launcher because the default launcher bug too (go launcher ex is my favourite and the only one I test).
So, I leave a guide on how to prepare your device to use this mod to increase gaming performance, and to provide help to everyone who want it.
First of all, you NEED to be rooted.
Now, start with the device preparing.
Wee need a soft keys replacement, I recomend this one, work great and are really simple to customize.
https://play.google.com/store/apps/details?id=jun.ace.piecontrol
Now, you need to remove the soft keys in order to gain extra screen space and to protect yourself from potential bugs on the user interface.
To do that, you need to edit your build.prop with an editor or manually with a text editor and add this line.
qemu.hw.mainkeys=1
Now, on the next boot your device have the soft keys disabled.
To protect the status bar from being bugged, we need to change the lcd density of our display in order to allow a phone status bar (the phablet one bug on low resolution displays, and on tablets without sofkeys, we need a status bar.
To do that, we need to edit from the build.prop editor the "ro.sf.lcd_density" parameter and set it to something above 214 (nexus 7 have 213 and it enable the phablet interface, and on 214 it enable a full phone interface, but with small icons and more work space, you need to test and find the most usefull dpi for your device)
Now, we need to install the "magic app", and start testing resolutions and trying to find the most confortable for us, I have the paid version and use on the nexus 7 (16:10 or 8:5) 480x768 since it allow GREAT performance improvement and a good image quality for my screen size.
https://play.google.com/store/apps/details?id=com.nexter.miniscalerfree
One example of a game that work GREAT with this trick is N.O.V.A. 3, on the tegra 3 plataform it is almost inplayable, and with the trick, on my nexus 7, it looks like this.
So, start testing this, and post your results, configs and devices.
Help us resolving the screen resolution fragmentation on devices!
And mods, please, help the post with a good language correction XD
Click to expand...
Click to collapse
Hey I bought the app and it works fine i tried most of the resolutions and even a custom one but it seems that no resolution lower than my physical one will go full screen i always get black borders do you get this too?
thanks a8 soc
I tried tweaking my resolution to a higher one yet nothing happens on my Alcatel OneTouch T10. Any fix on this?
Sory for the lazy responce, I have so much time working and other personal things I read on the store that the apk only make the new resolution use the full screen on 4.2+ so if you are on 4.1-, you have it with black borders, sory, but I cant do anything for this :/
is there any way after change resolution for fix buttom touch key(it doesnt work physical touch key)? or any idea where is touch key config file or something like that related in root?
THUNDERASS said:
is there any way after change resolution for fix buttom touch key(it doesnt work physical touch key)? or any idea where is touch key config file or something like that related in root?
Click to expand...
Click to collapse
I don't know, I suppose, android mao this keys as a touchscreen surface or something like that, the most easybway is using gmd hide softkeys and with it, trigger a softkeys quick navbar and play with this, I am using Paranoidandroid right now and with the pie controls I fix all my problems, and on smanager I created 2 scripts to execute the commands to change resolution, one for the 500x800 for gaming and the other to 1280x800, the default resolution of the nexus 7.
Try it and leave me a comment with your experience.
Antara33 said:
I don't know, I suppose, android mao this keys as a touchscreen surface or something like that, the most easybway is using gmd hide softkeys and with it, trigger a softkeys quick navbar and play with this, I am using Paranoidandroid right now and with the pie controls I fix all my problems, and on smanager I created 2 scripts to execute the commands to change resolution, one for the 500x800 for gaming and the other to 1280x800, the default resolution of the nexus 7.
Try it and leave me a comment with your experience.
Click to expand...
Click to collapse
Thanls for your reply.i have mtk quad core 6589T 1.5 ghz device with powervr 544MP1 and 1 gb ram . My screen is 1080p. i think gpu cant handle this resolution sometimes occur wierd lag and some highend games cant playable.After change resolution to 720p and 320 dpi everything perfect games performance increase %80-100 even memory consumption decreasing.(100mb).i am using with pie control but i want to using continiusly 720p i think after change resulotion touch key coordinates change over screen size.if i found that responsible cfg file or something maybe i can handle this.i am still searching..
THUNDERASS said:
Thanls for your reply.i have mtk quad core 6589T 1.5 ghz device with powervr 544MP1 and 1 gb ram . My screen is 1080p. i think gpu cant handle this resolution sometimes occur wierd lag and some highend games cant playable.After change resolution to 720p and 320 dpi everything perfect games performance increase %80-100 even memory consumption decreasing.(100mb).i am using with pie control but i want to using continiusly 720p i think after change resulotion touch key coordinates change over screen size.if i found that responsible cfg file or something maybe i can handle this.i am still searching..
Click to expand...
Click to collapse
For me, the way to go is sticking with default res for everything except gaming, as I say, I have two scripts on 2 widgets on my main screen, one with the commands
su
wm size 500x800
And the other with the commands
su
wm size reset
on jely bean 4.3 this commands set the override resolution of the screen.
on android 4.2.x the wm have to be replaced with am.
The app launch this terminal commands and override our resolution, but since I cant buy the app because of credit card and legal issues on argentina, I made my own scripts with smanager and swidgets . Quick on the fly change, and "letz rack!"
i am using this fantastic program on my thl w8s to scale resolution from 1080p to 720p during games and the speedup is fantastic...i set tasker to autolaunch the app when i click on the game icon, and once finished the game just click on fixes/reset resolution to bring everything back to 1080p . this program is great and the only one i have found...let's hope the developer doesn't abandon it and keeps making it better....and with a better integration in tasker maybe

[ROOT] how to change display properties without thired party app

Hi guys
did some struglling with my device and found a permanent solution to change dpi and even the device resolution.
Requirment
1-- rooted device
2-- android terminal
Instructions
1-- open terminal and type "su" and hit enter
2-- grant it root permission.
3-- then use command "wm [option] [value]"
In options you have
1-- size widthxheight
wm size 480x840
2-- density value
wm density 240
As shown above you can choose the values of your wish
To get a good display always use the resolution which is in multiples of your native resolutions.
Some apps may not work completely. Like the gallery app will show some images and after that all blank thumbs. But when you open the blank thumb you get the image.
And keyboard and dialer and camera will become small.
So use any other apps insted of them and you have a chance to get a hd resolution on a non hd screen.
Its better than having nothing.
It will not harm device in any manner. If you dont like what you did just use the command.
wm size reset
wm density reset
And your device will be like before the twiking.
Hit thanks for the work. I hope you will give it a try.
Peace
Sent from my SM-G355H using XDA Free mobile app

Shrink display size beyond smallest? (Nougat, LG V20)

Hey all! Not sure if this is the right place to ask. Just got the V20 a day ago, switching from my Nexus 5X. I'm finding it disappointing despite the larger screen, it mostly displays LESS stuff than my 5.2 inch 5X.
Here's the reddit frontpage for example: i.imgur (com) /0sTlTof.jpg
Amazing, it's an entire post behind. I was really excited for the increased screen space when I got the V20. Right now I'm lucky if the V20 displays the SAME amount as my 5X...
Does anyone know a secret setting I can use to further shrink the GUI? The smallest setting on the V20 is equivalent to large on my 5X LOL. Or perhaps mods, roms, anything!
Thank you!
TechARoid said:
If you can root your device then.
you can increase the resolution of v20's screen using terminal emulator and achieve what you want.
After rooting install terminal emulator.
in terminal emulator type "su" without "" and hit enter and grant root permissions to terminal emulator.
then type "wm size". this will show your device default resolution.
now you can increase the resolution to whatever you want by typing "wm size widthxheight".
the other way is to install custon rom like lineage OS or resurrection remix rom. They provide with large variation in text size and screen size.
either way you choose you still have to root your device.
Click to expand...
Click to collapse
Managed to use ADB with the command "adb shell wm density 420" and it worked! Phone not rooted.
Image comparison: i.imgur (com)/JPGcBGI.jpg

Better Battery Life with down scale to 1080p or 720p

WARNING: secondary display REPORTED NOT WORKING
using ADB (Go to about--) build (press 7 times) ---) USB debug (Allow) ---)Using SDK on PC to push adb commands.
Original
adb shell wm size 1440x2560 (if you are using adb then adb shell)
adb shell wm density 640
adb shell wm size 720x1280
adb shell wm density 320
adb shell wm size 1080x1920
adb shell wm density 450
(Try this out)
adb shell wm size 900x1600
adb shell wm density 380
the default android density values are: 240(HDPI)/280/320/360(XHDPI)/400/440/480(XXHDPI)/520/560/600/640(XXXHDPI)/680/720)
return both values to default with the following commands:
wm size reset
wm density reset
If someone can helping fixing secondary display by leaving scale the same and changing only the main screen.
This gives a better life battery lasting for 1 day moderate use and 5 hours full time working screen ( with 1080p scale).
No root required.
Original thread
( https://forum.xda-developers.com/ne...nexus-6p-to-scale-to-1080p-t3298620?nocache=1 ).
All thanks goes to Chord_Hugo87
How can we do this as root without computer
I've just tried it,
tried scaling to 720P (Battery life is so important to me, and this phone isn't a good one) but did't like the scaling (everything so large) and felt like loosing alot of the experience
I've scaled to 1080P and it's fine for now, will try it for few days, hopefully it would perform better
Hope to remember to feed you back on the result
SpiritStealer said:
I've just tried it,
tried scaling to 720P (Battery life is so important to me, and this phone isn't a good one) but did't like the scaling (everything so large) and felt like loosing alot of the experience
I've scaled to 1080P and it's fine for now, will try it for few days, hopefully it would perform better
Hope to remember to feed you back on the result
Click to expand...
Click to collapse
You need change DPI when change resolution.
SpiritStealer said:
I've just tried it,
tried scaling to 720P (Battery life is so important to me, and this phone isn't a good one) but did't like the scaling (everything so large) and felt like loosing alot of the experience
I've scaled to 1080P and it's fine for now, will try it for few days, hopefully it would perform better
Hope to remember to feed you back on the result
Click to expand...
Click to collapse
Copy this 2 line and you will get a good look.
adb shell wm size 900x1600
adb shell wm density 380
panda968 said:
How can we do this as root without computer
Click to expand...
Click to collapse
it annoyed me that no one answered.
through terminal on your phone, type "su" then enter, then type the same commands just without "adb shell"
I've tried some resolutions, but I see that part of the screen becomes black. I wish there was a way to preserve all pixels, but with a real rescale and no losing screen. Some help? :')
davidomin97 said:
I've tried some resolutions, but I see that part of the screen becomes black. I wish there was a way to preserve all pixels, but with a real rescale and no losing screen. Some help? :')
Click to expand...
Click to collapse
Actually, I answered the question myself. What happens with this unique smartphone is that the wm takes in count the secondary display as the physical resolution. If you write adb shell wm size, it will tell you the physical resolution and the resolution you are rescaling at. I did that and I found that the physical resolution is 1440x2720, which means that, in order to maintain every pixel active, you need to take in count those 160 extra pixels. So the actual correct resolution for 1080p is 1080x2040. If someone has the same problem, I hope that this solution helps him/her
davidomin97 said:
Actually, I answered the question myself. What happens with this unique smartphone is that the wm takes in count the secondary display as the physical resolution. If you write adb shell wm size, it will tell you the physical resolution and the resolution you are rescaling at. I did that and I found that the physical resolution is 1440x2720, which means that, in order to maintain every pixel active, you need to take in count those 160 extra pixels. So the actual correct resolution for 1080p is 1080x2040. If someone has the same problem, I hope that this solution helps him/her
Click to expand...
Click to collapse
my ./adb shell wm size shown 1440x2560

Categories

Resources