分享

做个记号~备用,很实用的一个小设置

 思想年代 2012-04-10
无线局域网已断开,继续将会产生费用…… 、、、、
你还在为此烦恼么?

Disable Popup when switching from WiFi to 3G (测试C8650+可用,SP02原厂系统)


When switching from WiFi to 3G you will receive a message saying something like "You May Be Charged" blah blah. To disable the mesage follow these instructions:

1) Make sure your Phone is Rooted. 不解释
2) Using Root Explorer or Similar Navigate to /system/      用RE管理器打开/system/目录,挂载可读写
3) Find the file "build.prop" and make it editable by changing permissions to 777.   找到build.prop ,更改权限为777
4) Long press on the file and edit in the Text Editor. 长按用文本编辑器编辑
5) Look for "ro.config.hw_RemindWifiToPdp=true" and change to "ro.config.hw_RemindWifiToPdp=false". 找到前面双引号里面的,改为后面双引号里面的。(大概在文本下方3/4位置处)
6) Save the changes and change the file permission back to 644. 保存退出,改回权限为644(文件本身就是644)
7) Reboot the phone and enjoy no popup. 重启。。。YY吧~
========================================================
由于近期在制作一个官方B886的修改版Rom,所以抽空仔细研究了一下build.prop这个文件。
以下这个build.prop文件是从官方B866的Rom里提取的,为了查看和修改方便,我已全部重新排列分类。
至于分类到底对不对,解读到底有没有错,还需要大家一起来研究、探讨。
这个帖子里分享一些我的研究结论,顺便发几张正在做的Rom的图先宣传一下。
请注意哈,这个帖子暂不发Rom,只发Rom的预览图,Rom尚在制作中。

