[TUT for begener]Build.prop modification

spawk

Senior Member
Jul 10, 2011
1,734
1,124
0
Mons,Bergen
Hello all from research and test o my rom dev discovered this and want share it with all can help ^^

The following lines in the build.prop file can be added and edited to change several properties in your device:


Warning USE only unix formatting compatible editors like Notepad++

debug.sf.hw = 1
Render UI with GPU (relieves pressure on CPU)

dalvik.vm.heapsize = 32m
Set size of Dalvik VM heap (how much RAM each instance of the VM is allowed); depending on how much RAM that is available to a device, this can be increased.

persist.adb.notify = 0
Stop debugging icon from appearing in status bar

windowsmgr.max_events_per_sec = 120
Increase to improve scrolling response

persist.sys.use_dithering = 0
Do not use surface dithering (surface dithering improves image quality)

debug.sf.nobootanimation = 1
Disable boot animation

ro.HOME_APP_ADJ = 1
force home launcher into memory

ro.sf.lcd_density = 240
Set screen density; change according to your device or what suits you, a lower value will display more but may be too small to use on a device with a smaller screen. Also note that changing the pixel density will make some applications in the new market ‘incompatible with your device’.

mot.proximity.delay = 150
Lower to fix black screen after calls issue

ro.telephony.call_ring.delay = 0
Decrease dialling out delay

ro.gsm.2nd_data_retry_config = max/_retries=3, 2000, 2000, 2000
Change MMS APN retry timer from 5s to 2s

wifi.supplicant_scan_interval = 120
ro.ril.disable.power.collapse = 0
pm.sleep_mode = 1
Increase battery saving potential

ro.com.android.dataroaming=true
Enables data-roaming by default in the build

ro.com.android.dateformat=dd-MM-yyyy
Changes default date format to day-month-year

ro.config.alarm_alert=*.ogg
ro.config.ringtone=*.ogg
ro.config.notification_sound=*.ogg
Changes the default sounds for each item. Must correlate to ogg files available in /system/media/audio/

ro.build.display.id=NAMEOFROM
In Settings>About Phone, it lists the name of the build number. This is where you set it.

ro.product.locale.language=en
ro.product.locale.region=GB
Sets the default region and language. You must have the correct letter combo, and the language must be available for this to work.

video.accelerate.hw=1 or 0
Whether to use hardware acceleration to render videos, doesn’t work on all devices
 
Last edited:

Min3r

Senior Member
Dec 8, 2012
804
1,175
0
Nice work mate :) Will help new developers greatly ;) Keep it up :D

Ps; Make sure to mention on your thread to use only unix formatting compatible editors like Notepad++ and not WordPad ;D

Cheers
 
  • Like
Reactions: spawk

spawk

Senior Member
Jul 10, 2011
1,734
1,124
0
Mons,Bergen
Part II

# System Tweaks
ro.HOME_APP_ADJ=1
ro.mot.eri.losalert.delay=1000
ro.config.hw_fast_dormancy=1
ro.ril.enable.amr.wideband=1
ro.config.hw_fast_dormancy=1
ro.config.hw_quickpoweron=true

# Miscellaneous Tweaks
persist.sys.purgeable_assets=1
wifi.supplicant_scan_interval=180
pm.sleep_mode=1
ro.ril.disable.power.collapse=0
debug.qctwa.statusbar=1
debug.qctwa.preservebuf=1
debug.qc.hardware=true
com.qc.hardware=true
ro.telephony.sms_segment_size=160
persist.telephony.support.ipv6=1
persist.telephony.support.ipv4=1
ro.config.hw_fast_dormancy=1
persist.sys.shutdown.mode = hibernate
ro.config.hw_power_saving=true
ro.media.enc.hprof.vid.fps=65
ro.mot.buttonlight.timeout=1

# Signal Tweaks
ro.ril.hsxpa=1
ro.ril.gprsclass=10
ro.ril.hsdpa.category=8
ro.ril.hsupa.category=6
persist.cust.tel.eons=1

