build. prop tweaks... lists of working tweaks - AT&T LG Optimus G

Please post what tweaks you have done and what tweaks you would like directions for.
ro.radio.network mode = enable (allows us to change network type) LTE to 3g/2g from setting network menu now - multiple source please post your favorites...
has anyone changed the LG.nfc props to see if we can get the ISIS AT&T sim to work... I know the sg3 and Sony TL are both ISIS ready... What is missing in LG.
anyone changed density... I'm crashing at 240... What is lowest safe value?
Sent from my LGOG

The dpi is about 320, so it would probably be closer to that, since 240 was used on smaller screens with wvga resolution.
Sent from my SPH-D700 using Tapatalk 2

Related

Modify Dalvik HeapSize and Lcd Density

Modifying the LCD density of your screen will provide HUGE REACTIVITY GAIN to the tablet
We can also tweak Dalvik heapsize for large application
Both are editable using software but they're also properties on the build.prop :
- dalvik.vm.heapsize
- ro.sf.lcd_density
Does editing this properties is enough for the Folio follow or do we have to make much complex operations ?
I there, is this fix already implemented or has to be done manually?!?
I've implemented them using FolioWidget rewriting build.prop.
Not sure the folio take care of it.
But it seems that's is not required by users so i'll wipe them
Sol Ido said:
I've implemented them using FolioWidget rewriting build.prop.
Not sure the folio take care of it.
But it seems that's is not required by users so i'll wipe them
Click to expand...
Click to collapse
I dont understand what u mean.
ps: have u read my pm?
Sol Ido said:
I've implemented them using FolioWidget rewriting build.prop.
Click to expand...
Click to collapse
density of 120 works quite fine here now.. with old market app, there was a problem with 120 but that seems resolved now with new market app..
and yes, somehow screen and browsing seems to work better? or is it just the bigger picture giving a nicer resolution of browsing?
All resolution are good. If you have a lot of items on the screen lower density is best.
But by using something like 180 you get a lot of visibility. Since i've developped a lot of complex widgets, it's my favorite one.
Using a density >120 will get you less data to manage on the screen and you can feel the gain ! i'm using multipicture and a lot of complexes widgets and there's not fillrate lag at all.
I was quite surprised with this benefits.
My purpose is that those options can really feet somes users needs. VM heap tricks like the one you found on cyanogen helps on huge application like PDF readers.
But even after editing those properties on the build.prop they are not taken into account. Maybe because of the previous installation i've done. So i'm looking to better understand how to override android properties.
I'm not sure how android handles non-default values for this property.
You should try with one of these:
120 (low-density)
160 (medium-density, Folio default)
240 (high density)
Depending on how this is handled, setting a density different than that may result in broken applications (depending on how the layouts are coded)
Using the LCD DEnsity application i confirm that all resolution are compatible with the folio
Maybe some application will have a bad behavior ! so we've to be able to change the density
metuskale said:
I there, is this fix already implemented or has to be done manually?!?
Click to expand...
Click to collapse
This is no fix, as there are no real issues with these things. Its only a matter of tweaking the folio to your best personal use. They have to be implemented manually.
Shouldn't the dalvik heapsize fix the sound problem with some avi files?
I'm using the foliomod 1.3d, foliowidget works, but some avi files arn't giving me sound
Hello, could someone tell me how the default value for the heapzize is, please? There is only 16, 24 and 32 to choose, but I read something about 64!? How can I choose this value or get back to default?
Thx
Tom
Edit: solved!

Rom for multiple dpi settings?

