SOME USEFUL BUILD.PROP CODES

Make sure ya phone is rooted

Download Root Explorer paid.apk



Open Root Explore navigate to the /system/ folder on the root of your device (make sure it’s mounted as read/write), then long-press the build.prop file and choose “Open with…” and “Text editor.” From there, either replace existing values with the ones shown here, or add any of the lines listed below to the bottom of the build.prop file.
Paste any of those codes at the bottom of the build.prop

 When you’re done, make sure to save the file and reboot.





Create a Backup

Before altering your build.prop file, it is better to create a backup of the untouched file. Using a file manager, navigate to the file, copy it and paste it anywhere with “.bak” at the end of the file name.



If you ever need to revert back to the original file, simply remove the “.bak” and move it back to the /system/ folder.

Make Your Phone Ring as Soon as You Get a Call

This first build.prop edit will make your phone ring as soon as you get a call instead of waiting to verify the connection. For most devices, these lines won’t already exist, so you’ll have to add them both to the bottom of your build.prop file:

ro.telephony.call_ring.delay=0
ring.delay=0


Enable Auto-Rotation on the Lock Screen

This feature is only found in tablets, but if you’d like your smartphone’s lock screen to be able to rotate into portrait mode, it’s an easy fix. Just add the following line to the bottom of your build.prop:

lockscreen.rot_override=true


Enable Auto-Rotation on the Home Screen

The same goes for the home screen app on phones versus tablets—rotation is disabled on most of the smaller devices. If you’d like to change that and force your launcher to use auto-rotation, add the following line to the bottom of your build.prop:

log.tag.launcher_force_rotate=VERBOSE



Use Google’s DNS for Faster Internet Connections

Most Android devices will use their carrier’s DNS service by default, and these can sometimes have issues resolving domain name addresses. Google has a set of free DNS servers that anyone can use, and you know they’ve got all of the bandwidth in the world, so they rarely fail. To force your device to use Google’s more reliable DNS servers, add the following lines to the bottom of your build.prop file:

net.dns1=8.8.8.8
net.dns2=8.8.4.4



Force JPEG Encoding to Be Top Quality

A lot of devices are set to render media in a slightly-lowered quality to save the processor from extra burden, but most of the time, there’s more than enough power to get the job done. So if you think your phone can handle it and you’d rather see all JPEG images in top quality, add this line to the bottom:

ro.media.enc.jpeg.quality=100



Enable or Disable on Screen Navigation Keys

Most Android devices these days come with on-screen navigation keys. If you’d rather use a different solution for the back, home, and recent apps buttons, add this line to disable the on-screen buttons altogether:

qemu.hw.mainkeys=1



On the other hand, if you have a device with hardware navigation buttons and you’d like to use the on-screen keys instead, add this line:

qemu.hw.mainkeys=0

Increasing Time for Wi-Fi Network Scans

By default, Android scans for nearby Wi-Fi networks every 15 seconds when you have Wi-Fi enabled. This helps when you’re moving around between multiple access points, but for the most part, the high interval only serves to drain your battery. If you’d rather have your phone or tablet wait for 5 minutes before it looks for nearby Wi-Fi networks again, add the following line to the end of your build.prop file:


wifi.supplicant_scan_interval=300



Change android name and version

ro.build.display.id=Your ROM name
ro.build.version.release=2.3.6 (Android version number)

Decrease boot
time

debug.sf.nobootanimation=1 (Disables bootanimation)
ro.config.hw_quickpoweron=true
persist.sys.shutdown.mode=hibernate
dev.bootcomplete=0

Power  saving

ro.ril.power_collapse=1
pm.sleep_mode=1
wifi.supplicant_scan_interval=120 (sets wifi scanning interval, can be increased or decreased)
ro.mot.eri.losalert.delay=1000 (might break tethering)

3G Tweaks

ro.ril.hsxpa=2
ro.ril.gprsclass=10
ro.ril.hsdpa.category=10
ro.ril.hsupa.category=5
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.hep=1
ro.ril.enable.dtm=1
ro.rill.enable.a53=1

Telephony/ring
Tweaks

ro.telephony.call_ring.delay=0
ring.delay=0

Proximity (Disable blackscreen issue after call)

mot.proximity.delay=0
ro.lge.proximity.delay=25

Smooth
Scrolling

windowsmgr.max_events_per_sec=84(This value is experimental)
ro.max.fling_velocity=12000
ro.min.fling_velocity=8000

Disables error reports

profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1

Force home launcher into memory(use light launchers only)

ro.HOME_APP_ADJ = 1

Render UI with GPU

debug.sf.hw = 1

Disable
logcat
logcat.live=disable

dalvik.vm.heapsize = 64m
Note: This value is different for different phones, the value can larger(128m) with larger RAM device, use accordingly!

Phone will not wake up from hitting volume rocker

ro.config.hwfeature_wakeupkey=0

Change LCD
density
ro.sf.lcd_density=160

Allows purging of assets to free up RAM
persist.sys.purgeable_assets=1

No comments:

Powered by Blogger.