[Tweaks][Guide]Build.prop Tweaks

bravonova

Senior Member
Mar 6, 2015
2,253
1,685
193
Pune
Warning:
This Tweaks may brick your Android device. Make sure that you take a complete backup of your ROM using a custom recovery. I am not responsible if you brick your device.

Introduction

As you know Android is open source and the development of Android is increased in today’s life. Basically, what happens is Android operating system is having some of the information and that is really important a lot. Now, whenever a user wants to do editing in this the Android system they do changes in build prop. Build prop tweaks are something which helps you to do changes in the system and customize your android.

Android is open source so what does the users and developers do is the just check for the system codes. Which will suit best in every Android smartphone? So today we are sharing the Build Prop Tweaks for your Android device. This tweak works on every Android device. It will work absolutely fine in Android versions such as jelly bean, KitKat, Lollipop and Marshmallow.

The thing is that if you are having any rooted Android device. So this tweak will work absolutely fine. Every user can do editing. But while editing you have to make sure that you do proper editing or else it will lead to brick your Android device. Then you have to Install custom ROM on your Android device. You can easily increase the bootup time of your Android. Increase sound and much more.

Let me tell you an example.

Suppose if you are using any of your Android devices. In your Android, there is no navigation bar. Now accidentally you drop your Android device. Now, at this situation your buttons are not working. With the help of build prop, you can add navigation bar on your screen easily on your Android device.

You have to make sure that you don’t brick your Android device. While doing any changes on your Android device. You have to play safe if you have to play with build prop.

If you will add up this code on your Android device. Then you have to restart your Android device. To make your device to run those code. This is really very simple and easy if you follow up this guide properly then you will be able to run those codes. So let’s get started how can you apply those codes on your Android device.


Best Build Prop Tweaks Codes
Below are the Build Prop Tweaks which will help you out to install best function on your devices such as fasten your booting speed increase your internet speed and much more.



1. Better RAM management
Code:
ro.HOME_APP_ADJ=1
2. Improves audio and video recording quality
Code:
ro.media.enc.jpeg.quality=100
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000
ro.media.capture.maxres=8m
ro.media.panorama.defres=3264×1840
ro.media.panorama.frameres=1280×720
ro.camcorder.videoModes=true
ro.media.enc.hprof.vid.fps=65
3. Faster streaming videos
Code:
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true
media.stagefright.enable-rtsp=true
media.stagefright.enable-record=false
4. Video acceleration and HW debugging. debug.composition.type can also be changed to cpu or mdp.
Code:
debug.sf.hw=1
debug.performance.tuning=1
video.accelerate.hw=1
debug.egl.profiler=1 # Measure rendering time in adb shell dumpsys gfxinfo
debug.egl.hw=1
debug.composition.type=gpu # Disable hardware overlays and use GPU for screen compositing
5. Disables built in error reporting.
Code:
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
6. Better net speeds.
Code:
net.tcp.buffersize.default=4096,87380,256960, 4096, 16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,409 6,163 84,256960
net.tcp.buffersize.umts=4096,8 7380,256960,4096,163 84,256960
net.tcp.buffersize.gprs=4096,8 7380,256960,4096,163 84,256960
net.tcp.buffersize.edge=4096,8 7380,256960,4096,163 84,256960
7. Saves power.
Code:
ro.mot.eri.losalert.delay=1000 (could brake tethering.)
ro.ril.power_collapse=1
pm.sleep_mode=1
wifi.supplicant_scan_interval=180
ro.mot.eri.losalert.delay=1000
8. 3G tweaks.
Code:
ro.ril.hep=0
ro.ril.hsxpa=2
ro.ril.gprsclass=12
ro.ril.enable.dtm=1
ro.ril.hsdpa.category=8
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
9. Disables logcat
Code:
logcat.live=disable
10. Screen recognizes only two fingers.
Code:
ro.product.multi_touch_enabled=true
ro.product.max_num_touch=2
11. Support for ipv4 and ipv6.
Code:
persist.telephony.support.ipv6=1
persist.telephony.support.ipv4=1
12. Phone rings immediately.
Code:
ro.telephony.call_ring.delay=0
ring.delay=0
13. Disables blackscreen issue after a call.
Code:
ro.lge.proximity.delay=25
mot.proximity.delay=25
14. Better scrolling.
Code:
windowsmgr.max_events_per_sec=150
ro.min_pointer_dur=8 ro.max.fling_velocity=12000
ro.min.fling_velocity=8000
15. Better signal.
Code:
persist.cust.tel.eons=1
16. Better call voice quality.
Code:
ro.ril.enable.amr.wideband=1
17. Better signal.
Code:
ro.config.hw_fast_dormancy=1
18. Faster boot.
Code:
ro.config.hw_quickpoweron=true
19. Disables error checking.
Code:
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
20. Dalvik Virtual Machine tweaks.
Code:
dalvik.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
21. Disables locating.
Also delete /system/app/networklocation.apk and /system/
Code:
framework/com.android.location.provider.jar[/I]
ro.com.google.locationfeatures=0
ro.com.google.networklocation=0
22. Disables sending of usage data.
Code:
ro.config.nocheckin=1
23. Better image quality, lower performance.
Code:
persist.sys.use_dithering=1
24. Disable notification while adb is active
Code:
persist.adb.notify=0
25. Change LCD density
Code:
ro.sf.lcd.density=xxx
Note: Replace "xxx" with numeric value.