Ive edited the Build.prop file to change the lcd density; works great. Just wondering if there's a ROM out there that supports the actual change of DPI settings without altering the look of apps (ex. camera, calendar, etc.). I recently switched from Pongster's Hyper Droid for my HTC HD2, his ROM supports all DPI settings, is there any ROM for the GS2 that is similar? Thanks
Well apps are designed for specific resolutions. Changing the dpi actually makes your phone have an out of the ordinary resolution, resulting in misaligned graphics in certain apps.
I had liked a higher resolution on my sgs2, too..
Sent from my GT-I9100 using XDA App
Hyperdroid introduced 167 dpi rater than usual resolution. But this is a stock rom not an htc with sense. I tried to change dpi on my hd2 like hyperdroid but it always failed. I suppose this could be the same with touchwiz and all samsung apps. I hope that once cyanogen will produce its own firmware, we be able to find this enhancement on sgs2 too.

Android 4.4.2 KOT49H Google Play Edition Optimum-Fail Safe DPI Advice

[[MODS-Please move to Right Section if needed, Sorry if posted in wrong section]]
I have been trying to get used to the DPI adjustments on the GPe ROM. It appears that the default DPI is set at 400 on install but using ROMToolBox (You can use your favourite app to change DPI), I was able to tweak it to the most optimum number and concluded that DPI 289 is the most comfortable to the eye and compatible with Apps. I went all the way down to early 210s and tracked it all the way up but could not find any DPI better than 289 that accommodated the application options menus, the operation of the camera on the default GPe Lock Screen and the much nicer arrangement of the icons on the App Drawer.
You can off course try to experiment with different setups and share your findings but I think I am on to something. Enjoy the Post!
AWFRONT said:
I have been trying to get used to the DPI adjustments on the GPe ROM. It appears that the default DPI is set at 400 on install but using ROMToolBox (You can use your favourite app to change DPI), I was able to tweak it to the most optimum number and concluded that DPI 289 is the most comfortable to the eye and compatible with Apps. I went all the way down to early 210s and tracked it all the way up but could not find any DPI better than 289 that accommodated the application options menus, the operation of the camera on the default GPe Lock Screen and the much nicer arrangement of the icons on the App Drawer.
You can off course try to experiment with different setups and share your findings but I think I am on to something. Enjoy the Post!
Click to expand...
Click to collapse
wrong section bro,btw try set to 290.
Agree. I've set mine to 290 as well
Sent from my C6806_GPe using xda app-developers app
not GPe, but I have SlimKat set to 280, might just tyr 290 to see what the fuss is about
EDIT:
No real difference at 290 compared to 280, except that chrome popped out of tablet mode at 290
I've used all my android phones till now (galaxy nexus, xperia z and now z ultra) at tablet LCD density (half the default setting) - 160 for ZU, rotation locked on landscape, with large font size and at times custom font types too.
Try DPI 260 its perfect
jutley said:
Try DPI 260 its perfect
Click to expand...
Click to collapse
Thanks for the share but as I stated in my original post, if we want to enjoy using our XZU at its best as a GPe ZU, then the lowest DPI we should go for is 289 for the following reasons; Lock screen is intact with camera shortcut visible, Applications Drawer is more unified and certain applications are better handled with their options/menus visible. At DPI 260 The UI is broken, lockscreen is not complete and applications with menus have their menus missing i.e try RealCalc to see what I mean.
I would really like to hear from anyone who can go much lower than the DPI of 289 and share their findings as to whether the above issues could be experienced. If not I really want to push it as low as possible to get the best out of the XZU screen real estate without compromising stability and completeness of the UI features.
AWFRONT said:
Thanks for the share but as I stated in my original post, if we want to enjoy using our XZU at its best as a GPe ZU, then the lowest DPI we should go for is 289 for the following reasons; Lock screen is intact with camera shortcut visible, Applications Drawer is more unified and certain applications are better handled with their options/menus visible. At DPI 260 The UI is broken, lockscreen is not complete and applications with menus have their menus missing i.e try RealCalc to see what I mean.
I would really like to hear from anyone who can go much lower than the DPI of 289 and share their findings as to whether the above issues could be experienced. If not I really want to push it as low as possible to get the best out of the XZU screen real estate without compromising stability and completeness of the UI features.
Click to expand...
Click to collapse
220 dpi definitely starts to break the UI on slimkat where 280 or 290 (camera on locksceen fails at 280 but works at 290) is good for most apps that I use, I then use app settings and bump a few apps down to 220-240 (gmail etc)
How on earth are you capable of doing anything with a DPI under 200? I can't imagine getting anything done with that kind of DPI when I'm walking, or even standing up. 320 (stock) is in my opinion the best since all UI elements are properly sized and they can be tapped on without having to aim for anything.
Sent from my C6833 using Tapatalk

