FORUMS
Remove All Ads from XDA

[Guide]Build.prop Wiki

3,783 posts
Thanks Meter: 5,074
 
Post Reply Email Thread
Alright great S2 users!
I´m Chris from Omega Team and today I present to you my little tutorial about build.prop file. Couldn't find something similar in here, so I decided to start this thread. I already got a thread about it in Galaxy S3 section and decided to port it also to Galaxy S2 forum.
So before I start just one thing. It took me many hours to get all the information and as you can see there are still some points missing. So if you got some information about them, please pm me and for sure I put you on the credit list! If you try to mod the build.prop, please back it up first and make a nandroid backup in case something went wrong. Also don´t do anything unless you have a clue about it! Please hit thanks if you think the information in here are useful! And I´m glade for any feedback and suggestion from you guys! I´m not responsible for any damage you phone get when you messing around with this values!


Credits:

To Vegeta1, for give me a first start and his great support!
To Omega Rom Team, for their great support and being like a second family!



1. You will find the build.prop file in root path/System. You can open it with a build.prop editor from Play store or open it for example with the build in text editor in an app like root explorer.

2. For what you need a build.prop? Here´s a good explanation from TheManii: Build.prop is what holds the majority of the runtime flags that are used when android boots, think of it as being similar to config.sys 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.

3. Let´s get started

# begin build properties
# autogenerated by buildinfo.sh

Version Number of 4.1.2
ro.build.id=JZO54K

Current Rom version on Phone: by editing this value, you will change what are standing in Settings/About Phone/Buildnumber. For Example you can change it to Omega by Indie or what ever you like.
ro.build.display.id=Omega v16.2 - XXLSJ

Your current Modem version
ro.build.version.incremental=I9100XXLSJ

Current sdk version of Framework plus Codename
ro.build.version.sdk=16
ro.build.version.codename=REL

Android Version on Phone
ro.build.version.release=4.1.2

Current Kernel version
ro.build.date=Tue Nov 6 02:17:01 KST 2012
ro.build.date.utc=1352135821
ro.build.type=user
ro.build.user=se.infra
ro.build.host=SEP-111

This means its a official release
ro.build.tags=release-keys

Model Number plus Manufacturer
ro.product.model=GT-I9100
ro.product.brand=samsung

Name
ro.product.name=GT-I9100

Device
ro.product.device=GT-I9100

The phone’s board is listed as “smdk4210,” which means it will most likely use Exynos 4210, supporting a maximum clock speed of 1.2GHz.
ro.product.board=smdk4210

System Images
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product_ship=true

Nothing to say
ro.product.manufacturer=samsung

Current default Country settings. If you change that line for example to ro.product.locale.language=de and ro.product.locale.region=De, the phone will set to German after a factory reset
ro.product.locale.language=en
ro.product.locale.region=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 14 channels you can paste the same number in here.
ro.wifi.channels=

Nothing interest on the next few points. Most are explained above.
ro.board.platform=exynos4
# ro.build.product is obsolete; use ro.product.device
ro.build.product=GT-I9100
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=GT-I9100-user 4.1.2 JZO54K I9100XXLSJ release-keys
ro.build.fingerprint=samsung/GT-I9100/GT-I9100:4.1.2/JZO54K/I9100XXLSJ:user/release-keys
ro.build.characteristics=default
# Samsung Specific Properties
ro.build.PDA=I9100XXLSJ
ro.build.hidden_ver=I9100XXLSJ
ro.build.changelist=462349
# end build properties
#
# system.prop for smdk4210
#

Ril Specific: Here some from aosp to that: RIL daemon reads rild.lib path and rild.libargs system properties to determine the Vendor RIL library to use and any initialization arguments to provide to the Vendor RIL
rild.libpath=/system/lib/libsec-ril.so
rild.libargs=-d /dev/ttyS0

Here you can set the Pixel per inch. The smaller you set it the smaller apps, icons and fonts will be. But be careful if you set it to low apps can crash! Also you can´t set it higher than the default value!
ro.sf.lcd_density=240

Minimum brightness of your screen
ro.lcd_min_brightness=40

This point is about rooting. It´s setting if the device running on the emulator or running in secure mode
ro.kernel.qemu=0

This point speak for itself
ro.tvout.enable=true

Maybe someone can light me up on that point.
persist.sys.storage_preload=1

Same here
net.streaming.rtsp.uaprof=http://wap.samsungmobile.com/uaprof/

# Multimedia property for Smart View
media.enable-commonsource=true


# System property for Default Brightness

I think this point also need no explanation
ro.lcd_brightness=160

#
# ADDITIONAL_BUILD_PROPERTIES
#

Support for OpenGl 2.0
ro.opengles.version=131072

System property used to enable or disable dirty regions invalidation.
debug.hwui.render_dirty_regions=false

System property defining default error report receiver
ro.error.receiver.default=com.samsung.receiver.err or

This controls the smallest amount of memory given to a single application.
dalvik.vm.heapstartsize=5m

The dalvik.vm.heapgrowthlimit property limits how large an Android application’s heap can get.
dalvik.vm.heapgrowthlimit=48m

The dalvik.vm.heapsize property defines an absolute maximum for the heap size for an application.
dalvik.vm.heapsize=128m

Same as above, setting the pixel per inch
ro.sf.lcd_density=240

No clue about the next point. Help is appreciated.
ro.sec.fle.encryption=true

Here you can set the standard media sounds for each notification. But they got to match with the one in system/media/audio/...
ro.config.ringtone=S_Over_the_horizon.ogg
ro.config.notification_sound=S_Whistle.ogg
ro.config.alarm_alert=A_toy_watch.ogg
ro.config.media_sound=Media_preview_Touch_the_ligh t.ogg

