Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
lightninbug
Old
#1  
Senior Member - OP
Thanks Meter 1058
Posts: 3,245
Join Date: Sep 2009
Lightbulb [MOD] Super Build.prop Tweaks

ALL CREDIT GOES TO Master&Slave™ ON THE SAMSUNG VIBRANT BOARD!! THESE DO WORK WITH OUR SENSATIONS!!


READ FIRST
**If these lines already exist in your build.prop, then you can just edit the values. If not then Just add the lines. After making the tweaks always remember to reboot twice..!!!**
----------------------------------------------------------------------------

Normal Method Done Via Root Explorer
1, Open "Root Explorer" and mount R/W.
2, Go to "system" and you will find there is a file name "build.prop".
3, Right click (By holding at the file) and there is menu pop out.
4, Scroll down and select edit in Text Editor.
5, Type in those few line of words below into the last line of the text then save.
6. Reboot twice

Data Tweaks
ro.ril.hsxpa=3
ro.ril.gprsclass=12
ro.ril.hep=1
ro.ril.enable.dtm=1
ro.ril.hsdpa.category=28
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.hsupa.category=9


Powersave Tweaks
ro.ril.disable.power.collapse=1
pm.sleep_mode=1--------NEW
wifi.supplicant_scan_interval=150


UI Tweaks
windowsmgr.max_events_per_sec=150
debug.sf.hw=1
video.accelerate.hw=1------NEW

Media Tweaks
ro.media.enc.jpeg.quality=100
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000-----NEW

media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true

Boot Tweaks
debug.sf.nobootanimation=1
persist.sys.shutdown.mode=hibernate----NEW
^^Makes phone boot rapidly fast.

System Tweaks
ro.ext4fs=1

Miscellaneous Tweaks
Change the Dalvik VM heap size
dalvik.vm.heapsize=64m

To enable the hard key lights to stay on while the screen is on and not timeout
ro.mot.buttonlight.timeout=0
Try disabling BLN if your having trouble getting this to work

To make the phone come off of the "black screen" in the middle of, or the end of phone calls when you pull the phone away from your face
mot.proximity.delay=150
**May kill the dialer**

To disable usb debugging popup
persist.adb.notify=0

To give your phone an HD effect fitting a little more on the screen, look for this in you current build.prop and change the 240 to:
ro.sf.lcd_density=X (225 or 230)

To enable the menu button too unlock the phone
ro.config.hw_menu_unlockscreen=true

To stop the phone from waking up when pressing the volume key
ro.config.hwfeature_wakeupkey=0

To make the phone ring faster when dialing out
ro.telephony.call_ring.delay=800

---------------------------------------------------------------------------
**Tip for battery calibration**

So you can't actually calibrate your battery in the file system. You can, however, "reset" the file that's used as the "brain" for how Android uses and reports the battery life, for lack of a better word. The file is batterystats.bin and the location is /data/system/ - it's been that location on every Android phone I've owned. If you delete or rename this file, the OS regenerates it upon reboot. Therefore, to get the cleanest start possible, or the cleanest calibration possible, on the final reboot in your calibration, go in and rename the file to batterystats.bin.bak (or delete it) right before you reboot. Do this once you know you'll be using your phone in a "normal" fashion on a day to day basis. That way, your battery will be fully calibrated, and this file will be reading/reporting based on normal usage and a fully calibrated battery. I can't attest to this, but I've read before that it's a good idea to clear this file out on a regular basis anyway (every few months or so).

ENJOY AND CLICK THE THANKS BUTTON...
Stompin a mud-hole in em', and walkin' it dry!!!



Buy Me A Drink Or Two
http://tinyurl.com/6u2zahf
The Following 50 Users Say Thank You to lightninbug For This Useful Post: [ Click to Expand ]
 
jerrylzy
Old
#2  
jerrylzy's Avatar
Senior Member
Thanks Meter 101
Posts: 975
Join Date: Aug 2010
Location: Chengdu
Thanks very much.

Sent from my greatest Sensation 4G running LeeDrOiD

Phone | HTC One X S720e
ROM | Stock 3.14.401.31
Kernel | ncx_314_v8_SENSE
Freq | min 51 max 1500 governor ondemand
Radio | 5.1204.162.29
HBoot | 1.39.0000 s-off
Headset | Beats Pro
The Following User Says Thank You to jerrylzy For This Useful Post: [ Click to Expand ]
 