[INFO][HOWTO]Using Lower LCD DPI density to get more screen space

CM12.1 support DPI adjustment natively (if you see some apps still show bigger font, then try modify the build.prop to same value, this may help.)
========================
B320/B322 update screwed up below DPI adjustment. Thanks @medwatt testing, see #45 for details. For values like 240 or 260, the phone is completely blank, and if you do 'adb shell logcat *:E', you can see the resource not found error all over the place.
========================
Edit on July 3, 2015:
On Lollipop B309, the ro.sf.lcd_density is in build.prop already and set to 320, we can change it to smaller value: (make a backup first)
Code:
ro.sf.lcd_density=240
you can use any number between 240 to 320. Save then reboot. (Thanks @ArkAngel06 point out this entry still works)
Then everything is working fine. No expose needed and didn't see any big problem so far.
One problem we noticed is stock 'Browser' app FC, pls use your favorate 3rd party browser instead. (The one i currently use is boat browser)
========================
Following is original post for JellyBean 4.3
===Normal disclaims applies, be careful and know how to use adb to restore /system/build.prop before you try this=============
You phone may brick if this file got corrupted.
ROOT is required to change the LCD density.
Today trying to play around the DPI of display, and noticed the stock value is 320:
Code:
getprop | grep dens
[ro.sf.lcd_density]: [320]
But our 720p display native DPI is 240. That's why all the stuff display so big??
Anyway, I backed up /system/build.prop, and play a little bit.
I recommend simply use Root Browser with "RB Text Editor" to do the task. Other DPI changer app may work and convenient, but it is more risky and may do some change unknown to the phone. Due to lack of backup/restore recovery right now, I prefer manually editing the file myself.
Adding following to the end of /system/build.prop.
Code:
ro.sf.lcd_density=264
For some different varies like Consumer Cellular version, or MT2L05 version, you can try following if above doesn't work:
qemu.sf.lcd_density=264
Not sure it is a bug or what, when I use ES file explorer to edit the file, If I select edit mode right after open the file, it won't scroll to the end of file. I have to scroll to the end first in view mode, then select edit mode. Anyway, Root Browser editor works without any problem.
Following is some test result:
Code:
______________ System UI________ Settings__________ Gallery
180__________force close
200______________ok____________ force close______ force close
220______________ok____________ force close______ force close
240(native)______ok____________ force close______ force close
260______________ok____________ force close______ force close
264______________ok________________ ok____________force close
280______________ok________________ ok____________force close
320(stock)______ ok________________ ok________________ ok
Also, for all DPI less than 320, the stock lock screen shortcut is not displayed properly.
I think I will stick with 280 (update, now I am using 264) for a few days and see if I found more problems. And it should be easy to find an alternative gallery app.
The smaller font and everything actually make the display more clear and sharp
PS. I know there is font size in display settings, but the DPI change will make system zoom everything based on this new display density.
Thanks aragon257 and others feedback, some info from below is collected from the replies. Thanks.
MORE INFO/UPDATE:
. There is Exposed framework modules (like app settings) to do per app DPI settings. Please see end of this post for more info.
. The app force closing caused by lower DPI is purely software (view layout arrangement) issue, so lowering DPI will not do any harm to hardware.
. List of Apps that Force Close. I list them from higher DPI to lower DPI, The apps that crashes in higher DPI will also crash in lower DPI.
DPI 264 or 280: Currently I am using 264.
Lock Screen: No crash here. The app short cut moved to center of the circle, and requires less distance swipe to unlock.
Gallery (Also affecting camera since it start Gallery when you view pictures)
Alternative: "Galleray KK" and "Camera KK" from play store works pretty good, though it is Ads supported.
DPI 240:
Settings
Phone app when receiving calls.
Use Xposed Framework
OK, set DPI to 240 in build.prop, I need use Xposed module "App Settings" to set following App DPI to higher value to make the phone fully work:
Code:
Gallery(com.android.gallery3d): 297 (dp: 320x480)
Phone(com.android.phone): 264
Settings(com.android.settings): 264
SystemUI(com.android.systemui): 264
This number is set to lowest possible value, of course you can set to 320, then related apps will be bigger.
Please see attachment for some screenshot: (Left is stock 320 DPI, right is 264 DPI)
Thanks for doing all the research here
Use xposed and install app settings. Use it to give those apps that crash the default DPI. Just tried working great. And thanks about the tip of adb build.prop backing up.
Running at 240 DPI here.
Edit: Play store wouldn't download anything until I cleared the cache.
Edit again: Actually viewing images and trying to use the camera causes the gallery to crash... Ill fix it
FINAL Edit: Installed the kitkat camera and gallery. I had to unisntall the old gallery first. This works for me
Great, that xposed module is pretty cool, but for now I must resist as we don't have recovery yet
BTW, I have updated first post to correct the System UI FC number, it is 180, not 220. ie, DPI can be as low as 200 and the phone is still usable. So, native 240 is a pretty safe value.
Also, the "Huawei home" FC start showing up from 220 and below, though I am using Nova launcher.
Cheers.
I was having problems with incoming calls crashing the phone app. So back to 320, but using App Settings to change my downloaded apps to 240
Admired by this thread:
http://forum.xda-developers.com/galaxy-nexus/general/info-official-galaxy-nexus-lcd-density-t1392089
Call me bored, today I have tried more DPIs, and found 264 is the lowest number that Settings is working. Since the crashing is just cause by GUI view arrangement issue, nothing to do with hardware etc. So I will stick with 264 for now.
For the past few days with settings 280, I only noticed gallery is the problem. I didn't try too much widget/apps. Everything else I tried works pretty good.
Please refresh my memory, is lowering the DPI making the image smaller? If so, im interested.
yes, everything (font,icon,layout)will be smaller. but image actually maybe different story. try and see yourself!
so what apps are better in tablet mode for me to try?
Bobvark said:
so what apps are better in tablet mode for me to try?
Click to expand...
Click to collapse
I didn't use any particular tablet mode etc stuff, the lower DPI gives me more space asset, thats all.
xordos said:
I didn't use any particular tablet mode etc stuff, the lower DPI gives me more space asset, thats all.
Click to expand...
Click to collapse
ok, so Chrome, gmail, what would be good DPI for those? I'm a little worried about f'n up my phone and don't just want to do trial and error.
Is 240 the standard you all are using?
Bobvark said:
ok, so Chrome, gmail, what would be good DPI for those? I'm a little worried about f'n up my phone and don't just want to do trial and error.
Is 240 the standard you all are using?
Click to expand...
Click to collapse
264 or 280 should be safer. 240 the settings app wont work.
Added some screenshot to the 1st post.
I wanna mess with this later
aragon257 said:
I was having problems with incoming calls crashing the phone app. So back to 320, but using App Settings to change my downloaded apps to 240
Click to expand...
Click to collapse
ok, now with a twrp backup taken, I installed xposed and now i got exact same problem. 240 is really sweet dpi, even the lock screen layout is good.
I tried complete delete phone.apk, and contacts.apk, but looks like not easy to find a good replacement. other dialer app from play store still requires these two apks. And i checked my other phone 4.3 rom, they force close. will continue to the search.
Have you tried it with the xposed programs? I know it worked for gallery but not sure for settings.
oncouch1 said:
Have you tried it with the xposed programs? I know it worked for gallery but not sure for settings.
Click to expand...
Click to collapse
Thanks. Didn't try gallery with app settings module yet. For 240 dpi, call out/in problem is what I am focused on right now.
Was trying app settings with 240, I set phone dialer etc. at stock setting but forgot had face lock so when I restarted, crash due to camera (what a [email protected]!) Thank you guys for TWRP so I could restore! . On vacation and no PC to try and adb to modify build.prop.
Sent from my MT2L03 using XDA Free mobile app
xordos said:
Thanks. Didn't try gallery with app settings module yet. For 240 dpi, call out/in problem is what I am focused on right now.
Click to expand...
Click to collapse
yes, with exposed module, at 240 dpi, gallery/camera works fine, settings also worked, only phone app still FC. so now i am at 264, and use exposed to fix gallery.
Silly question, app settings didn't work on dialer?
oncouch1 said:
Silly question, app settings didn't work on dialer?
Click to expand...
Click to collapse
when calls come in, phone apps FC when dpi is 240 ( and app settings use 320 for com.android.phone)
EDIT:
OK, Maybe this defeat the purpose, set SystemUI to 264 resolve the incoming call problem. The incoming call crashed the phone app because the StatusBar trying to get a phone icon resource but failed.
To summary, In build.prop DPI set to 240, I need use Xposed "App Settings" to set following App DPI to higher value to make the phone fully work:
Code:
Gallery(com.android.gallery3d): 297
Phone(com.android.phone): 264
Settings(com.android.settings): 264
SystemUI(com.android.systemui): 264
This number is set to lowest possible value, of course you can set to 320, then related apps will be bigger.

