• XDA Forums have been migrated to XenForo. We are aware of several issues including missing threads, logins not working, and more. To discuss, use this thread.
  • If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.

Edits and Tweaks: Build prop, bools.xml

js2892

New member
Jul 28, 2012
660
387
0
Bangalore
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
 
Last edited:

js2892

New member
Jul 28, 2012
660
387
0
Bangalore
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.
 
Last edited:

freakboy13

New member
Sep 15, 2010
2,013
399
0
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.
 

js2892

New member
Jul 28, 2012
660
387
0
Bangalore
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!
 

js2892

New member
Jul 28, 2012
660
387
0
Bangalore
Before posting things like this, I highly recommend reading this and this just so you know what works and what does nothing (hint: a lot of the tweaks don't work)
Well, i've read this earlier but forgot to mention about this in OP (i'm still on a GB phone:eek:)

Thanks for pointing out, i've edited the OP.
For GB, i've tested them and they work like a charm( with exceptions for some phones).
 

Cod3L1ne

New member
Dec 9, 2013
1,243
771
0
NC
420apk.tk
Yea great thread I also am learning android development thanks to you guys. It's cool to know how to modify my devices to my liking.

Sent from my GT-N7105 using Tapatalk