100% found this document useful (1 vote)
7K views15 pages

Editing Android Build.prop Guide

This document provides information about editing the build.prop file on an Android device to modify system properties and optimize performance. It begins by explaining what the build.prop file is and where it is located. It then provides directions on how to edit the file using a root file explorer. The rest of the document consists of explanations and examples of properties that can be modified in build.prop to tweak various device settings and behaviors.

Uploaded by

AnthonyJohan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
7K views15 pages

Editing Android Build.prop Guide

This document provides information about editing the build.prop file on an Android device to modify system properties and optimize performance. It begins by explaining what the build.prop file is and where it is located. It then provides directions on how to edit the file using a root file explorer. The rest of the document consists of explanations and examples of properties that can be modified in build.prop to tweak various device settings and behaviors.

Uploaded by

AnthonyJohan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
  • Introduction and Credits
  • Build.prop Basics
  • System Configuration
  • Network and Connectivity Tweaks
  • Performance Enhancements
  • Advanced Customization
  • Specific Function Tweaks

Please make a nandroid backup in case something goes wrong.

Im not responsible for any damages to your phone.


Quote:
CREDITS
-Chris_84
-k2wl (for refrence [Link])
-xda-developers
Quote:
What is the [Link] ?
TheManii: [Link] is what holds the majority of the runtime flags that are used when android
boots, think of it as being
similar to [Link] on dos or environment variables in various OS's. It only holds variables, it cant
run any scripts on it's own. Whatever is placed inside depends on android itself to pay attention to
the flag and actually use it.
In easier words it is a file in your android system that maintains certain parameters on your phone in
order for your phone to run.
These properties are device specific and can change depending upon the various specifications of
the device and also includes some system properties.
Quote:
Where is [Link] located?
You will find the [Link] file in root/system/[Link]. You can open it with a root explorer/es
explorer which has a built in text editor.
Quote:
How to edit [Link]?
[Link] a root explorer or ES file exploreror.
copy /system/[Link] to the root of the internal sdcard (/mnt/sdcard).
[Link] it using a text editor (ES and root explorer have an inbuilt text editor) or on computer using
notepad++.
[Link] careful as some of the parameters already exist. Just change their values.
4. Overwrite /system/[Link] with the edited file.
5. Make sure that the permissions are still rw-r--r--:
6. Reboot into recovery
wipe cache and dalvik cache.
Make sure to edit existing line if present

LETS BEGIN
This mentions that the build prop is built by build info shell script during the compilation of
the ROM.
# begin build properties
# autogenerated by [Link]
Version name of 4.2.2(jellybean)
[Link]=JDQ39
Current rom version on phone
[Link]=aokp_i9082-userdebug 4.2.2 JDQ39 eng.k2wl.20130827.005402
Your current modem version
[Link]= eng.k2wl.20130827.005402
Current sdk version of framework plus codename
[Link]=17
[Link]=REL
Current android version on phone
[Link]=4.2.2
This is the time and date of when the Kernel was built.
[Link]=Aug 27 [Link] IST 2013
Other Kernal Details
[Link]=1377545098
[Link]=userdebug
[Link]=android-build
[Link]=k2wl-HP-EliteBook-8440p
Test keys means that the ROM is not an official version of the ROM. Release keys are for
official releases.
[Link]=release-keys
Model Number
[Link]=GT-I9082
Phone Manufacturer
[Link]=samsung
This name is the codename of the
device.
For exampleHTC Explorer - pico,
Nexus 7 - grouper
Nexus 4 - mako
Galaxy Ace - cooper
Grand - baffin

[Link]=baffin
System Images
It is the first instruction set (CPU + ABI
convention type) of the code. Ours is an arm type arch cpu and abi version 7a )
[Link]=armeabi-v7a
[Link].abi2=armeabi
Default Country settings.
Language of software
Region of software
[Link]=en
[Link]=GB
If you not able to connect to your wifi, you can try to set here the same number of channels
as your router currently got. For example: Your router is set to 12 channels you can paste the
same number in here.
[Link]=

Here you can set the standard media sounds for each notification. But the file should be
present in system/media/...
[Link]=S_Over_the_horizon.ogg
[Link].notification_sound=S_Whistle.ogg
[Link].alarm_alert=A_toy_watch.ogg
Your phone is still usable, even if sim card is not inserted.
keyguard.no_require_sim=true
Default format of date
[Link]=mm-dd-yyyy
Your bluetooth name
[Link]=Samsung Galaxy Grand Duos
Disable Boot Animation
[Link]=1
Your battery capacity (in MHz)
[Link]=1200
The setup wizard when you flash a custom rom and it asks your language, gmail id etc
[Link]=DISABLED (or ENABLED or OPTIONAL)
Here you can set the default density (in pixel per inch)(default is 240)
[Link].lcd_density=240
Minimum brightness of your screen
ro.lcd_min_brightness=40

