[Q] ro.sf.lcd_density support on applications - Galaxy S III Mini Q&A, Help & Troubleshooting

so saw a thread about changing ro.sf.lcd_density in the build.prop file
tried it out loved the look
have now been trying to add support to a few applications so that when I set the density that I like the application can adjust easily without any issues
so have added this
<supports-screens android:largeScreens="true" android:normalScreens="true" android:smallScreens="true" android:anyDensity="true" />
into the androidmanifest.xml file in the hopes that it should work after I then sign the app using zipsigner
unfortunately it did not work
has any one else tried messing around with the lcd density and added support to apps to work with the change?

i've set density in build.prop to 190 and for some apps i'm using 'app settings' form xposed framework andeverything works fine, here's the xposed thread:
http://forum.xda-developers.com/showthread.php?t=2335219

smone. said:
i've set density in build.prop to 190 and for some apps i'm using 'app settings' form xposed framework andeverything works fine, here's the xposed thread:
http://forum.xda-developers.com/showthread.php?t=2335219
Click to expand...
Click to collapse
thanks the apps that I am trying to fix are secBrowser, secEmail and secPhone

Related

Steeldroid build.prop with SMC's camera edits

I took the build.prop from Steeldroid and added the edits from SMC's camera edit (http://goo.gl/2EC7o) build.prop so we can have both of them in one. I'm not sure what all the changes in Steeldroid are, as the change log just says, "Lots of build.prop edits". Working great on my phone, running the deodexed rom. There is also a build.prop backup file included.
Edit: Allow me to add that you will need the other 2 files and .apk posted on the SMC link I added in order for the camera edits to work.
do you have to install the modded camera app for these changes to work or just the 3 files?
mattdavis523 said:
do you have to install the modded camera app for these changes to work or just the 3 files?
Click to expand...
Click to collapse
Yes, install the apk as well. For the camera edits make sure you do everything stated in his thread, just use this build.prop if you want the additional things added in Steeldroid.

[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

[Q] resize icons?

Where in the system can i edit to resize the icons on xperia home without using exposed framework? And without using launchers?
Root, change dpi in build.prop, unroot
Thr DPI changes in build.prop changes ovelall. Is it possible to resize the icons only? Like the change icon function of Gem Experia xposed module.
Decompile system/app/Home.apk. The value would probably be in res folder.

Build.Prop Modifier/LCD density changer - Flashable Zip (Updated: 2015-05-01)

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

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

Categories

Resources