高通手机系统属性配置:system.prop----build.prop是所有安卓手机都有的一些配置信息。

时间:2023-02-12 08:15:00
build.prop是所有安卓手机都有的一些配置信息。
位置在system/build.prop
我们了解了这些配置的意义后,可以通过root后对这个配置文件做一定的修改,达到不同的自定义效果,如:更改dpi、更改版本号、更改网络首选项等等。

高通手机系统属性配置:system.prop----build.prop是所有安卓手机都有的一些配置信息。


*注意:有些厂商的定制系统修改了一些原生的配置信息路径,也就是说对于部分OS来说,有些修改是不生效的。

这里以color 2.0为例详细说明每个属性:


高通手机系统属性配置:system.prop----build.prop是所有安卓手机都有的一些配置信息。

# begin build oppo properties
# autogenerated by oppo_buildinfo.sh
ro.build.date.Ymd=150522(这里说的是编译时间)
ro.build.date.ymd=150522
ro.build.date.YmdHM=201505221241
ro.common.soft=MSM_14005(设备代号
ro.product.model=R8107(机型名称)
ro.build.product=R8107(随便改)
ro.product.name=R8107
ro.product.device=R8107
ro.build.version.ota=R8107_11.A.10_010_150522(版本号)
ro.build.soft.majorversion=
ro.build.display.id=R8107_11_150522
ro.build.soft.version=A.10(更新版本号)
ro.xxversion=v0.5
ro.build.kernel.id=3.10.28-G201505221012
sys.foreground_process=android
ro.oppo.version=
persist.sys.timezone=Asia/Shanghai(时区(默认亚洲上海))
persist.sys.oppo.region=CN(OPPO地区中国版本)
persist.power.useautobrightadj=true
persist.sys.modem=yes
persist.sys.net=yes
persist.sys.assert.state=true
persist.sys.assert.panic=true
persist.sys.oppo.dump=1
persist.sys.cfu_auto=1
persist.oppo.ctsversion=false
ro.build.fingerprint=OPPO/R8107/R8107:4.4.4/KTU84P/1390465867:user/release-keys
ro.build.oppofingerprint=
# end build oppo properties
ro.rf_version=TDD_FDD_Ch_14005
ro.telephony.default_network=20(默认网络制式)
persist.sys.assert.state=false
persist.sys.assert.panic=false
persist.sys.oppo.dump=0
persist.sys.oem_smooth=1
ro.qualcomm.svi=0
persist.radio.lte_vrte_ltd=1
persist.sys.savetosdcard=cache
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=KTU84P(安卓版本ID)
ro.build.display.id=KTU84P release-keys(代号)
ro.build.version.incremental=eng.root.20150522(版本增量)
ro.build.version.sdk=19(SDK版本)
ro.build.version.codename=REL(版本代号)
ro.build.version.release=4.4.4(安卓版本号可以随便修改)
ro.build.date=Fri May 22 12:41:35 CST 2015(制作者的编译时间)
ro.build.date.utc=1432269695
ro.build.type=user
ro.build.user=root
ro.build.host=ubuntu
ro.build.tags=release-keys
ro.product.model=msm8916_32
ro.product.brand=OPPO(手机品牌随便改)
ro.product.name=msm8916_32
ro.product.device=msm8916_32
ro.product.board=msm8916
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=OPPO
ro.product.locale.language=zh(默认语言)
ro.product.locale.region=CN(默认语言)
ro.wifi.channels=(wifi链接的渠道)
ro.board.platform=msm8916(CPU型号)
# ro.build.product is obsolete; use ro.product.device
# Do not try to parse ro.build.desc ription or .fingerprint(不要试图修改desc ription或者fingerprint)
ro.build.desc ription=msm8916_32-user 4.4.4 KTU84P eng.root.20150522 release-keys(用户名的KEY)
ro.build.fingerprint=OPPO/msm8916_32/msm8916_32:4.4.4/KTU84P/eng.root.20150522:user/release-keys
ro.build.characteristics=default
ro.build.version.opporom=V2.0.1(ColorOS版本 可以随便改)
ro.rom.different.version=ColorOS2.0.1
# end build properties(性能代码完毕)
#
# system.prop for msm8916(系统技术支持由MSM8916提供)
#

#rild.libpath=/system/lib/libreference-ril.so
rild.libpath=/system/vendor/lib/libril-qc-qmi-1.so
rild.libargs=-d /dev/smd0
persist.rild.nitz_plmn=
persist.rild.nitz_long_ons_0=
persist.rild.nitz_long_ons_1=
persist.rild.nitz_long_ons_2=
persist.rild.nitz_long_ons_3=
persist.rild.nitz_short_ons_0=
persist.rild.nitz_short_ons_1=
persist.rild.nitz_short_ons_2=
persist.rild.nitz_short_ons_3=
ril.subsc ription.types=NV,RUIM
DEVICE_PROVISIONED=1
# Start in cdma mode
ro.telephony.default_network=5(网络制式)

debug.sf.hw=1(硬件加速设定 0是关闭, 1是开启)
debug.egl.hw=1
debug.composition.type=c2d(hw运行模式)
persist.hwc.mdpcomp.enable=true
debug.mdpcomp.logs=0
#Enable translucent status bar feature
persist.hwc.ptor.enable=true
dalvik.vm.heapsize=36m(虚拟机大小)
dev.pm.dyn_samplingrate=1
persist.demo.hdmirotationlock=false
debug.sf.gpu_comp_tiling=1

#ro.hdmi.enable=true
#tunnel.decode=true
#tunnel.audiovideo.decode=true
#lpa.decode=false
#lpa.use-stagefright=true
#persist.speaker.prot.enable=false

#
# system props for the cne module
#
#ifndef VENDOR_EDIT
#yongyao.song@Prd.Network.Data, 2015-05-08, modify for enable NSRM
#persist.cne.feature=1
#else
persist.cne.feature=4
#endif

#
# system props for the dpm module
#

#ifndef VENDOR_EDIT
#LinJie.Xu@Prd.Android.USB, 2014/10/27, Modify for Qcom chen yan provider modify 
#wenhua.Leng@Prd.Android.USB, 2015/04/28, Modify for Qcom gaojiugang provider modify 
#persist.dpm.feature=0
#else /* VENDOR_EDIT */
#persist.dpm.feature=4
#persist.dpm.feature=7
#yongyao.song@Prd.Network.Data, 2015-05-08, modify to 1 (FastDormancy),because DPM only implements FD feature in KK
persist.dpm.feature=1
#endif /* VENDOR_EDIT */



#system props for the MM modules
media.stagefright.enable-pla yer=true
media.stagefright.enable-http=true
media.stagefright.enable-aac=true
media.stagefright.enable-qcp=true
media.stagefright.enable-fma2dp=true
media.stagefright.enable-scan=true
media.swhevccodectype=0
media.hwhevccodectype=0
mmp.enable.3g2=true
mm.enable.smoothstreaming=true
mm.disable.sec_smoothstreaming=true
media.aac_51_output_enabled=true(这些全改为true会增强系统自带的多媒体效果)
#codecs:(PARSER_)AAC AC3 ASF AVI DTS 3G2 MP2TS QCP FLAC
mm.enable.qcom_parser=168563

#
# system props for the data modules
#
ro.use_data_netmgrd=true
persist.data.netmgrd.qos.enable=true

#system props for time-services
persist.timed.enable=true

#
# system prop for opengles version
#
# 196608 is decimal for 0x30000 to report version 3
ro.opengles.version=196608

# System property for cabl
#ifdnef VENDOR_EDIT
#Xiaori.Yuan@MOBILE Phone Software Dept.Driver, 2014/09/02  shutdown cabl
#ro.qualcomm.cabl=2
#else
ro.qualcomm.cabl=0
#endif

#
# System props for telephony
# System prop to turn on CdmaLTEPhone always
telephony.lteOnCdmaDevice=1
persist.omh.enabled=false

#
# System props for bluetooh
# System prop to turn on hfp client
#ifdef VENDOR_EDIT
#HuiTao@Prd.BasicSrv.BT, 2014/08/06 Modify for Close HFP Client
bluetooth.hfp.client=0
bluetooth.a2dp.sink.enabled=false
#else
#bluetooth.hfp.client=1
#endif

#Simulate sdcard on /data/media
#
persist.fuse_sdcard=true

#
#snapdragon value add features 
#
ro.qc.sdk.audio.ssr=false
##fluencetype can be "fluence" or "fluencepro" or "none"
ro.qc.sdk.audio.fluencetype=none
persist.audio.fluence.voicecall=true
persist.audio.fluence.voicerec=false
persist.audio.fluence.speaker=true
#Set for msm8916
tunnel.audio.encode = false
#Buffer size in kbytes for compress offload playback
audio.offload.buffer.size.kb=32
#use VERY_HIGH_QUALITY for audio resampler
af.resampler.quality=4
#Enable offload audio video playback by default
av.offload.enable=false
#enable voice path for PCM VoIP by default
use.voice.path.for.pcm.voip=true
#
#System property for FM transmitter
#
ro.fm.transmitter=false
#enable dsp gapless mode by default
audio.offload.gapless.enabled=true

#Audio voice concurrency related flags
voice.playback.conc.disabled=true
voice.record.conc.disabled=true
voice.voip.conc.disabled=true

#Set composition for USB
#ifndef VENDOR_EDIT
#LinJie.Xu@Prd.Android.USB, 2014/07/29, Remove for we don't need initialize persist.sys.usb.config
#persist.sys.usb.config=diag,serial_smd,rmnet_bam,adb
#endif /* VENDOR_EDIT */



# set max starting background services
ro.config.max_starting_bg=8 (设置最大启动后台服务为8个)

#property to enable user to access Google WFD settings
persist.debug.wfd.enable=1允许用户访问谷歌WFD的设置属性
#propery to enable VDS WFD solution
persist.hwc.enable_vds=1 能使VDS WFD的解决方案

#property to enable narrow search range for video encoding
vidc.enc.narrow.searchrange=1
(视频编码属性)
#ifdef VENDOR_EDIT
#Xiaori.Yuan@Mobile Phone Software Dept.Driver, 2014/10/11  Add for 14005 performance 
sys.hwc.gpu_perf_mode=1(性能调节)
#endif /* VENDOR_EDIT */


#hwui properties
#ro.hwui.texture_cache_size=72
ro.hwui.la yer_cache_size=48
ro.hwui.r_buffer_cache_size=8
ro.hwui.path_cache_size=32
ro.hwui.gradient_cache_size=1
ro.hwui.drop_shadow_cache_size=6
ro.hwui.texture_cache_flushrate=0.4
ro.hwui.text_small_cache_width=1024
ro.hwui.text_small_cache_height=1024
ro.hwui.text_large_cache_width=2048
ro.hwui.text_large_cache_height=1024

#
# ADDITIONAL_BUILD_PROPERTIES(其他性能设置)
dalvik.vm.heapminfree=4m
dalvik.vm.heapstartsize=12m
keyguard.no_require_sim=true(操作手机是否需要sim卡
ro.com.android.dataroaming=false(漫游设置)
ro.com.android.dateformat=MM-dd-yyyy
ro.config.alarm_alert=alarm_005.ogg(默认提示铃声)
ro.config.ringtone=ringtone_001.ogg(默认电话铃声)
ro.config.ringtone_sim2=ringtone_005.ogg(默认卡2电话铃声)
ro.config.notification_sound=notification_001.ogg(默认短信通知铃声)
ro.config.notification_sim2=notification_009.ogg(默卡2短信通知铃声认铃声)铃声修改目录在system/media/audio
ro.carrier=unknown
ro.oppo.theme.version=701(主题版本号)
ro.vendor.extension_library=/vendor/lib/libqc-opt.so
persist.radio.apm_sim_not_pwdn=1
dalvik.vm.heapgrowthlimit=192m
dalvik.vm.heapsize=512m
dalvik.vm.heaptargetutilization=0.75
dalvik.vm.heapmaxfree=8m
drm.service.enabled=true
persist.sys.dalvik.vm.lib=libdvm.so
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
persist.gps.qc_nlp_in_use=1(打开)
persist.loc.nlp_name=com.qualcomm.services.location
ro.gps.agps_provider=1(默认打开定位)
ro.pip.gated=0


ro.secure=0 默认开启未知源APK 
ro.allow.mock.location=1 开启模拟位置 

ro.debuggable=1 
persist.service.adb.enable=1 默认打开USB调试

优化 Build.prop 教程:
1.更好的录像.照相优化(根据不同手机,修改不同的尺寸及fps等等)
ro.media.capture.maxres=8m
ro.media.capture.fast.fps=4
ro.media.capture.slow.fps=120
ro.media.panorama.defres=3264x1840
ro.media.panorama.fr ameres=1280x720
ro.camcorder.videoModes=true 
2.wifi速度优化
net.ipv4.tcp_ecn=0
net.ipv4.route.flush=1
net.ipv4.tcp_rfc1337=1
net.ipv4.ip_no_pmtu_disc=0
net.ipv4.tcp_sack=1
net.ipv4.tcp_fack=1
net.ipv4.tcp_window_scaling=1net.ipv4.tcp_times tamps=1net.ipv4.tcp_rmem=4096 39000 187000
net.ipv4.tcp_wmem=4096 39000 187000
net.ipv4.tcp_mem=187000 187000 187000
net.ipv4.tcp_no_metrics_save=1
net.ipv4.tcp_moderate_rcvbuf=1
3.提高jpg质量100%
ro.media.enc.jpeg.quality=100
4.渲染GPU的UI
debug.sf.hw=15.拨号时间减少
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.提高整体触摸反应
debug.performance.tuning=1
video.accelerate.hw=1
9.网络调整
ro.ril.hsxpa=2
ro.ril.gprsclass=12
ro.ril.hep=1
ro.ril.hsdpa.category=10
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.hsupa.category=6
ro.ril.def.agps.mode=2
ro.ril.def.agps.feature=1
ro.ril.enable.sdr=1
ro.ril.enable.gea3=1
ro.ril.enable.fd.plmn.prefix=23402,23410,23411
ro.ril.enable.a52=1
ro.ril.enable.a53=1
ro.ril.enable.dtm=1
10.网络速度调整
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
11.修复通话结束后黑屏问题
ro.lge.proximity.delay=25
mot.proximity.delay=25
12.修复一些应用问题
ro.kernel.android.checkjni=0
14.禁用开机动画
debug.sf.nobootanimation=1
15.使用Stagefright让
视频音乐更快
media.stagefright.enable-pla yer=true
media.stagefright.enable-me ta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true