綁定帳號登入

Android 台灣中文網

打印 上一主題 下一主題

[分享] 改机友,请进~~build.prop

[複製連結] 查看: 2431|回覆: 8|好評: 0
跳轉到指定樓層
樓主
klvn1818 | 收聽TA | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
發表於 2011-9-27 19:38

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

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

x
build.prop是Android系统中的一个重要的属性文件,它记录了Android系统的一些重要的设置信息,改变它能够取得一些意想不到的效果,但是也正是因为.prop的重要性,如果不明白具体的含义的话,绝对不要随便动它。

今天,我们来看看如何对build.prop文件进行修改,以达成省电和加快上网速度的效果。

注意:修改前请先备份好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

小知识:什么是build.prop?

/system/build.prop 是一个属性文件,在Android系统中.prop文件很重要,记录了系统的设置和改变,类似於/etc中的文件。这个文件是如何生成的呢?

build/tools/buildinfo.sh 脚本就是专门用于生成build.prop文件
build/core/Makefile中使用build/tools/buildinfo.sh 脚本生成build.prop文件,
并把系统默认的system.prop以及定制的system.prop中的设定追加到build.prop文件中



这篇文章转载自XDA论坛,翻译者为qw1521285
「用Android 就來APK.TW」,快來加入粉絲吧!
Android 台灣中文網(APK.TW)

評分

參與人數 1幫助 +1 收起 理由
jone0715 + 1

查看全部評分

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

使用道具 舉報

沙發
rwkchu | 收聽TA | 只看該作者
發表於 2012-1-8 16:38
謝謝儂。很有用。
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

板凳
tompluto | 收聽TA | 只看該作者
發表於 2012-1-11 21:58
很有用
謝謝
請多多發表
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

地板
k8563 | 收聽TA | 只看該作者
發表於 2012-2-10 18:46
不同型號的有差嗎@@??
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

5
vantien | 收聽TA | 只看該作者
發表於 2012-2-10 19:42
收藏一下,感謝分享!
天天學習,努力向上!
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

6
cracky | 收聽TA | 只看該作者
發表於 2012-2-10 21:25

不同電信公司可能有差,我最近發現如果用它上面說的方式某些電信公司可能會出現驚嘆號的狀況...不過那電信公司最近機房在維修XD

是因為機房維修出現驚嘆號還是調整build.prop才出現驚嘆號這就不得而知了~
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

7
jone0715 | 收聽TA | 只看該作者
發表於 2012-3-8 07:32
收藏一下,感謝分享
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

8
crxturbo | 收聽TA | 只看該作者
發表於 2012-10-2 11:32
e160l能用嗎?係唔係就咁加以上凡的字在最尾就ok?
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

9
hung510331 | 收聽TA | 只看該作者
發表於 2012-10-10 17:55
感謝大大的熱情分享
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

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

本版積分規則