Recover WiFi and BT MAC address » History » Version 2
Lion Wang, 09/01/2021 05:30 PM
| 1 | 1 | Lion Wang | h1. Recover WiFi and BT MAC address |
|---|---|---|---|
| 2 | |||
| 3 | Since sometimes customer will switch firmware (From Android to Linux or from Linux to Android), |
||
| 4 | but partition table in Android and Linux are different. |
||
| 5 | So if you switch firmware the WiFi and BT MAC address that store in NVRAM will lost. |
||
| 6 | |||
| 7 | Here is the steps to write WiFi / BT MAC address to efuse. |
||
| 8 | |||
| 9 | |||
| 10 | 2 | Lion Wang | |
| 11 | |||
| 12 | 1 | Lion Wang | h3. Before write Wifi/BT MAC please run the command in below: |
| 13 | <pre><code class="shell"> |
||
| 14 | adb root |
||
| 15 | adb shell |
||
| 16 | wifitest -O |
||
| 17 | </code></pre> |
||
| 18 | 2 | Lion Wang | |
| 19 | h3. The command in below are read data in register (efuse or NVRAM). |
||
| 20 | <pre><code class="shell"> |
||
| 21 | wifitest -H 1 \\E-fuse |
||
| 22 | wifitest -H 2 \\NVRAM |
||
| 23 | </code></pre> |
||
| 24 | |||
| 25 | h3. Write WiFi/BT MAC address example command: |
||
| 26 | <pre><code class="shell"> |
||
| 27 | wifitest -z "B 00:aa:b:cc:dd:ee" //Write BT mac |
||
| 28 | wifitest -z "W 00:11:22:33:44:55" //Write WIFI mac |
||
| 29 | </code></pre> |
||
| 30 | |||
| 31 | h3. WiFi Example: |
||
| 32 | !0825_001.png! |
||
| 33 | |||
| 34 | h3. Result: |
||
| 35 | !0825_002.png! |
||
| 36 | |||
| 37 | h3. BT Example: |
||
| 38 | !0901_003.png! |
||
| 39 | |||
| 40 | h3. Result: |
||
| 41 | !0901_002.png! |
||
| 42 | |||
| 43 | |||
| 44 | |||
| 45 | h2. %{color:red}Please notice the efuse has limit on write times.% |