Build.Prop Modifier/LCD density changer - Flashable Zip (Updated: 2015-05-01) - Nexus 6 Themes and Apps

Updated: 2015-08-21 - Changed links because of new host.
Update: 2015-05-01
I updated the scripts so that now you can just flash the LCD density you want. Before, the script would change one specific density to another. Now, it changes any density (3 digit) to the desired density. Everything else is the same.
These files edit build.prop from any three digit density to either 560, 493, 480, or 476 depending on which zip you flash.
For 560 (stock) LCD density:
https://spideroak.com/share/N5QWWZA...k-bld.prp-mod-set-560-LCD-2015-05-01-1846.zip
For 493 LCD density:
https://spideroak.com/share/N5QWWZA...k-bld.prp-mod-set-493-LCD-2015-05-01-1844.zip
For 480 LCD density:
https://spideroak.com/share/N5QWWZA...k-bld.prp-mod-set-480-LCD-2015-05-01-1845.zip
For 476 LCD density:
https://spideroak.com/share/N5QWWZA...k-bld.prp-mod-set-476-LCD-2015-05-01-1846.zip
Original Post:
I install roms all the time and one of the things I hate having to do is edit the build prop to get my preferred LCD Density. Stock is 560 and I prefer 476. I made a flashable zip that I can just flash immediately after I install a rom. All it does is use sed to change "ro.sf.lcd_density=560" to "ro.sf.lcd_density=476". This saves a little time editing the file manually and saves a reboot. The included buildpropmodifier.sh script can easily be edited to whatever values a user might like. The script also includes the ability to enable tethering and hide the soft keys, but these options are disabled by default. The buildpropmodifier.sh script is well annotated to show how it works and can be changed.
I made these for myself but thought others might find them useful. As with anything on XDA you use these at your own risk. They work fine on my N6 but I cannot be responsible for how you use them.
This zip changes the stock LCD density of 560 to 476:
https://spideroak.com/share/N5QWWZA...k-bld.prp-mod-560-476-LCD-2015-04-25-1611.zip
This zip changes the LCD density from 476 back to the stock 560:
https://spideroak.com/share/N5QWWZA...k-bld.prp-mod-476-560-LCD-2015-04-25-1611.zip

Who needs a ZIP for this?
Opening build.prop in system with an root Explorer and change the density works well.
Gesendet von meinem Nexus 6

Thanks. Very useful as I always have to change mine to 493 and would do it via flashing when I flash Rom.

thanks, u saved me one reboot.

spevil07 said:
Who needs a ZIP for this?
Opening build.prop in system with an root Explorer and change the density works well.
Gesendet von meinem Nexus 6
Click to expand...
Click to collapse
Ya, it's certainly nothing earth shattering. Just a convenience . It takes like 5 seconds to flash upon install, vs editing build.prop and rebooting.
I find it quite useful. This is why a shared it.

Comes in handy should you have any bootloops related to changing DPI.

ilamaan said:
Comes in handy should you have any bootloops related to changing DPI.
Click to expand...
Click to collapse
That's a good idea. This evening I will update the script to match any 3 digit number and change it to the stock 560. This would make it easier in this case, in particular and also generally.

updated zips to be more useful
I updated the scripts in the OP so that now you can just flash the LCD density you want. This change was inspired by ilamaan's post. Before, the script would change one specific density to another. Now, it changes any density (3 digit) to the desired density. Everything else is the same.
The zips in the OP edit build.prop from any three digit density to either 560, 493, 480, or 476 depending on which zip you flash.

oak said:
I updated the scripts in the OP so that now you can just flash the LCD density you want. This change was inspired by ilamaan's post. Before, the script would change one specific density to another. Now, it changes any density (3 digit) to the desired density. Everything else is the same.
The zips in the OP edit build.prop from any three digit density to either 560, 493, 480, or 476 depending on which zip you flash.
Click to expand...
Click to collapse
Thanks for sharing these, comes in very handy and saves a bit of time setting a new ROM up.
[emoji106] [emoji106]

This is Perfect for a flashoholic like me. Thanks a lot.

traboll said:
This is Perfect for a flashoholic like me. Thanks a lot.
Click to expand...
Click to collapse
Glad you found it useful. I do to, because I flash way to much as well!

Any chance for a reupload? Would love to get a copy of this zip file, no matter which version, as I'd change it to my personal dpi setting (520). Thanks in advance for any help!

Would like to have these but the link doesn't work.

Meowdib said:
Would like to have these but the link doesn't work.
Click to expand...
Click to collapse
You can manually edit build.prop in system using root explorer or ROM ToolBox.

seabro01 said:
You can manually edit build.prop in system using root explorer or ROM ToolBox.
Click to expand...
Click to collapse
Except i wanted to stick this in my opendelta folder and foggetaboutit

Related

Modifying DPI on LG L5

