[GUIDE][TUTORIALS][HOW TO] Change Density-DPI: SlimKat - 4.4.2.build.3-OFFICIAL-3081 - Galaxy S II General

This ROM is wonderful, but at first I found it odd that the screen size is too small. The small icons, the lyrics and everything. I looked everywhere and most of the settings I could find was how to increase the font size, but even so the widgets and applications themselves, were still with a very small format. I searched the internet and some friends gave me this tutorial and it worked fine on my machine. I'll go to you too, but do so with caution and at your own risk. The number density of the screen is known as the DPI was raised to 182 and 222. It looks good.
With some file explorer (Es Explorer, Root Explorer, etc.) open the build.prop file located at: /system/build.prop Within this file, locate the following line: ro.sf.lcd_density=240
Value "240" is the factory original. We can change this value to we change the density of the screen. The lower the value, the greater the density for Change any value between 160 and 240 (Tested with 160 and 192) After change this line, below the line "#ADDITIONAL_BUILD_PROPERTIES" has another line equal to modified up there: ro.sf.lcd_density =240
We will comment this line, simply by placing a # at the beginning of it (this line should originally be deleted, but if you want to go back to the original DPI, should resume this line. Leaving it commented, is virtually a “backup" her. If you just uncomment it)
Save the file.
Delete the file generated by the system, build.prop.bak
Reboot the phone.
Sent from my GT-I9100 using XDA Premium 4 mobile app

Related

Need help on registry key~~~~~

need some help!!
can u ppl use PHM registry
help me to see
Under HKLM\Security\Shell\StartInfo\Start
what is the name named as for file explore and Activesync
I accident click it and not able to undo back :/
I have no "name" entry - I have Icon and Rank for them. Are these what you're after?
no i sure there is a name
named as
file explore or
Activesync
just wonder did i spell it correct.
I have keys for:
ActiveSync.lnk
with values for:
Default: Value not set
Icon: \Windows\Start_Icon_Async.png
Rank: 900000768
File Explorer.lnk
with values for:
Default: Value not set
Icon: \Windows\Start_Icon_FileExp.png
Rank: 90000078 (Dec)
I uploaded the .reg for Activesync
Download, rename .txt to .reg copy to your device and import
Cool thanks.
to check is the file explorer
rank: 899998638 ??
Actually it can be anything! The rank value is what decides where the icon will appear on the start menu in relation to all the others. The higher the value the higher up the screen.
If you set it to 1 it will be at the bottom of the screen, if you set it to fffffffff it will be at the top! So it doesn't have to be the same on all devices.

[Guide]Build.prop mini-guide

Introduction:
This is a mini-guide on some common edits to the stock build.prop to make it faster.
What is build.prop?
Build.prop is what holds the majority of the runtime flags that are used when android boots, think of it as being similar to config.sys on dos or environment variables in various OS's. It only holds variables, it cant run any scripts on it's own. Whatever is placed inside depends on android itself to pay attention to the flag and actually use it.
Entries:
debug.sf.hw
Controls hardware acceleration of some rendering commands
default value: 0
recommended value: 1
dalvik.vm.heapsize
Maximum size limit on heap for any one app
default value: 40m
recommended value: 64m(?)
media.stagefright.enable-player
media.stagefright.enable-meta
media.stagefright.enable-scan
media.stagefright.enable-http
Enables/Disables Stagefright, a method of speeding up the home screen(?)
default value: false
recommended value: true
i tried changing my default orientation to portrait by changing the value to 0, but it didnt work. can u help? gingerstreak 2.4.3
grasshoxda said:
i tried changing my default orientation to portrait by changing the value to 0, but it didnt work. can u help? gingerstreak 2.4.3
Click to expand...
Click to collapse
Look a little further down in streak general you'll see a thread about changing default orientation...the 2.4.1 flashable zip works on 2.4.3 perfetky
EDIT: heres the link... http://mirror2.streakdroid.com/manii/misc/Portrait Mod/update-portraitGS24-1.zip
Sent from my Dell Streak using xda premium
Can we put more than 64m in dalvik.vm.heapsize? something like 84m? Will it be safe?
Final5k said:
Can we put more than 64m in dalvik.vm.heapsize? something like 84m? Will it be safe?
Click to expand...
Click to collapse
From my understanding, there is a tradeoff with the size. the larger the size, bigger apps load faster, but smaller apps have issues. The smaller the size, smaller apps load better, but larger ones tend to have issues. So there has to be a happy medium.

