ip link set wlan0 XX:XX:XX:XX:XX:XX
But the problem is that I can not connect to any network after this. LogCat says:
04-26 00:20:08.752: W/wpa_supplicant(14564): [EAP-MSG] EAP wpa_supplicant_check_sim@475: eap_methods not available
If I restart Wi-Fi interface using settings or with cmmands
busybox ifconfig wlan0 down
busybox ifconfig wlan0 up
MAC address resets to its default value. May be there is a way to restart wpa_supplicant separately? I have no ideas, so all thoughts are welcome.
P.S. With spoofed MAC address I can not even connect to open networks. Unfortunately I can not provide a logcat for that case.
I've successfully spoofed my MAC address on HTC Sensation using