FORUMS
Remove All Ads from XDA
Honor 7x
Win an Honor 7X!

Edits and Tweaks: Build prop, bools.xml

660 posts
Thanks Meter: 412
 
Post Reply Email Thread
build.prop edits are very easy and useful, they can be applied on stock rom/kernel, i have compiled this from various sources!
For ICS, most of these will be useless


Locate build.prop
got to system/ and find build.prop

Edit with notepad++. Save and overwrite previous file, then change permissions to rw,r,r!
Change the tweaks already present and add new at the end of file!

Change android name and version
ro.build.display.id=Your ROM name
ro.build.version.release=2.3.6 (Android version number)

Decrease boot time
debug.sf.nobootanimation=1 (Disables bootanimation)
ro.config.hw_quickpoweron=true
persist.sys.shutdown.mode=hibernate
dev.bootcomplete=0

Power saving
ro.ril.power_collapse=1
pm.sleep_mode=1
wifi.supplicant_scan_interval=120 (sets wifi scanning interval, can be increased or decreased)
ro.mot.eri.losalert.delay=1000 (might break tethering)

3G Tweaks
ro.ril.hsxpa=2
ro.ril.gprsclass=10
ro.ril.hsdpa.category=10
ro.ril.hsupa.category=5
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.hep=1
ro.ril.enable.dtm=1
ro.rill.enable.a53=1

Telephony/ring Tweaks
ro.telephony.call_ring.delay=0
ring.delay=0

Proximity (Disable blackscreen issue after call)
mot.proximity.delay=0
ro.lge.proximity.delay=25

Smooth Scrolling
windowsmgr.max_events_per_sec=84(This value is experimental)
ro.max.fling_velocity=12000
ro.min.fling_velocity=8000

Disables error reports
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1

Force home launcher into memory(use light launchers only)
ro.HOME_APP_ADJ = 1

Render UI with GPU
debug.sf.hw = 1

Disable logcat
logcat.live=disable

dalvik.vm.heapsize = 64m
Note: This value is different for different phones, the value can larger(128m) with larger RAM device, use accordingly!

Phone will not wake up from hitting volume rocker
ro.config.hwfeature_wakeupkey=0

Change LCD density
ro.sf.lcd_density=160

Allows purging of assets to free up RAM
persist.sys.purgeable_assets=1
The Following 36 Users Say Thank You to js2892 For This Useful Post: [ View ] Gift js2892 Ad-Free
 
 
29th April 2013, 06:15 PM |#2  
js2892's Avatar
OP Senior Member
Flag Bangalore
Thanks Meter: 412
 
More
Locate bools.xml

1. Decompile framework-res.apk
2. Go to res/values and find bools.xml

The file generally contains true and false values for various things, change true->false and false->true to see the magic!

config_sf_slowBlur
Blurred background when power menu comes up

config_automatic_brightness_available
Enable/disable automatic brightness

config_unplugTurnsOnScreen
Screen turns on after unplugging usb

config_animateScreenLights
Keep "true" for CRT OFF animation

config_disableMenuKeyInLockScreen
Disable hard key in lockscreen

lockscreen_isPortrait
Lockscreen in potrait/landscape mode(experimental)

config_batterySdCardAccessibility
Indicate whether the SD card is accessible without removing the battery.

config_carDockEnablesAccelerometer
Control whether being in the car dock should enable accelerometer based screen orientation.

config_deskDockEnablesAccelerometer
Control whether being in the desk dock should enable accelerometer based screen orientation.

skip_restoring_network_selection
If restoring network selection should be skipped The restoring is handled by modem if it is true.
The Following 19 Users Say Thank You to js2892 For This Useful Post: [ View ] Gift js2892 Ad-Free
3rd May 2013, 06:36 AM |#3  
cwillison94's Avatar
Senior Member
Flag Guelph
Thanks Meter: 103
 
More
Thanks for this. I have seen these tweaks before but its really nice to have an explanation.

Sent from my SGH-T989D using Tapatalk 2
4th May 2013, 09:52 AM |#4  
Quote:
Originally Posted by cwillison94

Thanks for this. I have seen these tweaks before but its really nice to have an explanation.

There are a lot of threads on the subject, but would Google any before using them as some work better on other devices or they don't do anything at all.
4th May 2013, 10:22 AM |#5  
js2892's Avatar
OP Senior Member
Flag Bangalore
Thanks Meter: 412
 
More
Quote:
Originally Posted by XperienceD

There are a lot of threads on the subject, but would Google any before using them as some work better on other devices or they don't do anything at all.

Yes, scrolling speed, vm heapsize, lcd density etc are different for devices!

Sent from mass relay
The Following User Says Thank You to js2892 For This Useful Post: [ View ] Gift js2892 Ad-Free
4th May 2013, 08:10 PM |#6  
Androidnow's Avatar
Senior Member
Flag New Delhi
Thanks Meter: 439
 
More
No point of putting CRT off animation there....
5th May 2013, 08:26 AM |#7  
srt99's Avatar
Senior Member
Flag Ahmedabad
Thanks Meter: 570
 
More
Quote:
Originally Posted by js2892

Allows purging of assets to free up RAM
persist.sys.purgeable_assets=1

can u please explain this in details..
thanks

Sent from my GT-S5830i using xda app-developers app
The Following User Says Thank You to srt99 For This Useful Post: [ View ] Gift srt99 Ad-Free
5th May 2013, 08:36 AM |#8  
js2892's Avatar
OP Senior Member
Flag Bangalore
Thanks Meter: 412
 
More
Quote:
Originally Posted by srt99

can u please explain this in details..
thanks

Sent from my GT-S5830i using xda app-developers app

allows system to free ram by klling unused assets(programs) !
The Following User Says Thank You to js2892 For This Useful Post: [ View ] Gift js2892 Ad-Free
7th May 2013, 06:28 PM |#9  
freakboy13's Avatar
Senior Member
Thanks Meter: 418
 
More
I once tried to change my phones model via build prop using the same method you wrote up and my phone bootlooped.
Im on n2 sgh-i317.
I fixed it but was wondering what I could have done wrong. Im slowly inching towords getting my feet wet in learning aboutvrom making. Nice thread btw.
7th May 2013, 07:07 PM |#10  
js2892's Avatar
OP Senior Member
Flag Bangalore
Thanks Meter: 412
 
More
Quote:
Originally Posted by freakboy13

I once tried to change my phones model via build prop using the same method you wrote up and my phone bootlooped.
Im on n2 sgh-i317.
I fixed it but was wondering what I could have done wrong. Im slowly inching towords getting my feet wet in learning aboutvrom making. Nice thread btw.

u mean the android version or the phone name...
well, irrespective of that, it's quite weird that build.prop edit lead to bootloop...I've edited these things many times and worked normally for me..
if you know how to read logcat etc, u can get a logcat try that to point out the reason for the same!
28th May 2013, 06:46 AM |#11  
Junior Member
Thanks Meter: 1
 
More
Thank you, It would be usefull for me.
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