26. MMS APN retry timer set to 2 sec( if SMS/MMS couldn`t be sent, it retries after 2 instead of 5 seconds).
Code:
ro.gsm.2nd_data_retry_config=max/_retries=3, 2000, 2000, 2000
27. Key lights stay on while screen is on.
Code:
ro.mot.buttonlight.timeout=0
28. Disable strict mode checking.
Code:
persist.android.strictmode=0
29. Remove FPS cap. May be unstable – better have it activated
Code:
debug.gr.swapinterval=0
30. build.prop tweaks for battery life
Code:
wifi.supplicant_scan_interval=180
pm.sleep_mode=1
ro.ril.disable.power.collapse=0
31. build.prop tweaks for improved performance
Code:
debug.performance.tuning=1
How To Use Build Prop Tweaks On Your Android Device.
If you don’t know how to install those codes on your Android device. Don’t worry. About how can you install those codes on your Android device? If you are having rooted Android device on your device. Then you are good to go.

1) Download and install root explorer on your Android device from above given requirements
2) Open the application and grant the root permissions
3) Now, simply open go to /System/ and then you will be able to see Build.Prop file
4) Now, click on the option called as Mount R/O.
5) Long press on that files and you will get a pop-up of open with
6) Just hit open with text editor and then you are good to go
7) Copy the above code of your choice and simply paste on your build.Prop
8) Click on the save changes and then reboot your Android device.
 
Last edited:

rskstier

Senior Member
Dec 20, 2010
150
10
0
Your tweaks doesn't work for my build.prop many things are not in my build.prop. Help me. It is from a custom rom on the note 4 (n910f)

# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=MMB29M
ro.build.display.id=Noble N910X PE6
ro.build.version.incremental=N910FXXS1DPE6
ro.build.version.sdk=23
ro.build.version.preview_sdk=0
ro.build.version.codename=REL
ro.build.version.all_codenames=REL
ro.build.version.release=6.0.1
ro.build.version.security_patch=2016-06-01
ro.build.version.base_os=
ro.build.date=Wed May 25 20:58:26 KST 2016
ro.build.date.utc=1464177506
ro.build.type=user
ro.build.user=dpi
ro.build.host=SWDD6317
ro.build.tags=release-keys
ro.build.flavor=hero2ltexx-user
ro.product.model=SM-G935F
ro.product.brand=samsung
ro.product.name=hero2ltexx
ro.product.device=hero2lte
ro.product.board=APQ8084
# ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete,
# use ro.product.cpu.abilist instead.
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.cpu.abilist=armeabi-v7a,armeabi
ro.product.cpu.abilist32=armeabi-v7a,armeabi
ro.product.cpu.abilist64=
ro.product.manufacturer=samsung
ro.product.locale=en-GB
ro.wifi.channels=
ro.board.platform=apq8084
# ro.build.product is obsolete; use ro.product.device
ro.build.product=hero2lte
# Do not try to parse description, fingerprint, or thumbprint
ro.build.description=trltexx-user 6.0.1 MMB29M N910FXXS1DPE6 release-keys
ro.build.fingerprint=samsung/trltexx/trlte:6.0.1/MMB29M/N910FXXS1DPE6:user/release-keys
ro.build.characteristics=phone
# Samsung Specific Properties
ro.build.PDA=N910FXXS1DPE6
ro.build.hidden_ver=N910FXXS1DPE6
ro.config.rm_preload_enabled=0
ro.build.changelist=7733605
ro.product_ship=true
ro.chipname=APQ8084
# end build properties

#
# HWUI_BUILD_PROPERTIES
#
ro.hwui.texture_cache_size=88
ro.hwui.layer_cache_size=58
ro.hwui.path_cache_size=16
ro.hwui.texture_cache_flushrate=0.4
ro.hwui.shape_cache_size=4
ro.hwui.gradient_cache_size=2
ro.hwui.drop_shadow_cache_size=6
ro.hwui.r_buffer_cache_size=8
ro.hwui.text_small_cache_width=1024
ro.hwui.text_small_cache_height=1024
ro.hwui.text_large_cache_width=4096
ro.hwui.text_large_cache_height=2048
ro.hwui.fbo_cache_size=16
#
# from device/samsung/hero2lte/system.prop
#
#
# system.prop for apq8084
#


# Disable airplane mode shutdown feature
persist.radio.apm_mdm_not_pwdn=1

debug.sf.hw=0
debug.egl.hw=0
#debug.composition.type=c2d
persist.hwc.mdpcomp.enable=true
persist.mdpcomp.4k2kSplit=1
debug.mdpcomp.logs=0
dalvik.vm.heapsize=36m
dev.pm.dyn_samplingrate=1
persist.demo.hdmirotationlock=false

#RIL JB IMS
persist.radio.jbims=1

#ro.hdmi.enable=true
#persist.speaker.prot.enable=false
qcom.hw.aac.encoder=true
#
# system props for the cne module
#
persist.cne.feature=0
persist.cne.dpm=0
persist.dpm.feature=0

#system props for the MM modules
media.stagefright.enable-player=true
media.stagefright.enable-http=true
media.stagefright.enable-aac=true
media.stagefright.enable-qcp=true
media.stagefright.enable-fma2dp=true
media.stagefright.enable-scan=true
mmp.enable.3g2=true
media.aac_51_output_enabled=true
mm.enable.smoothstreaming=true
#3183219 is decimal sum of supported codecs in AAL
#codecs: DivX DivXHD AVI AC3 ASF AAC QCP DTS 3G2 MP2TS
mm.enable.qcom_parser=3183219
persist.mm.enable.prefetch=true

# Default to AwesomePlayer
media.stagefright.use-awesome=false

#system props for time-services
persist.timed.enable=true

#
# system prop for opengles version
#
# 196608 is decimal for 0x30000 to report version 3
ro.opengles.version=196609

# system property for maximum number of HFP client connections
bt.max.hfpclient.connections=1

# System property for cabl
ro.qualcomm.cabl=1

#Simulate sdcard on /data/media
#
persist.fuse_sdcard=true

#system prop for Bluetooth SOC type
qcom.bluetooth.soc=rome

#
#snapdragon value add features
#
ro.qc.sdk.audio.ssr=false

##fluencetype can be "fluence" or "fluencepro" or "none"
ro.qc.sdk.audio.fluencetype=none
persist.audio.fluence.voicecall=true
persist.audio.fluence.voicerec=false
persist.audio.fluence.speaker=true

#system prop for RmNet Data
persist.rmnet.data.enable=true
persist.data.wda.enable=true
persist.data.df.dl_mode=5
persist.data.df.ul_mode=5
persist.data.df.agg.dl_pkt=10
persist.data.df.agg.dl_size=4096
persist.data.df.mux_count=8
persist.data.df.iwlan_mux=9
persist.data.df.dev_name=rmnet_usb0
persist.data.llf.enable=true

#property to enable user to access Google WFD settings
persist.debug.wfd.enable=1
##property to choose between virtual/external wfd display
persist.sys.wfd.virtual=0

# disable tunnel encoding for amrwb
tunnel.audio.encode = false

#Buffer size in kbytes for compress offload playback
audio.offload.buffer.size.kb=32

#Enable offload audio video playback by default
av.offload.enable=true

#enable voice path for PCM VoIP by default
use.voice.path.for.pcm.voip=true

# system prop for NFC DT
ro.nfc.port=I2C

#enable dsp gapless mode by default
audio.offload.gapless.enabled=false

#initialize QCA1530 detection
sys.qca1530=detect

#hwui properties
ro.hwui.texture_cache_size=72
ro.hwui.layer_cache_size=48
ro.hwui.r_buffer_cache_size=8
ro.hwui.path_cache_size=32
ro.hwui.gradient_cache_size=1
ro.hwui.drop_shadow_cache_size=6
ro.hwui.texture_cache_flushrate=0.4
ro.hwui.text_small_cache_width=1024
ro.hwui.text_small_cache_height=1024
ro.hwui.text_large_cache_width=2048
ro.hwui.text_large_cache_height=1024

#Enable property to enable ds2
#audio.dolby.ds2.enabled=true

#enable property for hard bypass
#audio.dolby.ds2.hardbypass=true

# LCD Density
ro.sf.lcd_density=640

# slook
ro.slook.ver=1

# Enable to set a tcp delayed ack on framework
persist.tcp.delack.enable=true

# Use LTE limited service for CS
persist.radio.lte_vrte_ltd=1
# System proverty for sys info indication
persist.radio.add_power_save=1

# Enable EONS. ENABLED = true, DISABLE = false
persist.eons.enabled=true

# SAMP_SPCM
sys.config.samp_spcm_enable=true
sys.config.spcm_db_enable=true
sys.config.spcm_db_launcher=true
sys.config.spcm_preload_enable=true
sys.config.spcm_gcm_kill_enable=true

# VQG - User Agent Header for Video-Streaming Client
net.streaming.rtsp.uaprof=http://wap.samsungmobile.com/uaprof/

#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.astcenc.astcsupport=1
ro.mct.compressiontype=ETC1
ro.config.dmverity=true
ro.config.rkp=true
ro.config.kap=true
ro.telephony.default_network=9
ro.use_data_netmgrd=false
persist.radio.sib16_support=0
ro.config.ringtone_2=Basic_Bell.ogg
ro.config.notification_sound_2=S_Charming_Bell.ogg
ro.config.ringtone=Over_the_horizon.ogg
ro.config.notification_sound=S_Whistle.ogg
ro.config.alarm_alert=Morning_flower.ogg
ro.config.media_sound=Media_preview_Touch_the_light.ogg
dalvik.vm.heapstartsize=8m
dalvik.vm.heapgrowthlimit=256m
dalvik.vm.heapsize=512m
dalvik.vm.heaptargetutilization=0.75
dalvik.vm.heapminfree=2m
dalvik.vm.heapmaxfree=8m
persist.sys.logkit.ctrlcode=0
keyguard.no_require_sim=true
ro.carrier=unknown
ro.com.google.clientidbase=android-samsung
ro.security.icd.flagmode=multi
ro.vendor.extension_library=libqc-opt.so
persist.radio.apm_sim_not_pwdn=1
ro.build.scafe=capuccino
ro.build.scafe.size=short
ro.build.scafe.shot=single
ro.build.scafe.cream=white
ro.build.scafe.version=2016A
ro.hdcp2.rx=tz
ro.secwvk=144
ro.securestorage.support=false
ro.sec.fle.encryption=true
security.mdpp=None
ro.security.mdpp.ver=2.0
ro.security.mdpp.release=6
security.mdpp.result=None
ro.security.mdpp.ux=Enabled
ro.hardware.keystore=mdfpp
ro.hardware.gatekeeper=mdfpp
ro.security.vpnpp.ver=1.4
ro.security.vpnpp.release=6.0
ro.config.dha_cached_min=4
ro.config.dha_cached_max=12
ro.config.dha_empty_min=16
ro.config.dha_empty_max=48
ro.config.dha_th_rate=2.5
ro.config.dha_lmk_scale=1.341
ro.error.receiver.default=com.samsung.receiver.error
config.disable_atlas=true
ro.security.reactive.active=1
ro.smps.enable=true
ro.setupwizard.network_required=false
ro.setupwizard.wifi_required=false
ro.setupwizard.mode=OPTIONAL
ro.com.google.gmsversion=6.0_r3
ro.build.selinux=1
persist.sys.dalvik.vm.lib.2=libart
dalvik.vm.isa.arm.variant=krait
dalvik.vm.isa.arm.features=default
ro.config.knox=0
ro.config.tima=0
ro.config.timaversion=0
ro.config.iccc_version=1.0
ro.kernel.qemu=0
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
persist.gps.qc_nlp_in_use=1
persist.loc.nlp_name=com.qualcomm.location
ro.gps.agps_provider=1
ro.build.version.sdl=2301
ro.expect.recovery_id=0xc6c239a6df89ad5fbadf6729ebd1442943d00423000000000000000000000000




wlan.wfd.hdcp=disable
ro.ril.fast.dormancy.rule=0
ro.ril.enable.amr.wideband=1
ro.ril.fast.dormancy.rule=0
debug.performance.tuning=1
video.accelerate.hw=1
debug.sf.hw=1
ring.delay=0
debug.egl.profiler=1
debug.egl.hw=1
debug.composition.type=gpu
ro.ril.disable.power.collapse=0
wifi.supplicant_scan_interval=300
ro.config.hw_power_saving=1
pm.sleep_mode=1
 

bravonova

Senior Member
Mar 6, 2015
2,253
1,685
193
Pune
I take one line out of your tweak rules. That is not in my build.prop just like many others.

ro.media.enc.jpeg.quality

How can it be that it is not present at the build.prop ?
Flashing custom ROM doesn't mean that it will have build.prop tweaks added. :)
 
Last edited:

rskstier

Senior Member
Dec 20, 2010
150
10
0
Yes you need to add those lines in build.prop which tweak you want to apply then reboot device. :)

I have certain rules inserted rebooted my build.prop and restart my phone and I only had a vibrating phone and the picture hung on the Samsung logo . It was trembling so one time and then after that two times in succession. It went like on. At one point was flashing ledtje my phone blue. What went wrong?
 

bravonova

Senior Member
Mar 6, 2015
2,253
1,685
193
Pune
I have certain rules inserted rebooted my build.prop and restart my phone and I only had a vibrating phone and the picture hung on the Samsung logo . It was trembling so one time and then after that two times in succession. It went like on. At one point was flashing ledtje my phone blue. What went wrong?
Which tweaks have you applied ??
 

bravonova

Senior Member
Mar 6, 2015
2,253
1,685
193
Pune
I copy and paste the numbers:
1,2,12,15,16,17

I do this with the pc and i add it in a map and replace it with root explorer. Then i reboot my phone. My phone is a note 4 n910f.
You have to add these codes to your existing build.prop . Do not change or delete any earlier/original build.prop codes. :) If you have changed anything else then may be you got issue.
 

rskstier

Senior Member
Dec 20, 2010
150
10
0
You have to add these codes to your existing build.prop . Do not change or delete any earlier/original build.prop codes. :) If you have changed anything else then may be you got issue.
I have literally added the above codes and nothing removed in the build.prop I had on my PC. Build.prop which I replaced by the custom build.prop , then I rebooted my phone and ran as described previously against the previous problem.
 

bravonova

Senior Member
Mar 6, 2015
2,253
1,685
193
Pune
I have literally added the above codes and nothing removed in the build.prop I had on my PC. Build.prop which I replaced by the custom build.prop , then I rebooted my phone and ran as described previously against the previous problem.
If you able to connect your phone through adb, then copy your old build.prop using following commands.
Code:
adb push *your directory path*\build.prop /system/
Change *your directory path* to the directory path on your computer where you stored build.prop