本文以CM的build为例讲解如何修改这些参数
# begin build properties (开始设置系统性能)
# autogenerated by buildinfo.sh (通过设置形成系统信息)
ro.build.id=GRI40 (版本ID)
ro.build.display.id=GRJ22 (版本号)
ro.build.version.incremental=eng.buildbot.20110619.060228 (版本增量)
ro.build.version.sdk=10 (sdk版本)
ro.build.version.codename=REL (版本代号)
ro.build.version.release=2.3.4 (Android 2.3.4系統无需修改,也可改为3.0装装B)
ro.build.date=Sun Jun 19 06:02:58 UTC 2011 (制作者制作的时间,可修改2011年X月X日 某某某制作)
ro.build.date.utc=0
ro.build.type=user
ro.build.user=buildbot
ro.build.host=bb1
ro.build.tags=test-keys
ro.product.model=HTC Wildfire (HTC内部手机代号也就是手机名,改为大文明用语)
ro.product.brand=htc_wwe (手机品牌,改为中国山寨机)
ro.product.name=htc_buzz (手机正式名称,改为小文明用语)
ro.product.device=buzz (采用的设备,改为China G8)
ro.product.board=buzz (采用的处理器,改为China 800.8Ghz)
ro.product.cpu.abi=armeabi-v6j (cpu的版本)
ro.product.cpu.abi2=armeabi (cpu的品牌)
ro.product.manufacturer=HTC (手机制造商,改为中国智造)
# # # # # # # # # # # # # # 上面是我扯蛋的,别乱改 # # # # # # # # # # # # # #
ro.product.locale.language=en (手机默认语言,把en改为zh)
ro.product.locale.region=US (地区语言,美国毛多呀美国,干掉US改为CN)
ro.wifi.channels= (WIFI连接的渠道)
ro.board.platform=msm7k (主板平台)
# ro.build.product is obsolete; use ro.product.device (旧代码ro.build.product,使用代码ro.product.device)
ro.build.product=buzz (建立产品)
# Do not try to parse ro.build.description or .fingerprint (不要试图修改description和fingerprint)
ro.build.description=passion-user 2.3.3 GRI40 102588 release-keys (用户的KEY)
ro.build.fingerprint=google/passion/passion:2.3.3/GRI40/102588:user/release-keys (机身码的啥玩意)
# end build properties (性能代码完毕)
#
# system.prop for buzz (系统技术支持由BUZZ提供)
#
# Density in DPI of the LCD of this board. This is used to scale the UI (高密度的液晶的DPI板。这是用来大规模UI的)
# appropriately. If this property is not defined, the default value is 160 dpi.(appropriately.如果这个属性没有定义,缺省值是160 dpi的分辨率)
ro.sf.lcd_density=120 (显示屏分辨率,数值越大分辨率越底)
# View configuration for QVGA. (屏幕的设置)
view.fading_edge_length=8
view.touch_slop=15 (触摸屏灵敏度,数值越大越灵敏)
view.minimum_fling_velocity=25 (滑动速度)
view.scroll_friction=0.008 (滑动误差)
# RIL specific configuration. (特定设置)
rild.libpath=/system/lib/libhtc_ril.so
ro.ril.ecc.HTC-WWE=999
ro.ril.ecc.HTC-ELL=92,93,94
ro.ril.enable.a52.HTC-ITA=1
ro.ril.enable.a53.HTC-ITA=1
ro.ril.enable.a52=0
ro.ril.enable.a53=1
ro.ril.vmail.23415=1571,BT
ro.ril.hsdpa.category=8 (hsdpa全称High Speed Downlink Packet Access中文意思:高速下行分组接入,设置的数越大传输越快)
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.def.agps.mode=2 (打开AGPS服务支持,可改为ro.ril.def.agps.mode=0 改后能省电但GPS定位速度会变慢)
想知道如何设置WIFI扫描间隔时间,版本信息,虚拟内存,默认铃声的请回复后查看
本帖隐藏的内容需要回复才可以浏览
ro.ril.gprsclass=12 (GPRS设置)
# For HSDPA low throughput (HSDPA低输量)
ro.ril.disable.power.collapse=1 (关闭电源)
# Modify MMS APN retry timer from 5s to 2s. (修改短信的APN设置5秒为2秒)
ro.gsm.2nd_data_retry_config=max_retries=3, 2000, 2000, 2000
# 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.interface=eth0 (WIFI界面)
wifi.supplicant_scan_interval=45 (WIFI扫描间隔时间,这里设置是45秒。把这个时间设置长点能省电)
# Mobile data interfaces (移动数据的接口)
mobiledata.interfaces=rmnet0,rmnet1,rmnet2
# Allow or deny tethering. (允许和拒绝绑定)
ro.tether.denied=false
# Default network type. (默认的网络类型)
# 0 => WCDMA Preferred. (0=WCDMA优先)
ro.telephony.default_network=0
# Enable Google-specific location features, (谷歌特定地点的设置)
# like NetworkLocationProvider and LocationCollector.(如网络服务器提供商和服务器位置)
ro.com.google.locationfeatures=1
# The OpenGL ES API level that is natively supported by this device. (开放式绘图介面)
# This is a 16.16 fixed point number. (界面有16个点,16个不动点数量)
ro.opengles.version=65536 (开放式绘图介面参数)
# Disable fs check on boot by default. (开机时默认禁用FS检查)
sys.checkfs.fat=false
# Performance settings. (性能设置)
dalvik.vm.execution-mode=int:jit
dalvik.vm.heapsize=24m (虚拟内存大小,可设置为16m或24m或32m或48m)
persist.sys.use_dithering=1
persist.sys.purgeable_assets=1
# Increase SKIA decode memory capability for progressive jpg file.
ro.media.dec.jpeg.memcap=20000000
#
# ADDITIONAL_BUILD_PROPERTIES (其他性能设置)
#
keyguard.no_require_sim=true (手机卡保护设置)
ro.rommanager.developerid=cyanogenmodnightly (固件管理器开发者是CM大神)
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.com.google.clientidbase=android-google (谷歌客户身份)
ro.com.android.wifi-watchlist=GoogleGuest (WIFI用户名单)
ro.setupwizard.enterprise_mode=1 (默认情景模式)
ro.com.android.dateformat=MM-dd-yyyy (默认时间格式,改为yyyy-MM-dd,显示效果就是XXXX年XX月XX日)
ro.com.android.dataroaming=false (漫游设置)
ro.config.ringtone=Playa.ogg (默认铃声设置,文件在/system/media/audio/ringtones 把喜欢的铃声放这里,比如123.MP3放入ringtones文件夹中,这里代码改为ro.config.ringtone=123.mp3)
ro.config.notification_sound=regulus.ogg (默认提示音,文件在/system/media/audio/notifications 修改方法同上)
ro.config.alarm_alert=Alarm_Beep_03.ogg (默认闹铃,文件在/system/media/audio/alarms 修改方法同上)
ro.modversion=CyanogenMod-7-06192011-NIGHTLY-buzz (版本信息,改这个能让你大名出现系统关于中,改为ro.modversion=小文明用语大神-G8版)
ro.setupwizard.mode=OPTIONAL (安装向导模式)
net.bt.name=Android (系统名称)
dalvik.vm.stack-trace-file=/data/anr/traces.txt
build.prop优化项目
1. 强制把Home程序驻入内存.
ro.HOME_APP_ADJ=1
2.提高 JPG 质量为 100%
ro.media.enc.jpeg.quality=100
3. VM 虚拟堆大小; 提高 RAM
dalvik.vm.heapsize=48m
4. 使用 GPU 渲染UI
debug.sf.hw=1
5. 减少拨号后出现的延时
ro.telephony.call_ring.delay=0
6.提高滑动响应
windowsmgr.max_events_per_sec=150
7.电池优化
wifi.supplicant_scan_interval=180
pm.sleep_mode=1
ro.ril.disable.power.collapse=0
8. 禁止调试通知图标出现在状态栏处
persist.adb.notify=0
9. 提高全局触摸屏响应
debug.performance.tuning=1
video.accelerate.hw=1
10. 提高图片和摄像质量
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000
11. (3G) 信号优化
ro.ril.hsxpa=2 ro.ril.gprsclass=10
ro.ril.hep=1 ro.ril.enable.dtm=1
ro.ril.hsdpa.category=10
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.hsupa.category=5
12. 网络速度优化
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
13. 禁止拨号后出现黑屏.
ro.lge.proximity.delay=25
mot.proximity.delay=25
14.修复应用程序出现问题.
ro.kernel.android.checkjni=0
15.不通过按加/减音键唤醒手机
ro.config.hwfeature_wakeupkey=0
16.屏幕点亮时强制开启功能键背光
ro.mot.buttonlight.timeout=0
17.不显示开机动画(system/media/bootanimation.zip动画将不显示,加速开机速度)
debug.sf.nobootanimation=1
18.其他优化
ro.config.hw_menu_unlockscreen=false
persist.sys.use_dithering=0
persist.sys.purgeable_assets=1
dalvik.vm.dexopt-flags=m=y
ro.mot.eri.losalert.delay=1000
ro.build.version.release=2.3.4 android版本
ro.build.date=三 12月 15 20:41:26 CST 2010 时区时间CST可以代表4个时区,这个百度一下
ro.product.model=GT540 手机型号
ro.product.locale.language=zh 刷机后默认语言
ro.product.locale.region=CN 刷机后启动的默认语言
ro.build.description=soju-user 2.3.3 GRI40 102588 release-keys 内部版本号
ro.telephony.call_ring.delay=3000 响铃延迟,单位为毫秒。(怪盗补充)
# Default network type. 默认网络类型
ro.ril.hsxpa=2 3G数据标准选择 0 – UMTS r99 1 – HSDPA 2 – HSDPA/HSUPA
wifi.supplicant_scan_interval=120 WIFI扫描时间单位为秒 调大这个值可节约耗电
## opengles 2.0 LINUX下针对多媒体的一些功能
debug.sf.hw=1 硬件加速设定 0是关闭, 1是开
dalvik.vm.heapsize=24m 虚拟内存范围由12M-48M
ro.config.ringtone=Playa.ogg 默认来电铃声
ro.config.notification_sound=regulus.ogg 默认通知铃声
ro.config.alarm_alert=Alarm_Beep_03.ogg 默认闹钟铃声
ro.modversion=CyanogenMod-7.0.3-GT540-MUR4IK MOD版本号
ro.setupwizard.mode=DISABLED 开机出现的帐号设置向导,ENABLED为显示,DISABLED为禁用,OPTIONAL为可选
ROM制作build.prop的修改。
# begin build properties (开始设置系统性能)
# autogenerated by buildinfo.sh (通过设置形成系统信息)
ro.build.id=GRI40 (版本ID)
ro.build.display.id=GRJ22 (版本号)
ro.build.version.incremental=eng.buildbot.20110619.060228 (版本增量)
ro.build.version.sdk=10 (sdk版本)
ro.build.version.codename=REL (版本代号)
ro.build.version.release=2.3.4 (Android 2.3.4系統无需修改,也可改为3.0装装B)
ro.build.date=Sun Jun 19 06:02:58 UTC 2011 (制作者制作的时间,可修改2011年X月X日 某某某制作)
ro.build.date.utc=0
ro.build.type=user
ro.build.user=buildbot
ro.build.host=bb1
ro.build.tags=test-keys
ro.product.model=HTC Wildfire (HTC内部手机代号也就是手机名,改为小G8)
ro.product.brand=htc_wwe (手机品牌,改为中国山寨机)
ro.product.name=htc_buzz (手机正式名称,改为小G8)
ro.product.device=buzz (采用的设备,改为China G8)
ro.product.board=buzz (采用的处理器,改为China 800.8Ghz)
ro.product.cpu.abi=armeabi-v6j (cpu的版本)
ro.product.cpu.abi2=armeabi (cpu的品牌)
ro.product.manufacturer=HTC (手机制造商,改为中国智造)
ro.product.locale.language=en (手机默认语言,把en改为zh)
ro.product.locale.region=US (地区语言,干掉US改为CN)
ro.wifi.channels= (WIFI连接的渠道)
ro.board.platform=msm7k (主板平台)
# ro.build.product is obsolete; use ro.product.device (旧代码ro.build.product,使用代码ro.product.device)
ro.build.product=buzz (建立产品)
# Do not try to parse ro.build.description or .fingerprint (不要试图修改description和fingerprint)
ro.build.description=passion-user 2.3.3 GRI40 102588 release-keys (用户的KEY)
ro.build.fingerprint=google/passion/passion:2.3.3/GRI40/102588:user/release-keys (机身码的啥玩意)
# end build properties (性能代码完毕)
#
# system.prop for buzz (系统技术支持由BUZZ提供)
#
# Density in DPI of the LCD of this board. This is used to scale the UI (高密度的液晶的DPI板。这是用来大规模UI的)
# appropriately. If this property is not defined, the default value is 160 dpi. (appropriately.如果这个属性没有定义,缺省值是160 dpi的分辨率)
ro.sf.lcd_density=120 (显示屏分辨率,数值越大分辨率越底)
# View configuration for QVGA. (屏幕的设置)
view.fading_edge_length=8
view.touch_slop=15 (触摸屏灵敏度,数值越大越灵敏)
view.minimum_fling_velocity=25 (滑动速度)
view.scroll_friction=0.008 (滑动误差)
# RIL specific configuration. (特定设置)
rild.libpath=/system/lib/libhtc_ril.so
ro.ril.ecc.HTC-WWE=999
ro.ril.ecc.HTC-ELL=92,93,94
ro.ril.enable.a52.HTC-ITA=1
ro.ril.enable.a53.HTC-ITA=1
ro.ril.enable.a52=0
ro.ril.enable.a53=1
ro.ril.vmail.23415=1571,BT
ro.ril.hsdpa.category=8 (hsdpa全称High Speed Downlink Packet Access中文意思:高速下行分组接入,设置的数越大传输越快)
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.def.agps.mode=2 (打开AGPS服务支持,可改为ro.ril.def.agps.mode=0 改后能省电但GPS定位速度会变慢)
注意:修改前请先备份好build.prop文件!
第一步:打开你的R.E,并改成读/写模式
第二步:进入system目录,找到build.prop
第三步:右击(长按这个文件),会弹出菜单
第四步:找到“以文本编辑器打开”
第五步:加入下面的行,并最后保存。
第六步:重启两次
调整build.prop文件以取得更好的信号和数据传输速度:
ro.ril.hsxpa=2
ro.ril.gprsclass=10
ro.ril.hep=1
ro.ril.enable.dtm=1
ro.ril.hsdpa.category=10
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.hsupa.category=5
X最大测试到10,超过硬件限制,数据在高速下更稳定? 估计是WCDMA才有用??
(我們的MB860 要用10的哈哈---ro.ril.hsdpa.category="X"
CAT Speeds
Cat 1 = 1.2 Mbit/s
Cat 2 = 1.2 Mbit/s
Cat 3 = 1.8 Mbit/s
Cat 4 = 1.8 Mbit/s
Cat 5 = 3.6 Mbit/s
Cat 6 = 3.6 Mbit/s
Cat 7 = 7.2 Mbit/s
Cat 8 = 7.2 Mbit/s
Cat 9 = 10.1 Mbit/s
Cat 10 = 14.0 Mbit/s
*Note*
You can play with the "ro.ril.hsxpa=2" "ro.ril.gprsclass=10" values depending on your location. The hsxpa Values range from 0-2 and the gprsclass is either 10,11 or 12. IF YOU GET WORSE SPEEDS..JUST CHANGE THE "GPRSCLASS" TO 12
To save power while phone is asleep
//在手机休眠时更省电
ro.ril.disable.power.collapse=1
To make the phone ring faster when dialing out...
//使电话拨出时更快接通
ro.telephony.call_ring.delay=1000
To make UI more responsive
//使界面反应更快
windowsmgr.max_events_per_sec=150
To save battery by decreasing the amount of time Wifi looks for an access point
//使WIFI在查找接入点时更省电
wifi.supplicant_scan_interval=150
**Now wifi will scan once every 1.5 minutes when not around a known location instead of once every minute which will save battery.**
//现在wifi将每隔1.5分钟查找一次接入点而不是每分钟查一次。当你在一个没有已知接入点的地方。(估计是,如果你开WIFI了,如果没有连接到接入点,查找接入点的时间间隔改成了一分半钟)
Change the Dalvik VM heap size
(??? heapsize是栈的大小,是不是影响速度??)
dalvik.vm.heapsize=32m
**If on CM7 then you can just go into CM setting/Proformace to change this.**
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
(禁止USB调试提示)
persist.adb.notify=0
**Some devs already have this disabled, or have an app to disable it.**
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)
。。。。。。这样修改后,手机可能启动用时会长一点。。。。。
**Phone will take a little more time booting when changing this value**
To enable Stagefright..Helps stream Video/Music Faster but may not let you watch recorded videos...
(使能stagefrigh,视频和音乐会更快?但可能不能看你自己录的视频了。。)
(Press the enter key after every line typed)
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true
To enable hardware acceleration where the GPU controls the UI instead of the CPU, giving u a much better UI experience....
(使能硬件加速,用GPU而不是CPU,给你一个更好的体验)
debug.sf.hw=1
。。。你可能会也可能不会注意到性能上有改变,因为vibrant有一个很好的cpu,哈哈
**You may or may not notice a difference because the Vibrant has a very good processor thats capable of handling the UI very well**
To turn off the bootanimation speeding up the boot time....
debug.sf.nobootanimation=1
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