Your default brightness


ro.lcd_brightness=160
Basically you control the class-loading and dalvik-vm there. Here you can set different
values.
v=a means verify all,
v=f means verify full,
o=v means optimize verify,
v=n will turn off bytecode verification
u=n means do not optimize for unprocessor
m=y means register maps yes
[Link]-flags=m=y
Enables multi touch
[Link].multi_touch_enabled=true
Max number of multi touches
[Link].max_num_touch=2
Disable sending usage data
[Link]=1
Here you can set the delay of time your phone starts to ring when you recieve a call.
[Link].call_ring.delay=0 (0 means disabled)
Disable waking up of phone by volume buttons [Link].hwfeature_wakeupkey=0
Off the proximity quickly after call
[Link]=25
[Link]=25
This property is supposed to keep the launcher in memory under the assumption that it
would somehow make it faster
ro.HOME_APP_ADJ=1
Allows your phone to use an ext-4 file system
ro.ext4fs=1
Disables debug icon on status bar
[Link]=0
Key lights stay on while screen is on
[Link]=0
Disable notification sound when SD is inserted
[Link]=0
Disables location of device. Also delete /system/app/[Link] and
/system/framework/[Link]
.jar

[Link]=0
[Link]=0
To enable the timeout of hard key lights to stay on when screen is on and lights off when
screen is off
[Link]=0
To enable the menu button too unlock the phone
Not sure if it works
[Link].hw_menu_unlockscreen=true
Proximity sensor debounce time
[Link]=450
[Link]=60
Default data roaming is enabled
[Link]=true
Judging from its name I assume people think it disables some kind of logging mechanism.
But 'no'.The ulog referred to in this property is an HTC-specific service that HTC calls the
User Behavior Logging Service. This service is centered around tracking user behavior
related to the HTC Sense launcher. The HTC ULog tracks some basic things like the number
of ANRs and/or crashes, but it also potentially tacks things like your wallpaper selection,
your installed apps and your locatio (HTC specific)
profiler.force_disable_ulog=1
Unlike the latter, this one actually does turn off sending device crash log data to HTC. This
will make your device run faster/smoother/better (HTC specific)
profiler.force_disable_err_rpt=1
# Increase Quality Of MediaStreaming
[Link]-meta=true
[Link]-scan=true
[Link]-http=true
[Link]-record=false
# Net Speed Tweaks
[Link]=4096,87380,256960,4096,
16384,256960
[Link]=4096,87380,256960,4096,163
84,256960
[Link]=4096,87380,256960,4096,163
84,256960
[Link]=4096,87380,256960,4096,163
84,256960
[Link]=4096,87380,256960,4096,163
84,256960
# Google DNS Tweak
net.wlan0.dns1=[Link]

net.wlan0.dns2=[Link]
net.pdp0.dns1=[Link]
net.pdp0.dns2=[Link]
net.ppp0.dns1=[Link]
net.ppp0.dns2=[Link]
net.eth0.dns1=[Link]
net.eth0.dns2=[Link]
[Link].dns1=[Link]
[Link].dns2=[Link]
# Touch Responsiveness
Scrolling Responsiveness
Faster Scrolling
[Link]=1
[Link]=1
windowsmgr.max_events_per_sec=500
[Link].fling_velocity=12000
[Link].fling_velocity=8000
# Media Tweaks
Increase photo and video quality
[Link]=8000000
[Link]=8000000
[Link]=100
Makes streaming videos stream faster
[Link]-player=true
[Link]-meta=true
[Link]-scan=true
[Link]-http=true
Better Flashlight intensity & camera-flash quality
[Link]=led
[Link]=3300000
[Link]=65
[Link]=70
# Signal Tweaks
Defines weither to use [0=UMTS] [1=HSDPA only] [2=HSDPA & HSUPA] [5=No significant
information has been found but it makes the switch between WiFi and HSxPA nearly
instantaneous (note works like "2" but better)]
Here you can improve your Data speed if your provider supports it. Set this to 0 if you want
lower speeds, and up to 2 for faster speeds.
[Link]=2
Defines what class speeds to use with EDGE.
Class 10 will significantly save battery, unless you use EDGE/GPRS instead of 3G)
12 is the default value for most modern phones.

