admin 管理员组

文章数量: 887021


2024年2月18日发(作者:搭建文件服务器外网可用)

[技术课程] ROM这些事_system/一些参数

要修改ROM的抓紧了哦

t=112,911

t=110,112,911,000,08,999,118,119,120,122

.a52=0

.a53=1

ass=10

ry=8

ry=5

=2

=23402,23410,23411

=0

_address=

ge=zh 刷机后默认语言

=CN 刷机后启动的默认语言

idbase=android-htc

_match=11

# begin build properties

# autogenerated by

list=303327

idbase=android-htc

list=303327

idbase=android-htc

=FRG83D

=FRG83D

ental=303327

=8 2.2ROM

me=REL

e=2.2.1 ROM版本

=三 12月 15 20:41:26 CST 2010 时区时间CST可以代表4个时区,这个百度一下

=1292416886

=user

=

=HPA008 这个好像是机器的CID代码一样,不确定

=release-keys

=Desire HD 型号

=htccn_chs

=htc_ace

=ace

=ace

=armeabi-v7a

2=armeabi

cturer=HTC

ge=hdpi

=

ls=

rm=msm7x30

# t is obsolete; use

t=ace

# Do not try to parse ption or .fingerprint

ption=1.75.1400.4 CL303327 release-keys

ption=1.75.1400.4 CL303327 release-keys 内部版本号

list=303327

=

print=htccn_chs/htc_ace/ace/ace:2.2.1/FRG83D/303327:user/release-keys

t=162585

n=1.75.1400.4

_require_sim=1

# end build properties

#

# for ace

#

_density=240 这个好像和一些软件全屏有关系,调小有些软件不能全屏好像是

565 = 0

h=/system/lib/libhtc_

# Modify MMS APN retry timer from 5s to 2s.

.2nd_data_retry_config = max_retries=3, 2000, 2000, 2000

# ace RF team request

= 1

ass = 12

ry = 10

ry = 6

= 3

# Default network type. 默认网络类型,貌似是这样

# 0 => WCDMA preferred.

t_network=0

ace=eth0

cant_scan_interval=15 WIFI扫描时间

# The OpenGL ES API level that is natively supported by this device.

# This is a 16.16 fixed point number

n = 131072

# This is a high density device with more memory, so larger vm heaps for it.

ze=24m 虚拟内存

# For the default value of agps

= 2 定位相关

# For HSDPA low throughput

se = 1

# For Ace China NEL

ition = 1

# For emmc phone storage

_storage = 0

# For FOTA setting (leave empty value to use default)

= /android/checkin

rl = /android/crash

_CN = /android/checkin

rl_CN = /android/crash

= /android/extra/

_CN = /android/extra/

# Release Bluetooth HW/SW information

t = Broadcom BCM4329-B1

n = Bluetooth 2.1 + EDR

= Broadcom BTL-A

n = 2.0.50.032

#0x1 represent bt profile list

es = 4270339

# Properties of BTLA stack

tion = 0

_active = 0

_active = 0

= 0

_pid = 0

_pass_thru = 0

_toggle = 1

# For quick boot mode

= hibernate

# For opensense sdk

n = 2.0.0.0

#

# ADDITIONAL_BUILD_PROPERTIES

#

=/intl/%s/mobile/android/basic/

d_privacy=/intl/%s/mobile/android/basic/

klocation=1

=DISABLED 开机出现的帐号设置向导,ENABLED为显示,DISABLED为禁用,OPTIONAL为可选

ne=3 默认来电铃声

cation_sound=3 默认通知铃声

_alert=3 默认闹钟铃声

_notification=3

_notification=3

=OPTIONAL

-player=true

-meta=true

-scan=true

-http=true

idbase=android-htc

oiceRec=0

=0

=0

rise_mode=1

-flags=m=y

=Android

-trace-file=/data/anr/

Part2

[技术课程] ROM这些事_参数详解(一)

在/system下的文件里,我们常看见以下语句。

ry = 10

ry = 6

= 2

