Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
knzo
Old
(Last edited by knzo; 15th August 2011 at 07:58 PM.)
#1  
Senior Member - OP
Thanks Meter 3806
Posts: 1,979
Join Date: Nov 2010
Default [TWEAKS] List of build.prop tweaks (can be applied to stock ROM)

I'll share with you the /system/build.prop tweaks I have in the upcoming Nova.

You can do this on any ROM, even on stock, you just need a file manager with root access and built-in editor. Edit this file and add/change/remove values as follows.

Here we go:

Code:
# Force launcher into memory
ro.HOME_APP_ADJ=1

# Raise JPG quality to 100%
ro.media.enc.jpeg.quality=100

# VM Heapsize; 512MB RAM = 48 is better
dalvik.vm.heapsize=48m

# Render UI with GPU
debug.sf.hw=1

# Decrease dialing out delay
ro.telephony.call_ring.delay=0

# Helps scrolling responsiveness
windowsmgr.max_events_per_sec=150

# Save battery
wifi.supplicant_scan_interval=180
pm.sleep_mode=1
ro.ril.disable.power.collapse=0

# Disable debugging notify icon on statusbar
persist.adb.notify=0

# Increase overall touch responsiveness
debug.performance.tuning=1
video.accelerate.hw=1

# Photo and video recording quality tweak
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000

# Signal tweaks
ro.ril.hsxpa=2
ro.ril.gprsclass=10 
ro.ril.hep=1
ro.ril.enable.dtm=1
ro.ril.hsdpa.category=10
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.hsupa.category=5

# Net tweaks
net.tcp.buffersize.default=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.umts=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.gprs=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.edge=4096,87380,256960,4096,16384,256960

# Disable blackscreen issue after a call
ro.lge.proximity.delay=25
mot.proximity.delay=25

# Fix some application issues
ro.kernel.android.checkjni=0

# Phone will not wake up from hitting the volume rocker
ro.config.hwfeature_wakeupkey=0

# Force button lights on when screen is on
ro.mot.buttonlight.timeout=0

# Disable boot animation for faster boot
debug.sf.nobootanimation=1

# Miscellaneous flags
ro.config.hw_menu_unlockscreen=false
persist.sys.use_dithering=0
persist.sys.purgeable_assets=1
dalvik.vm.dexopt-flags=m=y
ro.mot.eri.losalert.delay=1000

# LG flags
persist.service.pcsync.enable=0
persist.service.lgospd.enable=0
Adding some more (14/08/11) for Nova v4...

Code:
# Change ROM name
# (forgot to add this one before)
ro.build.lge.version.release=My ROM name

# Disable LG ****
# (flex must be enabled or phone app will FC) - needs moar testing!
user.feature.flex=true
user.feature.lgdrm=false
user.feature.lgresource=false
user.feature.lgpoweroff=false
user.feature.ls_event=false
user.feature.ls_normal=false
user.feature.sui=false
If anyone has some other tweaks or better values (tested of course) please do share.
The Following 20 Users Say Thank You to knzo For This Useful Post: [ Click to Expand ]
 
glasoner
Old
#2  
Member
Thanks Meter 2
Posts: 57
Join Date: Dec 2010
Thanks! I go to try with the Orange stock rom v10b.
 
nunogil
Old
#3  
nunogil's Avatar
Senior Member
Thanks Meter 271
Posts: 131
Join Date: Jul 2011
Location: Lisbon

 
DONATE TO ME
Nice Noejn.

# Helps scrolling responsiveness
windowsmgr.max_events_per_sec=150

Here I use 260 and it is very smooth and responsive. The maximum value for this tweak is 300.

# Save battery
wifi.supplicant_scan_interval=180

180 is the scan interval in seconds so you can use a lower or higher value.

Good topic
The Following User Says Thank You to nunogil For This Useful Post: [ Click to Expand ]
 
