a list of build.prop tweaks

dheeraj (dhlalit11)

Senior Member
Sep 30, 2011
2,540
1,510
0
fatehabad (hry)
Build.prop is a file which is used to define the device's properties it is found in /system. devices cannot boot if the build.prop file is not in state proper, so better edit the file wisely.

before editing write these commands in terminal

setprop dalvik.vm.verify-bytecode false
setprop dalvik.vm.dexopt-flags v=n,o=v
rm /data/dalvik-cache/*
rm /cache/dalvik-cache/*
reboot


BUILD.PROP TWEAKS:-

persist.sys.purgeable_assets=1

reboot will be very fast
ro.media.enc.hprof.vid.bps=8000000

increasing the video recording quality
ro.media.dec.jpeg.memcap=8000000

also for jpeg pics
ro.media.enc.jpeg.quality=100

increase the quality of JPEG pics
windowsmgr.support_rotation_270=true;

can make the screen rotate to 270 degree
dalvik.vm.heapsize=64m

increase vm heap size to 64mb may resolve some fc's
windowsmgr.max_events_per_sec=150

increasing it will make mobile smoother but if you are conservative decrease it
wifi.supplicant_scan_interval=180

increase the time of scan interval of your wifi
debug.sf.hw=1

Render ui with gpu
video.accelerate.hw=1

Video acceleration enabled
debug.performance.tuning=1

performance will increase
ro.config.nocheckin=1

Disable sending usage data (probably isn't functional, but can't hurt)
ro.ril.disable.power.collapse=1
pm.sleep_mode=1


Deeper sleep/better battery life
ro.telephony.call_ring.delay=0

ringing will start immediately
ro.kernel.android.checkjni=0

disable error checking
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


wireless speed will increase
media.stagefright.enable-meta=true

media.stagefright.enable-scan=true

media.stagefright.enable-http=true

media.stagefright.enable-record=false


video streaming will be better
debug.sf.nobootanimation=1

no bootanimation will show up while booting, will decrease booting time
ro.HOME_APP_ADJ=1
force to remain launcher in memory
persist.adb.notify=0

will disable usb debugging popup in notification
ro.config.hwfeature_wakeupkey=0

disable waking up of phone by volume buttons, changing value to 1 will enable the wakeup
ro.lge.proximity.delay=25
mot.proximity.delay=25


off the proximity quiclky after call
no need to wait for screen to come
ro.sf.lcd_density=160

will let you feel tablet like screen

If you change build.prop and got boot loop then flash below package in recovery

*Squadzone rom package:- http://db.tt/fPItBvjW

if you want to echo something in build.prop, do it like the example below

Code:
echo key=value >> /system/build.prop
remember two arrows '>>' are required else it will remove all previous lines and will only add that line
 
Last edited:

mr.faridcom

Senior Member
Feb 20, 2012
1,070
751
0
NOTE:- Do not use es file explorer's text editor to edit build.prop device will bootloop, instead use jota text editor

before editing write thesecommands in terminal

setprop dalvik.vm.verify-bytecode false
setprop dalvik.vm.dexopt-flags v=n,o=v
rm /data/dalvik-cache/*
rm /cache/dalvik-cache/*
reboot


BUILD.PROP TWEAKS:-
thank you very much ...
If there is a GUI to beginner users it will be awesome ..
again thanx a lot .
 

dheeraj (dhlalit11)

Senior Member
Sep 30, 2011
2,540
1,510
0
fatehabad (hry)
well I always get bootloop that's why am warning everyone.

personally I also prefer es file explorer but its is not good to edit text file with es file explorer because it do not edit files in Unix way and android reads only Unix line breaks
 
  • Like
Reactions: aBigC

GenomeX

Senior Member
Dec 5, 2011
340
223
78
Rasht
LOL
add this to first post too:

Code:
windowsmgr.support_rotation_270=true;
can rotate screen 270 degre.

for media:
Code:
ro.media.enc.jpeg.quality=100
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000
and haibernet mod:
Code:
persist.sys.purgeable_assets=1
reboot be very fast!!!
 

Avilove.Cullen

Senior Member
Mar 20, 2012
2,900
713
0
27
♥♥Bradford♥♥
NOTE:- Do not use es file explorer's text editor to edit build.prop device will bootloop, instead use jota text editor

before editing write these commands in terminal

setprop dalvik.vm.verify-bytecode false
setprop dalvik.vm.dexopt-flags v=n,o=v
rm /data/dalvik-cache/*
rm /cache/dalvik-cache/*
reboot


BUILD.PROP TWEAKS:-
any tweak for fast 3G connection .. ?
 

Svennen

Senior Member
Jan 27, 2012
214
96
0
currently not using mini but will provide a .txt file soon
I've solved it, I installed build.prop editor and edited the backup. Thats the easiest way.

This is my first try:
PHP:
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=GWK74
ro.build.display.id=GWK74
ro.build.version.incremental=eng.ktux.20120409.134647
ro.build.version.sdk=10
ro.build.version.codename=REL
ro.build.version.release=2.3.7
ro.build.date=Mon Apr  9 13:47:29 ICT 2012
ro.build.date.utc=0
ro.build.type=user
ro.build.user=ktux
ro.build.host=kittenlinuxhd
ro.build.tags=test-keys
ro.product.model=GT-S5570
ro.product.brand=samsung
ro.product.name=GT-S5570
ro.product.device=GT-S5570
ro.product.board=tass
ro.product.cpu.abi=armeabi
ro.product.manufacturer=samsung
ro.product.locale.language=swe
ro.product.locale.region=SWE
ro.wifi.channels=
ro.board.platform=msm7k
# ro.build.product is obsolete; use ro.product.device
ro.build.product=GT-S5570
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=GT-S5570-user 2.3.6 GINGERBREAD XWKTN release-keys
ro.build.fingerprint=samsung/GT-S5570/GT-S5570:2.3.6/GINGERBREAD/XWKTN:user/release-keys
ro.cm.device=tass
# end build properties
# tweaks
DEVICE_PROVISIONED=1
debug.sf.hw=1
debug.composition.type=mdp
ro.sf.lcd_density=160
qemu.sf.lcd_density=120
ro.opengles.version = 131072
dalvik.vm.execution-mode=int:jit
windowsmgr.max_events_per_sec=150
debug.performance.tuning=1
video.accelerate.hw=1
media.stagefright.enable-player=true
dalvik.vm.verify-bytecode=false
dalvik.vm.dexopt-flags=m=v,o=y
dalvik.vm.dexopt-data-only=1
ro.telephony.call_ring.delay=0
mot.proximity.delay=25
persist.sys.purgeable_assets=1
persist.android.strictmode=0
persist.sys.scrollingcache=2
pm.sleep_mode=1
ro.ril.disable.power.collapse=1
ro.min_pointer_dur=1

# video - photo rec tweaks
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000

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

net.tcp.buffersize.default=4096,87380,256960,4096, 16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.umts=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.gprs=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.edge=4096,87380,256960,4096,163 84,256960

media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true
media.stagefright.enable-record=false

#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.com.google.locationfeatures=1
ro.com.google.networklocation=1
dalvik.vm.checkjni=false
rild.libargs=-d/dev/smd0
rild.libpath=/system/lib/libsec-ril.so
ro.telephony.ril_class=samsung
ro.telephony.sends_barcount=1
mobiledata.interfaces=pdp0,wlan0,gprs,ppp0
wifi.interface=wlan0
wifi.supplicant_scan_interval=180
dalvik.vm.heapsize=64m
persist.sys.purgeable_assets=1
persist.sys.use_dithering=1
ro.media.dec.jpeg.memcap=20000000
ro.opengles.version=131072
ro.sf.lcd_density=160
ro.compcache.default=0
keyguard.no_require_sim=true
ro.rommanager.developerid=cyanogenmod
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.com.google.clientidbase=android-google
ro.com.android.wifi-watchlist=GoogleGuest
ro.setupwizard.enterprise_mode=1
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=false
ro.config.ringtone=Playa.ogg
ro.config.notification_sound=regulus.ogg
ro.config.alarm_alert=Alarm_Beep_03.ogg
ro.modversion=CyanogenMod-7.2.0-RC1-tass-UNOFFICIAL
ro.setupwizard.mode=OPTIONAL
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
dalvik.vm.dexopt-data-only=1