[Q] Need help with updater scripts for density change - EVO 4G Q&A, Help & Troubleshooting

Could someone make or help me make an updater script to change the lcd density right after a CM nightly flash?
Right now I am changing it by the LCD Density app (and yes I know I can actually open up the ROM zip and change the numbers) but I'm 99% certain this can be done by flashing a zip right after flashing the ROM.
This thread has zips for the Legend but I'm fairly certain some adjustments would have to be made (the density number itself being changed, for one).
I'm looking for density 192. If someone is kind enough to help me learn how to make the scripts (or at least point me in the right direction) that would be awesome!

Related

Themeingg

Is it possible to theme the virtuous ROM without the need of a launcher??
It depends on what you want to do. Android is quite flexible, you can change the launcher like you said. On cyanogens rom he has a very new theme engine which allows you to change the look of the phone, but it is very new. Or the traditional way of flashing framework.zip among others to change the main pngs on the phone. Check out the theme section here, and for any other HDPI Device.
How can I flash the framework?
Just like a normal zip, make sure it is for the type of rom. A cm theme wont work on sense for example, also make sure the screen size is the same
could i extract whats my phone currently is and then edit it myself?

[Q] Theming AOKP

I'm trying to theme for the first time on 4.0.3 AOKP rom I just flashed and I've ran into a few snags. I'm using apk manager to decompile / compile / install.
1. I'm trying to change the color of the overall font in the rom and I've followed many tutorials that half-describe how to do so and haven't had any luck. For example when trying to change the color of the date displayed in the notification drop down by editing /values/styles.xml and adding my hex color code in the Date part of the file by replacing the @android/holo blue blah blah and it doesn't change the color after I recompile and reinstall to my phone. I don't even know where to begin for the rest of the system font coloring.
2. Changing the color of sliders and toggle switches I thought would be as simple as editing the images from drawable-xhdpi before recompiling. I did this for framework-res.apk (not sure if that was the right apk to edit for this) but I did and find the images I was looking to edit and all I did was change the hue values and save and replace stock images before compiling and I installed it on my phone and when it booted up the sliders and toggles were still blue.
Can someone explain to me what I'm doing wrong? I have a feeling I'm going about this the wrong way. Thanks.
I'm not expert. In fact you probably know more about this than me but my guess is that the AOKP elements are not being colored via the usual XML files. My guess is there is custom compiled code for the modifiable elements that exist in AOKP. I've been trying to find the where the source code is for the notification toggles so that I can find a way to port them to a 4.0.4 ROM but since I have no idea where I'm going and I don't know Java its like a needle in a hay stack.
anyway just thought I would put my guess out there. If anyone can shed more light on this situation then it would be helpful for i'm sure quite a few people.

Is there a way to resize software buttons?

Hi guys,
I was wondering is there a way to resize the size of the 3 software buttons, the whole black like on the bottom of the device, and make it thinner?
yes use a custom rom that has this feature (or manually flash a zip that changes it but it is highly dependent of your rom so its better to go the custom rom route)
cm10 jellybro has it.
i believe aokp has it as well.
If you're deodexed...send me your framework res.apk
And specify a size.
Default is 48, I believe.
http://forum.xda-developers.com/showthread.php?t=1844878
Like Jubakuba said, deodexed only.
What does it do to apps - that changed resolution of the screen? will they work and just fill in the space?
CoreOxide said:
What does it do to apps - that changed resolution of the screen? will they work and just fill in the space?
Click to expand...
Click to collapse
they will fully work and not interfere with anything.

Xperia S, 4.1.2, FW 6.2.b.1.96 : Changing the LCD DPI ?

Hello,
A great colleague of mine who also owns a xperia S like me
loaded SlimNasomi rom (I think 4.2.2) and did change lcd DPI.
Screen displays more info and icons are smaller. Look nice.
Is it a way to do it with official 6.2.b.1.96 rom ?
I found a thread on a forum about root'ing the phone and
updating a file build.prop in /system, updating ro.sf.lcd_density
I even found an app 'Google Play DPI Fix Tool'
Did anyone already try to play with LCD DPI's ?
Thanks. Cheers from Belgium,
Thierry
I use Texdroider DPI - it worked on stock JB, rooted.
switzerland92 said:
I use Texdroider DPI - it worked on stock JB, rooted.
Click to expand...
Click to collapse
Can I ask you how does it works?
cabi.costa said:
Can I ask you how does it works?
Click to expand...
Click to collapse
It changes build.prop to desired dpi. I use it because it's faster and it really works. I tried on stock ROM, OpenSEMC and letama's AOSP 4.3.
And what is the range of values to stay in to avoid an endless bootloop?
yes that's the question, What value did you use for. in .200 fw i used a lcd density changer soft (don't remember the name) and guess what i got endless loop. I used 244 or something like that.
I usually use 240 and I didn't have any problems with that dpi.
It is standard Android dpi so most apps work just fine. Stock ROM look good but it has some minor offsets (gradient in notification bar as far as I remember).
I have been talking about this in the themes section in an old thread. I keep seeing people have issues with the dpi apps. I personally just edit build prop manually as it is not hard. I use Anttek explorer for my file browsing and edits. I would also suggest you try Xposed framework and per app dpi module. The magic LCD number is 192 for tablet mode. If you set home to 160 it goes into tablet mode but the status bar will not combine at the bottom. There is also another xposed module that forces tablet mode and works well but is still buggy. You also loose small apps.
There is a way to force tablet mode with out the dpi change but I have to figure out how to do that and even then not sure it will actually work. Need to ask some smali experts to help me.
... and what about if in endless bootloop ? ... :crying:
You must make backup before any modifcations
Yea it is a great idea to have a backup when messing with the system. If something goes wrong you can just go back to where you started.

Question My Images are super low res

In the past I used Konabess Overclocking tool and tinkered with my SD870.
After uninstalling and reverting back to a backup image, I found that images on my manga reader were really low res. Digging through my phone, I found that my Xdpi and Ydpi were changed which incorrectly scales images on apps.
Any ideas on how to change those cause I got no lead
I think it can be done by editing the build.prop file. I did a quick google search and someone added the following lines in the file to change dpi:
ro.sf.lcd_density.xdpi=153
ro.sf.lcd_density.ydpi=153
Note that these are custom values which that person was using and not default ones.
Link to post:
(flashable zip released) Set device screen resolution via build.prop
If anyone is interested. I made a mod for cm11 that allows you to set the x and y DPI and set your device screen resolution via build.prop. I initially did this mod on the galaxy player. I can port it over to the tab 2 if anyone is interested...
forum.xda-developers.com
Thanks for the tip.
I didn't use this exact fix but I flashed the whole ROM again and that fixed it for me.
The flash didn't work the last time around but it did this time.
I guess I should stay clear of Konabess for now

Categories

Resources