digitalfrost
Old
(Last edited by digitalfrost; 9th August 2011 at 09:13 PM.)
#4  
Member
Thanks Meter 12
Posts: 72
Join Date: Sep 2010
[QUOTE=Noejn;16487272]
Code:
# Raise JPG quality to 100%
ro.media.enc.jpeg.quality=100
This will make for very large files. I would suggest using a value of 90-95, this will be indistinguishable from quality 100 while leaving smaller files. You can test this yourself by encoding any high quality image using various JPEG quality settings with the image tool of your choice.

Code:
# Net tweaks
net.tcp.buffersize.default=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.umts=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.gprs=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.edge=4096,87380,256960,4096,16384,256960
I don't know what those values used to be in their default state, but I am sure that it isn't sensible to use the same values for all networks. TCP buffer sizes should consider bandwidth and delay of the connection, which are both vastly different between edge and wifi for example.

Other values which seem interesting are:
Code:
user.feature.lgdrm=false # disable lg drm service
I can confirm this will disable the lg drm service - I have no idea what it does, but apparently I don't need it.
Code:
user.feature.flex # don't disable this
flex must be enabled, else com.android.phone and com.android.mms will crash constantly.

These can be disabled without visibly breaking something:
Code:
user.feature.lgresource
user.feature.lgpoweroff
user.feature.ls_event
user.feature.ls_normal
user.feature.sui
Anyone know what they do?
The Following 2 Users Say Thank You to digitalfrost For This Useful Post: [ Click to Expand ]
 
Wady el-Natrun
Old
(Last edited by Wady el-Natrun; 10th August 2011 at 12:54 AM.)
#5  
Member
Thanks Meter 2
Posts: 56
Join Date: Nov 2010
Quote:
launcher into memory
ro.HOME_APP_ADJ=1
can also be used using another launcher, like Launcher7 or Zeam? Have i change something?
 
nunogil
Old
#6  
nunogil's Avatar
Senior Member
Thanks Meter 271
Posts: 131
Join Date: Jul 2011
Location: Lisbon

 
DONATE TO ME
Quote:
Originally Posted by Wady el-Natrun View Post
can also be used using another launcher, like Launcher7 or Zeam? Have i change something?
Of course =) It will do the same for every launcher. It isn't specific for LG.
 
i04055
Old
#7  
Senior Member
Thanks Meter 15
Posts: 274
Join Date: Jan 2011
I really don't get it... If this value actually given a better performance, why didn't those LG's engineer use this value for stock ROM?
They do know aren't they?
 
knzo
Old
#8  
Senior Member - OP
Thanks Meter 3806
Posts: 1,979
Join Date: Nov 2010
Quote:
Originally Posted by i04055 View Post
I really don't get it... If this value actually given a better performance, why didn't those LG's engineer use this value for stock ROM?
They do know aren't they?
Ask them, they come to this forum.
 
i04055
Old
(Last edited by i04055; 10th August 2011 at 03:47 AM.)
#9  
Senior Member
Thanks Meter 15
Posts: 274
Join Date: Jan 2011
don't tell me they come here to learn how to make a better ROM...
 
lesp4ul
Old
#10  
lesp4ul's Avatar
Senior Member
Thanks Meter 404
Posts: 1,454
Join Date: Feb 2011
Location: Paranoid Room
Maybe the factory setting is for failsafe defaults. Like ones on computer BIOS, only advanced user dare to change to their own setting.

Sent from my LG-P970 using Tapatalk

--=BE PART OF THE FUTURE=--




NEXT > Oppo Find 5 : Paranoid Android
Samsung Nexus S : Paranoid Android + Air Kernel
Samsung Galaxy Nexus (GT-i9250) : Paranoid Android + AK Diamond Kernel + NexusLouder
ASUS Nexus 7 3G : Paranoid Android + M-Kernel + NexusLouder
LG Nexus 4 : Paranoid Android + Air Kernel



 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...