CdTDroiD
Old
#3  
CdTDroiD's Avatar
Recognized Developer
Thanks Meter 3537
Posts: 3,456
Join Date: May 2011
Location: Auckland

 
DONATE TO ME
Thanks man added a couple of tweaks to latest version of P3D


Get the latest news from the boys in New Zealand at AndroidNZ
Galaxy Nexus GSM ROMs - CM10 - AOSP - Stock
Nexus 7 ROMs - CM10

 
SYST3M4T1C
Old
#4  
Member
Thanks Meter 0
Posts: 68
Join Date: Apr 2010
some custom roms have these already implemented but thanks
 
B-Man2005
Old
#5  
B-Man2005's Avatar
Senior Member
Thanks Meter 171
Posts: 2,454
Join Date: Feb 2009
Location: Wildeshausen
what does video.accelerate.hw=1------NEW do ?
 
tomS01
Old
#6  
tomS01's Avatar
Senior Member
Thanks Meter 184
Posts: 665
Join Date: Jul 2010
Location: Tatabanya
Great job thanks for it! Soemthing i found and the other is new in my B.prp!
 
tomS01
Old
#7  
tomS01's Avatar
Senior Member
Thanks Meter 184
Posts: 665
Join Date: Jul 2010
Location: Tatabanya
Quote:
Originally Posted by lightninbug View Post
ALL CREDIT GOES TO Master&Slave™ ON THE SAMSUNG VIBRANT BOARD!! THESE DO WORK WITH OUR SENSATIONS!!

---------------------------------------------------------------------------
**Tip for battery calibration**

So you can't actually calibrate your battery in the file system. You can, however, "reset" the file that's used as the "brain" for how Android uses and reports the battery life, for lack of a better word. The file is batterystats.bin and the location is /data/system/ - it's been that location on every Android phone I've owned. If you delete or rename this file, the OS regenerates it upon reboot. Therefore, to get the cleanest start possible, or the cleanest calibration possible, on the final reboot in your calibration, go in and rename the file to batterystats.bin.bak (or delete it) right before you reboot. Do this once you know you'll be using your phone in a "normal" fashion on a day to day basis. That way, your battery will be fully calibrated, and this file will be reading/reporting based on normal usage and a fully calibrated battery. I can't attest to this, but I've read before that it's a good idea to clear this file out on a regular basis anyway (every few months or so).

ENJOY AND CLICK THE THANKS BUTTON...
Hello!

What's your opinion first before you do this must charged the phone fully or do when you want?

Thx
 
rawtek
Old
#8  
Member
Thanks Meter 24
Posts: 73
Join Date: Oct 2008
Location: Miami
Sorry if this sounds noobish but where exactly do i put these lines?
Do i put them at the beginning, middle or end

Thanks.
 
exb0
Old
#9  
exb0's Avatar
Senior Member
Thanks Meter 261
Posts: 1,372
Join Date: Oct 2010
Location: Petaling Jaya
Code:
To enable the menu button too unlock the phone
ro.config.hw_menu_unlockscreen=true
Does not work.
Current Devices :
LG Nexus 4
Samsung Galaxy Nexus
HTC Sensation
ZTE V9
Nexus One
Sony W810


Ex Devices :
HTC Dream - SOLD
HTC HD2 - Water Damaged :'(


My Google Plus
My Website
Transparent StatusBar Mod Thanks to ZduneX25
Register for Dropbox here
 
Master&Slave™
Old
#10  
Master&Slave™'s Avatar
Recognized Developer
Thanks Meter 2635
Posts: 3,118
Join Date: Feb 2011
Location: Philadelphia

 
DONATE TO ME
I never copied this Thread over because the sensation has basically all of these tweaks implemented by default, well all of the custom ROMs do.
Join the OXYGEN Facebook Group.
Contact me @ est1692@gmail.com
Everyone check out my YouTube Channel and please throw in a sub if you have an account.
Also Check out my Android Theming Videos Located Here

The Following 2 Users Say Thank You to Master&Slave™ For This Useful Post: [ Click to Expand ]
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Guide to Using Adobe Air on Android

When writing an app with performance in mind, you most likely want to write it native code using the … more

Boot Animation Paradise for your Android Device

The default boot animations on any device, no matter whichmanufacturer, are generally pretty … more