Make DPI change persistent without root - Huawei Mate 10 Questions & Answers

Any ideas?
I have "smallest width" in Developer Options set to 500. Tinkering with ADB, I have found that this is equivalent to 345dpi. You can actually change the "smallest width" in real time by changing DPI in ADB and they have an inverse relationship - as dpi goes up, smallest width goes down.
There is no way to make either change persist on reboot on an unrooted device.
However it seems to me that since there is no root required to set "smallest width" there should be some way to run a script or do something to change the smallest width setting in developer options on each boot up. It doesn't matter if it happens late in the booting process.
I would just about have my device exactly how I want it if I didn't have to go into developer options and reset the dpi on each reboot!
Any suggestions?

I'm not rooted and the setting stay for me in developer options. My android TV is the same. I changed the dpi setting of that, and that stay after a reboot and that's not rooted either. Although the the TV settings were changed via adb rather than in developer options.

Thanks... well, I wish I knew why the setting change won't stick on my phone. It's not the biggest deal in the world and I don't reboot much (except lately to test hosts files and finally get spotify working properly with ad blocking.)
Since you said it works for you, I have had another few goes at it, and it definitely doesn't stick on my Mate Pro 10.
I have done it two ways - via ADB with:
Code:
adb shell wm density 345 && adb reboot
and in Developer Options, setting Smallest Width to 500.
Also tried different values for both. It never survives a reboot. Oh well.

anthropoidape said:
Thanks... well, I wish I knew why the setting change won't stick on my phone. It's not the biggest deal in the world and I don't reboot much (except lately to test hosts files and finally get spotify working properly with ad blocking.)
Since you said it works for you, I have had another few goes at it, and it definitely doesn't stick on my Mate Pro 10.
Click to expand...
Click to collapse
It does not stick on my Mate 10 either...
is there any solution? Maybe an app to restore the setting on each reboot?

Related

[Q] Saved LCD density doesn't load on boot

I'm using LCD density changer and have ticked the save as system density-box. Despite this, the correct density doesn't load on boot. Any ideas on what might be the problem? Using 200 as saved value.
Rooted KE2 kernel with GINGERBREAD.XWKE1 build.
Sent from my disappointing GT - I9100
load lcD density, click bottom left menu to see settings page, choose "default density" and set it in there, then apply this same density in the main page, it should now keep it.
I stopped using this though as it causes camera problems and dialler and other progs dont fit on screen properly, I am hoping this is going to fixed in a cooked ROM, I'd leave it until then dude.
Thanks for the reply but selecting default density only fills in 240 in the number box. It's not a new menu or anything. I've tried reapplying the density several times and even Superuser says the app is granted access and then I get a window that says it's saved and will automatically load on boot.
Still, it doesn't work.
Sent from my disappointing GT - I9100
Probably worth asking the developer of the APP.
I've found some apps that set LCD density to be a little flaky too.
I just use Root Explorer now and manually edit the build.prop file, which is very simple. If you want to know how to do that then let us know.
Nitrality
Use Nitrality, it is working great! I also recommand a 200 dpi value.

HOW TO: Change the Dell Venue 8 7840 DPI for better viewing

I am late to the Dell Venue 8 7840 party as I just bought mine three days ago. What a beautiful tablet and absolutely gorgeous display. However, I think that the text is just a little too small for my likings so I wanted to do something about it. Well, you first have to root your device which is kind of a nightmare if you ask me (after updating to Lollipop 5.1).
My first attempt at changing the resolution was through editing the build.prop and adding a value of "ro.sf.lcd_density=360" since the default density is 320. Anyways, every time you reboot it just is completely ignored.
I take no blame for anything that goes wrong with this.
So here's how you change the DPI:
1) Get root by following this most recent root tutorial. You will need to install "Busy-Box" as mentioned in that tutorial.
2) Install a terminal emulator such as "Terminal Emulator" or "Termux" from the Play Store
3) Start the terminal program
4) Type "su" and press enter. NOTE: You will need to grant your terminal emulator root access after you press enter.
5) Type "wm density" and press enter. You will see the default density of "320".
6) Type "wm density xxx" where xxx is the density you want to switch to such as 360. Basically anything above 320 is larger, anything below 320 is smaller.
Once you type the command such as "wm density 360" it instantly applies it. It also survives a reboot so please be careful to type the command exactly as it is supposed to be typed and do not use too small or too large of a change. If you change the density to 390 and utilize Google Now you will see that it changes format from a dual column to a single column. I prefer this look and feel plus tabs in Chrome are more normal sized to myself. Some DPI's cause text to shift off the sides of the display so it's just a matter of trying to increment or decrement by one until you reach the sweet spot.
If you want to reset it back to normal you can simply type "wm density reset".
Good luck and hopefully this helps someone.
Awesome. Looks a tad bigger but still sharp. So that's a plus.
Quick question. Do you know how to swap the menu and back soft keys? I tried switching with the..kl files and no luck.
joeminati said:
Awesome. Looks a tad bigger but still sharp. So that's a plus.
Quick question. Do you know how to swap the menu and back soft keys? I tried switching with the..kl files and no luck.
Click to expand...
Click to collapse
I haven't looked into this myself and couldn't be of any help. I'm use to the positioning and never tried to swap them on my own.
With other high-res tablets such as the Samsung Tab Pro it is much easier to do this with one of the many apps available on the Play Store. However Texdroider and some of the others do not work; the change is not applied on reboots. By trial and error I stumbled upon Easy DPI changer, which works perfectly. It is probably applying the same change "automatically" that the op applied manually.

