[Q] build.prop & local.prop - General Questions and Answers

Hey everyone, I need some information on local.prop and build.prop.
First of all, are these two files loaded on every boot or just once after you flash them?
Also, what is the difference between the two? I have gone through several ROMs/mods, and I have seen that some people use local.prop for the same values that some other people use build.prop.
What is the difference? If I am cooking my own rom, can I just add any line I have on local.prop to build.prop and delete it?
Thanks!

Related

[Q] Build.Prop

I had My Wildfire rooted(CM7 Nightly Rom).
By default System folder doesnt have build.prop file. i extracted the build.prop from the rom and pasted with few changes.
for eg. default ringtone to Rigel.ogg(orginal config Playa.ogg)
But my phone isn't changing Playa.ogg(Default) to Rigel.ogg
What i concluded is andorid is not reading the build.prop file
any suggestion?
Thanx
rahul16011988 said:
I had My Wildfire rooted(CM7 Nightly Rom).
By default System folder doesnt have build.prop file. i extracted the build.prop from the rom and pasted with few changes.
for eg. default ringtone to Rigel.ogg(orginal config Playa.ogg)
But my phone isn't changing Playa.ogg(Default) to Rigel.ogg
What i concluded is andorid is not reading the build.prop file
any suggestion?
Thanx
Click to expand...
Click to collapse
Idk if I'm right , but since by default it has no build.prop that means it won't read that file .
Forever living in my Galaxy Ace using XDA App
So can u please tell me how to make my Phone read the configuration mentioned in build.prop??
Hmm, wich nightly do you have?
CyanogenMod-7-Nightly-buzz
My only tip is make sure you are using a plain text exitor like notepad or notepad++ because otherwise the formatting can stop the roms from working.
Thanks for your reply..
actually i figured it out myself.
"Build.prop only works at the time of flashing"
I flashed my wildfire with updated build.prop and it reflected the changes that i made.
my real motive was to use timescape widget with Arc launcher.
can you guide me with this.

[Q] build.prop sound/volume related settings

Hi,
Is there a possibility to change (increase) max in-call volume through build.prop or any other file or system setting ?
And by the way, any idea where to find a list of build.prop settings ? I mean the defaults since build.prop entries only overwrites the one located elsewhere.
you want default one? you can extract it from official RUU.
or you want list of tweak?
I will check this, thanks. And I don't need a list of tweaks, just a list of every possible settings

[Q] build.prop file needed for N8000XXUDNE4

Hello guys!
I tried to change screen density on my N8000 (TouchWiz KitKat [N8000XXUDNE4]) with build.prop editor. It has changed but the value was wrong and I could saw only some part of the screen so I was not able to change it back via build.prop editor app. So I did it on my laptop (copied build.prop file on SD than edited it on laptop and copied it back to \system folder.
Now my tab doesn't boot it stucks on Samsung flashing logo... :crying: :silly:
Where did I messed thing up? Will placing similar file from other device (N8000 with same ROM) help?
Could any one please share his original build.prop file with me?? (igemmon at gmail.com) :angel:
Many thanks in advace!!!
SOLVED: http://forum.xda-developers.com/showthread.php?t=1927198

[Q] Build.prop and local.prop which lines to edit

Hi,
Can people please list which lines they have edited on both files and the benefits/improvements?
build.prop and local.prop
Thanks,
I

How about a build.prop thread?

I'm used to only having one build.prop file to edit; on the SHT-AL09 there are three build.prop files - there's a system/build.prop, a vendor/build.prop, system/vendor/build.prop. The system/build.prop file is different/smaller than the other two files, one of which I presume is a vendor supplied backup.
Please excuse me if this is a stupid question - but which file(s) need to be edited to successfully implement build.prop tweaks?
Also, build.prop permissions are traditionally set to 644. However, out of the box, our build.prop permissions appear to be set to 600.
This thread can also serve as a place to share build.prop tweaks that are confirmed to not result in bootloops. Personally, I am looking forward to increasing sling velocity.
I guess build.prop tweaks are a thing of the past?
I figured out that the system/vendor/ folder is the same as the root/vendor/ folder; change a file in one and it is changed in the other as well. I have also confirmed that editing either the build.prop or default.prop files in the vendor folder affects system config. In the default.prop folder I changed the value for 'qemu.hw.mainkeys,' and afterward Nova Launcher was suddenly unable to turn the color of the text in my status bar to a dark color.
I don't plan on playing around much until we have a working recovery, but so far I have edited the following existing lines in my build.prop file:
dalvik.vm.heapsize=700m
dalvik.vm.heapstartsize=35m
dalvik.vm.heapgrowthlimit=140m
dalvik.vm.heaptargetutilization=0.72
dalvik.vm.heapmaxfree=15m
And have added the following lines:
net.tethering.noprovisioning=true
ro.config.nocheckin=1
net.tcp.buffersize.default=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.umts=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.gprs=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.edge=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.hspa=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.lte=524288,1048576,2097152,524288,1048576,2097152
net.tcp.buffersize.hspda=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.evdo_b=6144,87380,1048576,6144,87380,1048576
windowsmgr.max_events_per_sec=90
I couldn't say for sure that I have seen an improvement, but I think I've seen some improvement in overall stability/multi-tasking. At least, there have been no ill effects. I am also getting better data speeds in certain parts of town via T-Mo - but that could be random or related to experimentation with my APN.
Also...VOLTE is enabled by default in the stock build.prop - unfortunately it is a known issue that Huawei phones don't get VOLTE on T-Mo (in the US) unless they have US firmware.
thref23 said:
I guess build.prop tweaks are a thing of the past?
I figured out that the system/vendor/ folder is the same as the root/vendor/ folder; change a file in one and it is changed in the other as well. I have also confirmed that editing either the build.prop or default.prop files in the vendor folder affects system config. In the default.prop folder I changed the value for 'qemu.hw.mainkeys,' and afterward Nova Launcher was suddenly unable to turn the color of the text in my status bar to a dark color.
I don't plan on playing around much until we have a working recovery, but so far I have edited the following existing lines in my build.prop file:
dalvik.vm.heapsize=700m
dalvik.vm.heapstartsize=35m
dalvik.vm.heapgrowthlimit=140m
dalvik.vm.heaptargetutilization=0.72
dalvik.vm.heapmaxfree=15m
And have added the following lines:
net.tethering.noprovisioning=true
ro.config.nocheckin=1
net.tcp.buffersize.default=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.umts=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.gprs=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.edge=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.hspa=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.lte=524288,1048576,2097152,524288,1048576,2097152
net.tcp.buffersize.hspda=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.evdo_b=6144,87380,1048576,6144,87380,1048576
windowsmgr.max_events_per_sec=90
I couldn't say for sure that I have seen an improvement, but I think I've seen some improvement in overall stability/multi-tasking. At least, there have been no ill effects. I am also getting better data speeds in certain parts of town via T-Mo - but that could be random or related to experimentation with my APN.
Also...VOLTE is enabled by default in the stock build.prop - unfortunately it is a known issue that Huawei phones don't get VOLTE on T-Mo (in the US) unless they have US firmware.
Click to expand...
Click to collapse
You mean you added and edited these lines in the vendor build.prop right?
The I can't mod the system build.prop, after every restate it restores the old one. What can I do about it?
Marcopoloy13 said:
You mean you added and edited these lines in the vendor build.prop right?
The I can't mod the system build.prop, after every restate it restores the old one. What can I do about it?
Click to expand...
Click to collapse
I think the system/build.prop is rewritten according to the vendor/build.prop at boot. I'm not sure. You don't have to do anything about it - just edit the vendor file instead of the system file.
Be careful with heapsize values. I pushed the dalvik.vm.heapsize to 900m, with .6 heaptargetutilization - and it bootlooped me. I had tested those values on my Sony Z3TC first and they worked...
Don't know exactly what difference it makes, but I am currently using:
dalvik.vm.heapsize=720m
dalvik.vm.heapstartsize=36m
dalvik.vm.heapgrowthlimit=144m
dalvik.vm.heaptargetutilization=0.67
thref23 said:
I think the system/build.prop is rewritten according to the vendor/build.prop at boot. I'm not sure. You don't have to do anything about it - just edit the vendor file instead of the system file.
Be careful with heapsize values. I pushed the dalvik.vm.heapsize to 900m, with .6 heaptargetutilization - and it bootlooped me. I had tested those values on my Sony Z3TC first and they worked...
Don't know exactly what difference it makes, but I am currently using:
dalvik.vm.heapsize=720m
dalvik.vm.heapstartsize=36m
dalvik.vm.heapgrowthlimit=144m
dalvik.vm.heaptargetutilization=0.67
Click to expand...
Click to collapse
I don't think that the vendor and system ones are the same or will be generated from it, there are not the same, things like dalvik.vm.heapgrowthlimit isn't in the system one just in vendor.
I have instead an GSI, so there are very different .
For Example on the system one it says the right security patch and release (8.1.0 - 2018-07-05) while on the vendor one it is still the values from the EMUI Rom (8.0 - 2018-06-01)
So there must be a way to mod the system build.prop, the MagiskHide Props Config Module runs a script on startup to modify the fingerprint, but I don't know how to modify more that this with this module or write my own script.

Categories

Resources