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!


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

Version Number of 4.1.2

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. v16.2 - XXLSJ

Your current Modem version

Current sdk version of Framework plus Codename

Android Version on Phone

Current Kernel version Nov 6 02:17:01 KST 2012

This means its a official release

Model Number plus Manufacturer



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.

System Images

Nothing to say

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

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.

Nothing interest on the next few points. Most are explained above.
# is obsolete; use ro.product.device
# Do not try to parse or .fingerprint 4.1.2 JZO54K I9100XXLSJ release-keys
# Samsung Specific Properties
# 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.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!

Minimum brightness of your screen

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

This point speak for itself

Maybe someone can light me up on that point.

Same here

# Multimedia property for Smart View

# System property for Default Brightness

I think this point also need no explanation


Support for OpenGl 2.0

System property used to enable or disable dirty regions invalidation.

System property defining default error report receiver or

This controls the smallest amount of memory given to a single application.

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

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

Same as above, setting the pixel per inch

No clue about the next point. Help is appreciated.

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.media_sound=Media_preview_Touch_the_ligh t.ogg

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

Format of date

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

Needed for Play store. Some guys modded it to pay with her Phone bill, but i don't know if that still works.

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.

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

Value for adb. Is a pipe connection in the adb client.

No clue. Maybe someone can light me up.

Google Mobile Service Version with build number

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

Bluetooth name of the device

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

This point stands for "Debug SurfaceFlinger Hardware" or GPU hardware acceleration

Video Acceleration

Increase the touch responsive of the screen

Disable sending usage data

Increase the quality of JPEG pics

increasing the recording quality of Pics and videos

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

This point set the delay after a call. This fix Black screen issues.

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.

Already explained

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.
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
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
where P1 is either a parameter or a predefined setting.
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
Originally Posted by Ian5723

Is it possible to have conditional statements in build.prop?
For example:
if P1 == 0
where P1 is either a parameter or a predefined setting.

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
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  
Flag Montreal
Thanks Meter: 8
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
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
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
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
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)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes