Android Wi-Fi 修改国家码(QCOM平台)
16lz
2021-01-23
修改Wi-Fi国家码的方法有很多,目前只列举出几种方法
1.supplicant provide one private command which can be used by framework or supplicant to change the country code of wlan driver
wpa_cli -i wlan0 DRIVER COUNTRY CN //change to CN
2.将WCNSS_qcom_wlan_nv.bin文件取成xxx.xml文件然后将国家码修改成对应的国家
3 48 48 73
3.通过adb临时修改国家码。
(1)首先开启手机的飞行模式(2)adb remount; adb shell setprop gsm.operator.iso-country us---->设置成对应的国家(3)adb remount; adb shell setprop gsm.sim.operator.iso-country us(4)adb shell getprop | grep operator
4.SIM信息修改国际码
此方法通过获取SIM卡中的MCC(移动国家码,Mobile Country Code,3bit)信息然后通过setCountryCode方法设置。具体代码流程请看
我的另一篇博文
http://blog.csdn.net/xiaoxiangyuhai/article/details/75044469(点击打开链接)
5.修改WCNSS_qcom_cfg.ini修改国家码
#Set countrycode for STA mode.gStaCountryCode = us #Set country code in SoftAP mode.gAPCntryCode = us
6.通过开启11d功能设置国际码
更多相关文章
- 在android获取root权限的方法^_^。
- Android CheckBox控件使用OnClickListener和OnCheckedChangeList
- Android Studio安装app 报错的问题It is possible that this iss
- Google Maps API Key申请方法及地址
- android 笔记 --- Android Bitmap 建立或取得的方法
- Android自带Music播放器更新播放时间和进度条的方法
- android使用ant编译找不到apkbuilder.jar的错误的解决方法
- Android studio 连接数据库小经历遇到的问题以及解决方法(java.sq