Setting this value to 12 can improve the data speed significant on lower connections.
[Link]=10
0=off
1=Default
no change when turned off. In some phones stability is increased when turned off.
[Link]=1
Enable "dual transfer mode" on EDGE networks. Requires different GPRS class settings.
Only set this to 1 if your network allows simultaneous transfer of Circuit switched (CS) voice
and Packet switched (PS) data over the same radio channel (ARFCN). Turning this off on
some carriers, including Optus (AU) and AT&T increases upload speeds.
[Link]=1
Enable increased ciphering on
HSDPA/HSUPA, for increased security, but decrease in performance.
[Link].a53=1
Adds the 3G prefix e.g. Optus 3G, etc. Purely cosmetic
[Link]=1
Other signal tweaks
[Link]=10
[Link]=4294967295
[Link].htcmaskw1=14449
[Link]=5
# Dalvik VM tweaks
This controls the smallest amount of memory given to a single application.
[Link]=5m
The [Link] property limits how large an Android applications heap can
get
[Link]=48m
The [Link] property defines an absolute maximum for the heap size for an
application
[Link]=128m
This point stands for "Debug SurfaceFlinger Hardware" or GPU hardware acceleration
[Link]=1
Explained Earlier(change to this to load apps faster and free more ram)
[Link]-flags=m=v,o=y or m=y
This property can set the execution mode of the Dalvik VM. The VM can run in three modes:
fast, portable, and JIT. It is possible to compile Android without JIT support, but the default is
to include it. In general, JIT is the execution mode you are going to want on your device. This
is why you will see most [Link] files setting this property to int:jit.

In ICS or lower , there is no need to define this setting in your [Link]


[Link]-mode=int:jit or int:fast
Others
[Link]=0.75
[Link]=2m
[Link]=500
# Improve battery
improve battery under no signal
[Link]=1000
Wifi to scan less frequently
wifi.supplicant_scan_interval=240
System can free more Ram when needed
[Link].purgeable_assets=1
This property purports to significantly increase your battery life by putting signaling your
device to use a better power mode when your phone is idle. Recommended values range
from 0, 1, 4 with the most common be 1
pm.sleep_mode=1
To save battery turn off wifi, internet, bluetooth, gps, lower the brightness at night, kill all apps
running in background, clear ram, underclock if kernal supports and also switch off the animations
settings>display>no animation.

1. Fast Reboot
[Link].purgeable_assets=1
1.1 Faster boot.
[Link].hw_quickpoweron=true

2. Increasing The Video Recording Quality


[Link]=8000000

3. Screen Rotate To 270 degree


windowsmgr.support_rotation_270=true;

