天天看點

安卓build.prop檔案作用說明

轉載:http://www.top139.com/diy/19.html

通過修改system\build.prop這個檔案,可以做很多事,build.prop是Android系統中的一個重要的屬性檔案,它記錄了Android系統的一些重要的設定資訊,改變它能夠取得一些意想不到的效果,但是也正是因為.prop的重要性,如果不明白具體的含義的話,絕對不要随便動它。

今天,我們來看看如何對build.prop檔案進行修改,以達成省電和加快上網速度的效果。

注意:修改前請先備份好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内部手機代号也就是手機名,改為大雞巴)

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=240 (顯示屏分辨率,數值越大分辨率越底,240就是800*480的)

# 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定位速度會變慢)

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 (系統名稱)