[Q] Lollipop volume level

Ever since I installed the lollipop update for the Canadian S5 (900W8), the minimum volume levels for Media and System have been way too high.
I used to put System on the first step and it would be excellent for me. Now it is way too loud, especially when I lock/unlock phone, and type on keyboard (even with volume level of keyboard set as lowest).
Media volume level at first step is also too loud.
I don't know what was Samsung thinking (or is it Google?) but I would like it if someone knows how I could modify the volume steps amount.
I think it has to do with the mixer_paths file, not sure though.
I am rooted and running stock lollipop.
Thanks in advance.
Anyone?
I found the solution for those who are interested:
You need to be rooted.
Go to System/etc and find mixer_paths. Edit it.
In that file, search for "RX7 Digital Volume" and get to the one that is below the category Path name="speaker".
Value should be 79. I changed it to 68.
Reboot, and volume is now lower and more natural. =)
You can choose any value you want and even increase it.
There is no value 78 in that file. All values are 0 and 1
The filename is mixer_paths_auxpcm.xml
The value is 84 on my phone
Modified to 68, restarted, but no changes...
ionutmaruta said:
There is no value 78 in that file. All values are 0 and 1
The filename is mixer_paths_auxpcm.xml
The value is 84 on my phone
Modified to 68, restarted, but no changes...
Click to expand...
Click to collapse
Mine is in mixer_paths and not the one with auxpcm.
I'm running stock touchwiz lollipop.

how to change dpi for cool 1 dual

i am finding reading text on main page and applications a bit difficult. i observed through hardware info application that dpi is 480(xxhigh, xxhdpi) where as on other 5.5" FHD mobiles its normally 401 dpi.
is there some setting procedure to change it to 401 or lower?
asharma7 said:
i am finding reading text on main page and applications a bit difficult. i observed through hardware info application that dpi is 480(xxhigh, xxhdpi) where as on other 5.5" FHD mobiles its normally 401 dpi.
is there some setting procedure to change it to 401 or lower?
Click to expand...
Click to collapse
- Download any Terminal Emulator from the market and install it - Open it, type "su" (no quotes) and confirm the popup of root permissions
- Type the string
/ system / bin / wm density 420 \ n
And press enter
To return to the zoom scale just type
/ System / bin / wm density 480 \ n

Fix autobrightness scaling issues

I notice on most LOS based ROMs, the autobrightness function does not scale very well with changes in light levels. I guess the table values are a default for multiple devices and not tailored for the Moto G.
Anyway, if you want to know how to fix it, here goes.....
This mod is applicable to all ROMs for our phone.
Decompile framework-res.apk using your favorite decompiler (mine is TickleMyAndroid)
Open D:\TickleMyAndroid\_WorkArea1\_working\framework-res.apk\res\values\arrays.xml
Edit the config_autoBrightnessLcdBacklightValues values as below (these are my edited values that get you much closer to ideal)
Code:
<integer-array name="config_autoBrightnessLevels">
<item>50</item>
<item>100</item>
<item>150</item>
<item>200</item>
<item>800</item>
<item>1300</item>
<item>2000</item>
<item>3000</item>
<item>4000</item>
<item>8000</item>
</integer-array>
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>22</item>
<item>32</item>
<item>44</item>
<item>56</item>
<item>68</item>
<item>98</item>
<item>120</item>
<item>148</item>
<item>180</item>
<item>216</item>
<item>255</item>
</integer-array>
While you are at it, might as well speed up response times a bit by editing integers.xml and changing this line from 8 secs to 4. There are other timings to mess with but defaults for the rest are pretty good.
Code:
<integer name="config_autoBrightnessDarkeningLightDebounce">4000</integer>
Recompile framework-res.apk without re-signing. (Never re-sign framework or system apks)
Copy the new framework-res.apk file over the original. The phone will probably immediately reboot - this always happens if a framework file changes size - don't panic.
If the phone does not reboot, force a reboot yourself.
If the LCD brightness does not follow ambient light levels to your satisfaction, you can monitor the LCD brightness here: /sys/class/leds/lcd-backlight/brightness and use an app such as Smart Tools-Pro to monitor Lux levels. This will give you an idea what value needs to be tweaked.
I won't post a modded framework-res.apk file as it will only be valid for exactly the ROM it came from and the fun of doing your own mod and maybe learning something will be lost

Categories

Resources