How to modify the DPI on the LG Optimus L5
If you find, just like me that the default DPI on an LG L5 is a little large (for example the huge notification bar at the top of the screen), then this might help you get a better experience.
Requirements
Rooted device
File manager that allows you to remount a filesystem
Things to know before you start
If you decrease the DPI on your device, everything on the screen will get smaller. Since that is what we want it shouldn't be a problem, were it not that LG has fixed the size of a number of items, most noticeably:
The lock screen
The stock keyboard
If you are currently running a custom rom with a non-LG lockscreen and keyboard, you don't need to install anything. If you are on a rooted stock rom, I advise you to install a different lock screen and keyboard before you start.
OK, you're still reading so you are probably ready to start. This is how to do it:
Open your favourite file manager and re-mount the /system filesystem rw
Use your favourite file editor to edit /system/build.prop
Lookup the line containing lcd_density=160 and change the value to 140 (or if you have really good eyes, you might go as low as 120).
Save the file
Reboot
Since the resolution of the L5's screen is not so high, a DPI of lower than 120 will probably make text unreadable.
You can also install 'pimp my rom' from google play and then 'change density'.
Sent from my LG-E610 using xda premium
dev-DaT said:
You can also install 'pimp my rom' from google play and then 'change density'.
Sent from my LG-E610 using xda premium
Click to expand...
Click to collapse
Actually, using Pimp my Rom is better, since it doesn't require direct file editing! Good one!
nhtbrink said:
Actually, using Pimp my Rom is better, since it doesn't require direct file editing! Good one!
Click to expand...
Click to collapse
np
dev-DaT said:
np
Click to expand...
Click to collapse
Even Rom Toolbox should do it ... Does anyone know how to do it?
thank u :victory:

[MOD] CM10.1 Navigation Bar Height

Hey Guys,
Can't really seem to find any topics on this, I like my navigation bar at 36px running DPI of 320.
I decompiled / recompiled framework-res.apk for cm-10.1-20130609-NIGHTLY and named the zip accordingly and made a flashable CWM zip.
I'm not sure if it will work on newer builds or not though, but is working fine on currently nightly.
Warning: Backup your current /system/framework/framework-res.apk just in case something does go wrong.
Update: Added them to Google Drive (stock 48px and 36px) link is here.
Updates
11/06/2013 - cm-10.1-20130610-navbar-36px
Juzman said:
Hey Guys,
Can't really seem to find any topics on this, I like my navigation bar at 36px running DPI of 320.
I decompiled / recompiled framework-res.apk for cm-10.1-20130609-NIGHTLY and named the zip accordingly and made a flashable CWM zip.
I'm not sure if it will work on newer builds or not though, but is working fine on currently nightly.
Warning: Backup your current /system/framework/framework-res.apk just in case something does go wrong.
Click to expand...
Click to collapse
whats the default dpi? 48?
spazzy1912 said:
whats the default dpi? 48?
Click to expand...
Click to collapse
Default DPI is 480. The DPI really has nothing to do with it.
The stock px for the navigation bar is 48px.
Juzman said:
Default DPI is 480. The DPI really has nothing to do with it.
The stock px for the navigation bar is 48px.
Click to expand...
Click to collapse
sorry i went braindead LOL
yeah, that's what i meant, thanks

Default DPI

Just wondering what the default is on stock sony firmware as I have installed but everything looks too big.
Checked build.prop and is set to 480.
Sent from my C6903 using Tapatalk
480 is default change to 440 or 420 for a better view
i changed it to 338 which lets me have a phablet in the costume of a phone !!
NiM72NiK said:
i changed it to 338 which lets me have a phablet in the costume of a phone !!
Click to expand...
Click to collapse
480 - Z1
412 - Z2/3
360 - Z Ultra
That's all I know hope this helps. 388 is too small for my 13 year old hands.
Also I'm 13 if you are wondering
What would be the setting to have calendar and gmail appear in tablet mode?
NiM72NiK said:
i changed it to 338 which lets me have a phablet in the costume of a phone !!
Click to expand...
Click to collapse
can someone explain on how to change the DPI?
danieldp1990 said:
can someone explain on how to change the DPI?
Click to expand...
Click to collapse
You have to edit build.prop file in system folder
Is it possible to change size of the icons? (stock ROM, stock launcher)
danieldp1990 said:
can someone explain on how to change the DPI?
Click to expand...
Click to collapse
use a root browser , go into /system/build.prop and edit the value of line below from 480 to whatever you like:
Code:
[B]ro.sf.lcd_density=480[/B]
Kyrius said:
You have to edit build.prop file in system folder
Is it possible to change size of the icons? (stock ROM, stock launcher)
Click to expand...
Click to collapse
it can be done by Gem Xperia Xposed. simply increase the icon size
i use 338 dpi and 107% icon size.. perfect experience

request the feature to change the LDC density.

can any one give the feature to change multiple LCD density in android one on Android 6.0...?:good:
You have to wait. You didn't need to create this thread.
Or you can find apps that do that.
Using some root file manager,edit build.prop there you would find someting like ro.lcdensity=240 change that value to your liking and reboot.
if are rooted then just install kernel auditor and go to build prop and search for lcd density and change to desired setting
Or maybe... Go to terminal
Type Su
Grant root permission
Type wm density 160
160 can be changed to any value you like
I was helped out by @aureljared on this matter so thanks to him
Sent from my A0001 using Tapatalk
Change resolution or dpi
vjtigas said:
You have to wait. You didn't need to create this thread.
Or you can find apps that do that.
Click to expand...
Click to collapse
NO ROOT Required
U can Do it without root also default DPI of android one is 240....
U can change through ADB Commands
adb shell wm density 180
You can change the 180 value as u like the higer the value the smaller resoultion the less the value the higer the resolution
dont go below 120

How to change LCD Density

So I flashed the TP Anerixic ROM and I find that the LCD density is 240. I want to change it to 320, Do I have to install a Mod or edit the Build Prop file??
Can someone please help?
edit the build.prop and reboot
Gesendet von meinem Moto G 2014
sagar846 said:
So I flashed the TP Anerixic ROM and I find that the LCD density is 240. I want to change it to 320, Do I have to install a Mod or edit the Build Prop file??
Can someone please help?
Click to expand...
Click to collapse
Just textdroider for setting dpi
root your phone edit build.prop and reboot.

Categories

Resources