[GUIDE] Change Screen Resolution [Performance Tweak][CM/AOSP]

>Change Screen Resolution<
Introduction:
I'm going to write this guide to teach you how to change the Screen Resolution of your Xiaomi Mi3/Mi4 AOSP/CM Based ROM to improve the graphics performance of your Mi3 without stressing your CPU/GPU while playing games.
What you need to Download:
Resolution Changer by NoMone:
https://play.google.com/store/apps/...apk&pcampaignid=APPU_1_TXl1VcrLFoWB8QXozIGIBA
Root Browser:
https://play.google.com/store/apps/...ser&pcampaignid=APPU_1_oXl1VczIG4_s8AX7-YLQCQ
Note: Default Screen Resolution of Xiaomi Mi 3 is 1080x1920FHD @480 DPI, well what we are going to do is Change it into 720x1280HD @320 to improve performance. (Don't worry about getting the icons bigger, the reason why we have to reduce the DPI on the Build.prop is to avoid glitches and make the Icons and UI at the normal size when changing the resolution, because using the Resolution Changer alone will cause some glitches on other apps )
Steps:
1. Open Root Browser; and find /system/build.prop and open it using RB Text Editor.
2. Find ro.sf.lcd_density=480 and change it to 320.
3. Click Save.
4. Open Resolution Changer; Enter 720 Width, 1280 Height, 320 DPI
5. Click Apply and wait for it to change.
6. Click Yes to Confirm and Skip on the next dialog.
7. Now exit the app and Reboot.
After rebooting, you'll see that you've changed the Screen Resolution to FHD>HD. :good:
Congratulation, to prove it do an Antutu Benchmark test and you'll see the difference. :good:
Additional Info:
(OPTIONAL IF YOU'RE USING CUSTOM DPI ON FULL HD)
If you were using a custom DPI on FULL HD for example;
You're using 400 or 380 or 370 on 1080x1920FHD Resolution,
Do these to properly change resolution to avoid getting the UI or Icons Bigger than Normal.
Example;
If you are using 400DPI on 1080x1920FHD.
400÷3=133DPI
400-133=267DPI
so the right DPI that you're going to use would be; 267DPI on 720x1280HD PLEASE, DONT FORGET to CLICK THANKS!​
Everything is working almost perfectly. Some icons are larger than they used to be. But that wasn't problem. Real problem is that SwiftKey keyboard didn't scale. So I had to revert back to Google original keyboard to reset resolution back to 1080p
Sent from my MI 3W using XDA Free mobile app
Silac_8 said:
Everything is working almost perfectly. Some icons are larger than they used to be. But that wasn't problem. Real problem is that SwiftKey keyboard didn't scale. So I had to revert back to Google original keyboard to reset resolution back to 1080p
Sent from my MI 3W using XDA Free mobile app
Click to expand...
Click to collapse
Oh I forgot to write something about Swift Keyboard, Sorry since I used Google Keyboard. but aside from Swiftkey everything is fine :good:
I have done this years ago. Not only CM/AOSP but all rooted phones.
Thanks for putting some guide though. :good::fingers-crossed:
bluerain28 said:
I have done this years ago. Not only CM/AOSP but all rooted phones.
Thanks for putting some guide though. :good::fingers-crossed:
Click to expand...
Click to collapse
I wrote this guide for those who are confused and experiencing glitches when using the Resolution Changer alone and of course for the beginners
added additional info.
I just noticed. I used 294 DPI for 720x1280
bluerain28 said:
I just noticed. I used 294 DPI for 720x1280
Click to expand...
Click to collapse
Alright! ?
Initially tried this with MIUI v5, turned out to be very bad. The icons became very large and going to back to native resolution didn't help either. Fortunately I had nandroid backup.
Later I tried it on MIUI 6, it worked!
Some glitches are there:
- On recent apps screen
- camera effects selection screen
- Calender and clock icons turned invisible
- Minor glitches in clock app
Otherwise everything looks good, and performance bump is noticeable. Excited to find out how much it improves battery life.
Thanks for sharing.
pra300 said:
Initially tried this with MIUI v5, turned out to be very bad. The icons became very large and going to back to native resolution didn't help either. Fortunately I had nandroid backup.
Later I tried it on MIUI 6, it worked!
Some glitches are there:
- On recent apps screen
- camera effects selection screen
- Calender and clock icons turned invisible
- Minor glitches in clock app
Otherwise everything looks good, and performance bump is noticeable. Excited to find out how much it improves battery life.
Thanks for sharing.
Click to expand...
Click to collapse
No problem
that's why it's for CM/AOSP Based ROM but I'm glad that it worked for you though there are some glitches.
Hi im using a a33 tab with screen dpi 160 and 480x800 resolution. Can I change this to higher resolution and dpi?
sent from xda app in my s710 using tapatalk . (*゚▽゚)ノ
andywoody12 said:
Hi im using a a33 tab with screen dpi 160 and 480x800 resolution. Can I change this to higher resolution and dpi?
sent from xda app in my s710 using tapatalk . (*゚▽゚)ノ
Click to expand...
Click to collapse
You can but, I won't recommend it because it would just stress out the processor and gpu of that low-end tablet, just leave that be.
Better use gl tools
While everyone gets larger icons,i am getting small icons,small screen,and all the app including resolution changer itself says the current settings is 1080x1920 with 320dpi.
Where am i doing it wrong?
I am on cm12 latest nightly.
same problem as Jongla here, running the same CM 12 nightlies. I guess the problem is that resolution changer doesnt change anything after you apply, current settings are kept as FHD res. Maybe try a different app to do it.
QQboss said:
same problem as Jongla here, running the same CM 12 nightlies. I guess the problem is that resolution changer doesnt change anything after you apply, current settings are kept as FHD res. Maybe try a different app to do it.
Click to expand...
Click to collapse
Try this method.Its easier and works just fine.
http://nexus5.wonderhowto.com/how-t...xus-6-by-lowering-display-resolution-0159881/
thanks buddy, this one works like a charm
cool trick..
It's become blurry, not clear like before
Guys, if you're using a CM rom, just install Xposed and install the App Setting module. Then, you just choose the app, turn on the custom settings, choose the resolution and dpi you want, and the app will run with those defenitions without having to mess with the entire UI on the device...

Categories

Resources