修改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功能设置国际码


更多相关文章

  1. android 修改状态栏和标题栏颜色
  2. android studio 添加项目修改gradle2.2.3
  3. Android(安卓)studio2.3.3升级3.1.2坑
  4. Android(安卓)Studio 修改api level
  5. Android(安卓)AudioManager修改设备默认音量
  6. Android(安卓)横屏时禁止输入法全屏
  7. android生命周期
  8. android Exid 不可修改
  9. 修改android桌面图标默认大小

随机推荐

  1. Android 唯一识别码
  2. Android 解决沉浸式状态栏下,输入法弹出,布
  3. 从头开始学Android—Android Studio(一)
  4. Android仿小米商城底部导航栏(基于BottomN
  5. 布局(一)
  6. Android 从硬件到应用:一步一步向上爬 1 -
  7. android 细节之 menu 之 invalidateOptio
  8. android 开机启动应用程序
  9. 自定义view引起的错误:No resource identi
  10. EventBus3.0使用详解