Minimum DPI

I have my DPI Set to 450 as minimum yet every time I reboot it seems to revert back to 423.
Is there a adb shell command that can change this permanently without root?
Just out of interest maybe there's something that can be done with adb about the annoying auto brightness setting up with every reboot.
ADB shell wm density 450 && ADB reboot ... This doesn't make it permanent it reboots to 423 again.
Have you tried settings database editor?
I looked and can see several reference to dpi.
On my device the string values are set to 480.
zolaisugly said:
Have you tried settings database editor?
I looked and can see several reference to dpi.
On my device the string values are set to 480.
Click to expand...
Click to collapse
There's no way to set in this app, nothing in the table and Android settings are not editable I tried setting up the auto brightness with different values but when i reboot it reverts back and nothing is changed.
Darkat70 said:
I have my DPI Set to 450 as minimum yet every time I reboot it seems to revert back to 423.
Is there a adb shell command that can change this permanently without root?
Just out of interest maybe there's something that can be done with adb about the annoying auto brightness setting up with every reboot.
Click to expand...
Click to collapse
I wonder, does the value you set matter much? For example, does it matter if I enter 384 or 376 as dpi? Must the dpi you select, be able to be devided by a certain number or such? I want the dpi to be somewhere between 375 and 385.
Sorry for the noob question, but. What's DPI for? I mean, I've noticed it changes the way things look on the screen, but other than that?

A fix for wrong Status Bar padding.

So, i recently got this device and i found it pretty annoying how the clock and battery icons were too close to the rounded corner of the screen, and since my device is still in warranty i can't use advanced root tools to fix this, but fortunately i found a solution that works in unrooted stock rom and i wanted to share in case anyone wants to fix their device too.
All you need is to have access to Developer Settings and enable Device Debugging, and ADB installed in your computer.
With your device connected, open CMD in the folder you installed ADB or just open Terminal if you're in linux, then enter this commmand:
Code:
adb shell settings put secure sysui_rounded_content_padding 8
And done! You should see the difference right away.
This setting is kept after a reboot, but i doubt you'll ever want to change it back to it's default, but if you want you can change the value to 0.
You can change the value at the end of the command to your liking, i just found 8 to be my prefered setting.
I hope this helps!
EDIT: Actually, there's a problem. The padding changes to the default everytime you change the screen orientation which is very annoying. I couldn't find a fix for this but if you know of any please let me know!
Hey, do You know how to make a similar adjuctment but with padding-top (i dunno, that's how it is in html )
Bartoshevsky said:
Hey, do You know how to make a similar adjuctment but with padding-top (i dunno, that's how it is in html )
Click to expand...
Click to collapse
I'm not sure if you can change the vertical padding, but if you did it the notch would probably cover the apps on screen so i think it wouldn't be a good idea
Hi,
I have found a little workaround for the padding setting reset after screen orientation change. It is possible to get the padding back without using ADB again.
Set the padding using the ADB method
Now if you change screen orientation the padding will disappear
Go to Settings -> Display -> Advanced -> Device Theme
Switch to the theme that is not currently used and back (Note: If you have an automatic theme selected, try to select both light and dark theme, it should change after selecting one or another)
The desired padding should be back again.

Developer Options / minimum width settings

How does this setting work?
I can decrease it and everything goes bigger, increase it and everything is smaller. I can tweak it to whatever I want, set my zoom/font and get all my apps running/looking how I want them to and then (randomly, sometimes within minutes) I'll open an app and it looks all wrong. When I check the MW it has changed. Or everything can be running smoothly and when I check the MW it has changed. And the figures keep varying, 824, 580, 600, all sorts but never the figure that I have set.
Is there something that I need to do to make the setting stick?
Why does it keep changing?
Or, how do I just reset the MW to default and start again, because everywhere I read on the Internet people quote different "default" figures and I am guessing that it's because everyone sees the question being asked, check their device and at that specific time it says XXX?
Should disabling Dev Ops reset the defaults? Or does (or should) turning off DO lock the setting at the figure last entered?
Thanks.
In fact (as I have just discovered), I can enter a figure, come out of the settings and go straight back in and the dpi is different?

Categories

Resources