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 buildinfo.sh
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.
ro.build.display.id=Omega v16.2 - XXLSJ
Your current Modem version
Current sdk version of Framework plus Codename
Android Version on Phone
Current Kernel version
ro.build.date=Tue 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.
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.
# ro.build.product is obsolete; use ro.product.device
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=GT-I9100-user 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
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.
# 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
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/...
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
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.
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.