[Q] build.prop editing? - T-Mobile Samsung Galaxy Note II

I'm having issues editing the build.prop file. For example, changing lcd density from default 320 to 160 yielded no results. I re-open build.prop, and the changes I made are still there. Something seems to be overriding the changes...any ideas?
EDIT: I thought I was on the Q/A board, my bad. Please move B.Jay when you get a chance
EDIT 2: Figured it out, there are 2 "ro.sf.lcd_density=360" lines by default, and the top most was overriding the one under ADDITIONAL_BUILD_PROPERTIES.
Not a good idea to set density at 160, system UI and Samsung keyboard crashes endlessly.

LvDisturbed1 said:
EDIT: I thought I was on the Q/A board, my bad. Please move B.Jay when you get a chance
Click to expand...
Click to collapse
Done.

Related

Modifying DPI/density in build.prop

Has anyone tried modifiying the ro.sf.lcd_density from the default value of 240 to something else? like 300? If so, what were the results?
# density in DPI of the LCD of this board. This is used to scale the UI
# appropriately. If this property is not defined, the default value is 160 dpi.
ro.sf.lcd_density = 240
freeza said:
Has anyone tried modifiying the ro.sf.lcd_density from the default value of 240 to something else? like 300? If so, what were the results?
# density in DPI of the LCD of this board. This is used to scale the UI
# appropriately. If this property is not defined, the default value is 160 dpi.
ro.sf.lcd_density = 240
Click to expand...
Click to collapse
its fairly easy to change if you have write access to system.
experiment with the value in /system/build.prop and reboot.
i dont know much about DPI so i can't give any great suggestions ... perhaps somebody more familiar with resolutions and DPI can get some more valueable input? or google DPI android and perhaps other people have experimented on other phones?
I played with this a lot on my Nexus, and while it does make stuff super tiny, and you can fit way more text on screen, a lot of UI elements don't draw correctly. Leading to a rough user experience.
Fun to play with, but unfortunately, unless you change it to one of the Android-standard DPI settings, you probably won't be too happy.
ultimind said:
I played with this a lot on my Nexus, and while it does make stuff super tiny, and you can fit way more text on screen, a lot of UI elements don't draw correctly. Leading to a rough user experience.
Fun to play with, but unfortunately, unless you change it to one of the Android-standard DPI settings, you probably won't be too happy.
Click to expand...
Click to collapse
Heh, figured. I remember a program doing this on Windows Mobile as well. Ineresting. I wonder what the next standard setting is after 240? 160, 240, 320? :-D
We have a giant screen so maybe we can actually do something with this...any takers?
I'd love to, but I don't want to have anything broken.
/pansy
good call, OP! Defly goes back to android on my Vogue..anyway, I went ahead and tried a few densities and I'm running 218 ATM. Makes it a little crisper w/o messing too much up.
*Note: apps seem to remain relatively unaffected minus a few relics here n there while widgets, mainly Sense widgets, can get pretty distorted. I'm using ADW Launcher so I'm not hurtin atall
KERKEDAGAIN said:
good call, OP! Defly goes back to android on my Vogue..anyway, I went ahead and tried a few densities and I'm running 218 ATM. Makes it a little crisper w/o messing too much up.
*Note: apps seem to remain relatively unaffected minus a few relics here n there while widgets, mainly Sense widgets, can get pretty distorted. I'm using ADW Launcher so I'm not hurtin atall
Click to expand...
Click to collapse
Nice. You know that 240 is what HTC set it at right? 218 is kind of going down lol. You should try the next standard step up, which is 320
Just to let you know, going higher will make everything bigger. I find 200 to be ideal for the EVO. Though Sense Rom's have problem if you change the DPI. CyanogenMod does not.
ChrisDos said:
Just to let you know, going higher will make everything bigger. I find 200 to be ideal for the EVO. Though Sense Rom's have problem if you change the DPI. CyanogenMod does not.
Click to expand...
Click to collapse
I've never heard that before, but I don't Sense, what goes wrong in Sense when you change the dpi?

[INFO][HOWTO] Official Galaxy Nexus LCD Density Modding Thread

***REQUIRES ROOT***
This thread will serve as a discussion for modifying the LCD Density of the Samsung Glaxy Nexus. Stock density is 320 dpi, and the preferred modded density is 240 dpi. Please feel free to discuss lcd density, and notify me of anything you want added to the list.
Why modify the lcd density of your phone? Simple answer: more screen real estate.
1. How to modify you lcd density
Note: You can always go back to 320 dpi at any time by following these same steps and putting 320 back in for 240!
240 dpi is the recommended modded dpi for the Galaxy Nexus. You can however set it to whatever you want. Just know that many dpi's will cause the on screen buttons to disappear, and even possibly cause the launcher to crash. In both cases you can use the adb method to restore to 240 or 320.
241 dpi is also a good number to try. It fixes the problems some apps have when running at 240 dpi. Credit goes to g33k3r. However it will cause market incompatibilities. Read #6 to fix this.
246 will fix the contact widget, and quick contact, but it will use the old style contact info which shows a large contact image above their info, not small and to the side. Credit goes to maddler.
250 dpi OR 260 dpi OR 280 dpi are also good values if you would like a smaller than stock value, but 240 is too small for you.
Method 1 (Using an app):
Download LCD Density Modder (Free) / LCD Density Modder Pro from market. Set density to 240 or 241, apply, then reboot. There are multiple different apps that can change your dpi, but this app is guaranteed to work on the Galaxy Nexus.
Method 2 (Modify a file):
Using Root File Explorer or a similar program, modify /system/build.prop file (must mount /system as r/w).
Replace:
ro.sf.lcd_density=320
With:
ro.sf.lcd_density=240
Save and reboot.
Method 3 (Using adb):
adb pull /system/build.prop C:/build.prop
In build.prop, replace:
ro.sf.lcd_density=320
With:
ro.sf.lcd_density=240
adb remount
adb push C:/build.prop /system/build.prop
Reboot phone.
2. Apps where UI is different on 240 dpi (for better or worse, ui elements have been rearranged, but none are broken)
Launcher: Home screen icons are still 4x4 and squished into the center of the screen. App drawer and Widget drawer do not fill. There is a mod that fixes this in this thread: FIX HERE
Market: Now has 2 columns instead of one when listing apps.
Gmail: Quick access icons have been romved from the bottom and placed on the top. Only first two icons are visible, other are collapsed into the drop down menu.
People: Contact info now has a two column layout: a small icon of contact on left (static) with all of the contact info as a scrolling pane on the right (no visible divider). Favorite contact icons are much smaller.
3. Apps where UI is broken, but still useable
Sports Tracker: Some interface items dont stretch to fill the screen.
ADW /ADW Ex Launcher: There is a blue line and a menu icon above the homescreen at all times.
Speedtest.net: App shows up centered on screen, not filling whole screen.
Kindle: It still works but the text is now centered in the middle and there is a large amount of paddling around it.
4. Apps where UI is completely broken
Music: App displays incorrectly at 240 dpi. Run at 241 to fix this
5. Android UI glitches
Sometimes when selecting text the menu bar on the top of the screen will have a weird blue streak across it.
Stock ICS keyboard the popup when you press a key seems like it gets clipped off a little on the bottom.
Clicking the picture of a contact either from the people app, or from a 1x1 contact widget you no longer get the quick access popup, instead it is now the person's contact picture blown up to full screen and half cut off on the right side.
6. Market apps incompatable with device (according to market)
None that I know of. Since 240 dpi is a standard dpi for most android phones, I don't envision very many apps being incompabile. If you find an app that the market say is incompatible, you can try setting your density back to 320 temporarily in order to download it.
For those with market issues on a non-standard dpi (241, 250, 260, 280 etc.), try this:
1. Boot your phone into 320 or 240 dpi mode (depending on which kind of compatibility you want).
2. Find the Market app under manage apps. Click uninstall updates, clear data, clear cache.
3. Find Market Updater under manage apps and click Disable.
4. Open Market and accept terms of service.
5. Change dpi back to 241 and reboot.
Alternatively, LCD Density Modder Pro has the ability to download and install a modded market apk to fix market compatibility issues.
Click to expand...
Click to collapse
7. Apps that crash (with possible workarounds)
Youtube: Will crash on start. Open from landscape mode! Youtube will not crash if openened in landscape mode. You can also open youtube links from the browser and other apps just fine.
8. Before and After Photos (320 dpi on left, 240 dpi on right):
***CLICK ANY SCREENSHOT TO VIEW FULL SIZE!***
Settings:
People:
Contact Info (note that the bottom bar has merged into the top bar):
Android Market:
***RESERVED***
can you provide a screenshot?
like a before/after pic.
I think this is crazy.
The stock DPI is amazing.
Get an SGSII if you want an old-school resolution or have bad eyes.
My stock DPI is absolutely beautiful...
ericshmerick said:
I think this is crazy.
The stock DPI is amazing.
Get an SGSII if you want an old-school resolution or have bad eyes.
My stock DPI is absolutely beautiful...
Click to expand...
Click to collapse
You are completely missing the point. On Android when you change the DPI, you are essentially telling android the size at which to "scale" all objects on the screen. Notice how the Galaxy Nexus has a 720p screen yet you can only fit 4x4 icons on the desktop like the Galaxy S2? Well that is because the 320 dpi is telling android to scale those things bigger. Setting it to 240 dpi will make everything smaller and give you more screen "real estate". The resolution is still 720p.
You mention having bad eyes, but when you lower the dpi you actually need GOOD eyes because everything is smaller and harder to read if you have bad eyes.
paOol said:
can you provide a screenshot?
like a before/after pic.
Click to expand...
Click to collapse
I am going to post some screenshots later today.
YouTube crashes on launch for me when set to 240 DPI. I have not performed a wipe, though I have tried wiping the settings and cache for the app.
LadFromWales85 said:
YouTube crashes on launch for me when set to 240 DPI. I have not performed a wipe, though I have tried wiping the settings and cache for the app.
Click to expand...
Click to collapse
Ah yes, thanks for reminding me. YT crashes for me as well, however if you have the widget you can click one of the videos and it will open that video. You can search for videos from there, but you cant access the home page for some reason.
EDIT: It turns out if you open youtube in landscape mode it will work!
Well thx for the Tip with the density. But however...When I start DPI Changer I get an error "Unable to read configuration file"
Any ideas?
Sent from my Galaxy Nexus using My Thumb...
Kizura said:
Well thx for the Tip with the density. But however...When I start DPI Changer I get an error "Unable to read configuration file"
Any ideas?
Sent from my Galaxy Nexus using My Thumb...
Click to expand...
Click to collapse
Are you rooted? This requires root.
for sure iam rooted...it was the first thing i have done... and i have ARHD Custom rom installed.
Sent from my Galaxy Nexus using xda premium
Kizura said:
for sure iam rooted...it was the first thing i have done... and i have ARHD Custom rom installed.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Do you have Root File Explorer? You can use the second method i listed to change the build.prop file. You can also use adb to pull the file locally, edit it, and push it back to the phone.
Oh ok then I will do it manually
I will report back soon ...I hope xD
Sent from my Galaxy Nexus
Edit: Ok this is more awesome as it was on my DHD !!!
Really thank you for that great Tip and the Help
Kizura said:
Oh ok then I will do it manually
I will report back soon ...I hope xD
Sent from my Galaxy Nexus
Edit: Ok this is more awesome as it was on my DHD !!!
Really thank you for that great Tip and the Help
Click to expand...
Click to collapse
Awesome. Make sure to check out my modified home screen launcher to get the full effect:
http://forum.xda-developers.com/showthread.php?t=1390935
Also, if you find any apps that don't display properly or something else is wrong with them (when running in 240 dpi), please post back in this thread to help inform others.
Mhh I use adb launcher... but on top of the screen is now a blue horizontal line with the three dots for options on the right side....
Will your mod take care of this? I hope you know what I mean...
Sent from my Galaxy Nexus
Kizura said:
Mhh I use adb launcher... but on top of the screen is now a blue horizontal line with the three dots for options on the right side....
Will your mod take care of this? I hope you know what I mean...
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
I have ADW Ex launcher and i see that as well. It is the default titlebar and menu system for apps in ICS. Did you experience this when in 320 dpi as well or only in 240? I haven't tested it in 320.
And no, my mod only affects the stock launcher so it will not fix your problem.
No with 320 dpi that line doesn't appear its there since I have 240 Dpi...
Tested your Launcher replacement...
Great Work
But as you said it will not fix this "line affect" in adw
Maybe in a future update in adw launcher it will be fixed.
Sent from my Galaxy Nexus
I added photos to the main post now. Click on any photo to view the original size image!
Awesome, really cool. Trying it out today to see if I like it.
Another noticed bug - if you have a contact on your home screen (single icon version), which normally pops up the quick box for the contact, this now just seems to pop up their display picture and nothing else.
I see what you mean about the contact. It also happens when in the people app and you click their picture. I added it to the first post. thanks.
I thought changing the DPI would enable the ICS for tablets UI?

[Q] ROM 4.10.12 ODJDub HD Express 2.0 - Widgets and icons small

I install this rom and is really good, the only bad things is: when i put a widget, this is too small, example, the tunein radio the buttons when i press play open the app and when i press stop is like a press play. i wanna put images to explain better but i don't now how. how i can make perfect this rom with out this issue?
realmotaro said:
I install this rom and is really good, the only bad things is: when i put a widget, this is too small, example, the tunein radio the buttons when i press play open the app and when i press stop is like a press play. i wanna put images to explain better but i don't now how. how i can make perfect this rom with out this issue?
Click to expand...
Click to collapse
the ROM may have the LCD density set too low, try downloading LCD density from the market and set it at 240 which is usually the default for most phones, including the evo... play with the density set it to different levels to see if any of them change the look of things..
evol4g said:
the ROM may have the LCD density set too low, try downloading LCD density from the market and set it at 240 which is usually the default for most phones, including the evo... play with the density set it to different levels to see if any of them change the look of things..
Click to expand...
Click to collapse
Don't do that. The LCD density is already set at 240. Any widgets you use from the market are gonna be too small. This rosie was modded to fit our phones. Normally the rosie for the tablet is 160 dpi, but that will screw up the dialer and make resizing impossible. This is a known issue for the Express and widgets. My old thread was closed due to stupid red tape, it was discussed in it, but that thread was reopened, so you can search it again for info and tips. Hopefully, when I get some time, I will ask for people to post what widgets they need resized and I can fix them for you.
Hope this was helpful.

[Q] Adjusting DPI on rooted N7?

Quick question all - On all of my android devices in the past I have used build.prop editor once rooted to adjust the DPI down to increase screen real estate. This would be particularly useful on the N7 to put it in tablet mode. However, when i adjust the density parameter downward and reboot the device, nothing happens and the value resets to default. Does anyone have any thoughts on how to fix this? Thanks!
Sorry to bump this ... anyone have any thoughts?
I changed using esfile explorer text editor. Did not get in tablet mode but did change the density.
ro.sf.lcd_density=320 was the line I modified.
bryho said:
Quick question all - On all of my android devices in the past I have used build.prop editor once rooted to adjust the DPI down to increase screen real estate. This would be particularly useful on the N7 to put it in tablet mode. However, when i adjust the density parameter downward and reboot the device, nothing happens and the value resets to default. Does anyone have any thoughts on how to fix this? Thanks!
Click to expand...
Click to collapse
Boblank said:
I changed using esfile explorer text editor. Did not get in tablet mode but did change the density.
ro.sf.lcd_density=320 was the line I modified.
Click to expand...
Click to collapse
I also use Es File Explorer to change the screen density. You have to make sure the /system is mounted as R/W. I'm running at 240dpi and like it much better than the stock 320dpi.
idk if this is related, but I heard from a guy at work that you can increase the resolution from the stock settings? not sure if I believe him, he was saying something like 4k resolution, which just sounds odd since why wouldn't they set it to that by default then.
Yes! it worked. Probably because i wasnt r/w. Thanks very much guys

Changing lcd density (DPI) problem

