`
kongweile
  • 浏览: 517426 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

修改MAC,没有nvs_map.bin时该怎么做

 
阅读更多

Basically: nvs_map.bin is what is used to set you MAC address, part of calibrating, as well as other parameters that I won't get into here (can check out the other posts as I make them if curious). So if your wifi is acting weird, keep having your MAC change, getting calibration errors, etc... check /pds/wifi/ and /system/etc/wifi/ for this bin file. If its not there than this is how you make it:

********FIRST MAKE SURE YOU CHECK ALL WIFI FOLDERS FOR THE FILE - NVS_MAP.BIN!!! THESE INLUDE: /system/etc/wifi ; /pds/wifi ; /data/misc/wifi . IF IT'S IN ONE OF THOSE FOLDERS THEN MOVE IT TO WHERE IT NEEDS TO GO MANUALLY OR CHANGE THE TERMINAL COMMANDS IN STEP 5 ACCORDINGLY. THEN CONTINUE TO STEP 6!************

1) Turn phone on

2) Make sure that Wifi is on

3) Start up terminal on your phone and enter[/CODE]:
dmesg

Going to get a long list of random strings/errors/etc. IF your brave read thru em, it is identifying what may be messing up in your phone lol. Up towards the top you'll see the stuff for tiwlan giving errors about no nvs, fw, etc.. now go back to the bottom of the terminal.

4) First cd to anywhere but "/" ,Now enter this series in (The part you enter is green. The rest is what you'll be answered with. Be careful and copy the right stuff and pay attention to the spaces!):

Quote

wlan_cu -itiwlan0 -b
user_main, start
\> Driver/, Connection/, Management/, Show/, Privacy/, scAn/, roaminG/, qOs/, poWer/, eVents/, Bt coexsistance/, Report/, dEbug/, biT/, aboUt, Quit

/ w p 1 l 2 f 2
\> Driver/, Connection/, Management/, Show/, Privacy/, scAn/, roaminG/, qOs/, poWer/, eVents/, Bt coexsistance/, Report/, dEbug/, biT/, aboUt, Quit
.../poWer> set_Power_mode, set_powersave_powerLevel, set_deFault_powerlevel, set_doZe_mode_in_auto, traffic_Thresholds, eNable, Disable, set_dcO_itrim

/ t r h 0 7
\> Driver/, Connection/, Management/, Show/, Privacy/, scAn/, roaminG/, qOs/, poWer/, eVents/, Bt coexsistance/, Report/, dEbug/, biT/, aboUt, Quit
.../biT> Bip/, Radio debug/
.../Radio debug> Get hdk version, cHannel tune, Tx debug/, rx Statistics/
Channel tune of channel 7 was performed OK

/ t b b 375 128 0
\> Driver/, Connection/, Management/, Show/, Privacy/, scAn/, roaminG/, qOs/, poWer/, eVents/, Bt coexsistance/, Report/, dEbug/, biT/, aboUt, Quit
.../biT> Bip/, Radio debug/
.../Bip> update Buffer calref point, Tx bip, Rx bip/
BufferCalReferencePoint was configured succesfully

/ t b t 1 0 0 0 0 0 0 0
\> Driver/, Connection/, Management/, Show/, Privacy/, scAn/, roaminG/, qOs/, poWer/, eVents/, Bt coexsistance/, Report/, dEbug/, biT/, aboUt, Quit
.../biT> Bip/, Radio debug/
.../Bip> update Buffer calref point, Tx bip, Rx bip/
Entering FillMACAddressToNVS
Mac[0]=##
Mac[1]=##
Mac[2]=##
Mac[3]=##
Mac[4]=##
Mac[5]=##
exiting FillMACAddressToNVS

/
\> Driver/, Connection/, Management/, Show/, Privacy/, scAn/, roaminG/, qOs/, poWer/, eVents/, Bt coexsistance/, Report/, dEbug/, biT/, aboUt, Quit

q


Congrats skippy, you just made a basic general nvs_map.bin thats made by your phone FOR your phone. But you ain't done yet....

5) Now you gotta move it. You can do this with root explorer manually or again in terminal. Terminal commands would be:

cp nvs_map.bin /pds/wifi
mv nvs_map.bin /system/etc/wifi

*EDIT* For those getting errors with moving: make sure the system is read/write (rw) not read only (ro) and try again, or use root explorer. *EDIT*

6) In your " / " directory you'll find an init script named init.mapphone_cdma.rc . Inside there towards the bottom you'll find this strand if you open it:

service wlan_loader /system/bin/wlan_loader \
                                                        -f /system/etc/wifi/fw_wlan1271.bin -i /system/etc/wifi/tiwlan.ini \
                                                        -e /pds/wifi/nvs_map.bin
                                                   disabled
                                                   oneshot


You can try leaving it like that and manually execute it like any other script with rootexplorer/script manager/ whatever.... Or you can change it like I do to:

service wlan_loader /system/bin/wlan_loader \
                                                   -e /system/etc/wifi/nvs_map.bin \
                                                   -f /system/etc/wifi/fw_wl1271.bin \
                                                   -i /system/etc/wifi/tiwlan.ini
                                                   disabled
                                                   oneshot


Both may work or one of the two, depends on how cranky your phones being. Either way manually execute them via rootexplorer or scriptmanager. After you execute it you'll notice a whole crap load of folders got made in the directory....its fine, take a breath and leave them for now.

 

http://rootzwiki.com/topic/5650-wip-guide-nvs-map-creation-aka-how-i-fixed-my-wifimac-issues/

分享到:
评论

相关推荐

    nvs_rw_blob(带注释修改测试)

    在本文中,我们将深入探讨ESP32-C3芯片上的非易失性存储库(NVS,Non-Volatile Storage)的使用。NVS是ESP32系列微控制器中一个非常重要的特性,它允许开发者在系统断电后仍能保存数据,这对于实现配置存储、状态...

    esp_nvs_flash.zip

    2. **NVS API**:ESP-IDF提供了一系列API来操作NVS,如`nvs_open()`用于打开一个命名的空间,`nvs_set_u32()`用于设置uin32_t类型的值,`nvs_set_blob()`用于存储结构体或自定义数据,以及`nvs_set_str()`用于保存...

    NVS_TEMPLATE.c

    用于ESP32,基于RTOS3.0的esp_idf框架下面的,用NVS来实现对结构体的存储和读取的函数。将此文件里面的内容复制到main中稍作修改就可以使用。

    Arduino NVS 库、 ESP32 的非易失性存储(NVS、闪存)库

    Arduino NVS 是用于 ESP32 的非易失性存储(NVS、闪存)库到 Arduino 平台的端口。它将主要的 NVS 功能包装到 Arduino 风格的 C++ 类中。这个库的灵感来自于TridentTD_ESP32NVS 的工作。 NVS 库(通常称为“闪存库”...

    bluesuite.win.3.1.4_installer_3.1.4.758

    bluesuite.win.3.1.4_installer_3.1.4.758 BlueTest3、HidDfuApp、NvsApp NvsApp presents the most common options used when working with Qualcomm® devices with writable storage. The commands 'Backup' and...

    esp32_nvs.py

    esp32 micropython nvs 测试文件,说明了micropython的esp32 nvs存储使用方法

    esp8266对接天猫精灵说明1

    然后,使用`nvs_partition_gen.py`脚本生成`my_single_mfg.bin`文件。这个脚本是Espressif IoT Development Framework (IDF) 的一部分,它用于生成NVS(Non-Volatile Storage)分区。 ```bash $IDF_PATH/...

    09、ESP32的NVS测试1

    ESP32的NVS(Non-volatile Storage)测试1章节主要介绍了如何使用NVS库在ESP32开发中存储不同类型的数据。NVS是一种在SPI闪存中存储键值对的机制,提供了一套API用于读写和擦除操作。本章的学习目标包括理解NVS的...

    General_ConfigTool_Chn_V3.21.0.R.151219.exe

    大华摄像机、录像机、解码器搜索软件,dh-IPC、NVR、DVR、NVS、NVD,它用户可以打破网络的限制,更加便捷地获取到所需工具,随时进行工具安装及更新,设计简洁大方,使用方便,是大华伙伴们工作的得力助手。

    107-ESP32_SDK开发-flash数据存储nvs - 杨奉武 - 博客园1

    6. 保存更改:如果修改了数据,需要调用`nvs_commit`函数将更改保存到Flash。 在实际应用中,开发者通常会在程序的初始化阶段配置和保存系统参数,然后在运行时根据需要读取和更新这些参数。通过这种方式,NVS为ESP...

    yw8000e视频解码器使用说明书_v1.docx

    使用yw8000e视频解码器时,务必保持软件和固件的更新,以获取最新的功能和性能优化。同时,遵循制造商提供的安全指南,确保设备正常运行,避免因不当操作导致的问题。如遇到技术问题,可以联系深圳市亿维锐创科技...

    nvs.rar_memory

    3. **数据恢复**:在系统启动或从低功耗模式唤醒时,`nvs.c`可能会包含读取NVS内存中的数据并恢复之前状态的代码。 4. **错误处理**:考虑到内存操作的敏感性,源码中应包含错误检查和异常处理机制,以确保数据的...

    yw8000e视频解码器使用说明书_v1.doc

    该解码器具备高稳定性、低延迟和强大的解码能力,可同时解码多个视频源,并通过NVS Matrix软件进行集中管理和控制。 **参数** YW8000E的主要参数包括但不限于:支持的视频编码格式(如H.264、H.265等)、最大解码...

    办事处监控方案(NVS)推荐.pdf

    办事处监控方案(NVS)推荐.pdf 本文档提供了一套完整的数字视频远程网络监控管理系统,旨在满足办事处安全规范的需求。该系统功能强大、界面友好、操作简易、图像清晰、音频还原度高,能够有效地管理监控系统工作...

    nvs node版本管理

    不再需要某个 Node.js 版本时,可以使用 `nvs remove <version>` 命令将其卸载。例如,要移除 v10.19.0,键入 `nvs remove 10.19.0`。 **8. 更新 NVS** NVS 自身的更新也很简单,只需运行 `nvs update`,系统会...

    esp32的节电模式配置

    #include "nvs_flash.h" #define DEFAULT_SSID CONFIG_WIFI_SSID #define DEFAULT_PWD CONFIG_WIFI_PASSWORD #if CONFIG_POWER_SAVE_MODEM #define DEFAULT_PS_MODE WIFI_PS_MODEM #elif CONFIG_POWER_SAVE_NONE #...

    乐鑫esp8266学习rtos3.0笔记第3篇: 一篇文章带你搞掂存储技术 NVS 的认识和使用,如何利用NVS保存整型、字符串、数组以及结构体。

    乐鑫esp8266学习rtos3.0笔记第3篇: 一篇文章带你搞掂存储技术 NVS 的认识和使用,如何利用NVS保存整型、字符串、数组以及结构体。。 - CSDN博客 https://blog.csdn.net/xh870189248/article/details/88537666

    nvs:Node Version Switcher-一个跨平台的工具,用于在Node.js的版本和分支之间进行切换

    NVS(节点版本切换器) NVS是一个跨平台的实用程序,用于在不同版本和分支之间进行切换。 NVS本身是用节点JavaScript编写的。 该工具显然是受其他节点版本管理器工具启发的,尤其是 ,它从中借鉴了很多想法和一些...

    大华网络SDK V3.40.0_WINDOWS32

    1、 程序说明: 一、 版本号:V3.40.0 build 20130227 ...NVS0404DF、NVS0204DF、NVS0404DH、NVS0104DH等。 8) 智能网络视频服务器。 2、 变更信息:解决防盗版登陆不上问题。 3、 变更等级:公共模块通用发布。

Global site tag (gtag.js) - Google Analytics