Change the MAC address of the wifi.

Post your questions and help other users.

Moderator: Martin

Post Reply
doc11
Posts: 14
Joined: 01 Oct 2018 11:39

Change the MAC address of the wifi.

Post by doc11 » 28 May 2020 14:41

Hello, is there a way to change the MAC address of the wifi?
I have root rights on my Android phone.

I don't want to do it through another program.

doc11
Posts: 14
Joined: 01 Oct 2018 11:39

Re: Change the MAC address of the wifi.

Post by doc11 » 30 May 2020 08:20

I tried it now with action root command but it did not work.
I used these commands.

Code: Select all

ifconfig wlan0 down
ifconfig wlan0 hw ether XX:XX:XX:XX:XX:XX
ifconfig wlan0 up
Does anyone have any ideas what else I could try?

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Change the MAC address of the wifi.

Post by Desmanto » 05 Jul 2020 17:31

try to use the busybox binary. Maybe some built-in binary doesn't allow you to do that.

BTW, what is your android version? If you have android pie 9.0 above, you can use the native feature of mac randomization. In the developer option, there is "Connected MAC Randomization".
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

Post Reply