Useful Build.prop Tweaks

Android has a single text file named build.prop that determines tons of various system-wide settings on your device. You need root access to edit this file, since it’s stored on the system partition—but the various lines of codes it contains are actually fairly easy to interpret and modify.

There are many device-specific edits you can make to your build.prop file to change the way the operating system looks and behaves. We’ll list all of the best universal build.prop edits we’ve found, which are plenty of useful tweaks that should work on almost any Android device.

How to Edit Your build.prop File

There are two easy ways to apply the tweaks listed below—either by opening your build.prop file with a file manager app, or by editing the file with a purpose-built app. Both methods will require that your device is rooted, though.

Also see: How to Root Almost Any Android Device

Go to the file browser route, 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. When you’re done, make sure to save the file and reboot.

build

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

Installing a Custome Recovery