[TWEAKS] List of build.prop tweaks (can be applied to stock ROM)

Search This thread

knzo

Senior Member
Nov 24, 2010
1,992
3,899
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) - [U]needs moar testing[/U]!
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.
 
Last edited:

nunogil

Senior Member
Jul 5, 2011
129
265
Lisbon
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 :)
 
  • Like
Reactions: kinjal

digitalfrost

Senior Member
Sep 22, 2010
83
15
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?
 
Last edited:
  • Like
Reactions: axpira and dxdiag32

i04055

Senior Member
Jan 15, 2011
419
41
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? :confused:
They do know aren't they?
 

i04055

Senior Member
Jan 15, 2011
419
41
don't tell me they come here to learn how to make a better ROM... :rolleyes:
 
Last edited:

Wady el-Natrun

Senior Member
Nov 15, 2010
79
4
Noejn, but...his change are already in your NOVA rom?
Becouse when i open the build.prop i found all this tweaks. (i have your rom)
 

Aves83

Member
Aug 2, 2011
20
6
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.
I would also prefer a quality factor of 90-95% in Nova as 100% results in much larger files and only slightly better quality.
 

knzo

Senior Member
Nov 24, 2010
1,992
3,899
Maybe the factory setting is for failsafe defaults. Like ones on computer BIOS, only advanced user dare to change to their own setting.

My guess is they can't lose time on experimental values.
They will go for stable and heavily tested ones already.

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.

Irrelevant. You have plenty of space in /system partition and having this really won't affect your internal memory because:

a) you already have reserved space for system partition
b) we're talking about 3 MB, tops. considering I removed 80% of LG applications which account for like 150 MB do you think that system partition is that small?

So it's a luxury we can perfectly have. Besides, I do notice 10% of quality difference.

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.

Nice tip.
But they have a whole partition for that service, it's strange you don't notice a difference.

Noejn, but...his change are already in your NOVA rom?
Becouse when i open the build.prop i found all this tweaks. (i have your rom)

In the new version yes. In the old one I guess a missed a few.
 

lesp4ul

Senior Member
My guess is they can't lose time on experimental values.
They will go for stable and heavily tested ones already.

Yes it could be, too, LG r&d guys surely knew about this and decided to setup this defaults. That's why smart devs like you and other nova contributors should maximize this phone potential, what next?

Sent from my LG-P970 using Tapatalk
 
Last edited:

blaubaer78

Member
Jul 29, 2011
16
0
Is it right that i must add the most of your tweaks in stock rom?

Because i can't find these lines in stock rom build.prop!

There is only "dalvik.vm.heapsize=32m" to find!


And if i add these tweaks, i can simply write them on the end of the page?

With or without the "#" line?

Thank you
 

dcop7

Senior Member
Jul 5, 2011
3,217
1,923
Leiria
# Disable blackscreen issue after a call
ro.lge.proximity.delay=25
mot.proximity.delay=25

this option didn't work for me... I even tried to change do 10, 3, even 1, I didn't see any difference...
 

Top Liked Posts

  • There are no posts matching your filters.
  • 23
    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) - [U]needs moar testing[/U]!
    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.
    2
    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?
    1
    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 :)
    1
    Applied only few tweaks to stock 10e:

    mod sql by Noejn

    ro.HOME_APP_ADJ=1
    debug.sf.hw=1
    debug.performance.tuning=1
    video.accelerate.hw=1

    And now UI seems a bit too responsive and fast in some cases, heheheh :D

    ;)
    I already have a few other tweaks that I'm testing at the moment.
    1
    Hi all,

    Sorry for "wake up" this thread, because i read a lot of post about to unlock screen for P970. Because i'm using Zeus v6.4 and i have a question: I couldn't found this line in my built.prop file:


    So can i edit as below to unlock screen by press volume - or volume +:



    Thanks for advice...

    Sorry for my bad english..

    If it aint at your build.prop, then just add it at the end of it. :)