Build.prop editing

Discussion in 'Droid 3 Hacks' started by Cdjones187, Aug 26, 2011.

  1. Cdjones187
    Offline

    Cdjones187 Member

    Joined:
    Jul 14, 2010
    Messages:
    573
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Iowa
    Ratings:
    +0
    Now that we have root, anyone with some build.prop knowledge know any tweaks we can make to further improve battery/performance?

    I increased the VM heap to 75m, just restarted and seems like its a little snappier. Anyone else been messing with editing the build.prop? Let us know!

    # begin build properties
    # autogenerated by buildinfo.sh
    ro.build.id=5.5.1_84_D3G-20_TA-9
    ro.build.display.id=5.5.1_84_D3G-20_TA-9
    ro.build.version.incremental=110613
    ro.build.version.sdk=10
    ro.build.version.codename=REL
    ro.build.version.release=2.3.4
    ro.build.date=Mon Jun 13 01:36:50 CDT 2011
    ro.build.date.utc=1307947010
    ro.build.type=user
    ro.build.user=w30471
    ro.build.host=il93lnxdroid42
    ro.build.tags=release-keys
    ro.product.model=DROID3
    ro.product.brand=verizon
    ro.product.name=solana_vzw
    ro.product.device=cdma_solana
    ro.product.board=solana
    ro.product.cpu.abi=armeabi-v7a
    ro.product.cpu.abi2=armeabi
    ro.product.manufacturer=motorola
    ro.product.locale.language=en
    ro.product.locale.region=US
    ro.wifi.channels=
    ro.board.platform=omap4
    # ro.build.product is obsolete; use ro.product.device
    ro.build.product=solana_vzw
    # Do not try to parse ro.build.description or .fingerprint
    ro.build.description=cdma_solana-user 2.3.4 5.5.1_84_D3G-20_TA-9 110613 release-keys
    ro.build.fingerprint=verizon/solana_vzw/cdma_solana:2.3.4/5.5.1_84_D3G-20_TA-9/110613:user/release-keys
    # end build properties
    #
    # system.prop for CDMA Droidwe
    #
    # rild.libpath=/system/lib/libril-moto-umts-1.so
    rild.libpath=/system/lib/libmoto_ril.so
    rild.libargs=-d /dev/ttyO0
    ro.sf.lcd_density=240
    ro.default_usb_mode=2
    ro.mot.ril.danlist=611,*611,#611
    persist.ril.ecclist=911,*911,#911
    persist.ril.modem.mode =1
    # This defines the max event window manager can
    # handle in 1 s. We may adjust this # for performance
    # reason later
    windowsmgr.max_events_per_sec=55


    # USB modes allowed for UI and switching
    ro.ngp_available=1
    ro.modem_available=0


    # Default network type.
    # 7 => GLOBAL.
    ro.telephony.default_network=7
    ro.com.google.clientid=android-motorola
    ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
    ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
    ro.cdma.home.operator.numeric=310004
    ro.cdma.home.operator.alpha=Verizon
    ro.config.vc_call_vol_steps=7


    # wlan interface
    wifi.interface = tiwlan0
    softap.interface = tiap0


    # Time between scans in seconds. Keep it high to minimize battery drain.
    # This only affects the case in which there are remembered access points,
    # but none are in range.
    wifi.supplicant_scan_interval = 45


    # 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.heapsize=32m (Not sure why they set it so low, most phones with 512+ mb ram have a default of 48-75)


    # our HTML browser (not WAP browser ) does not need to specify UAProf URL
    ro.mot.hw.uaprof=http://uaprof.vtext.com/mot/xt862/xt862.xml


    # Enable HAC to also display Call Setting Menu Option.
    ro.mot.hw.HAC=1
    # Motorola, a19622, 12/28/2009, IKSHADOW-204 / Location Settings for android
    # Property to set enabling state of the location privacy setting feature.
    # Motorola, a19622, 03/16/2010, IKSHADOW-2141 / Disable feature 33067
    #ro.mot.settings.locprivacy=1
    # ERI feature
    # 0 OFF
    # 1 ON
    ro.mot.eri=1


    # Motorol,a6889c,02/Feb/2010,IKSHADOW-619
    # Proximity Sensor feature
    # 0 disable
    # 1 enable
    persist.mot.proximity.touch=1
    # End IKSHADOW-619


    # BEGIN Motorola, a22976, 25-Feb-2010, IKSHADOW-702, FID 31841
    # VZW Requirement Specifications: NETWORK BASED PLUS CODE DIALING
    # 0 disable
    # 1 enable
    ro.cdma.nbpcd=1
    # END IKSHADOW-702


    # BEGIN Motorola, a22976, 12-Mar-2010, IKSHADOW-1784, Power Up Tone
    # Motorola, a22976, 12-Apr-2010, IKSHADOW-3298, Remove temporary power up tone
    # persist.mot.powerup.tone=/system/media/bootup.ogg
    # END IKSHADOW-1784
    persist.mot.usb.mediasync = 1
    # persist.usb.android_config = 1


    # System property for SMC
    ro.service.start.smc=1
    ro.HorizontalBUA=true
    #Proximity sensor debounce time
    mot.proximity.delay=450
    # disable touch below 60 pixels
    mot.proximity.distance=60


    #inphone calibration backup support
    ro.mot.hw.calibratedImager=1


    # BEGIN Motorola, qpmc46, 05-Jul-2010, IKMAIN-311
    persist.ril.mux.noofchannels = 8
    # END Motorola, qpmc46, 05-Jul-2010, IKMAIN-311


    #BEGIN Motorola, nfjb73, 21-jun-2010,
    # this is for feature 34386, other features for vzw global phone
    # could use this property too. IKMAIN-732
    #1 this is verizon wireless globle phone
    #0 this is not verizon wireless globle phone
    ro.mot.phonemode.vzwglobalphone=1
    # END Motorola, nfjb73, 21-jun-2010, IKMAIN-732


    # BEGIN Motorola, nfjb73 23-jun-2010, IKMAIN-624
    # this is for feature 33860, when phone is activated, the cdma mdn is written.
    persist.radio.vzw.cdma.mdn=
    # END Motorola, nfjb73


    # BEGIN Motorola, qmfd78, 14-Jul-2010, IKMAIN-884
    # GSM SMS traffic needs to be routed/sent through North America SMSC.
    # This is part of the VZW World-phone Feature. SMS are always sent to a US SMSC and then injected
    # into that network. This allows for billing and give the user the impression that the device is
    # still in the US.
    ro.telephony.gsm-routes-us-smsc = 1
    # END Motorola, qmfd78, 14-Jul-2010, IKMAIN-884


    # BEGIN Motorola, a22600 qmfd78, 16-Jul-2010, IKDROIDPRO-423
    # For north american cdma operators, this flag should be 1.
    # It enables number mangling when nbpcd (plus code dialing) is not supported.
    # This is part of the VZW World-phone Feature.
    ro.cdma.home.operator.isnan=1
    # END Motorola, a22600 qmfd78, 16-Jul-2010, IKDROIDPRO-423


    # EDM feature - IKDROIDPRO-381 - Start
    ro.mot.dpmext = true
    # EDM feature - IKDROIDPRO-381 -End


    # BEGIN Moto,IKDROIDPRO-430, a17673
    # Feature33857 on DroidWE, support DualMode switch, UMTS/CDMA
    ro.mot.FTR.33857=true
    # END IKDROIDPRO-430


    # BEGIN Moto, IKSTABLETWO-1284, nfjb73
    # without this property, the lock screen would take global phone as UMTS
    # block user to operate before setup
    keyguard.no_require_sim = true
    # End Moto


    # BEGIN Moto, IKSTABLETWO-689, nfjb73, for 34387,33857
    # when phone in Global mode, FW need to know the last phone mode beore power off
    # when phone power up, it would use the right mode to avoid switch
    persist.radio.ap.phonetype=2
    # END IKSTABLETWO-689


    # Motorola, IKHALFMWK-3, w001091
    # Feature 32711, deep sleep mode support
    ro.mot.deep.sleep.supported=true


    # BEGIN Moto, IKMAIN-14097, gdr487, 33531 flex on for Solana
    # true feature enabled
    # false feature disabled
    ro.mot.fid.33531.keylock_ecm=true
    # END IKMAIN-14097


    # BEGIN Motorola, A24124, 01-Mar-2011, IKMAIN-13570
    ro.mot.bindervm.config = 210
    # END IKMAIN-13570


    #BEGIN Motorola, w30471, 16-Mar-2011, IKSTABLEFIVE-1796 35691 - Set configurable parameters for Verizon products
    mot.mms.con.timeout = 30000
    mot.mms.socket.timeout = 120000
    mot.mms.tr.vc.timeout = 55000
    mot.mms.trm.timeout = 240000
    mot.mms.abort.prog.lim = 90
    mot.mms.retry.pic.size = 512000
    mot.mms.retry.default = false
    mot.mms.retry.timeout.1 = 30000
    mot.mms.retry.timeout.2 = 180000
    mot.mms.retry.timeout.3 = 300000
    mot.mms.retry.timeout.4 = 480000
    # END IKSTABLEFIVE-1796


    #BEGIN Motorola, w36256, 6-Apr-2011, IKSTABLEFOURV-6808
    # add latin encoding type for sms in cdma mode, this is only for vzw
    ro.cdma.sms.latin_encode=true
    #END IKSTABLEFOURV-6808


    #
    # ADDITIONAL_BUILD_PROPERTIES
    #
    ro.com.google.clientidbase=android-motorola
    ro.com.google.clientidbase.ms=android-verizon
    ro.com.google.clientidbase.am=android-verizon
    ro.com.google.clientidbase.gmm=android-motorola
    ro.com.google.clientidbase.yt=android-verizon
    ro.kernel.android.ril=yes
    persist.ril.mux.noofchannels=8
    persist.ril.mux.ttydevice=/dev/ttyO0
    persist.ril.modem.ttydevice=/dev/ttySPI0
    persist.ril.features=0x30E
    persist.ril.mux.retries=500
    persist.ril.mux.sleep=2
    persist.mot.mdm_panicd.nopanic=no
    ro.config.ringtone=DroidTestLab.ogg
    ro.config.notification_sound=Droid.ogg
    ro.config.notification_sound=OnTheHunt.ogg
    ro.config.alarm_alert=Alarm_Classic.ogg
    ro.default_usb_mode=0
    ro.media.enc.aud.fileformat=qcp
    ro.media.enc.aud.codec=qcelp
    ro.media.enc.aud.bps=13300
    ro.media.enc.aud.ch=1
    ro.media.enc.aud.hz=8000
    ro.com.google.gmsversion=2.3_r4
    ro.telephony.call_ring.multiple=false
    ro.telephony.call_ring.delay=3000
    ro.setupwizard.enable_bypass=1
    ro.cdma.homesystem=64,65,76,77,78,79,80,81,82,83
    ro.cdma.data_retry_config=default_randomization=20 00,0,0,120000,180000,540000,960000
    ro.media.camcorder.1080p=mp4,h264,30,15000000,aac, 128000,44100,2
    ro.media.camcorder.720p=mp4,h264,30,10000000,aac,1 28000,44100,2
    ro.media.camcorder.d1NTSC=mp4,h264,30,6000000,aac, 128000,44100,2
    ro.media.camcorder.vga=mp4,h264,30,4000000,aac,128 000,44100,2
    ro.media.camcorder.cif=mp4,h264,30,1500000,aac,128 000,44100,2
    ro.media.camcorder.qvga=mp4,h264,15,500000,aac,640 00,44100,2
    ro.media.camcorder.mms=3gp,h264,15,128000,amrnb,12 200,8000,1
    ro.media.camcorder.mmsres=qvga
    ro.camcorder.zoom=true
    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=false
    media.stagefright.enable-player=true
    media.stagefright.enable-meta=true
    media.stagefright.enable-scan=false
    media.stagefright.enable-http=true
    media.stagefright.enable-record=false
    ro.media.camera.focal=3451.0,3451.0
    ro.media.camera.principal=1632.0,1224.0
    ro.media.camera.skew=0.0
    ro.media.camera.distortion=0.0,0.0,0.0,0.0,0.0
    ro.media.camera.calresolution=3264,2448
    ro.mot.setuptype=2
    ro.horizontalBUA=true
    ro.horizontalVVM=true
    ro.horizontalIM=true
    ro.horizontalNGM=false
    ro.horizontalVMM=false
    ro.horizontalMOD=false
    ro.horizontalVOD=false
    ro.horizontalEmail=false
    ro.mot.internalsdcard=1
    dalvik.vm.dexopt-flags=m=y
    net.bt.name=Android
    dalvik.vm.stack-trace-file=/data/anr/traces.txt
    ro.mot.dpmext=true
    ro.com.google.clientid=android-motorola
    ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
    ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
    ro.mot.hw.uaprof=http://uaprof.motorola.com/phoneconfig/MotoMB200/profile/MotoMB200.rdf
    ro.build.version.full=Blur_Version.5.5.959.XT862.V erizon.en.US
    ro.mot.hidden_keyboards=evfwd
     
  2. joeyx2
    Offline

    joeyx2 Member

    Joined:
    Aug 19, 2010
    Messages:
    269
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    # BEGIN Motorola, nfjb73 23-jun-2010, IKMAIN-624
    # this is for feature 33860, when phone is activated, the cdma mdn is written.persist.radio.vzw.cdma.mdn=
    # END Motorola, nfjb73

    Isn't there supposed to be a number after the "=" my build.prop Is like that to?

    Edit: ro.wifi.channels= (26 lines down) and in the above are the only "=" that do not have something behind it. Can someone enlighten me why?
    Sent from my DROID3 using DroidForums
     
    Last edited: Aug 26, 2011
  3. Saik0Shinigami
    Offline

    Saik0Shinigami Member

    Joined:
    Aug 26, 2011
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    # is a comment delimiter, that line isn't used in the actual processing, it's just a note to whoever reads the file.

    Edit: as for your second find... I have no idea.
     
    Last edited: Aug 26, 2011
  4. Cdjones187
    Offline

    Cdjones187 Member

    Joined:
    Jul 14, 2010
    Messages:
    573
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Iowa
    Ratings:
    +0
    That is true, but it actually looks like this.

    # BEGIN Motorola, nfjb73 23-jun-2010, IKMAIN-624
    # this is for feature 33860, when phone is activated, the cdma mdn is written.
    persist.radio.vzw.cdma.mdn=
    # END Motorola, nfjb73

    should say either 1 or 0.


    I also changed max evens to 100.


    # This defines the max event window manager can
    # handle in 1 s. We may adjust this # for performance
    # reason later
    windowsmgr.max_events_per_sec=100


    Changed VM heap down to 65 and its even smoother. Between changing max evens and vm heap its took redraw away COMPLETELY. No redraw whatsoever.

    Also I know benchmarks don't matter, but on the moon part the artifacts aren't as bad as before.
     
  5. SaxaDroid
    Offline

    SaxaDroid Member

    Joined:
    Jun 12, 2010
    Messages:
    112
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Try these...and lemme know what you think

    windowsmgr.max_events_per_sec=260

    ro.ril.hsxpa=2
    ro.ril.gprsclass=32
    ro.ril.hsdpa.category=28
    ro.ril.hsupa.category=9

    ro.ril.disable.power.collapse=0
    pm.sleep_mode=1

    mot.proximity.delay=50

    ro.mot.eri.losalert.delay=1000

    debug.sf.hw=1

    wifi.supplicant_scan_interval = 150

    dalvik.vm.heapsize=64m

    ro.telephony.call_ring.delay=700
     
  6. dazoe
    Offline

    dazoe Member

    Joined:
    Nov 17, 2009
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    Can you explain what each of those do?
     
  7. SaxaDroid
    Offline

    SaxaDroid Member

    Joined:
    Jun 12, 2010
    Messages:
    112
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Try these...and lemme know what you think

    # speed of scrolling through windows a max of 300
    windowsmgr.max_events_per_sec=260

    # network tweaks

    # hardware accel
    debug.sf.hw=1

    # how many times in seconds you phone looks for an access point
    wifi.supplicant_scan_interval = 150

    dalvik.vm.heapsize=64m

    # delay between starting a call and actually starting a call....sooo after you press send your phone paused briefly before dialing
    ro.telephony.call_ring.delay=700
     
  8. Cdjones187
    Offline

    Cdjones187 Member

    Joined:
    Jul 14, 2010
    Messages:
    573
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Iowa
    Ratings:
    +0

    Are you saying ADD these lines? Most of the "ro.ril" lines aren't a part of the build.prop. Or the pm one.
     
  9. joeyx2
    Offline

    joeyx2 Member

    Joined:
    Aug 19, 2010
    Messages:
    269
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Maybe someone can make a build.prop for everyone to download with all the little tweaks to it.

    Sent from my DROID3 using DroidForums
     
  10. Cdjones187
    Offline

    Cdjones187 Member

    Joined:
    Jul 14, 2010
    Messages:
    573
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Iowa
    Ratings:
    +0

    That would be nice, because what I've done so far I was able to change in android overclock so I knew what I was looking for. I'm not brave enough to venture much further, since I don't have much knowledge of using ADB push command to fix what I mess up. lol
     
  11. SaxaDroid
    Offline

    SaxaDroid Member

    Joined:
    Jun 12, 2010
    Messages:
    112
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Buy root explorer and edit the build.prop
     
  12. Cdjones187
    Offline

    Cdjones187 Member

    Joined:
    Jul 14, 2010
    Messages:
    573
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Iowa
    Ratings:
    +0
    That is what this thread is about. I'm doing the editing on my PC with notepad++.. Question, do you own a D3??? The properties you suggested are NOT a part of the D3 build prop, could be misleading to some people and cause some real damage..
     
  13. Saik0Shinigami
    Offline

    Saik0Shinigami Member

    Joined:
    Aug 26, 2011
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    Adding lines to the build.prop is a really bad idea. And telling people to buy something is another bad idea, "File Expert" works just fine and is free. downloading that telling it you have root, mounting the drive and editing it's permissions got it unlocked to work in any text editor.

    Anyway, I made the dalvik.vm.heapsize=64m change as well to huge effect... (65 & 75 aren't natural numbers in the binary world).
    Immediately changed wifi.supplicant_scan_interval= to an absurdly high number because I don't use my wi-fi (unlimited data plan) and when I do, I certainly don't have a need for it to check every 45 seconds for a network to connect to.

    And lastly, for now I'm just trying different values for windowsmgr.max_events_per_sec= and seeing what will or won't work properly.

    Anyone know what the battery life will do with these changes? I can only imagine it will eat what I saved by killing the built in apps that sucked.
     
  14. magma_camel
    Offline

    magma_camel Member

    Joined:
    Jun 25, 2010
    Messages:
    167
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Does anybody know what
    ro.mot.phonemode.vzwglobalphone
    dose?
    It seems like that enables something global. Its set to 1 by default. I don't want to change anything I don't know about because who know what will happen when I try and boot up again. So any ideas?

    Sent from my DROID3 using DroidForums
     
  15. Cdjones187
    Offline

    Cdjones187 Member

    Joined:
    Jul 14, 2010
    Messages:
    573
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Iowa
    Ratings:
    +0

    #BEGIN Motorola, nfjb73, 21-jun-2010,
    # this is for feature 34386, other features for vzw global phone
    # could use this property too. IKMAIN-732
    #1 this is verizon wireless globle phone
    #0 this is not verizon wireless globle phone
    ro.mot.phonemode.vzwglobalphone=1
    # END Motorola, nfjb73, 21-jun-2010, IKMAIN-732
     
Search tags for this page
android build.prop edit hack
,
build prop editor carrier billing
,
edit builprop tuk video mp4
,
lg enlighten build prop tweaks
,
max events per second android
,
persist.radio.ap.phonetype
,
ro.wifi.channels=
,
window manager max events
,

window manager max events per second

,
windowmgr max events per second