Super Build.Prop Tweaks :-D |Updated 10/30/11|

Search This thread

ladyjhova0928

Member
Feb 26, 2011
30
3
Charlotte, NC
These tweaks have done wonders to my phone!! After 5 hours of use I am at 82% battery!!!!! Before my battery was being eaten alive! GB does not drain my phone at all. Loving the deep sleep. Thanks a million!!!!
 

tailsthecat3

Senior Member
Jun 28, 2010
2,170
182
NC
This all looks cool. Just wondering about the startheapsize line. Never had that before. Gonna try it.

Simply Honey 5.1 w/ 1.2 Bullet kernel. Badass Rom \m/

Mmhmm. I can only assume, without google'ing, that it is the 'low limit', not going below this number. I am not certain though.

Sent from my Nexus S 4G via XDA Premium
 
Last edited:

Master&Slave™

Retired Recognized Developer
Feb 14, 2011
3,259
2,873
Delran
Concerning the windowsmgr.max_events_per_sec tweak, I noticed I had multiple entries in my original build.prop file (running Whitehawx Deodexed Stock KB5 CWM version) -

Code:
# ADDITIONAL_BUILD_PROPERTIES
#
dalvik.vm.startheapsize=8m
dalvik.vm.heapsize=64m
[COLOR="Red"]windowsmgr.max_events_per_sec=60[/COLOR]
windowsmgr.support_rotation_270=true
keyinputqueue.use_finger_id=true
[COLOR="red"]windowsmgr.max_events_per_sec=55[/COLOR]

Anyone else notice this and if so, how did you edit yours? Q's I have on this are:

1. Why the stock KB5 build.prop would have two entries with different values?
2. Would adding another entry of windowsmgr.max_events_per_sec=150 present an issue?
3. Instead of adding another entry, would it be safe to just change the two original entries to match the 150 value?

Thoughts?

Thanks in advance and a huge THANKS to M/S!

The build.prop reads each value first, so if ones listed first...phone will read that one
 

Serious_Beans

Senior Member
Feb 17, 2011
2,315
332
Its for tweaking your build prop. Its for novice to advance users. If you don't know what this is for it may be to advanced for you. Read research as to not break your phone.



Sent from my LE-8 smothered in R12 Butter

What is it's purpose? I've been messing with my build.prop on every Android phone I've owned and that's about 30 in the past year, I know what I'm doing, I'd just like to know it's purpose, as in what significance does it serve in the line of code it's before or after, thanks!
 

bdubs4200

Senior Member
Oct 18, 2010
1,721
265
What is it's purpose? I've been messing with my build.prop on every Android phone I've owned and that's about 30 in the past year, I know what I'm doing, I'd just like to know it's purpose, as in what significance does it serve in the line of code it's before or after, thanks!

30 android phones in a year, and still fail to read OP.... glad ya got this far man! ;-)

Running OMFGB for Vibrant. Thanks Roman.
 
  • Like
Reactions: Jackdog89

Area51Janitor

Member
Jun 25, 2011
18
3


Its simply a broken tag - In the OP, it was meant to 'BOLD' a line.

It has nothing to do with your build.prop. leave it out.

-------------------------------------------

Code:
pm.sleep_mode=1--------[B]

"--------" this is not needed.

Code:
[B]ro.media.enc.jpeg.quality=100

"" this is not needed.

Code:
[B]persist.sys.shutdown.mode=hibernate

"" this is not needed.
 
Last edited:
  • Like
Reactions: Serious_Beans

burntrat

Senior Member
Sep 17, 2010
799
118
I think you had a couple lines that we could change the values to like:

ro.ril.gprsclass=12
could be 10, 11, 12

Was there another one? '12' for that line gave me a lot of slow Edge speeds. I seem to get more 3g with '10'
 

Serious_Beans

Senior Member
Feb 17, 2011
2,315
332
30 android phones in a year, and still fail to read OP.... glad ya got this far man! ;-)

Running OMFGB for Vibrant. Thanks Roman.

Apparently neither you or the other poster knows the significance of the which is just for bolding, learn to ask questions and don't assume you know more than someone...I have a phone trading problem :/
 
Last edited:

Locksmith81

Senior Member
Nov 13, 2010
1,753
370
Apparently neither you or the other poster knows the significance of the which is just for bolding, learn to ask questions and don't assume you know more than someone...I have a phone trading problem :/


I'm not understanding your question...are you asking what do the tweaks do? Benefits?

Sent from my LE-8 smothered in R12 Butter
 

krntehknik303

Senior Member
Nov 5, 2010
1,022
54
Aurora
Just to confirm you're supposed to add lines at the very bottom of the list in the section "additional build.prop" correct? Just making sure that I'm doing this right.

Sent from my SGH-T959 using xda premium
 

Top Liked Posts

  • There are no posts matching your filters.
  • 229
    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=2
    ro.ril.gprsclass=10
    ro.ril.hep=1
    ro.ril.enable.dtm=0
    ro.ril.hsdpa.category=8
    ro.ril.enable.a53=1
    ro.ril.enable.3g.prefix=1
    ro.ril.htcmaskw1.bitmask=4294967295
    ro.ril.htcmaskw1=14449
    ro.ril.hsupa.category=6


    net.tcp.buffersize.default=4096,87380,256960,4096, 16384,256960
    net.tcp.buffersize.wifi=4096,87380,256960,4096,163 84,256960
    net.tcp.buffersize.umts=4096,87380,256960,4096,163 84,256960
    net.tcp.buffersize.gprs=4096,87380,256960,4096,163 84,256960
    net.tcp.buffersize.edge=4096,87380,256960,4096,163 84,256960



    Effects data speed and signal
    May not be the same for everyone

    Powersave Tweaks
    ro.ril.disable.power.collapse=1
    Allows the phone to sleep better
    pm.sleep_mode=1
    Saves power when phone is sleep
    wifi.supplicant_scan_interval=150
    Allows your wifi to scan less, saving more battery


    UI Tweaks
    windowsmgr.max_events_per_sec=150
    debug.sf.hw=1
    video.accelerate.hw=1
    All make UI more responsive


    Media Tweaks
    media.stagefright.enable-player=true
    media.stagefright.enable-meta=true
    media.stagefright.enable-scan=true
    media.stagefright.enable-http=true
    Makes streaming videos stream faster
    ro.media.dec.jpeg.memcap=8000000
    ro.media.enc.hprof.vid.bps=8000000

    Increases quality of photo and videos
    ro.media.enc.jpeg.quality=90
    Raises quality of JPEG images
    camera/camcorder mods
    ro.media.capture.maxres=8m
    ro.media.capture.fast.fps=4
    ro.media.capture.slow.fps=120
    ro.media.capture.flash=led
    ro.media.capture.flashMinV=3300000
    ro.media.capture.torchIntensity=40
    ro.media.capture.flashIntensity=70
    ro.media.panorama.defres=3264x1840
    ro.media.panorama.frameres=1280x720
    ro.camcorder.videoModes=true

    Better camera and video results

    Boot Tweaks
    debug.sf.nobootanimation=1
    Gives your phone no boot animation
    persist.sys.shutdown.mode=hibernate
    Makes phone boot rapidly fast.


    System Tweaks
    ro.ext4fs=1
    Allows your phone to use an ext-4 file system
    ro.HOME_APP_ADJ=1
    Forces your home launcher into memory

    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...
    6
    Is this safe to do on cm7?

    Sent from my CM7 Vibrant

    Im on CM7 Doing this
    6
    Can anyone else confirm this??

    Just try it for youself, if your not willing to risk your phone then dont be in the forums :)

    Ive done it and its safe, if it wasnt then i wouldnt have posted this
    5
    Ok so I went into that file and some of those lines of code are already in there specifically the editable ones and I changed mine to 2/10 which tripled my speed test scores. So my question is do I leave it at that or do I copy paste the rest of the code for even faster connection and if so should I delete the other lines of code as to not duplicate the same lines in one file?

    Sent from my CM7 Vibrant

    Yea you wouldnt wanna duplicate, but i suggest if they are already there then dont add them :)

    So just leave it at that.

    The rest is for the people who already dont have the values in place.

    ENJOY BRO
    5
    Can you post some proof, before and after data speed test or something? not doubting you, im still gonna do it regardless. lol

    Not near a cpu right now.
    But id rather you guys see it for yourselves!

    Guarentee it works.