---
title: "通过修改system/build.prop文件来给自定义个性化手机"
author: "sharp2wing"
date: "2012-07-30T16:11:36Z"
tags: []
categories: ["移动开发"]
slug: "system-build-prop"
draft: false
lastmod: "2012-07-30T16:11:36Z"
id: 1612325
url: "https://sharp2wing.iteye.com/blog/1612325"
---

分享一下：通过修改system\build.prop这个文件，可以做很多事，下面是详解，同时请有心得的高手补充


# begin build properties?0?2（开始设置系统性能）
# autogenerated by buildinfo.sh?0?2（通过设置形成系统信息）
ro.build.id=GRI40 (版本ID)
ro.build.display.id=GRJ22 （版本号）
ro.build.version.incremental=eng.buildbot.20110619.060228?0?2（版本增量）
ro.build.version.sdk=10?0?2（sdk版本）
ro.build.version.codename=REL?0?2（版本代号）
ro.build.version.release=2.3.4?0?2（Android 2.3.4系统无需修改，也可改为3.0装装B）
ro.build.date=Sun Jun 19 06:02:58 UTC 2011?0?2（制作者制作的时间，可修改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?0?2（手机品牌，改为中国山寨机）
ro.product.name=htc_buzz?0?2（手机正式名称，随便改）
ro.product.device=buzz?0?2（采用的设备，蜂鸟aaa）
ro.product.board=buzz?0?2（采用的处理器，改为coneboy的心）
ro.product.cpu.abi=armeabi-v6j?0?2（cpu的版本）
ro.product.cpu.abi2=armeabi?0?2（cpu的品牌）
ro.product.manufacturer=HTC?0?2（手机制造商，改为中国智造）
# # # # # # # # # # # # # #?0?2上面是扯蛋的，别乱改 # # # # # # # # # # # # # #
ro.product.locale.language=en?0?2（手机默认语言，把en改为zh）
ro.product.locale.region=US?0?2（地区语言，美国毛多呀美国，干掉US改为CN）
ro.wifi.channels= （WIFI连接的渠道）
ro.board.platform=msm7k?0?2（主板平台）
# ro.build.product is obsolete; use ro.product.device?0?2（旧代码ro.build.product，使用代码ro.product.device）
ro.build.product=buzz?0?2（建立产品）
# Do not try to parse ro.build.description or .fingerprint?0?2（不要试图修改description和fingerprint）
ro.build.description=passion-user 2.3.3 GRI40 102588 release-keys?0?2（用户的KEY）
ro.build.fingerprint=google/passion/passion:2.3.3/GRI40/102588:user/release-keys?0?2（机身码的啥玩意）
# end build properties?0?2（性能代码完毕）
#
# system.prop for buzz?0?2（系统技术支持由BUZZ提供）
#
# Density in DPI of the LCD of this board. This is used to scale the UI?0?2（高密度的液晶的DPI板。这是用来大规模UI的）
# appropriately. If this property is not defined, the default value is 160 dpi.?0?2（appropriately.如果这个属性没有定义,缺省值是160 dpi的分辨率）

ro.sf.lcd_density=240?0?2（显示屏分辨率，数值越大分辨率越底，240就是800*480的）

# View configuration for QVGA.?0?2（屏幕的设置）
view.fading_edge_length=8
view.touch_slop=15?0?2（触摸屏灵敏度，数值越大越灵敏）
view.minimum_fling_velocity=25?0?2（滑动速度）
view.scroll_friction=0.008?0?2（滑动误差）
# RIL specific configuration.?0?2（特定设置）
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?0?2（hsdpa全称High Speed Downlink Packet Access中文意思：高速下行分组接入,设置的数越大传输越快）
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.def.agps.mode=2?0?2（打开AGPS服务支持，可改为ro.ril.def.agps.mode=0 改后能省电但GPS定位速度会变慢）

ro.ril.gprsclass=12?0?2（GPRS设置）
# For HSDPA low throughput?0?2（HSDPA低输量）
ro.ril.disable.power.collapse=1?0?2（关闭电源）
# Modify MMS APN retry timer from 5s to 2s.?0?2（修改短信的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,?0?2（这个修改仅能影响此文件）
# but none are in range.（但是没有一项是在范围内的）
wifi.interface=eth0?0?2（WIFI界面）
wifi.supplicant_scan_interval=45?0?2（WIFI扫描间隔时间，这里设置是45秒。把这个时间设置长点能省电）
# Mobile data interfaces?0?2（移动数据的接口）
mobiledata.interfaces=rmnet0,rmnet1,rmnet2
# Allow or deny tethering.?0?2（允许和拒绝绑定）
ro.tether.denied=false
# Default network type.?0?2（默认的网络类型）
# 0 => WCDMA Preferred.?0?2（0=WCDMA优先）
ro.telephony.default_network=0
# Enable Google-specific location features,?0?2（谷歌特定地点的设置）
# like NetworkLocationProvider and LocationCollector.（如网络服务器提供商和服务器位置）
ro.com.google.locationfeatures=1
# The OpenGL ES API level that is natively supported by this device.?0?2（开放式绘图介面）
# This is a 16.16 fixed point number.?0?2（界面有16个点，16个不动点数量）
ro.opengles.version=65536?0?2（开放式绘图介面参数）
# Disable fs check on boot by default.?0?2（开机时默认禁用FS检查）
sys.checkfs.fat=false
# Performance settings.?0?2（性能设置）
dalvik.vm.execution-mode=int:jit
dalvik.vm.heapsize=24m?0?2（虚拟内存大小，可设置为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?0?2（手机卡保护设置）
ro.rommanager.developerid=cyanogenmodnightly?0?2（固件管理器开发者是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?0?2（谷歌客户身份）
ro.com.android.wifi-watchlist=GoogleGuest?0?2（WIFI用户名单）
ro.setupwizard.enterprise_mode=1?0?2（默认情景模式）
ro.com.android.dateformat=MM-dd-yyyy?0?2（默认时间格式，改为yyyy-MM-dd，显示效果就是XXXX年XX月XX日）
ro.com.android.dataroaming=false?0?2（漫游设置）
ro.config.ringtone=Playa.ogg?0?2（默认铃声设置，文件在/system/media/audio/ringtones 把喜欢的铃声放这里，比如123.MP3放入ringtones文件夹中，这里代码改为ro.config.ringtone=123.mp3）
ro.config.notification_sound=regulus.ogg?0?2（默认提示音，文件在/system/media/audio/notifications 修改方法同上）
ro.config.alarm_alert=Alarm_Beep_03.ogg?0?2（默认闹铃，文件在/system/media/audio/alarms 修改方法同上）
ro.modversion=CyanogenMod-7-06192011-NIGHTLY-buzz?0?2（版本信息，改这个能让你大名出现系统关于中，改为ro.modversion=G8版）
ro.setupwizard.mode=OPTIONAL?0?2（安装向导模式）
net.bt.name=Android?0?2（系统名称）
dalvik.vm.stack-trace-file=/data/anr/traces.txt