I'm facing an issue when changing lcd density (DPI) using build.prop editor, some widgets which was working on OP1 CM 11,12,13, are not displayed fine now. also Play store has some resolution issues, like recommended developer icon !
I tried different resolutions (380,400,420,460) all with the same results.
Any clues ?
Don't change DPI globally, that's problem-prone. Instead, install Xposed with module "App settings" and change DPI only for those apps where you want it. (Another advantage is that you even additionally have more flexible options, like changing text size or using the app's tablet UI etc.)
zorro_tmh said:
I'm facing an issue when changing lcd density (DPI) using build.prop editor, some widgets which was working on OP1 CM 11,12,13, are not displayed fine now. also Play store has some resolution issues, like recommended developer icon !
I tried different resolutions (380,400,420,460) all with the same results.
Any clues ?
Click to expand...
Click to collapse
hasenbein196601 said:
Don't change DPI globally, that's problem-prone. Instead, install Xposed with module "App settings" and change DPI only for those apps where you want it. (Another advantage is that you even additionally have more flexible options, like changing text size or using the app's tablet UI etc.)
Click to expand...
Click to collapse
I changed it globally with the app "Le DPI Changer" to 360 and don't have any problems in any app.
440 is great..
i have set the dpi to 380 and have problems in the following apps:
twitter: pictures in tweets have corrupted thumbnails
whatsapp: when you want to crop a picture, it is zoomed in very much and you cannot zoom out so you can only crop 10% of an image
imgur: corrupted thumbnnails too
music player (poweramp) cover art in player notification is zoomed
i think oxygen os handles dpi differently, as i couldnt even find dpi setting in build.prop
i hope someone can fix this bc i would like to stay on oxygen until cm ports etc have dash charging
As I said: No global DPI, but Xposed module "App settings". Then you avoid any problems.
~MaX~ said:
i have set the dpi to 380 and have problems in the following apps:
twitter: pictures in tweets have corrupted thumbnails
whatsapp: when you want to crop a picture, it is zoomed in very much and you cannot zoom out so you can only crop 10% of an image
imgur: corrupted thumbnnails too
music player (poweramp) cover art in player notification is zoomed
i think oxygen os handles dpi differently, as i couldnt even find dpi setting in build.prop
i hope someone can fix this bc i would like to stay on oxygen until cm ports etc have dash charging
Click to expand...
Click to collapse
Hmm from the four apps you mentioned I only use WhatsApp, and I just tested out the cropping of a selfie, normal picture and a gallery picture, it works fine for me.
I'm on 360dpi.
Does anyone know the stock dpi value?
numbere said:
Does anyone know the stock dpi value?
Click to expand...
Click to collapse
480
Sent from my ONEPLUS A3003 using Tapatalk
I'm noticing font is pretty big in comparison to another 1080p device I have in my possession. It's DPI is set at 420 and what I'd consider perfect.
crysen said:
I changed it globally with the app "Le DPI Changer" to 360 and don't have any problems in any app.
Click to expand...
Click to collapse
Which method in the app did you use? I moved the DPI slider in the app, applied it, rebooted, but nothing changed...
Sent from my ONEPLUS A3000 using Tapatalk
rickyx32 said:
Which method in the app did you use? I moved the DPI slider in the app, applied it, rebooted, but nothing changed...
Sent from my ONEPLUS A3000 using Tapatalk
Click to expand...
Click to collapse
Oh right, forgot to mention, use the other method, the slider also didn't work for me.
Users with issues,
try this method:
Create a file called local.prop in the root/data folder with this text in it:
qemu.sf.lcd_density=xxx
xxx = your dpi value
Permissions of that file should be:
rw-r-r--
Reboot.
I did not test it yet on OxygenOS as my device is not unlocked, nor rooted yet.
AcmE85 said:
Users with issues,
try this method:
Create a file called local.prop in the root/data folder with this text in it:
qemu.sf.lcd_density=xxx
xxx = your dpi value
Permissions of that file should be:
rw-r-r--
Reboot.
I did not test it yet on OxygenOS as my device is not unlocked, nor rooted yet.
Click to expand...
Click to collapse
That file already exists on mine and already has the desired DPI but it's not having any effect...
rickyx32 said:
That file already exists on mine and already has the desired DPI but it's not having any effect...
Click to expand...
Click to collapse
Use the Le dpi changer from google play, set dpi value and hit build.prop button. Accept it and reboot.
OP3 by TT
i tried to change dpi with ledpi and now my build.prop file is empty and broken. can someone upload build.prop from latest oxygen os please?
EDIT: default.prop in root can be used as a new build.prop in case u get the same problem as me, no need for upload
Anyone know where I can change DPI manually? I can't find the code in the build.prop. I don't want to rely on whack apps or toolkits...
Sent from my ONEPLUS A3000 using Tapatalk
rickyx32 said:
Anyone know where I can change DPI manually? I can't find the code in the build.prop. I don't want to rely on whack apps or toolkits...
Sent from my ONEPLUS A3000 using Tapatalk
Click to expand...
Click to collapse
it doesn't exist on builb.prop of OP3, I added it manually.
Code:
ro.sf.lcd_density=400
crysen said:
Hmm from the four apps you mentioned I only use WhatsApp, and I just tested out the cropping of a selfie, normal picture and a gallery picture, it works fine for me.
I'm on 360dpi.
Click to expand...
Click to collapse
i always had the cropping problem with WhatsApp using custom dpi. try to set a new profile picture. always zoomed and no chance zooming out. you have to change the dpi back to 480 to change your profile picture, but otherwise i have had no problems with 380 dpi.
My only qualm about this phone was the abnormally large text and padding in various apps, 440 dpi is a perfect adjustment, haven't seen any graphical glitches as of yet.

Categories

Resources