4. Increase VM Heap Size(resolve some fc's)


[Link]=64m

5. Render UI With GPU


[Link]=1

6. Increasing It Will Make Mobile Smoother


windowsmgr.max_events_per_sec=150

7. Video Acceleration Enabled And HW debugging. [Link] can also be


changed to cpu or mdp.
[Link]=1
[Link]=1
[Link]=1
[Link]=1 # Measure rendering time in adb shell dumpsys gfxinfo
[Link]=1
[Link]=gpu # Disable hardware overlays and use GPU for screen compositing

8. Increase Performance
[Link]=1

9. Disable Sending Usage Data


[Link]=1

10. Deeper Sleep/Better battery life


[Link]=1
pm.sleep_mode=1

11. Ringing Will Start Immediately


[Link].call_ring.delay=0
[Link]=0

12. Disable Error Checking

[Link]=0

13. Increase Quality Of Media Streaming


[Link]-player=true
[Link]-meta=true
[Link]-scan=true
[Link]-http=true
[Link]-rtsp=true
[Link]-record=false

14. Disable BootAnimation


[Link]=1

16. Force To Remain Launcher In Memory


ro.HOME_APP_ADJ=1

17. Disable Waking Up Of Phone By Volume Buttons


[Link].hwfeature_wakeupkey=0

18. Off The Proximity Quiclky After Call


[Link]=25
[Link]=25

19. Better Signal Tweaks


[Link]=2
[Link]=10
[Link]=1
[Link]=1
[Link]=10
[Link].a53=1
[Link]=1
[Link]=4294967295
[Link].htcmaskw1=14449
[Link]=5
[Link]=1
[Link].hw_fast_dormancy=1

20. NetSpeed Tweaks


[Link]=4096,87380,256960,4096, 16384,256960
[Link]=4096,87380,256960,4096,163 84,256960
[Link]=4096,87380,256960,4096,163 84,256960
[Link]=4096,87380,256960,4096,163 84,256960
[Link]=4096,87380,256960,4096,163 84,256960

21. Google DNS Tweak


net.rmnet0.dns1=[Link]
net.rmnet0.dns2=[Link]
net.dns1=[Link]
net.dns2=[Link]

22. Photo And Video Quality


[Link]=100
[Link]=8000000
[Link]=8000000
[Link]=8m
[Link]=3264x1840
[Link]=1280x720
[Link]=true
[Link]=65

23. Touch Responsiveness


[Link]=1
[Link]=1

24. Scrolling Responsiveness


windowsmgr.max_events_per_sec=500

25. Power Save Tweaks


pm.sleep_mode=1
[Link].power_collapse=1
wifi.supplicant_scan_interval=180
[Link]=1000 could brake tethering

26. Disables Debug Icon On Status Bar


[Link]=0

27. Faster Better Scrolling


[Link].fling_velocity=12000
[Link].fling_velocity=8000
windowsmgr.max_events_per_sec=150
ro.min_pointer_dur=8

28. wifi to scan less frequently


wifi.supplicant_scan_interval=180

29. improve battery under no signal


[Link]=1000

30. makes apps load faster and frees more ram. (Edit exsisting line)
[Link]-flags=m=v,o=y

31. Off The Proximity Quickly After Call


[Link]=25
[Link]=25

32. Disables built in error reporting.


profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1

33. 3G tweaks.
[Link]=0
[Link]=2
[Link]=12
[Link]=1
[Link]=8
[Link].a53=1
[Link]=1
[Link]=4294967295
[Link].htcmaskw1=14449
[Link]=6

34. Disables logcat


[Link]=disable

35. Screen recognizes only two fingers.


[Link].multi_touch_enabled=true
[Link].max_num_touch=2

36. Support for ipv4 and ipv6.


[Link].ipv6=1
[Link].ipv4=1

37. Disables blackscreen issue after a call.


[Link]=25
[Link]=25

38. Better call voice quality.


[Link]=1

39. Dalvik Virtual Machine tweaks.


[Link]=false
[Link]-data-only=1
[Link]=5m
[Link]=48m
[Link]=64m
[Link]-bytecode=false
[Link]-mode=int:jit
[Link]=250
[Link]-flags=m=v,o=y
[Link]-trace-file=/data/anr/[Link]
[Link]=forcecopy

40. Disable notification while adb is active


[Link]=0

41. Change LCD density


- Default value is 240. Don't forget to install a patched market after changing it.
[Link]=240

42. MMS APN retry timer set to 2 sec( if SMS/MMS couldn`t be sent, it retries after 2 instead of
5 seconds).
[Link].2nd_data_retry_config=max/_retries=3, 2000, 2000, 2000

43. Key lights stay on while screen is on.


[Link]=0

44. Disable strict mode checking.


[Link]=0

45. Remove FPS cap. May be unstable - better have it activated


[Link]=0

47. Disable notification sound for SD storage insert


[Link]=0

48. Enable display dithering


[Link].use_dithering=1

49. More volume steps in call.


[Link].vc_call_steps=20

50. Phone will not wake up from hitting volume rocker.


[Link].hwfeature_wakeupkey=0

51. Lock app in memory.


sys.keep_app_1=[Link]

52. Enables MTP mode.


[Link]=mtp

[Link] Smooth Ui
[Link]=0
[Link]=0

54. Qualcomm tweaks


[Link]=1
[Link]=true
[Link]=1
[Link]=1

55. Wireless Tweaks


net.ipv4.ip_no_pmtu_disc=0
[Link]=1
net.ipv4.tcp_ecn=0
net.ipv4.tcp_fack=1
net.ipv4.tcp_mem=187000 187000 187000
net.ipv4.tcp_moderate_rcvbuf=1
net.ipv4.tcp_no_metrics_save=1
net.ipv4.tcp_rfc1337=1
net.ipv4.tcp_rmem=4096 39000 187000
net.ipv4.tcp_sack=1
net.ipv4.tcp_timestamps=1
net.ipv4.tcp_window_scaling=1
net.ipv4.tcp_wmem=4096 39000 18700
wifi.supplicant_scan_interval=180

Change android name and version

[Link]=Your ROM name


[Link]=4.4.2 (Android version number)

You might also like