change mac address on a rooted nexus 4 在已root的nexus 4上修改mac地址
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