綁定帳號登入

Android 台灣中文網

打印 上一主題 下一主題

[教學] 從build.prop優化你的SP [需要Root]

[複製連結] 查看: 8007|回覆: 10|好評: 2
跳轉到指定樓層
樓主
GA961431 | 收聽TA | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
發表於 2013-6-19 17:49

馬上加入Android 台灣中文網,立即免費下載應用遊戲。

您需要 登錄 才可以下載或查看,沒有帳號?註冊

x
本帖最後由 GA961431 於 2013-6-20 18:07 編輯

build.prop是一個屬性文件,在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=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定位速度會變慢)
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.

#系統優化加速選項:
[hide]dalvik.vm.heapsize=32m  (原來的值是24m)
dalvik.vm.execution-mode=int:jit  (打開超頻模式)

view.touch_slop=15 (觸摸屏靈敏度,數值越大越靈敏)
view.minimum_fling_velocity=25 (滑動速度)
view.scroll_friction=0.008 (滑動誤差)
ro.product. multi_touch_enabled=true (支持多點觸摸)
ro.product.max_num_touch=2 (觸摸點為最多2點!)

#遊戲性能加速:
debug.sf.hw=1 (原來的值是0。這個是啟用了硬件GUI渲染。)
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true 原來這3個設定都是false。

#定位加速:
red]ro.ril.def.agps.mode=0(原值2.打開AGPS服務支持,可改為ro.ril.def.agps.mode=0改後能省電但GPS定位速度會變慢)

#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了,如果沒有連接到接入點,查找接入點的時間間隔改成了一分半鐘)
「用Android 就來APK.TW」,快來加入粉絲吧!
Android 台灣中文網(APK.TW)

評分

參與人數 3碎鑽 +3 幫助 +5 收起 理由
lcctno + 1
f130035848 + 1 讚一個!
小宥迪迪 + 3 + 3 讚一個!

查看全部評分

收藏收藏3 分享分享 分享專題
用Android 就來Android 台灣中文網(https://apk.tw)
回覆

使用道具 舉報

沙發
小宥迪迪 | 收聽TA | 只看該作者
發表於 2013-6-20 12:51
請麻煩整理一下...
有點亂
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

板凳
c85645 | 收聽TA | 只看該作者
發表於 2013-6-20 17:54
本帖最後由 c85645 於 2013-6-20 17:56 編輯

身為程式Coding人,
看到一堆雜亂無章還真的讓人看不下去
順手整理一下

----------------------------------------------------------------------------------------------------------------

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

#系統優化加速選項:
[hide]dalvik.vm.heapsize=32m  (原來的值是24m)
dalvik.vm.execution-mode=int:jit  (打開超頻模式)

view.touch_slop=15 (觸摸屏靈敏度,數值越大越靈敏)
view.minimum_fling_velocity=25 (滑動速度)
view.scroll_friction=0.008 (滑動誤差)
ro.product. multi_touch_enabled=true (支持多點觸摸)
ro.product.max_num_touch=2 (觸摸點為最多2點!)

#遊戲性能加速:
debug.sf.hw=1 (原來的值是0。這個是啟用了硬件GUI渲染。)
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true 原來這3個設定都是false。

#定位加速:
red]ro.ril.def.agps.mode=0(原值2.打開AGPS服務支持,可改為ro.ril.def.agps.mode=0改後能省電但GPS定位速度會變慢)

#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了,如果沒有連接到接入點,查找接入點的時間間隔改成了一分半鐘)

評分

參與人數 2幫助 +2 收起 理由
narv21 + 1 老衲來幫這篇文章開光
f130035848 + 1 好內容。朕有賞,還不謝主隆恩.

查看全部評分

用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

地板
研社 | 收聽TA | 只看該作者
發表於 2013-6-22 19:31
修改這個好用嗎??
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

5
h120311397 | 收聽TA | 只看該作者
發表於 2013-6-22 21:14
感謝3樓大大的整理 樓主貼得有些凌亂
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

6
原罪o | 收聽TA | 只看該作者
發表於 2013-6-23 13:13
可是這怎麼看...修改完都會變成HTC Wildfire吧= =
然後堂堂SONY 也會變成大陸山寨版-3-
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

7
tks886 | 收聽TA | 只看該作者
發表於 2013-7-21 22:09
這個是刷機前修改.?還是刷完後再改也可以呢?

點評

刷完後改會比教好喔  發表於 2013-7-21 22:14
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

8
exp5201 | 收聽TA | 只看該作者
發表於 2014-1-25 17:15
這根本不是優化...以那種舊機子的數值放sp只會更卡
dalvik.vm.heapsize=32m  sp應該是256mb
jit==
根本外面不知道直接貼進來....

評分

參與人數 1幫助 +1 收起 理由
lcctno + 1 很給力!

查看全部評分

用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

9
e25254 | 收聽TA | 只看該作者
發表於 2015-1-6 09:56
Xperia t 可以改嗎

點評

基本上SONY都可以喔  發表於 2015-1-7 20:50
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則