nd=1

cant_scan_interval=45

ze=24m

= 2

这几行主要是设置网络数据、定位、语音、内存等方面的优化。

======================================================

根据上面的参数代码,下面列出不同数值对应代表的意义

ry :

1 = 1.2 Mbit/s

2 = 1.2 Mbit/s

3 = 1.8 Mbit/s

4 = 1.8 Mbit/s

5 = 3.6 Mbit/s

6 = 3.6 Mbit/s

7 = 7.2 Mbit/s

8 = 7.2 Mbit/s

9 = 10.1 Mbit/s

10 = 14.0 Mbit/s

11 = 0.9 Mbit/s

12 = 1.8 Mbit/s

13 = 17.6 Mbit/s

14 = 21.1 Mbit/s

15 = 23.4 Mbit/s

16 = 27.9 Mbit/s

19 = 35.3 Mbit/s

20 = 42.2 Mbit/s

21 = 23.4 Mbit/s

22 = 27.9 Mbit/s

23 = 35.3 Mbit/s

24 = 42.2 Mbit/s

25 = 46.8 Mbit/s

26 = 55.9 Mbit/s

27 = 70.6 Mbit/s

28 = 84.4 Mbit/s

HSDPA(High Speed Downlink Packet Access):高速下行分组接入

ry :

1 = 0.73 Mbit/s

2 = 1.46 Mbit/s

3 = 1.46 Mbit/s

4 = 2.93 Mbit/s

5 = 2.00 Mbit/s

6 = 5.76 Mbit/s

7 = 11.5 Mbit/s

HSUPA (high speed uplink packet access):高速上行链路分组接入

: 3G数据标准选择

0 – UMTS r99

1 – HSDPA

2 – HSDPA/HSUPA

nd:

0 – 关闭对AMR wideband /HD Audio的支持

1 – 打开对AMR wideband /HD Audio的支持

AMR WideBand,语音带宽范围,全称为“Adaptive Multi-rate - Wideband”,即“自适应多速率宽带编码”,

采样频率为16kHz,是一种同时被国际标准化组织 ITU-T和3GPP采用的宽带语音编码标准,也称 为G722.2标准。

AMR-WB提供语音带宽范围达到50~7000Hz,用户可主观感受到话音比以前更加自 然、舒适和易于分辨。

AMR-WB应用于EDGE、3G可充分体现其优势。足够的传输带宽保证AMR-WB可采用从6.6kb/s到23.85kb/s共九种编码,语音质量超越PSTN固定电话 。

PS:这里需要注意的是有些版本的Radio不支持AMR wideband,那样就算设置为1也支持不了这功能。

cant_scan_interval:

wifi无线局域网扫描间隔时间,单位为秒。

调大这个值可节约耗电。

ze=24m:

虚拟内存大小,单位为Mb,调大这个可以略微提高性能,对于某些FC问题确实有用。

在hdpi下,不设置成24m以上,就会导致系统无法启动。

:AGPS模式选择

0 – 关闭AGPS服务支持。可以节约耗电和网络流量,不过会延长GPS定位时间。

1 –

2 – 打开AGPS服务支持

Part3

[技术课程] ROM这些事_参数详解(二)

是Android系统中的一个重要的属性文件,它记录了Android系统的一些重要的设置信息,改变它能够取得一些意想不到的效果,但是也正是因为.prop的重要性,如果不

明白具体的含义的话,绝对不要随便动它。

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

注意:修改前请先备份好文件!

第一步:打开你的R.E,并改成读/写模式

第二步:进入system目录,找到

第三步:右击(长按这个文件),会弹出菜单

第四步:找到“以文本编辑器打开”

第五步:加入下面的行,并最后保存。

第六步:重启两次

调整文件以取得更好的信号和数据传输速度:

=2

ass=10

=1

=1

ry=10

.a53=1

=1

k=4294967295

kw1=14449

ry=5

X最大测试到10,超过硬件限制,数据在高速下更稳定? 估计是WCDMA才有用??

(我們的MB860 要用10的哈哈---ry="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 "=2" & "ass=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

//在手机休眠时更省电

se=1

To make the phone ring faster when

//使电话拨出时更快接通

_=1000

To make UI more responsive

//使界面反应更快

_events_per_sec=150

To save battery by decreasing the amount of time Wifi looks for an access point

//使WIFI在查找接入点时更省电

cant_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是栈的大小,是不是影响速度??)

ze=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

(保持屏幕常亮。。。。汗。。)

t=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

(在通话中或通话结束时,当电话离开脸时,隔多久??重新亮屏?)

=150

***May kill the dialer***

To disable usb debugging popup

(禁止USB调试提示)

=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 and change the

(给你的电话一个宽屏感觉??)

_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

(使能stagefrigh,视频和音乐会更快?但可能不能看你自己录的视频了。。)

(Press the enter key after every line typed)

-player=true

-meta=true

-scan=true

-http=true

To enable hardware acceleration where the GPU controls the UI instead of the CPU, giving

u a much better

(使能硬件加速,用GPU而不是CPU,给你一个更好的体验)

=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

animation=1

To enable the menu button too unlock

_menu_unlockscreen=true

To stop the phone from waking up when pressing the

ure_wakeupkey=0

小知识:什么是?

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

build/tools/ 脚本就是专门用于生成文件

build/core/Makefile中使用build/tools/ 脚本生成文件,

并把系统默认的以及定制的中的设定追加到文件中

后面还有一些设备相关的配置追加到

Part4

[技术课程] ROM这些事_的参数解析

# begin build properties (开始设置系统性能)

# autogenerated by (通过设置形成系统信息)

=GRI40 (版本ID)

=GRJ90 (版本号)

ental=.20110806.084139 (版本增量)

=10 (sdk版本 )

me=REL (版本代号)

e= 2.3.5 (你懂的)

=2011年 06月 02日星期四 11:42:09 CST(制作者制作的时间,年月日 某某制作)

=0

=user

=kmobs

=

=test-keys

=T-Mobile myTouch 3G Slide (HTC内部手机代号)

=tmobile (手机品牌)

=htc_espresso (手机正式名称)

=espresso (采用的设备)

=latte (采用的主板处理器)

=armeabi-v6l (cpu的版本)

2=armeabi (cpu的品牌)

cturer=HTC (手机制造商)

ge=zh (手机默认语言)

=CN (地区语言)

ls= (WIFI连接的渠道)

rm=msm7k (主板平台)

# t is obsolete; use

t=espresso (建立产品)

# Do not try to parse ption or .fingerprint

ption=passion-user 2.3.3 GRI40 102588 release-keys

print=google/passion/passion:2.3.3/GRI40/102588:user/release-keys

# end build properties (#性能代码完毕)

#

# ADDITIONAL_BUILD_PROPERTIES

#

_require_sim=true

h=/system/lib/

libpath=/system/lib/libhtc_

path=/system/lib/

ass=10

=2

=23402,23410,23411

ace=tiwlan0

cant_scan_interval=15

_density=160

(显示屏分辨率)

n=131072

=0

ry=8

ry=5

aces=gannet0,rmnet0,rmnet1,rmnet2

t_network=0

=2

_storage=0

ze=32m

=1

idbase=android-tmobile-us

=android-hms-tmobile-us

=android-hms-tmobile-us

onfeatures=1

klocation=1

_bypass=1

-flags=m=y

oiceRec=0

A1026=1

perid=cyanogenmodnightly

=/intl/%s/mobile/android/basic/

d_privacy=/intl/%s/mobile/android/basic/

idbase=android-google

-watchlist=GoogleGuest

rise_mode=1

rmat=MM-dd-yyyy

aming=false

ne=

cation_sound=

_alert=Alarm_Beep_

sion=CyanogenMod-7-08062011-NIGHTLY-Slide

=OPTIONAL

=Android

-trace-file=/data/anr/


本文标签: 文件 设置 默认 语音 接入点