# Wireless Speed 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
net.ipv4.tcp_ecn=0
net.ipv4.route.flush=1
net.ipv4.tcp_rfc1337=1
net.ipv4.ip_no_pmtu_disc=0
net.ipv4.tcp_sack=1
net.ipv4.tcp_fack=1
net.ipv4.tcp_window_scaling=1
net.ipv4.tcp_timestamps=1
net.ipv4.tcp_rmem=4096 39000 187000
net.ipv4.tcp_wmem=4096 39000 187000
net.ipv4.tcp_mem=187000 187000 187000
net.ipv4.tcp_no_metrics_save=1
net.ipv4.tcp_moderate_rcvbuf=1

# Makes streaming videos stream faster
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true
media.stagefright.enable-record=true

# Website Bypass
net.rmnet0.dns1=8.8.8.8
net.rmnet0.dns2=8.8.4.4
net.dns1=8.8.8.8
net.dns2=8.8.4.4

# Graphics Enhancement
debug.performance.tuning=1
video.accelerate.hw=1
ro.media.dec.jpeg.memcap=20000000
ro.media.enc.hprof.vid.bps=8000000
ro.media.enc.jpeg.quality=100

# Disables data sent and logging
ro.config.nocheckin=1
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1

# Scrolling Responsiveness
windowsmgr.max_events_per_sec=120
persist.cust.tel.eons=1

# Power Saving Tweaks
ro.ril.disable.power.collapse=1
pm.sleep_mode=1

# Dialing Tweaks
ro.telephony.call_ring.delay=0
ro.lge.proximity.delay=25
mot.proximity.delay=25

# DalvikVM
dalvik.vm.stack-trace-file=/data/anr/traces.txt
dalvik.vm.lockprof.threshold=500
dalvik.vm.dexopt-flags=m=y
dalvik.vm.verify-bytecode=false
dalvik.vm.execution-mode=int:fast
dalvik.vm.dexopt-data-only=1dalvik.vm.checkjni=false
dalvik.vm.dexopt-data-only=1
dalvik.vm.heapstartsize=5m
dalvik.vm.heapgrowthlimit=48m
dalvik.vm.heapsize=64m
dalvik.vm.verify-bytecode=false
dalvik.vm.execution-mode=int:jit
dalvik.vm.lockprof.threshold=250
dalvik.vm.dexopt-flags=m=v,o=y
dalvik.vm.stack-trace-file=/data/anr/traces.txt
dalvik.vm.jmiopts=forcecopy

# Performance---> gpu cpu tunning
debug.composition.type=gpu
debug.composition.type=cpu
ro.max.fling_velocity=12000
ro.min.fling_velocity=8000
Debug.performance.tuning=1
debug.egl.profiler=1
debug.egl.hw=1
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
ro.min_pointer_dur=8
debug.kill_allocating_task=0
persist.sys.ui.hw=1
ro.debuggable=1
ro.config.disable.hw_accel=false
ro.kernel.android.checkjni=0
persist.sys.purgeable_assets=0
persist.sys.use_dithering=0
ro.secure=0
ro.min_pointer_dur=1

# Sound---> sound quality
af.resampler.quality=255
af.resample=48000

# Hwui----> hardwae ui cache
ro.hwui.text_cache_width=2048
 
Last edited:

spawk

Senior Member
Jul 10, 2011
1,734
1,124
0
Mons,Bergen
you can aply him
1. With a root explorer(I prefer ES file explorer), copy /system/build.prop to the root of the internal sdcard (/mnt/sdcard).
2. Connect phone to computer and copy the file on your computer.
3. With Notepad++, open build.prop and edit it. Be careful as some of the parameters already exist. Just change their values.
4. Save and copy the file back to your phone's root.
5. Overwrite /system/build.prop with the edited file.
6. Make sure that the permissions are still rw-r--r--:
7. Reboot into recovery and wipe cache and dalvik cache.
8. New values should be applied now.
9. Enjoy ;)
 

spawk

Senior Member
Jul 10, 2011
1,734
1,124
0
Mons,Bergen
How to add more language support ?

yes you can add more language to your android device how to make this ?

1- download needed language you can use any (font) from any rom you need
2- flash it with CWM or copie him with root tool like root explorer
3- go into build.prop and find this line
Code:
#Default values/Locales for the hiding languages feature
ro.product.locale.excluded=EN_FR_XXXXXXXX
just add "#" like this
Code:
#Default values/Locales for the hiding languages feature
#ro.product.locale.excluded=ar_EG ar_IL fa_IR iw_IL
that all here result when you reboot
 

Attachments