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

Search This thread

Master&Slave™

Retired Recognized Developer
Feb 14, 2011
3,259
2,873
Delran
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...
 
Last edited:

rom fiend

Senior Member
May 19, 2011
115
53
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
 

GalaxySteve

Senior Member
Mar 28, 2011
52
2
running trigger, data is hella fast as is.. but im feeling froggy so ill give this "tweak" a try.

Will report back!
 

Master&Slave™

Retired Recognized Developer
Feb 14, 2011
3,259
2,873
Delran
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
 

GalaxySteve

Senior Member
Mar 28, 2011
52
2
Can you post some proof, before and after data speed test or something? not doubting you, im still gonna do it regardless. lol
 

rom fiend

Senior Member
May 19, 2011
115
53
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

Thank you!! I'll hit thanks button when I get back to my PC. Also, should I insert remaining code at bottom of file or where the original lines of editable code are? Sorry for being noob!

Sent from my CM7 Vibrant
 

explodingboy70

Inactive Recognized Developer
Oct 20, 2010
2,990
1,575
Southwest Florida
Thank you!! I'll hit thanks button when I get back to my PC. Also, should I insert remaining code at bottom of file or where the original lines of editable code are? Sorry for being noob!

Sent from my CM7 Vibrant

Put it where the 2 lines already are.

Just change the 2 lines that you have and copy the rest into place there.

Do not try to modify anything else. If you are unsure what you are doing then just wait until your favorite dev adds it to your favorite rom.
 

rom fiend

Senior Member
May 19, 2011
115
53
Put it where the 2 lines already are.

Just change the 2 lines that you have and copy the rest into place there.

Do not try to modify anything else. If you are unsure what you are doing then just wait until your favorite dev adds it to your favorite rom.

Thanks again bro!!!

Sent from my CM7 Vibrant
 

Duce HD2

Senior Member
Apr 2, 2010
2,201
326
UT
Might want to remind people to make a backup of the file as well in case something goes south.

Sent from my Bionix 1.3.2 text mystery ROM....
 

sumasage

Senior Member
Aug 8, 2008
476
26
Does this effect battery life? Gonna let other people try it out first :D

Thanks for the tweak.
 

Master&Slave™

Retired Recognized Developer
Feb 14, 2011
3,259
2,873
Delran
Does this effect battery life? Gonna let other people try it out first :D

Thanks for the tweak.

My battery has been the same on CM7 on my Vibrant with the Neo 9 kernel about 14 hrs daily usage with KB5 Modem.

My Nexus S battery goes about 18 hours on CM7 with JameBond kernel

Dont be a wuss...Just try it lol :)

You wont be dissapointed
 
  • Like
Reactions: gamefreakgcb

rizoh66

Senior Member
Apr 23, 2007
605
109
Salt City, Utah
Confirmed working on 2.2.1 Toxic Muzic. I'm in SLC, UT and my signal definitely got better and speeds doubled from 2 mbs to 4mbs. I have it set to hsxpa=1 & gprsclass=10.
 

SK328CI

Senior Member
Aug 26, 2010
87
6
Confirmed working on 2.2.1 Toxic Muzic. I'm in SLC, UT and my signal definitely got better and speeds doubled from 2 mbs to 4mbs. I have it set to hsxpa=1 & gprsclass=10.

did you just modify those two lines without adding the rest?
im on miui and it has those two lines in there (and not the rest that he listed)
miui already had hsxpa=1 and gprsclass=10 on mine
 

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.