Last active
July 10, 2017 10:26
-
-
Save wynemo/b5eb1643f3c298230072435b1f0bc19a to your computer and use it in GitHub Desktop.
change mac address on a rooted nexus 4 在已root的nexus 4上修改mac地址
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| nexus 4已经root | |
| google play上安装busybox | |
| google play上安装终端模拟器 | |
| 进入终端 | |
| # company 7C:DD:90:06:59:7C | |
| busybox ifconfig -a | |
| busybox ifconfig wlan0 hw ether 7c:dd:90:06:59:7c | |
| busybox iplink show wlan0 | |
| cp /persist/wifi/.macaddr /persist/wifi/macaddr.bk # backup | |
| echo -e "7CDD9006597C" > /persist/wifi/.macaddr | |
| 重启 | |
| 发现mac地址已经被修改成功 | |
| ------------------ | |
| restore: | |
| cp /persist/wifi/macaddr.bk /persist/wifi/.macaddr | |
| busybox ifconfig wlan0 hw ether c4:43:8f:47:b9:c1 # origin mac address |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment