[TIP]Changing wifi mac id

Search This thread

Redpik

Senior Member
Jan 12, 2011
357
64
Bucharest
The problem with CM7 is that nvram files has the correct mac address, but in wifi settings is still 0:. So there's another file that overwrites this (i guess)
The permanent solution is to change it through Hyperterminal. Only that there's no hidden menu to change AP CP usb mode. :|

Edit : I found a way, someone posted it on rootwiki forum. If nvram.txt has the original mac address just write in /data/misc/wifi/config cur_etheraddr=xx:xx:xx:xx:xx:xx with the mac address. It's working. :)
 
Last edited:
  • Like
Reactions: George Jetson

dreamind

Member
Sep 6, 2009
5
2
Hi Redpik,

you could at least mention, who found this about /data/misc/wifi/config, right?

Greetings

BTW, I usually do something like:
Code:
adb shell 'echo cur_etheraddr=XX:XX:XX:XX:XX:XX >> /data/misc/wifi/config'
Works only, if you are directly root when connecting via adb.
 

Redpik

Senior Member
Jan 12, 2011
357
64
Bucharest
Hi Redpik,

you could at least mention, who found this about /data/misc/wifi/config, right?

Greetings

BTW, I usually do something like:
Code:
adb shell 'echo cur_etheraddr=XX:XX:XX:XX:XX:XX >> /data/misc/wifi/config'
Works only, if you are directly root when connecting via adb.
Yes, it was you. Sorry if i upset you. I was really searching everywhere so in a hurry to provide intel for the others, i said someone. My bad. Thanks.
 
  • Like
Reactions: dreamind

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    Thanks to Redpik;

    Using rootexplorer or adb write in this file /data/misc/wifi/config this line "cur_etheraddr=xx:xx:xx:xx:xx:xx" with your mac address. This is pretty permanent





    Sent from my LG-P970 using XDA
    2
    hmmm... in system/etc/wifi, find "nvram.txt"

    You will see, "macaddr=".

    Try to change there.. or add another "macaddr=" at the very bottom.

    Reboot and see if it stays and changed.
    2
    Hi Redpik,

    you could at least mention, who found this about /data/misc/wifi/config, right?

    Greetings

    BTW, I usually do something like:
    Code:
    adb shell 'echo cur_etheraddr=XX:XX:XX:XX:XX:XX >> /data/misc/wifi/config'
    Works only, if you are directly root when connecting via adb.
    2
    Using rootexplorer or adb write in this file /data/misc/wifi/config this line "cur_etheraddr=xx:xx:xx:xx:xx:xx" with your mac address. This is pretty permanent





    Sent from my LG-P970 using XDA
    1
    I success change wifi mac id with this path:

    1.install busybox
    2.terminal emulator or adb shell with cmd
    3.wifi turn on
    4.entered this line
    busybox ip link set wlan0 address xx:xx:xx:xx:xx:xx
    5.done

    you should add the Tag [TIP] on the thread title. nice tip :D thanks.