My optimized build.prop

Discussion in 'Cyanogenmod' started by 0vermind, Jun 12, 2011.

  1. 0vermind
    Offline

    0vermind New Member

    Joined:
    Mar 29, 2010
    Messages:
    158
    Likes Received:
    0
    Trophy Points:
    0
    Been optimizing and researching all of these properties for months now, as well as testing them out. Now I'm going to release what I have found. Nothing too spectacular. Just what I have found to work best for my Droids. (I have had multiple.)

    Let me know if this helps your Droid or not. Do not attempt to use on any other Android phone, including Milestone. (Unless you are manually adding in changed entries.) All you will do is cause your phone to be completely inoperable. I use Cyanogen, however, it shouldn't really matter what ROM this is used on. It's not really specific.

    Code:
    # begin phone identification props
    ro.build.id=FRG83D
    ro.build.display.id=GRJ22
    ro.build.version.incremental=75603
    ro.build.version.sdk=10
    ro.build.version.codename=REL
    ro.build.version.release=2.3.4
    ro.build.date=Sun June 12 2011
    ro.build.type=user
    ro.build.user=android-build
    ro.build.tags=release-keys
    ro.product.model=Droid
    ro.product.brand=verizon
    ro.product.name=voles
    ro.product.device=sholes
    ro.product.board=sholes
    ro.product.cpu.abi=armeabi-v7a
    ro.product.cpu.abi2=armeabi
    ro.product.manufacturer=Motorola
    ro.product.locale.language=hdpi
    ro.board.platform=omap3
    
    # Do not try to parse ro.build.description or .fingerprint
    ro.build.description=voles-user 2.2.1 FRG83D 75603 release-keys
    ro.build.fingerprint=verizon/voles/sholes/sholes:2.2.1/FRG83D/75603:user/release-keys
    # end identification properties
    
    # Motorola RIL Proprietaries
    rild.libpath=/system/lib/libmoto_ril.so
    rild.libargs=-d /dev/ttyS0
    wifi.interface = tiwlan0
    
    # Defines the max events ui manager can handle in 1 s (max 300)
    windowsmgr.max_events_per_sec=260
    
    # Optimize TCP Stack for faster speeds
    net.tcp.buffersize.default=4096,87380,256960,4096,16384,256960
    net.tcp.buffersize.wifi=4096,87380,256960,4096,16384,256960
    net.tcp.buffersize.umts=4096,87380,256960,4096,16384,256960
    net.tcp.buffersize.gprs=4096,87380,256960,4096,16384,256960
    net.tcp.buffersize.edge=4096,87380,256960,4096,16384,256960
    
    # Battery Savings (Sleep Mode)
    ro.ril.disable.power.collapse=0
    pm.sleep_mode=1
    
    # Render UI through GPU instead of CPU
    # Comment out if this causes laggy UI (it should speed up UI)
    debug.sf.hw=1
    
    # Proximit sensor screen off delay. (Default 450)
    mot.proximity.delay=75
    
    # Smaller number = smaller icons, text, etc.
    ro.sf.lcd_density=240
    
    # Default network type.
    # 4 => CDMA / EVDO.
    ro.telephony.default_network=4
    
    # When moving through zones or losing signal, having a delay
    # smooths out constant disconnects and reconnects, which in turn
    # saves a ton of battery life!
    ro.mot.eri.losalert.delay=1000
    
    # Time between scans in seconds. Keep it high to minimize battery drain.
    wifi.supplicant_scan_interval = 420 #7 minutes. 5 minutes=300, 4 minutes=240
    
    # Indicate carrier OTA SP number schema
    # refer to frameworks/base/telephony/java/com/android/
    # internal/telephony/cdma/CDMAPhone.java for the schema:
    ro.cdma.otaspnumschema=SELC,1,80,99
    
    # The OpenGL ES API level that is natively supported by this device.
    # This is a 16.16 fixed point number
    ro.opengles.version = 131072
    
    # This is a high density device with more memory, so larger vm heaps for it.
    dalvik.vm.startheapsize=8m #Allows the system to start at a lower heap size and rank up as needed.
    dalvik.vm.heapsize=40m
    
    #
    # Begin giant clumb of props
    #
    ro.setupwizard.enterprise_mode=1
    ro.com.google.clientidbase=android-verizon
    ro.com.google.locationfeatures=1
    ro.url.legal=http://www.google.com/
    ro.url.legal.android_privacy=http://www.google.com/
    ro.cdma.home.operator.numeric=310004
    ro.cdma.home.operator.alpha=Verizon
    ro.cdma.homesystem=64,65,76,77,78,79,80,81,82,83
    ro.cdma.data_retry_config=default_randomization=2000,0,0,120000,180000,540000,960000
    ro.config.vc_call_vol_steps=7
    ro.cdma.otaspnumschema=SELC,1,80,99
    ro.telephony.call_ring.multiple=false
    ro.telephony.call_ring.delay=500
    ro.url.safetylegal=http://www.motorola.com/
    ro.setupwizard.enable_bypass=1
    ro.media.dec.jpeg.memcap=20000000
    dalvik.vm.lockprof.threshold=500
    dalvik.vm.dexopt-flags=m=y
    keyguard.no_require_sim=true
    ro.url.legal=http://www.google.com/
    ro.url.legal.android_privacy=http://www.google.com/
    ro.com.android.dateformat=MM-dd-yyyy
    ro.com.android.dataroaming=false
    ro.config.ringtone=Playa.ogg
    ro.config.notification_sound=regulus.ogg
    ro.config.alarm_alert=Alarm_Beep_03.ogg
    ro.modversion=CyanogenMod-7.1.0-RC0-Droid
    ro.setupwizard.mode=OPTIONAL
    dalvik.vm.dexopt-flags=m=y
    net.bt.name=Android
    dalvik.vm.stack-trace-file=/data/anr/traces.txt
    How do I apply these and try them out?
    Easiest way is to use a program like Root Explorer and navigate to your build.prop in /system and copy that over to the SD and use your computer and either delete everything in it and replace with mine, or just add the entries you want. You can also just edit the file directly and manually add the values you want (pay attention to typos, anything not recognized will be skipped).

    It will probably be beneficial to reboot your phone at least twice for these values to take affect.
    Last edited: Jun 15, 2011
  2. winner00
    Offline

    winner00 Premium Member Premium Member Developer

    Joined:
    Nov 15, 2009
    Messages:
    1,112
    Likes Received:
    10
    Trophy Points:
    0
    Location:
    Utah
    Very nice! I will have to try this out!
  3. zachdroid
    Offline

    zachdroid New Member

    Joined:
    Oct 28, 2010
    Messages:
    553
    Likes Received:
    2
    Trophy Points:
    0
    Should this be copied and pasted replacing current build prop file or is it something that needs to be built into the rom during the compiling of it?

    Sent from my Droid using DroidForums
  4. winner00
    Offline

    winner00 Premium Member Premium Member Developer

    Joined:
    Nov 15, 2009
    Messages:
    1,112
    Likes Received:
    10
    Trophy Points:
    0
    Location:
    Utah
    I pulled my build.prop from my phone, edited it on my computer by pasting only the changes into it, and then put it back on my phone and it seems to be working good so far.
  5. GohanBurner
    Offline

    GohanBurner New Member

    Joined:
    Nov 21, 2009
    Messages:
    516
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    Waukesha, WI
    Going to give this a shot.
  6. rafiki1
    Offline

    rafiki1 New Member

    Joined:
    Apr 15, 2011
    Messages:
    116
    Likes Received:
    0
    Trophy Points:
    0
    Anyone try this? Any opinion?

    Sent from my Droid using Tapatalk
  7. jengas kahn
    Offline

    jengas kahn New Member

    Joined:
    Feb 26, 2011
    Messages:
    259
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    upstate
    i'm really wanting to try this but i'm on a frg22d rom right now...

    screw it, i'll try it anyway.
  8. bigeric828
    Offline

    bigeric828 New Member

    Joined:
    Mar 8, 2011
    Messages:
    510
    Likes Received:
    1
    Trophy Points:
    0
    the tcp tweak causes my 3g to not work

    Edit: rebooted again and its fine now.
    Last edited: Jun 13, 2011
  9. Wetzilla
    Offline

    Wetzilla New Member

    Joined:
    Dec 23, 2009
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    0

    Is it working better than the build.prop for your builds? And if so, will you be including it in your nightly builds?
  10. winner00
    Offline

    winner00 Premium Member Premium Member Developer

    Joined:
    Nov 15, 2009
    Messages:
    1,112
    Likes Received:
    10
    Trophy Points:
    0
    Location:
    Utah
    Yea I will include some of these in my build. I will be testing it today to see how everything goes.
  11. dpaine88
    Offline

    dpaine88 New Member

    Joined:
    Jul 18, 2010
    Messages:
    811
    Likes Received:
    1
    Trophy Points:
    0
    So how exactly do we edit our build.prop and insert this code?
  12. winner00
    Offline

    winner00 Premium Member Premium Member Developer

    Joined:
    Nov 15, 2009
    Messages:
    1,112
    Likes Received:
    10
    Trophy Points:
    0
    Location:
    Utah
    Here is a build.prop with all the changes from this build.prop merged into the one from PE6.

    To do it yourself though you can pull the one that's on your phone and edit it on your computer then put it back on your phone or you can get it from the PE6 .zip and edit it then push it to your phone. The build.prop is located in /system.
  13. bigeric828
    Offline

    bigeric828 New Member

    Joined:
    Mar 8, 2011
    Messages:
    510
    Likes Received:
    1
    Trophy Points:
    0
    I just used root explorer and inserted some of the lines i thought i might want.
  14. DanDroidX
    Offline

    DanDroidX New Member

    Joined:
    Jul 12, 2010
    Messages:
    415
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    New Mexico, The Land of Entrapment
    You can do it in root explorerer using text editor.

    Sent from the Droidforums App via a Neurocellular Processing Unit.
  15. dpaine88
    Offline

    dpaine88 New Member

    Joined:
    Jul 18, 2010
    Messages:
    811
    Likes Received:
    1
    Trophy Points:
    0

    Dude thank you so much, even going through the trouble of making it for PE6
  16. meishkov
    Offline

    meishkov New Member

    Joined:
    Feb 12, 2010
    Messages:
    957
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    Sterling Heights, MI
    Yes. I'm always on the lookout for miscellaneous tweaks. Thanks alot for sharing this. Question though, not sure if you applied it to your phone or not, but zeppelinrox, creator of the extremely useful v6 supercharge script, had a 3g tweak that applied I think 9 lines of code to the local.prop file. Now I'm wondering if the tweaks in your build.prop would interfere with what's edited into the local.prop file??? Just don't want the 2 crossing each other out you know.:)
  17. crdnilfan
    Offline

    crdnilfan New Member

    Joined:
    Dec 22, 2009
    Messages:
    207
    Likes Received:
    0
    Trophy Points:
    0
    this is impressive, there are a few options here i didn't even know existed, specifically the gpu accelerated UI, that's nice. if only our OG Droid's had decent GPUs, still a good find though!
  18. superblah
    Offline

    superblah New Member

    Joined:
    Sep 3, 2010
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    0
    Will this work on CM based roms? I'm running LGB 2.0
  19. DanDroidX
    Offline

    DanDroidX New Member

    Joined:
    Jul 12, 2010
    Messages:
    415
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    New Mexico, The Land of Entrapment
    I have been using your build.prop for a few days. Lots of FC's for me. Winner's 96 CM7 w/ primes 20.

    Sent from the Droidforums App via a Neurocellular Processing Unit.
  20. Dwyndal
    Offline

    Dwyndal New Member

    Joined:
    May 27, 2011
    Messages:
    160
    Likes Received:
    0
    Trophy Points:
    0
    We are actually very similar on these and all tweaks i did notice this one, is this just for 3g - 1g or is it also for GPS?
Search tags for this page
bild.prop net speed
,

build prop evdo

,
build prop tweak evdo
,
build prop tweaks
,
build prop tweaks cdma verizon
,
build.prop cyanogenmod 11
,
build.prop gingerbread tweaks
,
cyanogenmod local.prop tweaks
,

gingerbread build.prop tweaks

,

https://www.google.com.ro

,
optimize build.prop
,

optimize tcp stack android

,
tweak build.prop evdo
,
verizon build.prop
,
verizon cdma evdo build prop