修改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 Wi-Fi 修改国家码(QCOM平台)_第1张图片

更多相关文章

  1. 在android获取root权限的方法^_^。
  2. Android CheckBox控件使用OnClickListener和OnCheckedChangeList
  3. Android Studio安装app 报错的问题It is possible that this iss
  4. Google Maps API Key申请方法及地址
  5. android 笔记 --- Android Bitmap 建立或取得的方法
  6. Android自带Music播放器更新播放时间和进度条的方法
  7. android使用ant编译找不到apkbuilder.jar的错误的解决方法
  8. Android studio 连接数据库小经历遇到的问题以及解决方法(java.sq

随机推荐

  1. 使用 Android(安卓)NDK 的一般方法:
  2. Android(安卓)DeepLink原理与应用(2)
  3. Android(安卓)NDK环境搭建(Windows环境)
  4. 必须知道的Android屏幕自适应解决方案
  5. Android中的okHttp
  6. 【Android】如何设置应用强制横屏或竖屏
  7. Android知识储备
  8. Android(安卓)8.0 Activity启动崩溃异常:"
  9. 在Visual Studio 2010/2012/2013/2015上
  10. Android(安卓)新手常见的10个误区(上)