How to override the Bluetooth and Wifi MAC addresses.

> Important: This feature is only available with up-to-date (3.6.0) Android 12.0 and higher images.

It is now possible to override the BT and Wifi MAC addresses by using the custom Android properties persist.bt.mac_address and persist.wifi.mac_address.

> Wifi MAC address override does not work with Genymotion Desktop yet.

To do so, please follow these steps:

1. Connect your device/instance to ADB. Please refer to the online documentation of the Genymotion platform you use for detailed instructions. 2. Use the following adb commands:

   adb shell setprop persist.bt.mac_address XX:XX:XX:XX:XX:XX
   
   adb shell setprop persist.wifi.mac_address XX:XX:XX:XX:XX:XX
   
Replace "XX:XX:XX:XX:XX:XX" with the MAC address you wish to use. Note that each X must be in hexadecimal format, for example 9D:EB:63:AA:8A:2E. If an invalid address is set, the device will fallback to the default address of Android. 3. Reboot your device.

Source: https://support.genymotion.com/hc/en-us/articles/34836385076637-How-to-override-the-Bluetooth-and-Wifi-MAC-addresses

Published:

Keywords: Genymotion, Bluetooth, Wifi, MAC addresses, ADB