======================================================================================
编译属性,这里有几个地方是可以改的,如 ro.build.display.id 就是“关于手机”里的“版本号”,你可以自定义。
而 ro.build.description 和 ro.build.fingerprint 两项,千万不要改,至于改了会怎么办,我也不知道,没试过,只是资料上这么说的。
#
# build properties
#
ro.build.date=Sat Dec 17 04:08:24 CST 2011
ro.build.date.utc=1324066104
ro.build.id=HuaweiU8860
ro.build.version.sdk=10
ro.build.version.codename=REL
ro.build.version.release=2.3.6
ro.build.type=user
ro.build.user=huawei
ro.build.host=huawei-desktop
ro.build.product=msm7630_surf
ro.build.tags=ota-rel-keys,release-keys
ro.build.version.incremental=CHNC00B866SP02
ro.build.tags=ota-rel-keys,release-keys
ro.build.description=U8860-user 2.3.6 ERE27 CHNC00B866SP02 ota-rel-keys,release-keys
ro.build.fingerprint=Huawei/U8860/hwu8860:2.3.6/HuaweiU8860/CHNC00B866SP02:user/ota-rel-keys,release-keys
ro.build.display.id=**
====================================================================================
产品信息,就是对应你的手机的具体型号了,据说把 ro.product.brand ,手机品牌改成HTC可以玩更多的破解游戏?
ro.product.locale.language=zh 和 ro.product.locale.region=CN 是设置默认语言和地区的,原版的文件里是美国的,我这里改成天朝了。
#
# product information
#
ro.product.model=U8860
ro.product.brand=Huawei
ro.product.name=U8860
ro.product.device=hwu8860
ro.product.board=U8860
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=HUAWEI
ro.product.locale.language=zh
ro.product.locale.region=CN
#上面两个选项默认分别是en和US,在cust中被重新定义,我更新到了此处。
ro.board.platform=msm7k
==============================================================================
以下各项中,值为true或1为开启某项功能,false和0则反之,其他选项看具体情况。
注释写在下一行,以“#”号开始,没注释的选项我目前也不是十分清楚,不敢妄言。
如有发现错误或者你有任何高见,欢迎回复、点评、PM,以指正,大家共同学习,共同提高。
==============================================================================
手机的功能配置
这里的选项就很有意思了,绝大多数看名字能猜出是干什么的,少数几个实在不好懂。
#
# configs
#
ro.config.hw_opta=999
ro.config.hw_optb=999
ro.config.hw_quickpoweron=true
#快速重启选项
ro.config.hw_poanimation=5000
ro.config.hw_addsettingsdbex=1
ro.config.hw_RemindWifiToPdp=false
#可用wifi接入点提示
ro.config.hw_menu_unlockscreen=false
#菜单键解锁屏幕,本人亲测,只有在屏幕点亮了的情况下有效
ro.config.hw_virtualsdcard=true
ro.config.hw_ascend_ringtone=true
ro.config.hw_eapsim=false
#eap-sim,英文全称 Extensible Authentication Protocol-Subscriber Identity Module
#无线局域网sim卡身份认证协议,总之,暂不支持
ro.config.hw_power_saving=true
#省电模式
ro.config.hw_lockscreen=true
#锁屏
ro.config.hw_omacp=1
ro.config.hw_isCustomize=true
ro.config.hw_toolbox=true
#toolbox插件
ro.config.hw_proximity=true
#距离感应功能
ro.config.hw_proximitySensor=true
#距离感应器
ro.config.hw_GSensorOptimize=true
#重力感应
ro.config.hw_camera_hdr=true
#摄像头HDR算法优化
ro.config.hw_call_fail_disp=false
#通话失败时显示原因,我测试了一下,打完电话挂断后,它显示“用户主动挂断”
#此功能默认不开启的,可能是作为出现经常电话掉线情况时调试用的
ro.config.hw_voicerecord=false
#通话录音,嘿嘿,我研究华为的phone.apk的资源文件时发现有录音的图片素材,然后发现这里果然有这个选项
#不过,这个功能貌似还没完善,反正我在此打开并尝试在拨打电话时使用的时候,系统总是提示“未知错误,无法录音”
#不知道会不会在下一个2.3的官方版本中完善之。该不会华为有了4.0就不再继续出2.3.7了吧?担心一个。。。
ro.config.hw_support_ipcall=true
ro.config.ipcall=true
#上面两项就是ip拨号支持选项了
ro.config.hw_reject_message=true
#短信拒接
ro.config.hw_email_signature=Sent from Huawei Mobile
#邮件签名,发送邮件结尾处显示的内容,可以随便改,改成 Sent from Obama (发自奥巴马)都行。。。
#有个问题就是,不知道中文行不?还没试,试过的机油告诉我一声哈
ro.config.hw_fast_dormancy=0
# 0: fast_dormancy, bit_1: smart_network_search
#看名字是“快速休眠”,默认值是0,我试着改成1,智能网络搜索,结果重启后手机没网络。
#中国公开版和联通版在cust中重新定义了此项,值为2,我表示不知道是神马情况
ro.config.hw_tether_dun_enable=false
ro.config.hw_sns_acc_support=41
ro.config.hw_sns_acc_shortcut=0
ro.config.hw_sns_cloud_support=0
#云解决方案的配置,这几个选项在cust中也有重新定义,我更新到了此处。
#hw_sns_acc_support值为 7 时,SNS社交网络程序Facebook和twitter出现在了程序菜单。
#华为内置的国内SNS为新浪微博和开心网,只需在此处把hw_sns_acc_support的值设为 41 即可使用。
#当然,前提是你的Rom里没有精简 Service-MultiSNS.apk 和 SocialExt.apk这两个程序。
#我尝试登陆了我的新浪微博,发现效果很好,集成在通讯录那里显示,可以省下安装客户端了。
#详细的看我的Rom截图
ro.confg.hw_appsbootversion=U8860V100R001CHNC00B866SP02_APPSBOOT
ro.confg.hw_appversion=U8860V100R001CHNC00B866SP02_KERNEL
ro.confg.hw_appfsversion=U8860V100R001CHNC00B866SP02_SYSIMG
ro.config.hw_uaprof=http://wap1.huawei.com/uaprof/HuaweiU8860WCDMA-NORMAL.xml
ro.config.hw_use_browser_ua=true
ro.config.hw_browser_ua3g=http://wap1.huawei.com/uaprof/HuaweiU8860WCDMA-NORMAL.xml
ro.config.hw_browser_ua2g=http://wap1.huawei.com/uaprof/HuaweiU8860GPRS-NORMAL.xml
ro.config.smsCoding_National=3
ro.config.notification_sound=Glory.ogg
ro.config.alarm_alert=Classic.ogg
ro.config.ringtone=Gril.ogg
#上面3项不用说了,铃声们
ro.config.KeyPassToUser=true
ro.config.srs.equalizer=true
#均衡器
ro.config.srs.default.type=1
ro.config.helix_enable=true
#流媒体服务
ro.config.ape_flac_enable=false
#上面这行貌似在告诉我们Rom可能原生支持无损音频的解码,可惜我把值改为true试了,结果是不行。
ro.config.hw_always_allow_mms=false
# 若值为true,则当数据服务不可用时也可以编辑彩信
ro.config.hw_customizeType=02
# The Customize Type we need,01:FROG,02-potter ,不知道是神马
ro.config.hwft_MatchNum=11
ro.config.colortemperature=cold
#屏幕色调,cold是冷色调,warm是暖色调;此选项在cust中定义,我添加到了此处
ro.config.hwft_PinPukUnlockscr=true
# PUK 锁住时允许解锁
ro.config.hwdrm=false
ro.config.hwdrm.set_contact=false
#drm,全称Digital Rights Management,意为,数字内容版权加密保护技术
ro.config.AM_PM_STYLE=1
#状态栏时钟“上午”、“下午”字样显示方式,楼主亲测,0为大字体显示,1为小字体显示,2为不显示
ro.config.usejsc=true
ro.config.PopupTwink=false
ro.config.SetStatusbarText=false
ro.config.cricket.drmringtone=true
ro.config.do_sdcard_upgrade=true
#sd卡升级的选项
ro.config.protocol_errors=false
ro.config.ImportByBluetooth=true
ro.config.ImportByInternet=true
#上面两项分别是蓝牙和网络导入数据支持,如导入电话薄等。
#美国版默认没开,公开版和联通版在cust里定义此处是开启的,我在此处修改它们为开启。
ro.config.tetherUseLocalDns=false
ro.config.move_up_display=true
#允许安全模式
ro.config.Huawei_Task_Manager=true
#允许自带的任务管理器
ro.config.dualmic=true
#双麦克风开启,提高通话质量
ro.config.memtype=true
ro.config.fm_type=libbcmfm_if
#收音机类型,broadcom
ro.config.camera.afctl.enable=true
# autofocus ,相机自动对焦开启
ro.config.bro_about=true
ro.config.bro_exit=true
ro.config.bc_wifi_apsta=0
# system props for telephony modules
ro.config.ehrpd=true
#演进的高速分组网络,CDMA迈进LTE(3G的演进,并非真正的4G网络)的桥梁
ro.config.xtra_support=true
#GPS增强功能,类似于AGPS功能,在GPS没搜到卫星之前,先利用网络下载星历数据,
#然后通过这些数据就能够很快找到可使用的卫星,从而提高搜星速度。
=======================================================================
#
# persist settings
#
persist.sys.quickpoweron=normal
persist.sys.animationstart=false
persist.sys.powerup_reason=
persist.sys.actualpoweron=true
# delete persist.sys.user_set_airplane=
========================================================================
#
# addtional properties
#
net.ntp.server=time.windows.com
net.ntp.server2=time.nist.gov
net.ntp.time=0
net.ntp.timereference=0
#上面几项是网络定时用的,当手机时间不准确时与网络服务器校对
hw.sms.dellong.interval.time=172800000
# 短息草稿保存期限,单位毫秒(ms),默认值是仅保存两天
=========================================================================
#
# system.prop for surf
#
rild.libpath=/system/lib/libril-qc-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.subscription.types=NV,RUIM
DEVICE_PROVISIONED=1
ro.poweroff_alarm=true
#关机闹钟开启,其实,荣耀的关机并不是真的关机,只能算是休眠。
debug.sf.hw=1
#启用硬件加速                     
ro.sf.lcd_density=240
#屏显密度,请不要修改
ro.opengles.version=131072
#OpenGles的版本
ro.dev.dmm=1
dev.dmm.dpd.trigger_delay=30
dev.pm.dyn_samplingrate=1
#电源动态采样率
#ro.kernel.android.checkjni=1
ro.setupwizard.mode=OPTIONAL
#设置向导,不多解释
ro.wifi.channels=
net.bt.name=Android
#手机蓝牙的默认名字,可以自定义
dalvik.vm.heapsize=38m
dalvik.vm.stack-trace-file=/data/anr/traces.txt
#dalbik虚拟机相关设置
================================================================================
#
# system props for the cne module
#
persist.cne.UseCne=vendor
persist.cne.bat.range.low.med=30
persist.cne.bat.range.med.high=60
persist.cne.loc.policy.op=/system/etc/OperatorPolicy.xml
persist.cne.loc.policy.user=/system/etc/UserPolicy.xml
persist.cne.bwbased.rat.sel=false
persist.cne.snsr.based.rat.mgt=false
persist.cne.bat.based.rat.mgt=false
persist.cne.rat.acq.time.out=30000
persist.cne.rat.acq.retry.tout=0
#
# settings for google apps
#
ro.com.google.clientidbase=android-huawei
ro.com.google.clientidbase.yt=android-huawei
ro.com.google.clientidbase.am=android-huawei
ro.com.google.clientidbase.gmm=android-huawei
ro.com.google.clientidbase.ms=android-huawei
#谷歌程序相关的设置
#
#telephony and network settings
#
ro.telephony.default_network=0
#默认为0,即WCDMA的3G网络
ro.cdma.home.operator.numeric=
ro.telephony.call_ring.multiple=false
keyguard.no_require_sim=true
#无sim要求,即不插sim也能正常使用其他功能
#
# media and storage sttings
#
lpa.decode=false
ro.hdmi.enable=true
# HDMI 输出?我没试过
hw_internal_sd=true
#内置SD卡
ro.use_data_netmgrd=true
# SD card emulation of emmc partition
ro.emmc.sdcard.partition=16
media.stagefright.enable-player=true
media.stagefright.enable-http=true
media.stagefright.enable-rtsp=false
media.stagefright.enable-scan=true
#图形处理,媒体加速相关,rtsp为流媒体协议的一种,默认没开启支持
#
#CIT Props
#
ro.bidi.enabled=false
ro.MBDVPRJID.dirname=U8860_2.3_AR
ro.bidi.Arabic=Default
ro.bidi.Hebrew=OFF
ro.bidi.Persian=Available
#这儿的选项,我表示看不太明白,只知道Arabic、Hebrew、Persian分别是阿拉伯语、希伯来语和波斯语
=========================================================================
此文为 Bingo 原创作品,转载请注明出处,谢谢。

 

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多