Disabling MAC Address Randomization for Non-Samsung Devices.
I am looking for a way to disable MAC Address randomization on some fully managed Honeywell CK65 devices that are running Android 9,10, or 11. These are fully managed and we use VMware WS1 as our EMM.
I can't find any documentation for this outside of some Samsung specific documentation that involved the use of KSP.
Appreciate any suggestions.
I know that this is possible in the MDM we use so there must be a way.
But I'm pretty sure (even in our case it's a MDM specific script) that it's finally an intent or so which can be send to the device. But i don't know it, sorry. Just found this: https://developer.android.com/reference/android/net/wifi/WifiConfiguration.html#setMacRandomizationS... but it seem to be depreceated and used another way but as I'm not very firm with this maybe someone else can help here.
I also know that for Zebra devices, the Zebra StageNow can disable this as well, not sure about the Honeywell Staging tool possibilitys but haven't found anything yet.
It would be ideal to do it post enrollment but if Honeywell has a way to do it during that may still suffice in the long run. We are not currently using any specific Honeywell staging tools though so I may need to dig into this.
So as far as I'm aware we don't have a way to disable MAC randomization on 9, 10, or 11 but its something we added in 13 with setMacRandomizationSetting. Specific OEMs (like Samsung or Zebra) may have an option to disable randomization prior to 13.
That being said the randomized MAC is persistent per managed SSID (until factory reset) and your EMM should be able to use getRandomizedMacAddress() to get the randomized MAC for the network on configuration. So in theory although the MAC address is randomized it should be easy enough for your EMM to get it and pass it to your network management system. Would the persistent randomized MAC address work for your use case?
That leaves me in a tight spot. As of now Honeywell does not have an Android 13 build for these devices and their current Android 12 build is broken and not usable in my testing.
This ask comes from our Networking Team as they are trying to track down significant issues with packet drops and one thing they have noticed is the devices changing their MACs on a pretty fast interval possibly leading to connection drops.
Feel free to DM me if we need to look into this further. But the randomized MAC is persistent for each SSID so unless these devices are being factory reset frequently the MAC should not be changing.