That means your phone is still usable, even you got no Sim card in it.
keyguard.no_require_sim=true

Format of date
ro.com.android.dateformat=MM-dd-yyyy

Setting this value from unknown to wifi-only can fix some stand by issues.
ro.carrier=unknown

Needed for Play store. Some guys modded it to pay with her Phone bill, but i don't know if that still works.
ro.com.google.clientidbase=android-samsung

Defines weither to use UMTS (0), HSPDA/UMTS(1), or HSDPA/HSPUA(2) respectively.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.
ro.ril.hsxpa=1

Defines what class speeds to use with EDGE. Setting this value to 12 can improve the data speed significant on lower connections.
ro.ril.gprsclass=10

Value for adb. Is a pipe connection in the adb client.
ro.adb.qemud=1

No clue. Maybe someone can light me up.
ro.com.google.apphider=off

Google Mobile Service Version with build number
ro.com.google.gmsversion=4.1_r3

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, u=n means do not optimize for unprocessor and m=y means register maps yes
dalvik.vm.dexopt-flags=m=y

Bluetooth name of the device
net.bt.name=Android

The dalvik.vm.stack-trace-file property allows you to specify the name of the file where the thread stack traces will be written.
dalvik.vm.stack-trace-file=/data/anr/traces.txt

This point stands for "Debug SurfaceFlinger Hardware" or GPU hardware acceleration
debug.sf.hw=1

Video Acceleration
video.accelerate.hw=1

Increase the touch responsive of the screen
debug.performance.tuning=1

Disable sending usage data
ro.config.nocheckin=1

Increase the quality of JPEG pics
ro.media.enc.jpeg.quality=100

increasing the recording quality of Pics and videos
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000

Here you can set the delay of time your phone starts to ring when you recieve a call. 0=disabled
ro.telephony.call_ring.delay=0

This point set the delay after a call. This fix Black screen issues.
ro.lge.proximity.delay=15
mot.proximity.delay=15

Next two points should safe some battery if they are enabled but the problem is that they are not in source code elsewhere and should have no effect. This means that adding this value to your build.prop will have no effect at all. This parameter is a kernel parameter and will only work when passed directly to the kernel on boot.
ro.ril.disable.power.collapse=0
pm.sleep_mode=1

Already explained
ro.config.nocheckin=1

For the last two points. These commands enable or disable the error profiler in the android. For most android users, there is no use in having error profiling . however , some applications might make use of this for generating error reports.
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
The Following 33 Users Say Thank You to Chris_84 For This Useful Post: [ View ] Gift Chris_84 Ad-Free
 
 
25th December 2013, 01:56 PM |#2  
Junior Member
Thanks Meter: 1
 
More
Is it possible to have conditional statements in build.prop?
Is it possible to have conditional statements in build.prop?
For example:
if P1 == 0
ro.xxx.yyy=value1
else
ro.xxx.yyy=value2
endif
where P1 is either a parameter or a predefined setting.
Thanks
The Following User Says Thank You to Ian5723 For This Useful Post: [ View ] Gift Ian5723 Ad-Free
25th December 2013, 02:29 PM |#3  
Chris_84's Avatar
OP Senior Member
Flag Ingolstadt
Thanks Meter: 5,074
 
More
Quote:
Originally Posted by Ian5723

Is it possible to have conditional statements in build.prop?
For example:
if P1 == 0
ro.xxx.yyy=value1
else
ro.xxx.yyy=value2
endif
where P1 is either a parameter or a predefined setting.
Thanks

I think you mean like a script. Imo that's not possible.

Sent from my GT-I9300 using XDA Premium 4 mobile app
26th December 2013, 01:46 AM |#4  
Junior Member
Thanks Meter: 4
 
More
Pure awesomeness thank very much
The Following User Says Thank You to didakos For This Useful Post: [ View ] Gift didakos Ad-Free
18th January 2014, 08:51 PM |#5  
Member
Flag Montreal
Thanks Meter: 8
 
More
Nice thread ! Now I understant what's in the Build.prop . I will take a look to my Build.prop tonight !

Thanks man !
The Following User Says Thank You to maxflay For This Useful Post: [ View ] Gift maxflay Ad-Free
19th January 2014, 03:02 AM |#6  
Chris_84's Avatar
OP Senior Member
Flag Ingolstadt
Thanks Meter: 5,074
 
More
Quote:
Originally Posted by maxflay

Nice thread ! Now I understant what's in the Build.prop . I will take a look to my Build.prop tonight !

Thanks man !

Glade you like it. And thanks for the feedback!

Sent from my GT-I9300 using XDA Premium 4 mobile app
23rd November 2015, 06:17 PM |#7  
Junior Member
Thanks Meter: 0
 
More
SystemUpdateServices
I need to stop Android System Update downloads from happening after I restart the phone.

I am using DisableService app to uncheck (OFF) SystemUpdateServices (under Google Services Framework). After I restart the phone the SystemUpdateServices is check (ON) again. Does anyone know which properties controls the SystemUpdateServices?

Thank you.
25th September 2016, 05:52 PM |#8  
Junior Member
Thanks Meter: 0
 
More
Help help help !!!!!
I have mistakely deleted my build.prop of samsung galaxy s2.... I beg you please send me its file of build.prop in my gmail please mail me ...........
22nd October 2016, 10:19 AM |#9  
asia559571's Avatar
Senior Member
Thanks Meter: 103
 
More
Increase the touch responsive of the screen debug.performance.tuning=1
Can I increase this number?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes